364 CHAPTER 19: ACL CONFIGURATION
Configuring the Mapping Relationship Between COS and Local Precedence
Using the following commands, you can configure the maps.
Perform the following configuration in System View.
Table380 Map Configuration
By default, the Switch uses the default mapping relationship.
Configuring the Queue Scheduler.
Perform the following configuration in the Ethernet Port View.
Table381 Configure the Queue Scheduling Algorithm
The Switch supports three types of queue schedulers, that is, strict-priority, WFQ and
WRR.
By default, the Switch uses the WRR algorithm.
For details about the command, refer to the Command Reference Manual.
Setting Traffic Limit Traffic limit 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.
Perform the following configurations in the Ethernet Port View.
Table382 Setting Traffic Limit
5 5
6 6
7 7
Operation Command
Configure “COS
->Local-precedence” map
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 its default value undo qos cos-local-precedence-map
Operation Command
Configure the queue
scheduling algorithm
queue-scheduler { wfq queue1_width queue2_width
queue3_width queue4_width queue5_width queue6_width
queue7_width queue8_width | wrr queue1_weight
queue2_weight queue3_weight queue4_weight
queue5_weight queue6_weight queue7_weight
queue8_weight }
Restore the default
queue scheduling
algorithm
undo queue-scheduler
802.1p priority level Queues
Operation Command
Set traffic limit traffic-limit inbound { user-group acl_number [ rule
rule ] | ip-group acl_number [ rule rule [ link-group
acl_number rule rule ] ] | link-group acl_number [ rule
rule ] } target_rate [ exceed action ]