User Manual

Table Of Contents
[Input mode]
priviledged EXEC mode
[Description]
Clears the metering totals for all policers (individual policers / aggregate policers) on the specified LAN/SFP+ port or logical
interface.
[Note]
In order to execute this command, QoS must be enabled.
[Example]
Clear the metering totals for LAN port #1.
SWP2#clear qos metering-counter port1.1
9.2.37 Set egress queue (CoS-Queue)
[Syntax]
set cos-queue value
no set cos-queue
[Parameter]
value : <0 - 7>
CoS value corresponding to egress queue
[Input mode]
policy map class mode
[Description]
Assigns an egress queue to the classified traffic class.
Use the CoS value to specify the egress queue; the egress queue that is assigned is based on the "CoS-egress queue ID
conversion table."
If this is executed with the "no" syntax, the specification of egress queue based on traffic class is removed.
[Note]
In order to execute this command, QoS must be enabled.
Egress queue specification cannot be used in conjunction with pre-marking.
Egress queue specification based on CoS is only for CoS trust mode. If a policy map contains even one class map that includes
this command, that policy map cannot be applied to a port that uses DSCP trust mode.
[Example]
Make the following settings for received frames of LAN port #1
Permit traffic from the 10.1.0.0 network
Change the classified traffic class to egress queue 3 (CoS:3)
[Traffic class definition]
SWP2(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWP2(config)#class-map class1
SWP2(config-cmap)#match access-list 1
SWP2(config-cmap)#exit
[Policy settings]
SWP2(config)#policy-map policy1
SWP2(config-pmap)#class class1
SWP2(config-pmap-c)#set cos-queue 3
SWP2(config-pmap-c)#exit
SWP2(config-pmap)#exit
SWP2(config)#interface port1.1
SWP2(config-if)#service-policy input policy1
9.2.38 Set egress queue (DSCP-Queue)
[Syntax]
set ip-dscp-queue value
no set ip-dscp-queue
Command Reference | Traffic control | 263