C613-50102-01 REV C
Command Reference for x510 Series
1425
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
IP
V
4 S
OFTWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
ACCESS
-
LIST
EXTENDED
(
NAMED
)
<source>
The source address of the packets. You can specify a single host, a
subnet, or all sources. The following are the valid formats for
specifying the source:
any
Matches any source IP address.
host
<ip-addr>
Matches a single source host with the
IP address given by
<ip-addr>
in
dotted decimal notation.
<
ip-addr
>/
<
prefix
>
An IPv4 address, followed by a forward
slash, then the prefix length. This
matches any source IP address within
the specified subnet.
<
ip-addr
>
<
reverse-mask
>
Alternatively, you can enter a reverse
mask in dotted decimal format. For
example, entering
192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24
.
<
destination
>
The destination address of the packets. You can specify a single
host, a subnet, or all destinations. The following are the valid
formats for specifying the destination:
any
Matches any destination IP address.
host
<ip-addr>
Matches a single destination host with
the IP address given by
<ip-addr>
in
dotted decimal notation.
<
ip-addr
>/
<
prefix
>
An IPv4 address, followed by a forward
slash, then the prefix length. This
matches any destination IP address
within the specified subnet.
<
ip-addr
>
<
reverse-mask
>
Alternatively, you can enter a reverse
mask in dotted decimal format. For
example, entering
192.168.1.1
0.0.0.255
is the same as entering
192.168.1.1/24
.
<
sourceport
>
The source port number, specified as an integer between 0 and
65535.
<
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.
Table 36-3: Parameters in the access-list extended (named) command - tcp|udp
Parameter
Description