Access Control List Commands
4-181
4
show ip access-list
This command displays the rules for configured IP 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-178
ip access-group (4-181)
ip access-group
This command binds a port to an IP 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.
• If a port is already bound to an ACL and you bind it to a different ACL, the
switch will replace the old binding with the new one.
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 iES4028F
Page 1: ...iES4028F 4028FP 4024GP ...
Page 4: ...iv This page is intentionally left blank ...
Page 10: ...x This page is intentionally left blank ...
Page 28: ...Contents xxviii This page is intentionally left blank ...
Page 32: ...Tables xxxii This page is intentionally left blank ...
Page 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Page 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Page 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Page 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Page 710: ...Index 8 Index This page is intentionally left blank ...
Page 711: ...This page is intentionally left blank ...
Page 712: ...iES4028F 4028FP 4024GP ...