Access Control List Commands
4-205
4
Related Commands
access-list ip (4-201)
This command displays the rules for configured IPv4 ACLs.
Syntax
show ip access-list
{
standard
|
extended
} [
acl_name
]
•
standard
– Specifies a standard IP ACL.
•
extended
– Specifies an extended IP ACL.
•
acl_name
– Name of the ACL. (Maximum length: 16 characters, no
spaces)
Command Mode
Privileged Exec
Example
Related Commands
permit, deny 4-202
ip access-group (4-205)
This command binds a port to an IPv4 ACL. Use the
no
form to remove the port.
Syntax
[
no
]
ip access-group
acl_name
in
•
acl_name
– Name of the ACL. (Maximum length: 16 characters, no
spaces)
•
in
– Indicates that this list applies to ingress packets.
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
• A port can only be bound to one ACL.
Console#show ip access-list standard
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 255.255.255.0
Console#
Summary of Contents for 6152PL2 FICHE
Page 2: ......
Page 6: ...vi ...
Page 8: ...viii ...
Page 32: ...Tables xxxii ...
Page 38: ...Figures xxxviii ...
Page 56: ...Initial Configuration 2 10 2 ...
Page 378: ...Configuring the Switch 3 322 3 ...
Page 817: ......