DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
551
5 Enabled
DGS-3710-12C:admin#
53-20
config dscp map
Description
This command is used to configure the mapping of DSCP to a priority or new DSCP. The mapping
of DSCP to a priority will be used to determine the priority of the packet (which will then be used to
determine the scheduling queue) when the port is in DSCP trust state. The DSCP-to-DSCP
mapping is used in the swap of DSCP of the packet when the packet ingresses the port. The
remaining processing of the packet will be based on the new DSCP. By default, the DSCP is
mapped to the same DSCP. The DSCP mapping will take effect at the same time the IP packet
ingresses from a DSCP-trusted port.
Format
config dscp map [<portlist> | all] [dscp_priority <dscp_list> to <priority 0-7> | dscp_dscp
<dscp_list> to <dscp 0-63> | dscp_color <dscp_list> to [green | red | yellow]]
Parameters
<portlist>
- Specifies the list of port used for this configuration.
all
- Enter the list of port, used for this configuration, here.
dscp_priority
- Specifies a list of DSCP values to be mapped to a specific priority.
<dscp_list>
- Specifies the DSCP list here.
<priority 0-7>
- Specifies the result priority of a mapping.
dscp_dscp
- Specifies a list of DSCP values to be mapped to a specific DSCP.
<dscp_list>
- Specifies the DSCP list here.
<dscp 0-63>
- Specifies the result DSCP of mapping.
dscp_color
- Specifies a list of DSCP values to be mapped to a specific color.
<dscp_list>
- Specifies the DSCP list here.
green
- Specifies that the DSCP values will be mapped to the color green.
red
- - Specifies that the DSCP values will be mapped to the color red.
yellow
- Specifies that the DSCP values will be mapped to the color yellow.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To configure the global mapping of DSCP priority 1 to priority 1:
DGS-3710-12C:admin#config dscp map 1 dscp_priority 1 to 1
Command: config dscp map 1 dscp_priority 1 to 1
Success.
DGS-3710-12C:admin#