AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
269
NXA-ENET24 - Software Management Guide
Priority Commands ((Layer 3 and 4)- Cont.)
Command Function
map ip dscp
(Interface Configuration)
This command sets IP
DSCP priority (i.e.,
Differentiated Services
Code Point priority).
Use the no form to restore
the default table.
Syntax:
map ip dscp dscp-value cos cos-value
no map ip dscp
dscp-value - 8-bit DSCP value. (Range: 0-63)
cos-value - Class-of-Service value (Range: 0-7)
Default Setting: The DSCP default values are defined in the following table. Note
that all the DSCP values that are not specified are mapped to CoS value 0
IP DSCP to CoS Values
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.
DSCP priority values are mapped to default Class of Service values according to
recommendations in the IEEE 802.1p standard, and then subsequently mapped
to the four hardware priority queues.
This command sets the IP DSCP priority for all interfaces.
Example: 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)#
show map ip port
Use this command to show
the IP port priority map.
Syntax:
show map ip port [interface]
interface
ethernet unit/port
unit - Stack unit. (Range: 1-8)
port - Port number. (Range: 1-26)
port-channel channel-id (Range: 1-4)
Default Setting: None
Command Mode: Privileged Exec
Example: The following shows that HTTP traffic has been mapped to CoS value
0:
Console#show map ip port
TCP port mapping status: disabled
Port Port no. COS
--------- -------- ---
Eth 1/ 5 80 0
Console#
map access-list ip See page 216.
map access-list mac See page 222.