C613-50170-01 Rev B
Command Reference for x510 Series
1501
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
4 H
ARDWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
(
NAMED
HARDWARE
ACL: IP
PROTOCOL
ENTRY
)
Mode
IPv4 Hardware ACL Configuration (accessed by running the command
)
Default
On an interface controlled by a hardware ACL, any traffic that does not explicitly
match a filter is permitted.
Usage
To use this command, run the command
access-list hardware (named hardware
and enter the desired access-list name. This changes the prompt to
awplus(config-ip-hw-acl)#.
Then use this command (and the other “named hardware ACL: entry” commands)
to add filter entries. You can add multiple filter entries to an ACL. You can insert a
new filter entry into the middle of an existing list by specifying the appropriate
sequence number. If you do not specify a sequence number, the switch puts the
entry at the end of the ACL and assigns it the next available multiple of 10 as its
sequence number.
Then use the
command to apply this ACL
to a port, VLAN or QoS class-map. Note that the ACL will only apply to incoming
data packets.
You can use ACLs to redirect packets, by sending them to the CPU, the mirror port,
or a specific VLAN on a specific port. Use such ACLs with caution. They could
prevent control packets from reaching the correct destination, such as EPSR
healthcheck messages and VCStack messages.
Examples
To add a filter entry to the access-list named “my-list” that will deny all IGMP
packets (protocol 2) from the 192.168.0.0 subnet, and give it a sequence number
of 50, use the commands:
awplus#
configure terminal
awplus(config)#
access-list hardware my-list
awplus(config-ip-hw-acl)#
50 deny proto 2 192.168.0.0/16 any
Related
Commands
access-list hardware (named hardware ACL)
137
MPLS-in-IP / RFC4023
138
MANET Protocols / RFC-ietf-manet-iana-07.txt
139-252
Unassigned / IANA
253
Use for experimentation and testing / RFC3692
254
Use for experimentation and testing / RFC3692
255
Reserved / IANA
Table 36-6: IP protocol number and description (cont.)
Protocol Number
Protocol Description [RFC]