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.17
access-list standard (Named)
This command configures an access list for filtering frames that permit or deny packets from a
specific source IP address.
The
no
form removes a specified access-list.
Syntax
access-list standard
<list-name>
{deny|permit}
<source>
[exact-match]
no access-list standard
<list-name>
{deny|permit}
<source>
[exact-match]
Mode
Configure mode
Related Commands
show running-config
show ip access-list
clear ip prefix-list
Use this command to reset the hit count to zero in the prefix-list entries.
Syntax
clear ip prefix-list [
<list-name>
] [
<ip-addr>/<mask>
]
Mode
Privileged Exec mode
Examples
To clear a prefix-list named List1:
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.
<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.
exact-match
Exact match of the prefixes.
Parameter
Description
<list-name>
specify the name of the prefix-list
<ip-addr>/<mask>
specify the IP prefix and length
awplus#
clear ip prefix-list List1