77 qos map cos-tag – PLANET SGS-5220-24T2X User Manual

Page 111

Advertising
background image

Command Guide of SGS-5220-24T2X

To configure DSCP ingress translation of QoS for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # qos dscp-translate

4.2.45.77 qos map cos-tag

Command:

qos map cos-tag cos <Cos : 0~7> dpl <Dpl : 0~1> pcp <Pcp : 0-7> dei <Dei : 0-1>

qos Quality of Service

map QoS Map/Table configuration

cos-tag Map for cos to tag configuration

cos Specify class of service

<Cos : 0~7> Specific class of service or range

dpl Specify drop precedence level

<Dpl : 0~1> Specific drop precedence level or range

pcp Specify PCP (Priority Code Point)

<Pcp : 0-7> Specific PCP

dei Specify DEI (Drop Eligible Indicator)

<Dei : 0-1> Specific DEI

Default:

Disabled

Usage Guide:

To configure (QoS class, DP level) to (PCP, DEI) Mapping of QoS for specific interface

Example:

To configure (QoS class, DP level) to (PCP, DEI) Mapping of QoS as below table for GigabitEthernet X/X

Switch# configure terminal

Switch (config)# interface GigabitEthernet X/X

Switch (config-if) # qos map cos-tag cos 1 dpl 1 pcp 6 dei 0

-111-

Advertising