beautypg.com

PLANET WGSW-50040 User Manual

Page 122

background image

13-9

port.

mls qos 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

no service-policy input <policy-map-name>

vlan

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

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

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 bandwidth

no mls qos queue bandwidth

Set bandwidth guarantee based a port.

5. Configure QoS mapping

Command

Explanation

Global Mode

mls qos map (cos-dp | dscp-dscp

to | dscp-intp

to | dscp-dp

to )

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.