【正文】
RouterA show protocols Global values: Inter Protocol routing is enabled DECNET routing is enabled XNS routing is enabled Appletalk routing is enabled Novell routing is enabled More Ether0 is up, line protocol is up Inter address is , sub mask is Deet cost is 5 XNS address is AppleTalk address is , zone lde0 Novell address is More show protocols 命令 tel 操作 開始一個(gè)會(huì)話 Denver tel paris 結(jié)束一個(gè)會(huì)話 Paris exit 終止一個(gè)會(huì)話 Escape sequence Paris CntlShift6 x Denver 恢復(fù)上一個(gè)會(huì)話 Denver Return 斷開一個(gè)會(huì)話 Denver disconnect paris 顯示會(huì)話 Denver show sessions Conn Host Address Idle Conn Name 1 Paris 0 Paris 2 Tokyo 0 Tokyo* Tokyo Paris Denver 基本測(cè)試 新時(shí)科技有限公司 測(cè)試概述 應(yīng)用層 表達(dá)層 會(huì)話層 傳輸層 網(wǎng)絡(luò)層 數(shù)據(jù)鏈路層 物理層 7 6 5 4 3 2 1 tel ping trace show ip route show interface 測(cè)試應(yīng)用層用 tel ? 是否能訪問遠(yuǎn)程的路由器? Paris Tel York Paris 應(yīng)用層 用 ping 命令測(cè)試 ? 數(shù)據(jù)報(bào)是否被轉(zhuǎn)發(fā)? 請(qǐng)求回應(yīng) 答復(fù)回應(yīng) Router ping Type escape sequence to abort. Sending 5, 100 byte ICMP Echos to , timeout is 2 seconds: .!!!! Success rate is 80 percent, roundtrip min/avg/max = 1/3/4 ms Router 網(wǎng)絡(luò)層 用 trace 命令測(cè)試 ? 從哪條路徑轉(zhuǎn)發(fā)數(shù)據(jù)報(bào)? Rome York London Paris 網(wǎng)絡(luò)層 York trace ROME Type escape to abort. Tracing the route to ROME () 1 LONDON () 1000 msec 8 msec 4 msec 2 PARIS () 8 msec 8 msec 8 msec 3 ROME () 8 msec 8 msec 4 msec York 用 show ip route命令 ? 路由表中是否存在入口 ? Paris show ip route Codes: I IGRP derived, R RIP derived, O OSPF derived C connected, S static, E EGP derived, B BGP derived i ISIS derived, D EIGRP derived * candidate default route, IA OSPF inter area route E1 OSPF external type 1 route, E2 OSPF external type 2 route L1 ISIS level1 route, L2 ISIS level2 route EX EIGRP external route Gateway of last resort is not set I [100/1300] via 0:00:22 Ether1 is subted (mask is ), 3 subs I [100/180771] via , 0:01:29, Ether1 C is directly connected, Ether0 C is directly connected, Ether1 I [100/1200] via , 0:00:22, Ether1 網(wǎng)絡(luò)層 鏈接是否正常 ? ? 載波檢測(cè)信號(hào)是否存在 ? ? ? 電纜 ? 連接器 ? 接口 硬件 (物理層 ) 鏈接 數(shù)據(jù) 數(shù)據(jù)鏈路層 ? Keepalive 消息 ? 控制信息 ? 用戶信息 ? keepalive 消息是否被接收 ? Router show interface serial 1 Serial1 is up, line protocol is up Hardware is cxBus Serial Description: 56Kb Line San Jose MP :: :: :: :: :: :: :: :: :: :: 正常 ................. 連接問題 厖厖 ? 接口問題厖厖 禁止 ...................... Serial1 is up, line protocol is up Serial1 is up, line protocol is down Serial1 is down, line protocol is down Serial1 is administratively down, line protocol is down Keepalives 載波 檢測(cè) show interface serial解釋過程 清除 show interface 的計(jì)數(shù)器 Router clear counters Router show interface serial 1 Serial1 is up, line protocol is up Hardware is cxBus Serial Description: 56Kb Line San Jose MP Inter address is , sub mask is MTU 1500 bytes, BW 56 Kbit, DLY 20220 usec, rely 255/255, load 1/255 Encapsulation HDLC, loopback not set, keepalive set (10 sec) Last input 0:00:07, output 0:00:00, output hang never Last clearing of show interface counters 2w4d Output queue 0/40, 0 drops。 ? 請(qǐng)求包: 7 B D 拓?fù)浔? 網(wǎng)絡(luò) 鄰居 路由表 鄰居表 網(wǎng)絡(luò) 7 B H FDDIA 鄰居自動(dòng)發(fā)現(xiàn) B D H Enhanced IGRP IP RIP IP RIP 自治域 200 IGRP 自治域 200 增強(qiáng) IGRP 多協(xié)議支持 IP 增強(qiáng) IGRP 配置 Router (config) router eigrp autonomoussystemnumber IP 增強(qiáng) IGRP 配置 ? 定義一個(gè)增強(qiáng) IGRP 作為 IP 路由進(jìn)程 Router (configrouter) work worknumber ? 選擇相鄰的網(wǎng)絡(luò)、子網(wǎng) router eigrp 109 work work T0 S0 S1 S2 TokenRingTokenRingA B C E D IP 增強(qiáng) IGRP 實(shí)例 ? 增強(qiáng) IGRP用綜合的度量去選擇最佳路徑 IPX RIP T1 T1 T1 Enhanced IGRP IPX RIP AppleTalk RTMP IP RIP AppleTalk RTMP IP RIP 增強(qiáng) IGRP的路徑選擇 最小路由更新 ? 對(duì)于接收到的路由協(xié)議指定可以通過的路由 ? 用一個(gè)標(biāo)準(zhǔn)的訪問表來(lái)允許和禁止某些路由 ? 可以實(shí)施傳輸 (outbound)或接收 (inbound) 路由協(xié)議 ? 過濾所有的更新或指定接口的更新 Router (configrouter) distributelist accesslistnumber { out l in } [ interfacename l routingprocess ] 路由過濾 ? 用接口過濾來(lái)隱藏網(wǎng)絡(luò) S0 IP 路由過濾實(shí)例 router eigrp 1 work work distributelist 7 out s0 ! accesslist 7 permit ? 用重新分配過濾來(lái)隱藏網(wǎng)絡(luò) 重新分配過濾實(shí)例 EIGRP EIGRP RIP router rip work redistribute eigrp 1 defaultmetric 3 distributelist 7 out eigrp 1 ! router eigrp 1 work redistribute rip defaultmetric 56 2022 255 1 1500 ! accesslist 7 deny accesslist 7 permit ? 網(wǎng)絡(luò)層的路由總結(jié) ( A, B, C類 ) 缺省是 enabled Router (configrouter) no autosummary 增強(qiáng) IGRP 路由的總結(jié)(Summarization) Router (configif) ip summaryaddress eigrp asnumber address mask ? 允許在一個(gè)指定的接口進(jìn)行總結(jié)廣播 ? 關(guān)閉自動(dòng)總結(jié) i