AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
267
NXA-ENET24 - Software Management Guide
Priority Commands (Layer 3 and 4)
Maps TCP ports, IP precedence tags, or IP DSCP tags to class of service values
Priority Commands (Layer 2 - Cont.)
Command Function
show interfaces
switchport
See page 236.
Priority Commands (Layer 3 and 4)
Command Function
map ip port
(Global Configuration)
This command enables IP
port mapping (i.e., class of
service mapping for 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 Prece-
dence or IP DSCP, and default switchport priority.
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)
This command 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 1-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 Prece-
dence 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)#