Access Control List (ACL) Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
38.15
Syntax
[proto]
access-list extended
<list-name>
{deny|permit}
{proto <
ip-protocol
>}
{<
source
>|any}
{
<destination>
|any} [log]
no access-list extended
<list-name>
{deny|permit}
{proto <
ip-protocol
>}
{<
source
>|any}
{
<destination>
|any}[log]
Parameter
Description
<list-name>
A user-defined name for the access-list.
deny
The access-list rejects packets that match the type, source, and destination
filtering specified with this command.
permit
The access-list permits packets that match the type, source, and
destination filtering specified with this command.
any
The access-list matches any type of packet.
<source>
The source address of the packets. You can specify either a subnet or all
sources. The following are the valid formats for specifying the source:
<ip-addr>/
<reverse-
mask>
An IPv4 address, followed by a forward slash, then the
prefix length. This matches any source IP address
within the specified subnet.
any
Matches any source IP address.
<destination>
The destination address of the packets. You can specify either a subnet or
all destinations.The following are the valid formats for specifying the
destination:
<ip-addr>/
<reverse-
mask>
An IPv4 address, followed by a forward slash, then the
prefix length. This matches any source IP address
within the specified subnet.
any
Matches any destination IP address.
log
Logs the results.
Protocol Number Protocol Description [RFC Reference]
1
Internet Control Message [RFC792]
2
Internet Group Management [RFC1112]
3
Gateway-to-Gateway [RFC823]
4
IP in IP [RFC2003]
5
Stream [RFC1190] [RFC1819]
6
TCP (Transmission Control Protocol) [RFC793]
8
EGP (Exterior Gateway Protocol) [RFC888]
9
IGP (Interior Gateway Protocol) [IANA]
11
Network Voice Protocol [RFC741]
17
UDP (User Datagram Protocol) [RFC768]
20
Host monitoring [RFC869]
27
RDP (Reliable Data Protocol) [RFC908]
28
IRTP (Internet Reliable Transaction Protocol)
[RFC938]
29
ISO-TP4 (ISO Transport Protocol Class 4) [RFC905]
30
Bulk Data Transfer Protocol [RFC969]
33
Datagram Congestion Control Protocol [RFC4340]
48
DSR (Dynamic Source Routing Protocol) [RFC4728]