![D-Link DES-3528 - xStack Switch - Stackable Скачать руководство пользователя страница 421](http://html.mh-extra.com/html/d-link/des-3528-xstack-switch-stackable/des-3528-xstack-switch-stackable_cli-reference-manual_76439421.webp)
xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
421
config dscp map
Purpose
Used to configure DSCP, the mapping of DSCP to priority, and the packet’s initial color,and
DSCP to DSCP.
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 CoS 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.
all
– Specifies that all the ports will be used for this configuration.
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-15
16-23
24-31
32-39
40-47
48-55
56-63
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.
dscp_color
−
Specifies a list of DSCP value to be mapped to a specific color.
color
−
Specifies the result color of mapping.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage
This config dscp map:
DES-3528:admin# config dscp map 1-8 dscp_priority 1 to 1
Command: config dscp map 1-8 dscp_priority 1 to 1
Success.
DES-3528:admin#
show dscp map
Purpose
Used to display the DSCP map configure parameter.
Syntax
show dscp map { <portlist> } [dscp_priotity | dscp_dscp | dscp_color] {dscp
<dscp_list>}
Description
This command is used to show the DSCP mapped color, priority and DSCP.
Parameters
portlist
−
Specifies a range of ports to display.
dscp_priority
– Specifies that the DSCP priority value will be configured.
dscp_dscp
– Specifies that the DSCP value will be configured.
dscp_color
- Specifies that the DSCP color value will be configured.
dscp
−
Specifies DSCP value that will be mapped.
Restrictions
None.
Example usage
This show dscp map:
DES-3528:admin# show dscp map dscp_color
Command: show dscp map dscp_color