7 mls qos cos, Mls qos cos – PLANET WGSW-52040 User Manual

Page 361

Advertising
background image

20-130

Create a class-map named c1, and configure the class rule of this class-map to match packets with IP Precedence of

0.

Switch(config)#class-map c1

Switch(Config-ClassMap-c1)#match ip precedence 0

Switch(Config-ClassMap-c1)#exit

20.7 mls qos cos

Command:

mls qos cos {<default-cos>}

no mls qos cos

Function:

Configures the default CoS value of the port; the “no mls qos cos” command restores the default setting.

Parameters:

<default-cos> is the default CoS value for the port, the valid range is 0 to 7.

Default:

The default CoS value is 0.

Command mode:

Port Configuration Mode.

Usage Guide:

Configure the default CoS value for switch port. In default configuration, the message ingress cos from this port are

default value whether the message with tag. If the message without tag, the message cos value for tag is

enactmented.

Example:

Setting the default CoS value of ethernet port 1/1 to 7, i.e., packets coming in through this port will be assigned a

default CoS value of 7 if no CoS value present .

Switch(config)#interface ethernet 1/1

Switch(Config-If-Ethernet1/1)#mls qos cos 7

Advertising