
Girai Kaku
Cisco 3640 series router is used in this example.
Router# configure terminal
Router(config)# hostname R1
R1(config)# line vty 0 4
R1(config-line)# password $PASSWORD
R1(config-line)# login
R1(config-line)# exit
R1(config)# line console 0
R1(config-line)# password $PASSWORD
R1(config-line)# login
R1(config-line)# exit
R1(config)# line console 0
R1(config-line)# no password
R1(config-line)# exit
R1(config)# enable secret $PASSWORD
On router R1
R1#configure terminal
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#write
On router R2
R2#configure terminal
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#write
On router R1
ping 192.168.12.2
On router R2
ping 192.168.12.1
show startup-config
show running-config
show ip route
show ip interface brief