PLANET WGSW-50040 User Manual
Page 122

13-9
port.
mls qos cos {<default-cos>}
no mls qos cos
Configure the default CoS value of the
port; the no command restores the
default setting.
service-policy input <policy-map-name>
no service-policy input <policy-map-name>
Apply a policy map to the specified port;
the no command deletes the specified
policy map applied to the port. Egress
policy map is not supported yet.
Global Mode
service-policy input <policy-map-name> vlan
<vlan-list>
no service-policy input <policy-map-name>
vlan <vlan-list>
Apply a policy map to the specified
VLAN interface; the no command
deletes the specified policy map applied
to the VLAN interface.
4. Configure queue out method and weight
Command
Explanation
Interface Configuration Mode
mls qos queue algorithm {sp | wrr | wdrr}
no mls qos queue algorithm
Set queue management algorithm, the
default queue management algorithm is
wrr.
mls qos queue wrr weight
<weight0..weight7>
no mls qos queue wrr weight
Set queue weight based a port, the default
queue weight is 1 2 3 4 5 6 7 8.
mls qos queue wdrr weight
<weight0..weight7>
no mls qos queue wdrr weight
Set queue weight based a port, the default
queue weight is 10 20 40 80 160 320 640
1280.
mls qos queue <queue-id> bandwidth
<minimum-bandwidth>
<maximum-bandwidth>
no mls qos queue <queue-id> bandwidth
Set bandwidth guarantee based a port.
5. Configure QoS mapping
Command
Explanation
Global Mode
mls qos map (cos-dp <dp1…dp8> | dscp-dscp
<in-dscp list> to <out-dscp> | dscp-intp
<in-dscp list> to <intp> | dscp-dp <in-dscp list>
to <dp> )
no mls qos map (cos-dp | dscp-dscp |
dscp-intp | dscp-dp)
Set the priority mapping for QoS, the
no command restores the default
mapping value.