TP-Link TL-SG3424P Switch User Manual


 
119
TP-LINK(config)# qos dscp enable
qos dscp config
Description
The qos dscp config command is used to configure the mapping relation
between DSCP Priority and 802.1P Priority. To return to the default configuration,
please use no qos dscp config command. DSCP (DiffServ Code Point) is a
new definition to IP ToS field given by IEEE. This field is used to divide IP
datagram into 64 priorities. When DSCP Priority is enabled, IP datagram are
mapped to different priority levels based on DSCP priority mode; non-IP
datagram with IEEE 802.1Q tag are mapped to different priority levels based on
IEEE 802.1P priority mode if IEEE 802.1P Priority is enabled; the untagged
non-IP datagram are mapped based on port priority mode.
Syntax
qos dscp config {dscp-list} {cos-id}
no qos dscp config
Parameter
dscp-list —— List of DSCP value. One or several DSCP values can be typed
using comma to separate. Use a hyphen to designate a range of values, for
instance, 1,4-7,11 indicates choosing 1,4,5,6,7,11. The DSCP value ranges
from 0 to 63.
cos-id —— The priority level the packets with tag are mapped to, which ranges
from CoS 0 to CoS 7.
Command Mode
Global Configuration Mode
User Guidelines
DSCP priorities are mapped to the corresponding 802.1p priorities. IP datagram
will detemin its egress queue based on the mapping relation between 802.1p
priority and priority levels.
Example
Map DSCP values 10,11,15 to CoS0:
TP-LINK(config)# qos dscp config 10,11,15 0