
2-84
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-02
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
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 0.0.0.255
Switch(config-ext-nacl)# deny 128.88.10.0 0.0.0.255
Switch(config-ext-nacl)# deny 36.1.1.0 0.0.0.255
Note In these examples, all other IP access is implicitly denied.
You can verify your settings by entering the show ip access-lists or the show access-lists privileged
EXEC command.
Related Commands Command Description
ip access-list Defines an IP ACL.
permit (access-list configuration) Sets conditions for an IP ACL.
ip access-group Controls access to an interface.
show ip access-lists Displays IP ACLs configured on the switch.
show access-lists Displays ACLs configured on a switch.
Comentarios a estos manuales