C613-50170-01 Rev B
Command Reference for x510 Series
1526
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
IP
V
4 S
OFTWARE
A
CCESS
C
ONTROL
L
IST
(ACL) C
OMMANDS
ACCESS
-
LIST
(
EXTENDED
NUMBERED
)
Mode
Global Configuration
Default
Any traffic controlled by a software ACL that does not explicitly match a filter is
denied.
Usage
Use this command when configuring access-list for filtering IP software packets.
You can either create access-lists from within this command, or you can enter
access-list
followed by only the number. Entering only the number moves you to
the IPv4 Extended ACL Configuration mode for the selected access-list. From there
you can configure your access-lists by using the commands
(access-list extended IP filter)
(access-list extended IP protocol
Note that packets must match both the source and the destination details.
NOTE
:
Software ACLs will
deny
access unless
explicitly permitted
by an ACL action.
Examples
You can enter the extended ACL in the Global Configuration mode together with
the ACL filter entry on the same line, as shown below:
awplus#
configure terminal
awplus(config)#
access-list 101 deny ip 172.16.10.0 0.0.0.255
any
Alternatively, you can enter the extended ACL in Global Configuration mode
before specifying the ACL filter entry in the IPv4 Extended ACL Configuration
mode, as shown below:
awplus#
configure terminal
awplus(config)#
access-list 101
awplus(config-ip-ext-acl)#
deny ip 172.16.10.0 0.0.0.255 any
<
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
>
<
reverse-mask
>
An IPv4 address, followed by 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
. This matches any
destination IP address within the specified
subnet.
Parameter
Description