deny (access-list configuration)
This is an example of a standard ACL that sets a deny condition:
Switch(config)# ip access-list standard Acclist1
Switch(config-ext-nacl)# deny 192.5.34.0
Switch(config-ext-nacl)# deny 128.88.10.0
Switch(config-ext-nacl)# deny 36.1.1.0
In these examples, all other IP access is implicitly denied.
Note
You can verify your settings by entering the show ip access-lists or the show access-lists privileged
EXEC command.
Related Commands
Command
ip access-list
permit (access-list configuration)
ip access-group
show ip access-lists
show access-lists
Catalyst 2950 and Catalyst 2955 Switch Command Reference
2-84
Chapter 2
Catalyst 2950 and 2955 Cisco IOS Commands
0.0.0.255
0.0.0.255
0.0.0.255
Description
Defines an IP ACL.
Sets conditions for an IP ACL.
Controls access to an interface.
Displays IP ACLs configured on the switch.
Displays ACLs configured on a switch.
OL-10102-01