網絡工程師交換試驗手冊之十二:幀中繼網絡模型

實驗目的:
瞭解幀中繼的基本配置過程,理解幀中繼的基本工作過程和原理。
實驗拓撲:


實驗內容:
1.配置點到多點幀中繼
R3上的幀中繼配置:
R3(config)#int s1
R3(config-if)#ip add 192.168.10.3 255.255.255.0
R3(config-if)#en fr
R3(config-if)#no fr inv
R3(config-if)#fr map ip 192.168.10.3 102 bro
R3(config-if)#fr map ip 192.168.10.4 102 bro
R3(config-if)#fr map ip 192.168.10.5 103 bro
R3(config-if)#no shut
R4上的幀中繼配置:
R4(config)#int s0
R4(config-if)#ip add 192.168.10.4 255.255.255.0
R4(config-if)#en fr
R4(config-if)#no fr inv
R4(config-if)#fr map ip 192.168.10.3 201 bro
R4(config-if)#fr map ip 192.168.10.4 201 bro
R4(config-if)#fr map ip 192.168.10.5 201 bro
R3(config-if)#no shut
R5上的幀中繼配置:
R5(config)#int s0
R5(config-if)#ip add 192.168.10.5 255.255.255.0
R5(config-if)#en fr
R5(config-if)#no fr inv
R5(config-if)#fr map ip 192.168.10.3 301 bro
R5(config-if)#fr map ip 192.168.10.4 301 bro
R5(config-if)#fr map ip 192.168.10.5 301 bro
R5(config-if)#no shut
2.查看幀中繼配置
R3上查看:
R3#show fr map
Serial1 (up): ip 192.168.10.3 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial1 (up): ip 192.168.10.4 dlci 102(0x66,0x1860), static,
              broadcast,
              CISCO, status defined, active
Serial1 (up): ip 192.168.10.5 dlci 103(0x67,0x1870), static,
              broadcast,
              CISCO, status defined, active
R3#show fr pvc
PVC Statistics for interface Serial1 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
  Local          2            0            0            0
  Switched       0            0            0            0
  Unused         0            1            0            0
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1
  input pkts 0             output pkts 0            in bytes 0
  out bytes 0              dropped pkts 0           in FECN pkts 0
  in BECN pkts 0           out FECN pkts 0          out BECN pkts 0
  in DE pkts 0             out DE pkts 0
  out bcast pkts 0          out bcast bytes 0
  pvc create time 00:08:05, last time pvc status changed 00:03:34
DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial1
  input pkts 0             output pkts 0            in bytes 0
  out bytes 0              dropped pkts 0           in FECN pkts 0
  in BECN pkts 0           out FECN pkts 0          out BECN pkts 0
  in DE pkts 0             out DE pkts 0
  out bcast pkts 0          out bcast bytes 0
  pvc create time 00:08:02, last time pvc status changed 00:04:05
R4上查看:
R4#show fr map
Serial0 (up): ip 192.168.10.3 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial0 (up): ip 192.168.10.4 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
Serial0 (up): ip 192.168.10.5 dlci 201(0xC9,0x3090), static,
              broadcast,
              CISCO, status defined, active
R4#show fr pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
  Local          1            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0
DLCI = 201, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
  input pkts 0             output pkts 0            in bytes 0
  out bytes 0              dropped pkts 0           in FECN pkts 0
  in BECN pkts 0           out FECN pkts 0          out BECN pkts 0
  in DE pkts 0             out DE pkts 0
  out bcast pkts 0          out bcast bytes 0
  pvc create time 00:05:56, last time pvc status changed 00:02:43
R5上查看:
R5#show fr map
Serial0 (up): ip 192.168.10.3 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial0 (up): ip 192.168.10.4 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
Serial0 (up): ip 192.168.10.5 dlci 301(0x12D,0x48D0), static,
              broadcast,
              CISCO, status defined, active
R5#show fr pvc
PVC Statistics for interface Serial0 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
  Local          1            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0
DLCI = 301, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
  input pkts 0             output pkts 0            in bytes 0
  out bytes 0              dropped pkts 0           in FECN pkts 0
  in BECN pkts 0           out FECN pkts 0          out BECN pkts 0
  in DE pkts 0             out DE pkts 0
  out bcast pkts 0          out bcast bytes 0
  pvc create time 00:04:06, last time pvc status changed 00:02:40
3.測試線路連同性:
R1上PING:
R3#ping 192.168.10.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/116/124 ms
R3#ping 192.168.10.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/116/124 ms
R3#ping 192.168.10.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 112/116/124 ms
實驗總結:幀中繼鏈路的配置基本上分3步:1
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章