Cisco 2950 - Catalyst Switch Spécifications Page 157

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 674
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 156
2-131
Catalyst 2950 and Catalyst 2955 Switch Command Reference
OL-10102-02
Chapter 2 Catalyst 2950 and 2955 Cisco IOS Commands
ip access-list
Examples This example shows how to configure a standard ACL named Internetfilter1:
Switch(config)# ip access-list standard Internetfilter1
Switch(config-std-nacl)# permit 192.5.34.0 0.0.0.255
Switch(config-std-nacl)# permit 192.5.32.0 0.0.0.255
Switch(config-std-nacl)# exit
This example shows how to configure an extended ACL named Internetfilter2:
Switch(config)# ip access-list extended Internetfilter2
Switch(config-ext-nacl)# permit any 128.8.10.0 0.0.0.255 eq 80
Switch(config-ext-nacl)# permit any 128.5.8.0 0.0.0.255 eq 80
Switch(config-ext-nacl)# exit
Note In these examples, all other IP access is implicitly denied.
You can verify your settings by entering the show access-lists or show ip access-lists privileged EXEC
command.
Related Commands Command Description
deny (access-list configuration) Configures conditions for an IP ACL.
ip access-group Controls access to an interface.
permit (access-list configuration) Configures conditions for an IP ACL.
service-policy Applies a policy map to the input of an interface.
show access-lists Displays ACLs configured on the switch.
show ip access-lists Displays IP ACLs configured on the switch.
Vue de la page 156
1 2 ... 152 153 154 155 156 157 158 159 160 161 162 ... 673 674

Commentaires sur ces manuels

Pas de commentaire