Access Control List (ACL) Commands
©2008 Allied Telesis Inc. All rights reserved.
38.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
access-list (IP)
This command configures an IP access list for filtering IP hardware packets, ICMP packets, TCP
packets, UDP packets, or IANA defined IP protocols.
The
no
form removes the previously specified IP hardware access list.
Syntax
[icmp|ip]
access-list <3000-3699>
{copy-to-cpu|copy-to-mirror|deny|permit|send-to-cpu}
{icmp|ip}
{
<source>
|any|host}{
<destination>
|any|host}
icmp-type {
<type-number>
}
no access-list <3000-3699>
Parameter
Description
<3000-3699>
Hardware IP access list
copy-to-cpu
Specify packets to copy to the CPU.
copy-to-mirror
Specify packets to copy to the mirror port.
deny
Access-list rejects packets that match the source and destination filtering
specified with this command.
permit
Access-list permits packets that match the source and destination filtering
specified with this command.
send-to-cpu
Specify packets to send to the CPU.
icmp
ICMP packet.
ip
IP packet.
tcp
TCP packet.
udp
UDP packet.
<source>
The source address of the packets. You can specify either a subnet, a host,
or all sources. The following are the valid formats to specify the source:
any
Filters packets with any source address.
host
<ip-addr>
Filters packets matching a specific source address.
<ip-addr>/
<reverse-mask>
Filters packets from the network specified by an IP
address and wildcard mask. The IP address and mask
are specified in dotted decimal notation with a space
between the IP address and the mask. The mask
works as a reverse address mask. For example,
0.0.0.255 means you permit or deny the route which
matches the first 24 bits, A.B.C.D.
any
Any source host.
host
A single source host.