4 Command Line Interface

Command Usage

The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority.

IP Precedence and IP DSCP cannot both be enabled. Enabling one of these priority types will automatically disable the other type.

Example

The following example shows how to enable IP DSCP mapping globally:

Console(config)#map ip dscp

Console(config)#

map ip dscp (Interface Configuration)

This command sets IP DSCP priority (i.e., Differentiated Services Code Point priority). Use the no form to restore the default table.

Syntax

map ip dscp dscp-value cos cos-value no map ip dscp

dscp-value- 8-bit DSCP value. (Range: 0-63)

cos-value- Class-of-Service value (Range: 0-7)

Default Setting

The DSCP default values are defined in the following table. Note that all the DSCP values that are not specified are mapped to CoS value 0.

Table 4-67 Mapping IP DSCP to CoS Values

IP DSCP Value

CoS Value

 

 

0

0

 

 

8

1

 

 

10, 12, 14, 16

2

 

 

18, 20, 22, 24

3

 

 

26, 28, 30, 32, 34, 36

4

 

 

38, 40, 42

5

 

 

48

6

 

 

46, 56

7

 

 

Command Mode

Interface Configuration (Ethernet Ports 1-8, Port Channel)

Command Usage

The precedence for priority mapping is IP Port, IP Precedence or IP DSCP, and default switchport priority.

4-194