Chapter 10
| Access Control Lists
IPv4 ACLs
– 397 –
ip access-group
(Global Configuration)
This command binds an IPv4 ACL to all ports for ingress traffic. Use the no form to
remove the port.
Syntax
ip access-group acl-name in
[time-range time-range-name] [counter]
no ip access-group acl-name in
acl-name – Name of the ACL. (Maximum length: 32 characters)
in – Indicates that this list applies to ingress packets.
time-range-name - Name of the time range. (Range: 1-16 characters)
counter – Enables counter for ACL statistics.
Default Setting
None
Command Mode
Global Configuration
Command Usage
If an ACL is already bound to a port and you bind a different ACL to it, the switch
will replace the old binding with the new one.
Example
Console(config)#ip access-group david in
Console(config)#
Related Commands
show ip access-list (402)
Time Range (189)