QoS Configuration 221
By default, the switch obtains local precedence and drop precedence according to
the default mapping values.
Configuring Default Local Precedence for a Port Perform the following
configuration in Ethernet interface view.
Configuring Traffic Policing
Traffic policing refers to the rate limit based on traffic. If the traffic threshold is
exceeded, corresponding measures will be taken, for example, dropping the
excessive packets or re-defining their priority levels.
In the traffic supervision action, the switch uses the service parameters allocated
according to the DSCP + Conform-Level -> Service parameter mapping table and
the 802.1p priority values allocated according to the Local-precedence +
Conform-Level -> 802.1p priority mapping table. So you should configure these
two mapping tables or use their default values.
Perform the following configurations in Ethernet interface or VLAN view.
Restore the default values of CoS ->
Drop-precedence mapping table
undo qos cos-drop-precedence-map
Configure the CoS -> Local-precedence
mapping table
qos cos-local-precedence-map
cos0-map-local-prec cos1-map-local-prec
cos2-map-local-prec cos3-map-local-prec
cos4-map-local-prec cos5-map-local-prec
cos6-map-local-prec cos7-map-local-prec
Restore the default values of CoS ->
Local-precedence mapping table
undo qos cos-local-precedence-map
Table 13 Configuring Default Local Precedence for a Port
Operation Command
Configuring default local precedence for
a port
priority priority-level
Restore the default value undo priority
Table 14 Configuring Traffic Policing
Operation Command
Configure traffic policing which only
applies IP group ACL
traffic-limit inbound ip-group { acl-number |
acl-name } [ rule rule [ system-index index ] ] [
tc-index index ] cir cbs ebs [ pir ] [ conform { {
remark-cos | remark-drop-priority }* | remark-
policed-service } ] [ exceed { forward | drop } ]
Remove traffic policing setting which
only applies IP group ACL
undo traffic-limit inbound ip-group { acl-number |
acl-name } [ rule rule ]
Configure traffic policing which applies IP
group ACL and link group ACL at same
time
traffic-limit inbound ip-group { acl-number |
acl-name } { rule rule link-group { acl-number |
acl-name } [ rule rule [ system-index index ] ] |
link-group { acl-number | acl-name } rule rule } [
tc-index index ] cir cbs ebs [ pir ] [ conform { {
remark-cos | remark-drop-priority }* | remark-
policed-service } ] [ exceed { forward | drop } ]
Table 12 Configuring Mapping Tables
Operation Command