4 Command Line Interface

Default Setting

None

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.

This command sets the IP port priority for all interfaces.

Example

The following example shows how to map HTTP traffic to CoS value 0:

Console(config)#interface ethernet 1/5

Console(config-if)#map ip port 80 cos 0

Console(config-if)#

map ip precedence (Global Configuration)

This command enables IP precedence mapping (i.e., IP Type of Service). Use the no form to disable IP precedence mapping.

Syntax

[no] map ip precedence

Default Setting

Disabled

Command Mode

Global Configuration

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 precedence mapping globally:

Console(config)#map ip precedence

Console(config)#

4-192