Yamaha 10G SWR2310-28GT/18GT/10G Command Reference - Page 265
Clear metering counters, 2.37 Set egress queue CoS-Queue
View all Yamaha 10G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 265 highlights
Yellow Bytes : 2048 Red Bytes : 51552 Command Reference | Traffic control | 265 9.2.36 Clear metering counters [Syntax] clear qos metering-counters [ifname] [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. SWR2310#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 : 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] SWR2310(config)#access-list 1 permit any 10.1.0.0 0.0.255.255 any SWR2310(config)#class-map class1 SWR2310(config-cmap)#match access-list 1 SWR2310(config-cmap)#exit [Policy settings] SWR2310(config)#policy-map policy1 SWR2310(config-pmap)#class class1