COMMAND LINE INTERFACE

Example

The following example shows how to enable TCP/UDP port mapping globally:

Console(config)#map ip port

Console(config)#

map ip port (Interface Configuration)

Use this command to set IP port priority (i.e., TCP/UDP port priority). Use the no form to remove a specific setting.

Syntax

map ip port port-number cos cos-value no map ip port port-number

port-number- 16-bit TCP/UDP port number. (Range: 0-65535)

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

Default Setting

None

Command Mode

Interface Configuration (Ethernet, 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)#

4-188

Page 474
Image 474
SMC Networks SMC6724L3 Map ip port Interface Configuration, Following example shows how to map Http traffic to CoS value