User Manual
UMN:CLI
V8102
241
7.18.3
Named Access List
It defines an IP access list by name and any numeric characters that have not been de-
fined from both standard ACL and extended ACL. To create a named IP access list entry,
use the following command.
Command
Mode
Description
access-list WORD
{
deny | per-
mit
}
A.B.C.D/M
[
exact-match
]
Global
Specifies the named ACL entry with a prefix.
WORD: access list name
deny: denies packet if conditions are matched.
permit: permits packet if conditions are matched.
A.B.C.D/M: prefix to match
exact-match: exact match against the prefixes
access-list WORD
{
deny | per-
mit
}
any
Specifies the named ACL with any destination IP ad-
dress.
WORD: access list name
deny: denies packet if conditions are matched.
permit: permits packet if conditions are matched.
any: any destination IP address
access-list WORD remark LINE
Adds comments for the named ACL.
LINE: access list comments up to 100 characters
Add entries to the list by repeating the command for different IP addresses.
To delete an entry of the named ACL, use the following command.
Command
Mode
Description
no access-list WORD
{
deny
|
permit
}
A.B.C.D/M
[
exact-match
]
Global
Deletes an entry of the named ACL.
no access-list WORD
{
deny
|
permit
}
any
no access-list WORD remark
LINE
Sample Configuration
This is an example of creating a named ACL entry.
SWITCH(config)#
access-list
sample_ACL
permit
10.55.193.109/24
SWITCH(config)#
i