beautypg.com

4 mls qos, 5 mls qos cos, Mls qos – PLANET XGS3-24040 User Manual

Page 218: Mls qos cos

background image

14-84

Example:

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

14.4 mls qos

Command:

mls qos

no mls qos

Function:

Enables QoS in Global Mode; the “no mls qos” command disables the global QoS.

Parameter:

None.

Command mode:

Global Mode.

Default:

QoS is disabled by default.

Usage Guide:

QoS provides 8 queues to handle traffics of 8 priorities. The rule is taking effect by default when

startup, message will rewrite cos field according to cos-dscp-cos, dscp-mutation rewrite dscp value

according to cos-dscp. Ingress cos value is the port default cos.

Example:

Enabling and then disabling the QoS function.

Switch(config)#mls qos

Switch(config)#no mls qos

14.5 mls qos cos

Command:

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

is the default CoS value for the port, the valid range is 0 to 7.