System information
Command Line Interface
4-252
4
Priority Commands (Layer 3 and 4)
map ip dscp
This command enables and sets IP DSCP priority mapping (i.e., Differentiated
Services Code Point priority mapping). Use the no form to restore the defaults.
Syntax
map ip dscp [dscp-value cos cos-queue]
no map ip dscp [dscp-value]
• dscp-value - 8-bit DSCP value. (Range: 0-63)
• cos-queue - Port Class-of-Service queue. (Range: 0-3)
Default Setting
Status: Disabled
The DSCP default values are defined in the following table. Note that all the
DSCP values that are not specified are mapped to CoS queue 0.
Command Mode
Global Configuration
Table 4-69 Priority Commands (Layer 3 and 4)
Command Function Mode Page
map ip dscp Configures IP DSCP to CoS queue mapping GC 4-252
map ip port Configures TCP port to CoS queue mapping GC 4-253
map ip precedence Configures IP precedence to CoS queue mapping GC 4-258
map ip tos Configures IP ToS to CoS queue mapping GC 4-258
map access-list ip Sets the output queue for packets matching an IP ACL rule IC 4-256
map access-list mac Sets the output queue for packets matching a MAC ACL rule IC 4-256
show map ip dscp Shows the IP DSCP map PE 4-257
show map ip port Shows the IP port map PE 4-257
show map ip precedence Shows the IP precedence map PE 4-258
show map ip tos Shows the IP ToS map PE 4-258
show map access-list Shows CoS value mapped to an access list for an interface PE 4-259
Table 4-70 IP DSCP to CoS Queue
IP DSCP Value CoS Queue
0, 8 0
10, 12, 14, 16, 18, 20, 22, 24 1
26, 28, 30, 32, 34, 36, 38, 40, 42 2
46, 48, 56 3