Basic Configuration of Cisco Routers |
|
|
|
Écrit par CCNA
|
26-05-2008 |
- Configuring R1
router> enable
router# conf t
router(conf)# interface serial0
router(conf-if)# ip address 10.0.0.1 255.0.0.0
router(conf-if)# no shutdown (updates the interface)
router(conf-if)# exit
router(conf)# hostname R1
R1(conf)# exit
R1# wr (writes RAM to NVRAM)
- Configuring R2
router> enable
router# conf t
router(conf)# interface serial0
router(conf-if)# ip address 10.0.0.2 255.0.0.0
router(conf-if)# no shutdown (updates the interface)
router(conf-if)# clock rate 64000 (sets the clock rate for the DCE)
router(conf-if)# exit
router(conf)# hostname R2
R2(conf)# exit
R2# wr (writes RAM to NVRAM)
- Checking R1 configuration
R1# show ip interface brief (shows IP configuration)
R1# show run (shows running config in RAM)
R1# show start (shows startup config in NVRAM)
R1# show ip route (--> c(connected) 10.0.0.0/8)
R1# show version (shows IOS version)
R1# show flash (shows FLASH information)
R1# show controller serial0 (shows interface controller status)
R1# show ? (shows command options)
R1# ping 10.0.0.2 (checks connectivity withe R2)
R1# exit
R1>
- Checking R2 configuration
R2# show ip interface brief (shows IP configuration)
R2# show run (shows running config in RAM)
R2# show start (shows startup config in NVRAM)
R2# show ip route (--> c(connected) 10.0.0.0/8)
R2# show version (shows IOS version)
R2# show flash (shows FLASH information)
R2# show controller serial0 (shows interface controller status)
R2# show ? (shows command options)
R2# ping 10.0.0.1 (checks connectivity withe R1)
R2# exit
R2>
|
Dernière mise à jour : ( 07-06-2008 )
|