279
supported yet.
Example:
Bind policy p1 to ingress Ethernet port 1/1.
Switch(Config)#interface ethernet 1/1
Switch(Config-Ethernet1/1)# service-policy input p1
9.1.3.16 queue bandwidth
Command: queue bandwidth<weight1 weight2 weight3 weight4 weight5 weight6
weight7 weight8>
no queue bandwidth
Function:
Sets the WRR weight for specified egress queue; the “
no queue bandwidth
”
command restores the default setting.
Parameters:
<weight1 weight2 weight3 weight4 weight5 weight6 weight7 weight8>
are WRR weights, ranging from 0 to 15.
Default:
The default values of weight1 to weight8 are 1 through 8. .
Command mode:
Interface Mode
Usage Guide:
The absolute value of WRR is meaningless. WRR allocates bandwidth by
using eight weight values’ proportion. If a weight is 0, then the queue has the highest
priority; when the weights of multiple queues are set to 0, then the queue of higher order
has the higher priority.
Example:
Setting the bandwidth weight proportion of the eight queue out to be
1:1:2:2:4:4:8:8.
Switch(Config-Ethernet1/1)#queue bandwidth1 1 2 2 4 4 8 8
9.1.3.17 wrr-queue cos-map
Command: wrr-queue cos-map <queue-id> <cos1 ... cos8>
no wrr-queue cos-map
Function:
Sets the CoS value mapping to the specified queue out; the “
no wrr-queue
cos-map
” command restores the default setting.
Parameters:
<queue-id>
is the ID of queue out, ranging from 1 to 8;
<cos1 ... cos8>
are
CoS values mapping to the queue out, ranging from 0 -7, up to 8 values are supported.
Default:
Default CoS-to-Egress-Queue Map when QoS is Enabled
CoS Value
0 1 2 3 4 5 6 7
Queue Selected
1 2 3 4 5 6 7 8
Command mode:
Global Mode
Usage Guide:
Example:
Mapping packets with CoS value 2 and 3 to egress queue 1.
Switch(Config)#wrr-queue cos-map 1 2 3