Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1
4. Enter router configuration mode Router(config)#router rip
5. Exit from router mode and go into interface configuration mode
Router(config-router)#exit
Router(config)#interface serial 0
6. Enter exit at the prompt to return to global configuration mode.
Router(config-if)#exit
7. Assign a name to the router
Router(config)#hostname GAD
Erasing and reloading the router
6. Router>enable
7. Router#erase startup-config
8. Erasing the nvram filesystem will remove all files! Continue?
[confirm]
9. Press Enter to confirm.
10. Erase of nvram: complete
11. Router#reload
12. System configuration has been modified. Save? [yes/no]:
13. Type n and then press Enter.
14. Proceed with reload? [confirm]
15. Press Enter to confirm.
16. Would you like to enter the initial configuration dialog?
[yes/no]:
17. Type n and then press Enter.
18. Press RETURN to get started!
2
a. GAD(config)#enable password cisco
b. GAD(config)#exit
4. Configure the enable secret password
a. GAD(config)#enable secret class
b. GAD(config)#exit
5. Show the routers running configuration
a. GAD#show running-config
GAD(config)#interface serial 0
GAD(config-if)#ip address 192.168.15.1 255.255.255.0
GAD(config-if)#clock rate 56000 (DCE)
GAD(config-if)#no shutdown
GAD(config-if)#description Connection to the host
GAD(config-if)#exit
GAD(config)#exit
BHM#ping 192.168.15.1
GAD#ping 192.168.15.2
3
Before making changes to the interface IP address and subnet mask bring the
interface down, Bring the interface down for maintenance by entering:
GAD(config)#interface Serial 0
GAD(config-if)#shutdown
GAD(config-if)#exit
GAD(config)#exit
GAD#
GAD(config)#interface fastEthernet 0
GAD(config-if)#ip address 192.168.14.1 255.255.255.0
GAD(config-if)#no shutdown
GAD(config-if)#exit
GAD (config)#exit
BHM(config)#interface fastethernet 0
BHM(config-if)#ip address 172.18.0.1 255.255.0.0
BHM(config-if)#no shutdown
BHM(config-if)#exit
BHM(config)#interface serial 0
BHM(config-if)#ip address 172.17.0.2 255.255.0.0
BHM(config-if)#no shutdown
BHM(config-if)#exit
BHM(config)#router rip
BHM(config-router)#network 172.17.0.0
BHM(config-router)#network 172.18.0.0
BHM(config-router)#exit
BHM(config)#exit
4
To name the GAD router accessible from BHM by the name “G”, enter:
BHM(conf)#ip host G 172.16.0.1 172.17.0.1
Examine the host table entries, using the show hosts
BHM#ping G
Backing up Configuration Files