![D-Link DGS-3700 Series Reference Manual Download Page 359](http://html.mh-extra.com/html/d-link/dgs-3700-series/dgs-3700-series_reference-manual_76575359.webp)
DGS-3700 Series Layer 2 Managed Gigabit Ethernet Switch CLI Reference Guide
Page | 359
show dscp trust
Description
This command is used to display DSCP trsut state.
Parameters
portlist
−
A range of ports to display.
Restrictions
None.
Example usage:
To display the DSCP trust state:
DGS-3700-12:5#show dscp trust
Command: show dscp trust
Port DSCP-Trust
----- -----------
1 Disabled
2 Disabled
3 Disabled
4 Disabled
5 Enabled
6 Enabled
7 Enabled
8 Enabled
9 Disabled
10 Disabled
11 Disabled
12 Disabled
DGS-3700-12:5#
config dscp map
Purpose
This command is used to configure the mapping of DSCP to priority, DSCP, or
packet’s initial color .
Syntax
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]]
Description
The mapping of DSCP to priority will be used to determine the priority of the packet
(which will be then used to determine the scheduling queue) when the port is in
DSCP trust state.
The mapping of DSCP 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 DSCP-
trusted.
The DSCP-to-DSCP mapping is used in the swap of DSCP of the packet when the
packet is ingressed to 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.
Parameters
portlist
−
Specifies ports to be configured.
dscp_priority
−
Specifies a list of DSCP value to be mapped to a specific priority
priority
−
Specifies the result priority of mapping.
The default mapping are:
DSCP
0-7
8-
1
5
16-
2
3
24-
3
1
32-
3
9
40-
4
7
48-
5
5
56-
6
3
priority
0
1
2
3
4
5
6
7
dscp_dscp
−
Specifies a list of DSCP value to be mapped to a specific dscp.
dscp
−
Specifies the result DSCP of mapping.