D-Link DGS-510 Reference Manual page 507

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
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 eth 3/0/1.
Switch# configure terminal
Switch(config)# interface eth3/0/1
Switch(config-if)# mls qos map cos-color 1-7 to red
Switch(config-if)#
56-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
Parameters
DSCP-LIST
Default
There is no mapping. All DSCP code points are mapped to green color.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command is used to define the DSCP to color map for the mapping of a packet's initial color.
Example
This example shows how to define DSCP 61 to 63 as the yellow color and any other IP packet is
initialized with the green color at eth3/0/1.
Specifies the list of DSCP code point to be mapped to a color. The
range is from 0 to 63. The multiple DSCP values in the list can be in
the form separated by commas or a range list.
504

Advertisement

Table of Contents
loading

Table of Contents