作者sssxyz (只出沒大佳基隆河左岸)
看板Network
標題Re: [問答] cisco show ip route該怎麼看?
時間Tue Mar 22 17:20:57 2011
※ 引述《sdu37 (sdu)》之銘言:
: 今天連上去看cisco router
: 看了上面的設定發現,我怎麼看不太懂= =
: 172.30.0.0/30 is subnetted, 1 subnets
: C 172.30.62.76 is directly connected, Serial0/0/0
這代表你的router有這個路由存在
依存在Serial0/0/0 這筆路由是172.30.62.76/30
此路由為介面直連路由
: 173.30.0.0/30 is subnetted, 1 subnets
: C 173.30.32.72 is directly connected, FastEthernet0/1
這代表你的router有這個路由存在
依存在FastEthernet0/1 這筆路由是172.30.32.72/30
此路由為介面直連路由
: 10.0.0.0/24 is subnetted, 1 subnets
: S 10.41.0.0 [1/0] via 192.168.1.253
這代表你的router有這個路由存在
next hop是192.168.1.253 這筆路由是10.41.0.0/24
此路由為靜態路由
: C 192.168.1.0/24 is directly connected, FastEthernet0/0
這代表你的router有這個路由存在
依存在FastEthernet0/0 這筆路由是192.168.1.0/24
此路由為介面直連路由
: S* 0.0.0.0/0 [1/0] via 192.168.1.253
這裡代表所有路由最後的選擇 可視同default gateway
next hop是192.168.1.253
: S 192.168.0.0/16 is directly connected, Serial0/0/0
這代表你的router有這個路由存在
next hop是serial0/0/0此介面 這筆路由是192.168.0.0/16
此路由為靜態路由
至於 down-when-looped 這個 command 我沒有用過
個人猜測 也許是 interface 出現 line protocol is up (looped)
此時將介面給 down 下來 以避免資料流送往此介面
有沒有猜對還請有使用過的朋友解釋了
我一定是上班太閒了....
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.30.74.241
→ knives:沒錯,你的確是太閒了 03/22 17:26
推 sdu37:感謝,請問路由是只要有一條設定有符合,就會去執行那一條嗎 03/22 20:59
→ wst2080:那當然 03/22 21:43
推 sdu37:回W大,可以麻煩你去8782幫我看一下嗎?我那有想請教你一個 03/22 22:07
→ sdu37:問題!麻煩你了!謝謝 03/22 22:07