C
HAPTER
26
| Access Control Lists
IPv4 ACLs
– 689 –
COMMAND USAGE
â—† Only one ACL can be bound to a port.
â—† 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)#int eth 1/2
Console(config-if)#ip access-group david in
Console(config-if)#
RELATED COMMANDS
show ip access-list (689)
Time Range (545)
show ip access-
group
This command shows the ports assigned to IP ACLs.
COMMAND MODE
Privileged Exec
EXAMPLE
Console#show ip access-group
Interface ethernet 1/2
IP access-list david in
Console#
RELATED COMMANDS
ip access-group (688)
show ip access-list 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)
COMMAND MODE
Privileged Exec