4 Command Line Interface

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.

You must configure a mask for an ACL rule before you can bind it to a port.

Example

Console(config)#int eth 1/25

Console(config-if)#ip access-group david in

Console(config-if)#

Related Commands

show ip access-list(4-93)

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/25

IP access-list david in

Console#

Related Commands

ip access-group(4-93)

4-94

Page 336
Image 336
SMC Networks SMC8150L2 Show ip access-group, Show ip access-list4-93, This command shows the ports assigned to IP ACLs