6 mls qos cos, 7 mls qos map, Mls qos cos – PLANET WGSW-50040 User Manual

Page 183: Mls qos map

Advertising
background image

10.6 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:

Interface Configuration Mode.

Usage Guide:

Configure the default CoS value for switch port. The message ingress cos from this port are default

value whether the message have tag. If the message have no tag, the message cos value for tag is

enactmented.

Example:

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

be assigned a default CoS value of 5 if no CoS value present.

Switch(config)#interface ethernet 1/1

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

10.7 mls qos map

Command:

Command: 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)

mls qos map intp-dscp <dscp1..dscp8>

no mls qos map intp-dscp

Function:

Set the priority mapping of QoS, the no command restores the default mapping.

Parameters:

cos-dp <dp1…dp8> defines the mapping from CoS to dp (drop precedence) value,

Advertising