国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網(wǎng)絡(luò)通信 > 正文

基本的幀中繼配置(2)

2019-11-04 20:38:12
字體:
供稿:網(wǎng)友

  第3步:配置靜態(tài)路由并測試連通性
  
    監(jiān)測清單8-2記錄了配置和測試的全過程。
  
    監(jiān)測清單8-2配置靜態(tài)路由并測試連通性
    R2#conft
    Enter configuration commands, one per line. End with CNTL/Z.
    R2(config)#ip route 192.168.LO 255.255.255.0 172.16.1.1
    R2(config)#
    Term_Server#1
    [Resuming connection 1 to R1 ...]
    R1#conft
    Enter configuration commands, one per line. End with CNTL/Z.
    R1(config)#ip route 0.0.0.0 0.0.0.0 172.16.1.2
    R1(config)#^Z
    R1#ping
    R1#ping 192.168.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
    !!!!!
    R1#sh ip route
    Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, 0 - OSPF, IA - OSPF inter area
  
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
       i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
       * - candidate default, U - per-user static route, o - ODR
       P - periodic downloaded static route
    Gateway of last resort is 172.16.1.2 to network 0.0.0.0
      172.16.0.0/24 is subnetted, 1 subnets
    C   172.16.1.0 is directly connected, Serial0
    S* 0.0.0.0/0 [1/0]via 172.16.1.2
    (1)在R2上配置目標網(wǎng)段為192.168.1.0/24的靜態(tài)路由。
    (2)在R1上配置1條缺省路由。這只是演示上的目的,完全可以配置成為和R2一樣的靜態(tài)路由。
    (3)查看R1的路由表,顯示了缺省路由的配置情況。
    (4)從R1到192.168.2.1地址的ping測試是成功的,這標志著本實驗的配置任務(wù)已經(jīng)完成。
  
    第4步:使用幀中繼的Debug命令
  
    Debug命令對于在幀中繼配置過程中的排障非常重要,在這里我們主要演示一項常用的Debug命令,看一下配置正確和配置錯誤兩種情況下其監(jiān)測結(jié)果上的區(qū)別。
    監(jiān)測清單8-3記錄了Debug命令的使用及結(jié)果。
  
    監(jiān)測清單8-3 幀中繼的Debug命令
  
    R1#debug frame-relay ?
    dlsw    Frame Relay dlsw
    end-to-end Frame-relay end-to-end VC information
    events   Impoftant Frame Relay packet events
    foresight Frame Relay router ForeSight support
    hPR    Frame Relay APPN HPR
    ip     Frame Relay Internet Protocol
    llc2    Frame Relay llc2
    lmi    LMI packet exchanges with service provider
    packet   Frame Relay packets
    ppp    PPP over Frame Relay
    rsrb    Frame Relay rsrb
  
     verbose Frame Relay
  
    R1#debug frame-relay packet
    Frame Relay packet debugging is on
    R1#ping 192.168.2.1
  
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
    !!!!!
    SUCcess rate is 100 percent (5/5), round-trip min/avg/max = 68/68/72 ms
    R1#
    00:44:29: Serial0(o): dici 102(0x1861), pkt type 0x800(IP). datagramsize 104
    00:44:29: Serial0(i): dici 102(0x1861),pkt type 0x800, datagmmsize 104
    00:44:29: Serial0(o):dlci 102(0x1861), pkt type 0x800(IP). datagramsize 104
    00:44:29: Serial0(i):dlci 10(0x1861),pkt type 0x800, datagmmsize 104
    00:44:29: Serial0(o):dlci 102(0x1861), pkt type 0x800(IP). datagramsize 104
    00:44:29: SerialO(i):dlci 102(0x1861),pkt type 0x800, datagmmsize 104
    00:44:29: SerialO(o):dlci 102(0x1861), pkt type 0x800(IP). datagramsize 104
    00:44:29: Serial0O(i):dlci 102(0x1861),pkt type 0x800, datagmmsize 104
    00:44:29: Serial0(o):dlci 102(0x1861),pkt type 0x800(IP). datagramsize 104
    00:44:29: Serial0(i):dlci 102(0x1861), pkt type 0x800, datagmmsize 104
    R1#conf t
    Enter configuration commands, one per line. End with CNTL/Z.
    R1(config)#int sO
    R1(config-if)#no frame map ip 172.16.L2 102 cisco
    R1(config-if)#^Z
    R1#sh frame map
  
    R1#ping 192.168.2.1
    Type escape sequence to abort.
    Sending 5, 100-byte ICMP Echos to 192.168.2.1, timeout is 2 seconds:
  
    00:45:19: Serial0:Encaps failed-no map entry link 7(IP).
    00:45:21: Serial0:Encaps failed-no map entry link 7(IP).
    00:45:23: Serial0:Encaps failed-no map entry link 7(IP).
    00:45:25: Serial0:Encaps failed-no map entry link 7(IP).
    00:45:27: Serial0:Encaps failed-no-map entry link 7(IP).
    Success rate is 0 percent (0/5)
    R1#undebug all
    All possible debugging has been turned off
    (1)debug frame-relay?命令列出了所有幀中繼的Debug命令,其中最常用的是加陰影的幾項。
    (2)debug frame-relay packct命令可以監(jiān)測幀中繼包傳輸?shù)那闆r。在打開監(jiān)測之后,使用ping指令造成幀中繼包的收發(fā)。
    (3)可以看到有10行監(jiān)測信息出現(xiàn),仔細觀察發(fā)現(xiàn)是最初2行信息重復出現(xiàn)了5次,這是因為ping指令發(fā)出了5個ICMP包,并收到了5個ICMP應(yīng)答包,"Serial0(o)和"SerialO(i)"說明了發(fā)出(out)和接收(in)的方向。
    (4)為測試的目的,把原先定義的幀中繼映射刪除。sh frame map命令的執(zhí)行結(jié)果顯示當前無任何幀中繼映射存在。
    (5)再次使用ping指令試圖生成幀中繼的包,監(jiān)測結(jié)果為:
    Serial0:Encaps failed--no map entry link 7(IP)
    表明包的封裝失敗,原因是沒有MAP入口項,即沒有對應(yīng)的幀中繼映射存在。


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 晴隆县| 秀山| 通渭县| 太仆寺旗| 广平县| 正安县| 伊通| 高台县| 富源县| 曲水县| 广西| 环江| 霞浦县| 辽阳县| 土默特右旗| 乐昌市| 兴隆县| 九寨沟县| 陆河县| 高淳县| 洪洞县| 勐海县| 大同县| 罗源县| 晋宁县| 卫辉市| 华池县| 兴安县| 沐川县| 炉霍县| 松潘县| 云阳县| 莱芜市| 瑞安市| 河津市| 来凤县| 丹寨县| 错那县| 岱山县| 无为县| 嘉祥县|