set qos dscp-to-cos-map

Changes the internal QoS value to which MSS maps a packet’s DSCP value when classifying inbound packets.

Syntax: set qos dscp-to-cos-map dscp-rangecos level

dscp-rangeDSCP range. You can specify the values as decimal numbers. Valid decimal values are 0 to 63. To specify a range, use the following format: 40-56. Specify the lower number first.

cos level Internal QoS value. You can specify a number from 0 to 7.

Defaults: The defaults are listed by the show qos command.

Access: Enabled.

Examples: The following command maps DSCP values 40-56 to internal CoS value 6:

DWS-1008#set qos dscp-to-cos-map 40-56 cos 6

warning: cos 5 is marked with dscp 63 which will be classified as cos 7

warning: cos 7 is marked with dscp 56 which will be classified as cos 6

As shown in this example, if the change results in a change to CoS, MSS displays a warning message indicating the change.

See Also:

set qos cos-to-dscp-map

show qos

show qos

Displays the switch’s QoS settings.

Syntax: show qos [default]

default Displays the default mappings. Defaults: None.

Access: Enabled.

D-Link DWS-1008 CLI Manual

75

Page 78
Image 78
D-Link dws-1008 manual Set qos dscp-to-cos-map, Show qos, Syntax set qos dscp-to-cos-map dscp-rangecos level