Sei sulla pagina 1di 7

hostname R1 ! login block-for 300 attempts 2 within 120 ! ! enable secret 5 $1$mERr$NY2X7xBCS5tAN/W1NAs2c1 ! ! ! ! ! aaa new-model !

aaa authentication login LOCAL_AUTH local ! ! ! ! ! ! ! username ccna password 7 0822455D0A16 username student secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 ! ! ! ! ! ip ssh authentication-retries 2 ip ssh time-out 15 no ip domain-lookup ip domain-name cisco.com ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 ip address 192.168.10.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 ip address 10.1.1.1 255.255.255.252 clock rate 2000000 ! interface Serial0/0/1 no ip address clock rate 2000000 ! interface Vlan1 no ip address

shutdown ! router rip version 2 passive-interface default no passive-interface Serial0/0/0 network 10.0.0.0 network 192.168.10.0 ! ip classless ! ! ip access-list extended sl_def_acl deny tcp any any eq telnet deny tcp any any eq www deny tcp any any eq 22 permit tcp any any eq 22 ! ! ! ! ! line con 0 exec-timeout 5 0 login authentication LOCAL_AUTH line vty 0 4 exec-timeout 5 0 login authentication LOCAL_AUTH transport input ssh ! ! ! end

hostname R2 ! ! ! ! ! ! ! ! username student secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 ! ! ! ! ! ip ssh authentication-retries 2 ip ssh time-out 15 no ip domain-lookup ip domain-name cisco.com ! ! spanning-tree mode pvst ! !

! ! interface Loopback0 ip address 209.165.200.225 255.255.255.224 ! interface FastEthernet0/0 ip address 192.168.20.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 ip address 10.1.1.2 255.255.255.252 ! interface Serial0/0/1 ip address 10.2.2.1 255.255.255.252 clock rate 2000000 ! interface Serial0/1/0 no ip address ! interface Serial0/1/1 no ip address clock rate 2000000 ! interface Vlan1 no ip address shutdown ! router rip version 2 passive-interface default no passive-interface Serial0/0/0 no passive-interface Serial0/0/1 network 10.0.0.0 network 192.168.20.0 network 209.165.200.0 no auto-summary ! ip classless ! ! ! ! ! ! ! line con 0 line vty 0 4 login local transport input ssh ! ! ! end

hostname R3 ! ! ! ! ! ! ! ! username student secret 5 $1$mERr$hx5rVt7rPNoS4wqbXKX7m0 ! ! ! ! ! ip ssh authentication-retries 2 ip ssh time-out 15 no ip domain-lookup ip domain-name cisco.com ! ! spanning-tree mode pvst ! ! ! ! interface FastEthernet0/0 ip address 192.168.30.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address duplex auto speed auto shutdown ! interface Serial0/0/0 no ip address clock rate 2000000 shutdown ! interface Serial0/0/1 ip address 10.2.2.2 255.255.255.252 ! interface Vlan1 no ip address shutdown ! router rip version 2 passive-interface default no passive-interface Serial0/0/1 network 10.0.0.0 network 192.168.30.0 !

ip classless ! ! ! ! ! ! ! line con 0 line vty 0 4 login local transport input ssh ! ! ! end

hostname S1 ! ! spanning-tree mode pvst ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18

! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface Vlan1 no ip address shutdown ! interface Vlan10 ip address 192.168.10.2 255.255.255.0 ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! end

hostname S3 ! ! spanning-tree mode pvst ! interface FastEthernet0/1 ! interface FastEthernet0/2 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 !

interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 ! interface Vlan1 no ip address shutdown ! interface Vlan30 ip address 192.168.30.2 255.255.255.0 ! ! line con 0 ! line vty 0 4 login line vty 5 15 login ! ! end

Potrebbero piacerti anche