Lab 1 - commands ============================================= sw1 ============================================= en conf t hostname sw1 enable secret ciscoen int vlan 1 ip add 192.168.1.200 255.255.255.0 no shut no ip domain-lookup service password-encryption ip domain-name sw1.local crypto key generate rsa general-keys modulus 2048 ip ssh version 2 ip ssh time-out 180 ip ssh authentication-retries 2 username student privilege 15 password cisco line con 0 login local line vty 0 15 login local transport input ssh exit ============================================= r1 ============================================= en conf t hostname r1 enable secret ciscoen int g0/0/0 ip add 192.168.1.1 255.255.255.0 no shut int g0/0/1 ip add 10.1.1.1 255.255.255.0 no shut exit enable secret ciscosen ip domain-name r1.local username student privilege 15 password cisco line vty 0 15 login local transport input ssh crypto key generate rsa general-keys modulus 2048 ip ssh version 2 ip ssh time-out 180 ip ssh authentication-retries 2 username student privilege 15 password cisco line con 0 login local line vty 0 15 login local transport input ssh exit login block-for 300 attempts 3 within 4 ============================================= sw2 ============================================= en conf t hostname sw1 enable secret ciscoen int vlan 1 ip add 192.168.1.200 255.255.255.0 no shut no ip domain-lookup service password-encryption ip domain-name sw1.local crypto key generate rsa general-keys modulus 2048 ip ssh version 2 ip ssh time-out 180 ip ssh authentication-retries 2 username student privilege 15 password cisco line con 0 login local line vty 0 15 login local transport input ssh exit