PLANET XGS3-24042 User Manual

Page 172

Advertising
background image

18-9

drop

no drop

transmit

no transmit

Drop or transmit the traffic that match

the class, the no command cancels the

assigned action.

3. Apply QoS to port or VLAN interface

Command

Explanation

Interface Configuration Mode

mls qos trust {cos | dscp}

no mls qos trust {cos | dscp}

Configure port trust; the no command

disables the current trust status of the

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 management algorithm and weight

Command

Explanation

Port Configuration Mode

mls qos queue algorithm {sp | wdrr}

no mls qos queue algorithm

Set queue management algorithm, the

default queue management algorithm is

wdrr.

Global Mode

mls qos queue wdrr weight

<weight0..weight7>

no mls qos queue wdrr weight

Set wdrr queue weight for all ports

globally, the default queue weight is 1 1 1

1 1 1 1 1.

5. Configure QoS mapping

Command

Explanation

Global Mode

Advertising
This manual is related to the following products: