ip access-group
Examples
This example shows how to apply IP access list 101 to inbound packets on a port:
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ip access-group 101 in
You can verify your settings by entering the show ip interface, show access-lists, or show ip
access-lists privileged EXEC command.
Related Commands
Command
access list
ip access-list
show access-lists
show ip access-lists
show ip interface
Catalyst 2960 Switch Command Reference
2-92
Chapter 2
Description
Configures a numbered ACL. For syntax information, select Cisco
IOS IP Command Reference, Volume 1 of 3:Addressing and
Services, Release 12.2 > IP Services Commands
Configures a named ACL. For syntax information, select Cisco IOS
IP Command Reference, Volume 1 of 3:Addressing and
Services, Release 12.2 > IP Services Commands.
Displays ACLs configured on the switch.
Displays IP ACLs configured on the switch. For syntax
information, select Cisco IOS IP Command Reference, Volume 1
of 3:Addressing and Services, Release 12.2 > IP Services
Commands.
Displays information about interface status and configuration. For
syntax information, select Cisco IOS IP Command Reference,
Volume 1 of 3:Addressing and Services, Release 12.2 > IP
Services Commands.
Catalyst 2960 Switch Cisco IOS Commands
78-16882-01