Switch
1:enable Conf
t Enable
password class Hostname
s1 Interface
vlan 1 ip
address 192.168.1.11 255.255.255.0 no sh exit line
vty 0 5 password
cisco exit Line
con 0 password
class login exit ip
default-gateway 192.168.1.1 exit show
interface F0/1
Switch
2:enable Conf
t Enable
password class Hostname
s2 Interface
vlan 1 ip
address 192.168.1.12 255.255.255.0 no sh exit line
vty 0 5 password
cisco exit Line
con 0 password
class login exit ip
default-gateway 192.168.1.1
Router1:enable Conf
t Enable
password class Hostname
R1 no
ip domain-lookup conf
t interface
G0/1 ip
address 192.168.1.1 255.255.255.0 no
sh exit line
vty 0 5 password
cisco exit Line
con 0 password
class login exit exit show
ip g0/1