Chapter 4: Commands for CLI configuration
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
qos map cos-tag cos 1 dpl 1 pcp 6 dei 0
qos map tag-cos
Command:
qos map tag-cos pcp <Pcp : 0-7> dei <Dei : 0-1> cos <Cos :
0~7> dpl <Dpl : 0~1>
qos
Quality of Service
map
QoS Map/Table configuration
tag-cos
Map for tag to cos configuration
pcp
Specify PCP (Priority Code Point)
<Pcp : 0-7>
Specific PCP
dei
Specify DEI (Drop Eligible Indicator)
<Dei : 0-1>
Specific DEI
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
Default:
Disabled
Usage Guide:
To configure
(PCP, DEI) to (QoS class, DP level) Mapping
of
QoS
for specific
interface
Example:
To configure
(PCP, DEI) to (QoS class, DP level) Mapping
of
QoS
as below table
for
GigabitEthernet X/X
Switch# configure terminal
Switch (config)#
interface GigabitEthernet X/X
Switch (config-if) #
qos map tag-cos pcp 4 dei 0 cos 5 dpl 1
qos pcp
Command:
qos pcp <Pcp : 0-7>
qos
Quality of Service
pcp
Priority Code Point configuration
<Pcp : 0-7>
Specific Priority Code Point
Default:
NS3500-24T-4C Managed Switch Command Guide
97