beautypg.com

Map ip port (interface configuration), Map ip port – LevelOne GTL-2691 User Manual

Page 1165

background image

C

HAPTER

40

| Class of Service Commands

Priority Commands (Layer 3 and 4)

– 1165 –

E

XAMPLE

The following example shows how to map IP DSCP value 1 to CoS value 0:

Console(config)#interface ethernet 1/5

Console(config-if)#map ip dscp 1 cos 0

Console(config-if)#

map ip port

(Interface

Configuration)

This command sets IP port priority (i.e., TCP/UDP port priority). Use the no

form to remove a specific setting.

S

YNTAX

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)

D

EFAULT

S

ETTING

None

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

The precedence for priority mapping is IP Port, IP Precedence or IP

DSCP, and default switchport priority.

Up to 8 entries can be specified for IP Port priority mapping.

This command sets the IP port priority for all interfaces.

E

XAMPLE

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)#