User Manual

Table Of Contents
[Parameter]
ifname : LAN/SFP port name or logical interface name. If this is omitted, the command applies to all ports.
[Input mode]
privileged 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.
SWX3220#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]
SWX3220(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any
SWX3220(config)#class-map class1
SWX3220(config-cmap)#match access-list 1
SWX3220(config-cmap)#exit
[Policy settings]
SWX3220(config)#policy-map policy1
SWX3220(config-pmap)#class class1
SWX3220(config-pmap-c)#set cos-queue 3
SWX3220(config-pmap-c)#exit
SWX3220(config-pmap)#exit
SWX3220(config)#interface port1.1
SWX3220(config-if)#service-policy input policy1
434 | Command Reference | Traffic control