
Access Control List (ACL) Commands
©2008 Allied Telesis Inc. All rights reserved.
38.14
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
Syntax
[tcp|udp]
access-list extended
<list-name>
{deny|permit} {tcp|udp}
<source>
{eq|lt|gt|ne}
<source>
{eq|lt|gt|ne}
<destport>
[log]
no access-list extended
<list-name>
{deny|permit} {tcp|udp}
<source>
{eq|lt|gt|ne}
<sourceport> <destination>
{eq|lt|gt|ne}
<destport>
[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.
tcp
The access-list matches only TCP packets.
udp
The access-list matches only UDP 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.
<sourceport>
The source port number, specified as an integer between 0 and 65535.
<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.
<destport>
The destination port number, specified as an integer between 0 and
65535.
eq
Matches port numbers equal to the port number specified immediately
after this parameter.
lt
Matches port numbers less than the port number specified immediately
after this parameter.
gt
Matches port numbers greater than the port number specified
immediately after this parameter.
ne
Matches port numbers not equal to the port number specified
immediately after this parameter.
log
Log the results.