Справочное Руководство для TP-LINK TL-SG2008

Скачать
Страница из 169
 
90
 
Example 
Map 802.1Q tag 5 to TC 2.: 
TL-SG2008(config)# qos queue cos-map 5 2 
qos queue dscp-map 
Description 
The qos queue dscp-map command is used to configure the mapping relation 
between DSCP Priority and the CoS value. To return to the default configuration, 
please use no qos queue dscp-map 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 queue dscp-map dscp-list } { tc-id 
no qos queue dscp-map 
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. 
tc-id —— The TC queue ID, which ranges from 0 to 3. 
Command Mode 
Global Configuration Mode
 
User Guidelines 
By default, the mapping relation between DSCP value and the egress queue is: 
(0-15)-TC 0, (16-31)-TC 1, (3247)-TC 2, (48-63)-TC 3. 
Example 
Map DSCP values 10-12 to TC 2: 
TL-SG2008(config)# qos queue dscp-map 10-12 2