Command Line Interface

4-212

4
Priority Commands (Layer 3 and 4)

map ip port (Global Configuration)

This command enables IP port mapping (i.e., class of service mapping f or TCP/UDP
sockets). Use the no form to disable IP port mapping.
Syntax
[no] map ip port
Default Setting
Disabled
Command Mode
Global Configuration
Command Usage
The precedence for priority mapping is IP Port, IP Precedence o r IP DSCP,
and default switchport priority.
Example
The following example shows how to enable TCP/UDP port mapping globally:

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.
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)
Table4-69 Priority Command s (Layer 3 and 4)
Command Function Mode Page
map ip port Enables TCP/UDP class of service mapping GC 4-212
map ip port Maps TCP/UDP socket to a class of service IC 4-212
map ip precedence Enables IP precedence class of service mapping GC 4-213
map ip precedence Maps IP precedence value to a class of service IC 4-214
map ip dscp Enables IP DSCP class of service mapping GC 4-214
map ip dscp Maps IP DSCP value to a class of service IC 4-215
show map ip port Shows the IP port map PE 4-216
show map ip precedence Shows the IP precedence map PE 4-217
show map ip dscp Sh ows the IP DSCP map PE 4-218
Console(config)#map ip port
Console(config)#