D-Link DGS-3130 Emulator - Page 653
mls qos map cos-color, mls qos map dscp-color
![]() |
View all D-Link DGS-3130 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 653 highlights
DGS-3130 Layer 3 Stackable Managed Switch CLI Reference Guide 63-7 mls qos map cos-color This command is used to define the CoS to color map for mapping a packet's initial color. Use the no form of this command to revert to the default setting. mls qos map cos-color COS-LIST to {green | yellow | red} no mls qos map cos-color Parameters COS-LIST green yellow red Specifies the list of CoS values to be mapped to a color. The range of CoS is from 0 to 7. The multiple CoS values in the list can be in the form separated by commas or a range list. Specifies to be mapped to green. Specifies to be mapped to yellow. Specifies to be mapped to red. Default By default, all CoS values are mapped to the green color. Command Mode Interface Configuration Mode. Command Default Level Level: 12. Usage Guideline When packets enter the ingress port, they will be colored based on either the DSCP to color map (if the port is a trusted DSCP port) or the CoS to color map (if the port is a trusted CoS port). Use the mls qos map cos-color command, in the interface configuration mode, to configure the CoS to color map. If the ingress port is set to trusted CoS ports, the received packet will be initialized to a color based on this map. Example This example shows how to define CoS value 1 to 7 as the red color and 0 as the green color for packets arriving at Ethernet 1/0/1. Switch# configure terminal Switch(config)# interface ethernet 1/0/1 Switch(config-if)# mls qos map cos-color 1-7 to red Switch(config-if)# 63-8 mls qos map dscp-color This command is used to define the DSCP to color map for the mapping of a packet's initial color. Use the no form of this command to revert to the default setting. mls qos map dscp-color DSCP-LIST to {green | yellow | red} no mls qos map dscp-color DSCP-LIST 649
![](/manual_guide/products/dlink-dgs3130-emulator-9c3be7f/653.png)