D-Link dws-1008 Switch User Manual


 
D-Link DWS-1008 CLI Manual 74
Defaults: None.
Access: Enabled.
Usage: To reset all mappings to their default values, use the clear qos command without the
optional parameters.
Examples: The following command resets all QoS mappings:
DWS-1008# clear qos
success: change accepted.
The following command resets the mapping used to classify packets with DSCP value 44:
DWS-1008# clear qos dscp-to-qos-map 44
success: change accepted.
set qos cos-to-dscp-map
Changes the value to which MSS maps an internal QoS value when marking outbound packets.
Syntax: set qos cos-to-dscp-map level dscp dscp-value
level Internal CoS value. You can specify a number from 0 to 7.
dscp dscp-value DSCP value. You can specify the value as a decimal number. Valid values
are 0 to 63.
Defaults: The defaults are listed by the show qos command.
Access: Enabled.
Examples: The following command maps internal CoS value 5 to DSCP value 50:
DWS-1008# set qos cos-to-dscp-map 5 dscp 50
warning: cos 5 is marked with dscp 50 which will be classified as cos 6
If the change results in a change to CoS, MSS displays a warning message indicating the change.
In this example, packets that receive CoS 5 upon ingress will be marked with a DSCP value
equivalent to CoS 6 upon egress.
See Also:
• set qos dscp-to-cos-map
• show qos