Cisco ACLs

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen

Konzept

  • Access Liste bilden
  • Access Group anwenden

Standardlisten von 1 bis 99

Nur die Quelladresse wird geprüft

  • switch-gelb#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
  • switch-gelb(config)#access-list 1 permit 192.168.20.53
  • switch-gelb(config)#end

Anzeigen der Access Listen

  • switch-gelb#show access-lists
Standard IP access list 1
   10 permit 192.168.20.53

Anwenden der Access Group

  • switch-gelb#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
  • switch-gelb(config)#interface Vlan1
  • switch-gelb(config-if)#ip access-group 1 out
  • switch-gelb(config-if)#exit

Von Vlan20 nach Vlan1

Linux Host ip

Linux-host-sw1.png

Linux Host ping

Linux-host-sw2.png

Linux freigeben

  • switch-gelb#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
  • switch-gelb(config)#access-list 1 permit 192.168.20.4

Anzeigen der neuen Access Liste

  • switch-gelb#show access-lists
Standard IP access list 1
   10 permit 192.168.20.53
   20 permit 192.168.20.4

Ping von Linux Host geht