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

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

配置ISDN接口作為備份接口(1)

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

  備份接口是一個指定的專用接口,它在主接口失效前一起處于關閉狀態(tài)。當主接口出現(xiàn)故障時,備份接口啟動,從而保證網(wǎng)絡的連通性。
  本節(jié)演示有關使用ISDN接口作為備份接口的配置。
  
  1.實驗目的
  
  通過本實驗,讀者可以把握以下技能:
  ●配置備份接口;
  ●監(jiān)測不同測試條件下主接口和備份接口的狀態(tài)變化。
  
  2.設備需求
  
  本實驗需要以下設備:
  ●Cisco路由器2臺,分別命名為R1和R2,要求每臺路由器具有1個ISDN BRI接口、1個串行接口。
  ●2條ISDN線路和相應的NT1;
  ●DTE和DCE電纜各1條;
  ●1臺終端服務器,如Cisco2509路由器,及用于反向Telnet的相應電纜;
  ●1臺帶有超級終端程序的PC機,以及Console電纜及轉(zhuǎn)接器。
  
  3.拓撲結(jié)構(gòu)及配置說明
  
  本實驗的拓撲結(jié)構(gòu)如圖7.3所示,R1和R2路由器分別連接1條ISDN BRI線路,并且通過DCE和DTE電纜互相連接起來模擬DDN鏈路。
  為完成本實驗的配置,在R1和R2上分別創(chuàng)建1個回送接口(LO)。在實際的網(wǎng)絡環(huán)境中代替此處回送接口的最常見的接口是以太網(wǎng)接口。
  各路由器BRIO、SO、LO接口的ip網(wǎng)段或IP地址以及所連接線路的ISDN號碼見圖7-3中的標注。
  
配置ISDN接口作為備份接口(1)

  實驗要求在實驗2配置成功的基礎上進一步配置R1和R2,定義DDN為主鏈路,ISDN鏈路為備份鏈路,使得在主鏈路斷開的情況下,備份鏈路能夠被激活來保證網(wǎng)絡端到端的連通性。
  
  4.實驗配置及監(jiān)測結(jié)果
  
  在成功完成實驗2配置的基礎上,我們通過更改和增加配置語句來進行本實驗。
  配置清單7-3是記錄了實驗的操作過程。
  
  配置清單7-3配置及監(jiān)測ISDN備份接口
  第1段:R1的配置
  R1#conft
  Enter configuration commands, one per line. End with CNTL/Z.
  R1(config)#int s0
  R1(config-if)#ip add 200.1.1.1.255.255.255.0
  R1(config-if)#clock rate 2000000
  R1(config-if)#no sh
  R1(config-if)#backiip interface bri 0
  R1(config-if)#backup delay 5 20
  R1(config)#int bri 0
  R1(config-if)#no ppp multilink
  R1(config-if)#^Z
  R1#
  R1(config)#roister rip
  R1(config-router)#versioii 2
  R1 (config-router)#no auto-summary
  R1(config-router)#netw 200.1.1.0
  R1(config-router#netw 192.168.1.0
  R1(config-router)#netw 10.0.0.0
  R1(config-router)#exit
  R1(config)#iio ip route 10.1.2.0
  R1#
  第2段:R2的配置
  R2#conft
  Enter configuration commands, one per line. End with CNTL/Z.
  R2(config)#int s0
  R2(config-if)#ip addr 200.1.1.2 255.255.255.0
  R2(config-if)#no sh
  R2(config-if)#int bri 0
  R2(config-if)#no dialer map ip 192.168.1.1 name R1
  R2(config-if)#dialer map ip 192.168.1.1 name R1 broadcast
  R1(config-if)#no ppp multilink
  R2(config-if)#exit
  R2(config)#
  R2(config)#roiater rip
  R2(config-router)#netw 200.1.1.0
  R2(config-router)#netw
  R2(config-router)#2ietw 10.0.0.0
  R2(config-router)#versloii 2
  R2(config-router)#no auto-summary
  R2(config-router)#exit
  R2(config)#no ip route 10.1.1.0 200.255.255.0 192.168.1.1
  第3段:查看正常連接時路由表及接口信息
  R1#sh ip route rip
     10.0.0.0/24 is subnetted, 2 subnets
  R    10.1.2.0[120/1]via 200.1.1.2,00:00:18,Serial0
  R   192.168.1.0/24[120/1]via 200.1.1.2,00:00:18,Serial0
  
  R1#sh ip int brief
  Interface    IP-Address    OK? Method    Status     PRotocol
  BRIO       192.168.1.1    YESNVRAM    standby mode   down
  BRIO: 1      unassigned    YES unset   administratively  down
  BRIO:2      unassigned     YES unset   administratively down
  Loopback0    10.1.1.1      YESNVRAM      up       up
  Serial0      200. 1.1.1    YES manual     up      up
  Serial 1     unassigned    YES NVRAM      down     down
  
  R1#sh int s0
  Serial0 is up,line protocol is up
   Hardware is HD64570
   Internet address is 200.1.1.1/24
   Backup interface BRIO,failure delay 5 sec,secondary disable delay 20 sec,
   kickin load not set, kickout load not set
   MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec,
    reliability 255/255, txioad 1/255, rxioad 1/255
   Encapsulation HDLC, loopback not set
   Keepalive set (10 sec)
   Last input 00:00:07, output 00:00:00, output hang never
   Last clearing of "show interface" counters never
   Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
   Queueing strategy: fifo
   Output queue :0/40 (size/max)
   5 minute input rate 0 bits/sec, 0 packets/sec
   5 minute output rate 0 bits/sec, 0 packets/sec
    200 packets input, 7698 bytes, 0 no buffer
    Received 148 broadcasts, 0 runts, 0 giants, 0 throttles
    0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
    239 packets output, 15882 bytes, 0 underruns
    0 output errors, 0 collisions, 7 interface resets
    0 output buffer failures, 0 output buffers swapped out
    8 carrier transitions
  R1#ping 192.168.1.2
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
  !!!!!
  SUCcess tate is 100 percent(5/5),round-trip min/avg/max=4/5/8ms
  R1#ping 10.1.2.1
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 10.1.2.1, timeout is 2 seconds:
  !!!!!
  Success rate is 100 percent(5/5),round-trip min/avg/max=4/5/8ms
  (以下為R2上的測試結(jié)果)
  R2#sh ip route rip
    10.0.0.0/24 is subnetted, 2 subnets
  R   10.1.1.0[120/1]via 200.1.1.1,00:00:19,Serial0
  R2#sh ip int brief
  Interface    IP-Address   OK? Method Status       Protocol
  BRIO       192.168.1.2    YES NVRAM up          up
  BRIO: 1     unassigned    YES unset down         down
  BRIO:2     unassigned     YES unset down         down
  Loopback0    10.1.2.1     YES NVRAM up           up
  Serial0     200.1.1.2     YES manual up          up
  Serial 1    unassigned     YES NVRAM administratively down down
  R2#
  R2#pmg 10.1.1.1
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
  !!!!!
  Success rate is:
  R2#ping 192.168.1.1
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 192.168.1.1, timeout is 2 seconds:
  R2#
  
  (未完...待續(xù))


發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 盐源县| 耒阳市| 青海省| 麻江县| 靖边县| 宣恩县| 岳西县| 乐东| 翁牛特旗| 京山县| 东山县| 增城市| 邵武市| 河北区| 报价| 雷山县| 莱州市| 鄂托克旗| 安庆市| 达州市| 霍邱县| 虹口区| 广元市| 浠水县| 夹江县| 博湖县| 苏尼特右旗| 巴彦县| 上栗县| 汤原县| 股票| 葫芦岛市| 茌平县| 枣庄市| 禄劝| 公主岭市| 夏津县| 靖宇县| 台北县| 定州市| 宜良县|