xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
422
DSCP to Color mapping
Port 1
DSCP 0 – 7 is mapped to Green
DSCP 8 – 15, 17 is mapped to Yellow
DSCP 16, 18 – 63 is mapped to Red
config 802.1p map
Purpose
Used to configure mapping of 1p to packet’s initial color.
Syntax config 802.1p map {[<portlist> | all]} 1p_color <priority_list> to [green | red | yellow]
Description
This command is used to configure mapping of 1p to packet’s initial color.
The mapping of 1p to color will be used to determine the initial color of the packet, when the
policing function of the packet is color aware and the packet is 1p-trusted.
Parameters
portlist − A range of ports to configure.
all – Specifies that all the ports will be used for this configuration.
priority − source priority of incoming packets.
color − mapped color for packet, default value is green
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage
This config 802.1p map:
DES-3528:admin# config 802.1p map 1-8 1p_color 1 to red
Command: config 802.1p map 1-8 1p_color 1 to red
Success.
show 802.1p map
Purpose
Used to display the 1p to color mapping
Syntax show 802.1p map 1p_color { <portlist>}
Description
This command is used to display the 1p to color mapping
Parameters
portlist − A range of ports to show.
Restrictions
None.
Example usage
This show 802.1p map:
DES-3528:admin# show 802.1p map 1p_color
Command: show 802.1p map 1p_color
802.1p to Color Mapping:
-----------------------------------------------------------
Port 0 1 2 3 4 5 6 7
---- ------ ------ ------ ------ ------ ------ ------ -----
1 Green Green Green Green Green Green Green Green
2 Green Green Green Green Green Green Green Green
3 Green Green Green Green Green Green Green Green
4 Green Green Green Green Green Green Green Green
5 Green Green Green Green Green Green Green Green
6 Green Green Green Green Green Green Green Green
7 Green Green Green Green Green Green Green Green
8 Green Green Green Green Green Green Green Green
9 Green Green Green Green Green Green Green Green
10 Green Green Green Green Green Green Green Green
11 Green Green Green Green Green Green Green Green