846
Command Reference for AT-IX5-28GPX High Availability, High Power Video Surveillance PoE Switch
C613-50057-01 REV A
AlliedWare Plus™ Operating System - Version 5.4.5-0.x
IP
V
4 H
ARDWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
(
ACCESS
-
LIST
HARDWARE
IP
PROTOCOL
FILTER
)
Mode
IPv4 Hardware ACL Configuration
Default
Any traffic on an interface controlled by a hardware ACL that does not explicitly
match a filter is permitted.
Usage
First create a named hardware access-list that applies the appropriate permit/deny
requirements. Then use the
access-group
command to apply this access-list to a
specific port or range. Note that this command will apply the access-list only to
incoming
data packets.
An ACL can be configured with multiple ACL filters using sequence numbers. If the
sequence number is omitted, the next available multiple of 10 will be used as the
sequence number for the new filter. A new ACL filter can be inserted into the
middle of an existing list by specifying the appropriate sequence number.
NOTE
:
The access control list being configured is selected by running the
access-list
hardware (named)
command. with the required access control list number, or name,
but with no further parameters selected.
Hardware ACLs will
permit
access unless
explicitly denied
by an ACL action.
Examples
To add an access-list filter entry to the access-list named
my-list
that will permit
any type of IP packet with a source address of
192.168.1.1
and any destination
address, use the commands:
awplus#
configure terminal
awplus(config)#
access-list hardware my-list
awplus(config-ip-hw-acl)#
permit ip 192.168.1.1/32 any
To add an access-list filter entry to the access-list named
my-list
that will permit
any type of IP packet with a source address of
192.168.1.1
and a MAC source
address of
ffee.ddcc.bbaa
with any IP and MAC destination address, use the
commands:
awplus#
configure terminal
awplus(config)#
access-list hardware my-list
awplus(config-ip-hw-acl)#
permit ip 192.168.1.1/32 any mac
ffee.ddcc.bbaa any
<
mac-destination-
address
>
The destination host’s MAC address, entered in
HHHH.HHHH.HHHH format.
<
mac-destination-
mask
>
The destination host’s wildcard mask entered in
HHHH.HHHH.HHHH format.
where Hex
FF
= Ignore, and Hex
00
= Match.
any
Matches any destination MAC address.
Parameter
Description