3Com Switch 8800 Family Configuration Guide

190 CHAPTER 22: QOS CONFIGURATION
By default, the switch obtains local precedence and drop precedence according to
the default mapping values.
Configuring default local precedence
Perform the following configurations in Ethernet port view.
Perform the following configuration in port group view.
Configuring Traffic
Policing
Traffic policing refers to 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 EXP + 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 three mapping
tables or use their default values.
Configuring mapping tables
Perform the following configurations in the specified views.
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
Tabl e 160 Configure default local precedence for port
Operation Command
Configure default local precedence for a port priority priority-level
Restore the default local precedence for a port undo priority
Tabl e 161 Configure priority for the port group
Operation Command
Configure local priority for the port group priority { priority-level | trust }
Restore the local priority of the port group to
the default value
undo priority
Table 159 Configure mapping tables
Operation Command
Tabl e 162 Configure mapping table
Operation Command
Enter conform level view (System view) qos conform-level conform-level-value
Configure the DSCP + Conform-Level ->
Service parameters mapping table (conform
level view)
dscp dscp-list : dscp-value exp-value cos-value
local-precedence-value drop-precedence