AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
217
NXA-ENET24 - Software Management Guide
IP ACL Commands (Cont.)
Command Function
show map access-list ip
This command shows the CoS
value mapped to an IP ACL for
the current interface.
The CoS value determines the
output queue for packets
matching an ACL rule.
Syntax:
show map access-list ip [interface]
•interface
ethernet unit/port
unit - This is device 1.
port - Port number.
Command Mode: Privileged Exec
Example:
Console#show map access-list ip
Access-list to COS of Eth 1/24
Access-list ALS1 cos 0
Console#
match access-list ip
This command changes the IEEE
802.1p priority, IP Precedence, or
DSCP Priority of a frame match-
ing the defined ACL rule.
This feature is commonly referred
to as ACL packet marking.
Use the no form to remove the
ACL marker.
Syntax:
match access-list ip acl_name [set priority priority] {set tos
tos_value | set dscp dscp_value}
no match access-list ip acl_name
acl_name – Name of the ACL. (Maximum length: 16 characters)
priority – Class of Service value in the IEEE 802.1p priority tag. (Range:
0-7; 7 is the highest priority)
tos_value – IP Precedence value. (Range: 0-7)
dscp_value – Differentiated Services Code Point value.
(Range: 0-63)
Default Setting: None
Command Mode: Interface Configuration (Ethernet)
Command Usage: You must configure an ACL mask before you can
change frame priorities based on an ACL rule.
Traffic priorities may be included in the IEEE 802.1p priority tag. This tag is
also incorporated as part of the overall IEEE 802.1Q VLAN tag. To specify
this priority, use the set priority keywords.
The IP frame header also includes priority bits in the Type of Service (ToS)
octet. The Type of Service octet may contain three bits for IP Precedence
or six bits for Differentiated Services Code Point (DSCP) service. To spec-
ify the IP precedence priority, use the set tos keywords. To specify the
DSCP priority, use the set dscp keywords. Note that the IP frame header
can include either the IP Precedence or DSCP priority type.
The precedence for priority mapping by this switch is IP Precedence or
DSCP Priority, and then 802.1p priority.
Example:
Console(config)#interface ethernet 1/12
Console(config-if)#match access-list ip bill set dscp 0
Console(config-if)#
show marking
This command displays the
current configuration for packet
marking.
Command Mode: Privileged Exec
Example:
Console#show marking
Interface ethernet 1/12
match access-list IP bill set DSCP 0
match access-list MAC a set priority 0
Console#