User Manual

[Input mode]
policy map class mode
[Description]
Assigns an egress queue to the classified traffic class.
Use the DSCP value to specify the egress queue; the egress queue that is assigned is based on the "DSCP-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 DSCP is only for DSCP 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 (DSCP:24)
[Traffic class definition]
SWP1(config)#ip-access-list 1 permit 10.1.0.0 0.0.255.255
SWP1(config)#class-map class1
SWP1(config-cmap)#match access-group 1
SWP1(config-cmap)#exit
[Policy settings]
SWP1(config)#policy-map policy1
SWP1(config-pmap)#class class1
SWP1(config-pmap-c)#set ip-dscp-queue 24
SWP1(config-pmap-c)#exit
SWP1(config-pmap)#exit
SWP1(config)#interface ge1
SWP1(config-if)#service-policy input policy1
13.2.46 Set egress queue scheduling
[Syntax]
mls qos wrr-weight queue-id weight
no mls qos wrr-weight queue-id
[Parameter]
queue-id : <0-7>
Egress queue ID
weight : <1-32>
Weight of WRR
[Initial value]
no mls qos wrr-weight 0
no mls qos wrr-weight 1
no mls qos wrr-weight 2
no mls qos wrr-weight 3
no mls qos wrr-weight 4
no mls qos wrr-weight 5
no mls qos wrr-weight 6
no mls qos wrr-weight 7
[Input mode]
global configuration mode
[Description]
Specifies the WRR (weighted round robin) weight for the egress queue.
The scheduling method setting is common to all LAN/SFP port ports.
212 | Command Reference | Traffic control