Cisco Router Basic setting configuration information Routerwrite erase
Cisco Router
Basic setting 清除原有之configuration information Router#write erase Reboot Router 初始設定 Would you like to enter the initial configuration dialog? : y First, would you like to see the current interface summary? : y Enter host name [Router]: Router //Router主機名稱 Enter enable secret : class //進入特權模式密碼 Enter enable password : cisco Enter virtual terminal password : cisco Configure SNMP Network Management? : n
Basic setting Router > enable //進入特權模式 password: cisco Router # show ip route //觀看 routing table Router # show ip protocol //觀看which routing protocols is enable Router # ping xxx //檢查與某ip是否連通 Router # config //進入設定模式 Router(config)# ip routing //啟動 ip Routing Router(config)# interface e 0 //設定Ethernet 0介面 Router(config-if)# ip address 140. 127. 114. 253 255. 0 Router(config-if)# no shutdown //儲存設定
Basic setting Router & Router 之連結 Router # config Router (config)# interface s 0 Router (config-if)# ip address 140. 127. 1. 1 255. 0 Router (config-if)# clockrate 9600 //串接 DCE 端需提供clock訊號 Router (config-if)# no shutdown
Basic setting Router & Router 之連結 Router # config Router (config)# router rip //enable rip Router (config-router)# network 140. 127. 114. 0 //為 140. 127. 114. X的網路建立rip的routing table Router (config-router)# exit Router (config)# exit
- Slides: 5