Frame Relay DCE or Frame Relay Switch CSUDSU

  • Slides: 32
Download presentation

Frame Relay 概述 DCE or Frame Relay Switch CSU/DSU Frame Relay works here. •

Frame Relay 概述 DCE or Frame Relay Switch CSU/DSU Frame Relay works here. • 使用虚电路进行连接 • 提供面向对象的服务 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -3

Frame Relay 栈 OSI 参考模型 Frame Relay Application Presentation Session Transport © 1999, Cisco

Frame Relay 栈 OSI 参考模型 Frame Relay Application Presentation Session Transport © 1999, Cisco Systems, Inc. Network IP/IPX/Apple. Talk, etc. Data Link Frame Relay Physical EIA/TIA-232, EIA/TIA-449, V. 35, X. 21, EIA/TIA-530 www. cisco. com ICND— 14 -4

Frame Relay 术语 PVC DLCI: 100 DLCI: 200 LMI 100=Active 400=Active DLCI: 400 Local

Frame Relay 术语 PVC DLCI: 100 DLCI: 200 LMI 100=Active 400=Active DLCI: 400 Local Access Loop=64 kbps Local Access Loop=T 1 PVC DLCI: 500 © 1999, Cisco Systems, Inc. Local Access Loop=64 kbps www. cisco. com ICND— 14 -5

Frame Relay 地址映射 DLCI: 500 PVC 10. 1. 1. 1 CSU/DSU Inverse ARP or

Frame Relay 地址映射 DLCI: 500 PVC 10. 1. 1. 1 CSU/DSU Inverse ARP or Frame Relay map Frame Relay DLCI (500) IP (10. 1. 1. 1) • 从提供商那里得到本地的DLCI号 • 建立目的地址和本地DLCI之间的映射关系 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -6

Frame Relay 信号 DLCI: 500 PVC 10. 1. 1. 1 CSU/DSU LMI 500=Active 400=Inactive

Frame Relay 信号 DLCI: 500 PVC 10. 1. 1. 1 CSU/DSU LMI 500=Active 400=Inactive DLCI: 400 x PVC Keepalive Cisco 路由器支持三种 LMI 标准: • Cisco • ANSI T 1. 617 Annex D • ITU-T Q. 933 Annex A © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -7

Frame Relay 的反转 ARP 协议 和 LMI 作 1 DLCI=100 Frame Relay Cloud 172.

Frame Relay 的反转 ARP 协议 和 LMI 作 1 DLCI=100 Frame Relay Cloud 172. 168. 5. 5 © 1999, Cisco Systems, Inc. DLCI=400 172. 168. 5. 7 www. cisco. com ICND— 14 -8

Frame Relay 的反转 ARP 协议 和 LMI 作 1 DLCI=100 Frame Relay Cloud 172.

Frame Relay 的反转 ARP 协议 和 LMI 作 1 DLCI=100 Frame Relay Cloud 172. 168. 5. 5 2 © 1999, Cisco Systems, Inc. DLCI=400 172. 168. 5. 7 Status Inquiry www. cisco. com 2 ICND— 14 -9

Frame Relay 的反转 ARP 协议 和 LMI 作 1 Frame Relay Cloud DLCI=100 DLCI=400

Frame Relay 的反转 ARP 协议 和 LMI 作 1 Frame Relay Cloud DLCI=100 DLCI=400 172. 168. 5. 5 2 Status Inquiry Local DLCI 100=Active © 1999, Cisco Systems, Inc. 172. 168. 5. 7 Status Inquiry 3 www. cisco. com 34 2 Local DLCI 400=Active ICND— 14 -10

Frame Relay 的反转 ARP 协议 和 LMI 作 1 Frame Relay Cloud DLCI=100 DLCI=400

Frame Relay 的反转 ARP 协议 和 LMI 作 1 Frame Relay Cloud DLCI=100 DLCI=400 172. 168. 5. 5 172. 168. 5. 7 Status Inquiry 2 Local DLCI 100=Active 4 © 1999, Cisco Systems, Inc. Status Inquiry 3 34 2 Local DLCI 400=Active Hello, I am 172. 168. 5. 5. www. cisco. com ICND— 14 -11

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172.

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172. 168. 5. 7 172. 168. 5. 5 Frame Relay Map 172. 168. 5. 5 DLCI 400 Active Hello, I am 172. 168. 5. 7. 5 © 1999, Cisco Systems, Inc. 5 4 Frame Relay Map 172. 168. 5. 7 DLCI 100 Active www. cisco. com ICND— 14 -12

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172.

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172. 168. 5. 7 172. 168. 5. 5 Frame Relay Map 172. 168. 5. 5 DLCI 400 Active Hello, I am 172. 168. 5. 7. 5 6 © 1999, Cisco Systems, Inc. 5 4 Frame Relay Map 172. 168. 5. 7 DLCI 100 Active Hello, I am 172. 168. 5. 5. www. cisco. com ICND— 14 -13

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172.

Frame Relay 的反转 ARP 协议 和 LMI 作 Frame Relay Cloud DLCI=100 DLCI=400 172. 168. 5. 7 172. 168. 5. 5 Frame Relay Map 172. 168. 5. 5 DLCI 400 Active Hello, I am 172. 168. 5. 7. 5 6 7 © 1999, Cisco Systems, Inc. 5 4 Frame Relay Map 172. 168. 5. 7 DLCI 100 Active Hello, I am 172. 168. 5. 5. Keepalives www. cisco. com 7 ICND— 14 -14

配置 Frame Relay Rel. 11. 2 Router Rel. 10. 3 Router Branch HQ interface

配置 Frame Relay Rel. 11. 2 Router Rel. 10. 3 Router Branch HQ interface Serial 1 ip address 10. 16. 0. 1 255. 0 encapsulation frame-relay bandwidth 64 © 1999, Cisco Systems, Inc. interface Serial 1 ip address 10. 16. 0. 2 255. 0 encapsulation frame-relay bandwidth 64 frame-relay lmi-type ansi www. cisco. com ICND— 14 -15

配置 Frame Relay Rel. 11. 2 Router Rel. 10. 3 Router Branch HQ interface

配置 Frame Relay Rel. 11. 2 Router Rel. 10. 3 Router Branch HQ interface Serial 1 ip address 10. 16. 0. 1 255. 0 encapsulation frame-relay bandwidth 64 interface Serial 1 ip address 10. 16. 0. 2 255. 0 encapsulation frame-relay bandwidth 64 frame-relay lmi-type ansi 反转 ARP • 缺省情况下是激活的 • 在配置输出信息中看不出来 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -16

配置静态的 Frame Relay 映射 DLCI=110 IP address=10. 16. 0. 1/24 p 1 r 1

配置静态的 Frame Relay 映射 DLCI=110 IP address=10. 16. 0. 1/24 p 1 r 1 HQ Branch DLCI=100 IP address=10. 16. 0. 2/24 interface Serial 1 ip address 10. 16. 0. 1 255. 0 encapsulation frame-relay bandwidth 64 frame-relay map ip 10. 16. 0. 2 110 broadcast © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -17

查看 Frame Relay 信息 Router#show interface s 0 Serial 0 is up, line protocol

查看 Frame Relay 信息 Router#show interface s 0 Serial 0 is up, line protocol is up Hardware is HD 64570 Internet address is 10. 140. 1. 2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255 Encapsulation FRAME-RELAY, loopback not set, keepalive set (10 sec) LMI enq sent 19, LMI stat recvd 20, LMI upd recvd 0, DTE LMI up LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0 LMI DLCI 1023 LMI type is CISCO frame relay DTE FR SVC disabled, LAPF state down Broadcast queue 0/64, broadcasts sent/dropped 8/0, interface broadcasts 5 Last input 00: 00: 02, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops <Output omitted> 显示协议、DLCI、和 LMI 的相关信息 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -18

查看 Frame Relay 信息 Router#show frame-relay lmi LMI Statistics for interface Serial 0 (Frame

查看 Frame Relay 信息 Router#show frame-relay lmi LMI Statistics for interface Serial 0 (Frame Relay DTE) LMI TYPE = CISCO Invalid Unnumbered info 0 Invalid Prot Disc 0 Invalid dummy Call Ref 0 Invalid Msg Type 0 Invalid Status Message 0 Invalid Lock Shift 0 Invalid Information ID 0 Invalid Report IE Len 0 Invalid Report Request 0 Invalid Keep IE Len 0 Num Status Enq. Sent 113100 Num Status msgs Rcvd 113100 Num Update Status Rcvd 0 Num Status Timeouts 0 显示 LMI 信息 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -19

查看 Frame Relay 信息 Router#show frame-relay pvc 100 PVC Statistics for interface Serial 0

查看 Frame Relay 信息 Router#show frame-relay pvc 100 PVC Statistics for interface Serial 0 (Frame Relay DTE) DLCI = 100, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial 0 input pkts 28 output pkts 10 in bytes 8398 out bytes 1198 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 10 out bcast bytes 1198 pvc create time 00: 03: 46, last time pvc status changed 00: 03: 47 显示 PVC 数据通讯信息 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -20

查看 Frame Relay 信息 Router#show frame-relay map Serial 0 (up): ip 10. 140. 1.

查看 Frame Relay 信息 Router#show frame-relay map Serial 0 (up): ip 10. 140. 1. 1 dlci 100(0 x 64, 0 x 1840), dynamic, broadcast, , status defined, active 显示路由信息 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -21

查看 Frame Relay 信息 Router#show frame-relay map Serial 0 (up): ip 10. 140. 1.

查看 Frame Relay 信息 Router#show frame-relay map Serial 0 (up): ip 10. 140. 1. 1 dlci 100(0 x 64, 0 x 1840), dynamic, broadcast, , status defined, active Router#clear frame-relay-inarp Router#sh frame map Router# 清除动态的Frame Relay 映射关系 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -22

查看 Frame Relay 信息 Router#debug Frame lmi Frame Relay LMI debugging is on Displaying

查看 Frame Relay 信息 Router#debug Frame lmi Frame Relay LMI debugging is on Displaying all Frame Relay LMI data Router# 1 w 2 d: Serial 0(out): St. Enq, myseq 140, yourseen 139, DTE up 1 w 2 d: datagramstart = 0 x. E 008 EC, datagramsize = 13 1 w 2 d: FR encap = 0 x. FCF 10309 1 w 2 d: 00 75 01 01 01 03 02 8 C 8 B 1 w 2 d: Serial 0(in): Status, myseq 140 1 w 2 d: RT IE 1, length 1, type 1 1 w 2 d: KA IE 3, length 2, yourseq 140, myseq 140 1 w 2 d: Serial 0(out): St. Enq, myseq 141, yourseen 140, DTE up 1 w 2 d: datagramstart = 0 x. E 008 EC, datagramsize = 13 1 w 2 d: FR encap = 0 x. FCF 10309 1 w 2 d: 00 75 01 01 01 03 02 8 D 8 C 1 w 2 d: Serial 0(in): Status, myseq 142 1 w 2 d: RT IE 1, length 1, type 0 1 w 2 d: KA IE 3, length 2, yourseq 142, myseq 142 1 w 2 d: PVC IE 0 x 7 , length 0 x 6 , dlci 100, status 0 x 2 , bw 0 显示 LMI 的调试信息 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -23

选择 Frame Relay 拓扑结构 Full Mesh Partial Mesh Star (Hub and Spoke) Frame Relay

选择 Frame Relay 拓扑结构 Full Mesh Partial Mesh Star (Hub and Spoke) Frame Relay default: nonbroadcast, multiaccess (NBMA) © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -24

路由信息的可达性 Routing Update AA B 1 B 2 C C 3 D 问题: 广播帧必须复制给其它已经建立的连接

路由信息的可达性 Routing Update AA B 1 B 2 C C 3 D 问题: 广播帧必须复制给其它已经建立的连接 © 1999, Cisco Systems, Inc. www. cisco. com ICND— 14 -25

配置点到点的子端口 10. 17. 0. 1 s 0. 2 A DLCI=110 DL s 0. 3

配置点到点的子端口 10. 17. 0. 1 s 0. 2 A DLCI=110 DL s 0. 3 C 10. 18. 0. 1 I=1 B 20 interface Serial 0 no ip address encapsulation frame-relay ! interface Serial 0. 2 point-to-point ip address 10. 17. 0. 1 255. 0 bandwidth 64 frame-relay interface-dlci 110 ! interface Serial 0. 3 point-to-point ip address 10. 18. 0. 1 255. 0 bandwidth 64 frame-relay interface-dlci 120 ! © 1999, Cisco Systems, Inc. 10. 17. 0. 2 10. 18. 0. 2 www. cisco. com C ICND— 14 -28

多点子端口配置举例 s 2. 2=10. 17. 0. 1/24 B 120 = I C L D

多点子端口配置举例 s 2. 2=10. 17. 0. 1/24 B 120 = I C L D DLCI=130 RTR 1 RTR 3 DLCI= 140 s 2. 1=10. 17. 0. 3/24 interface Serial 2 no ip address encapsulation frame-relay ! interface Serial 2. 2 multipoint ip address 10. 17. 0. 1 255. 0 bandwidth 64 frame-relay map ip 10. 17. 0. 2 120 broadcast frame-relay map ip 10. 17. 0. 3 130 broadcast frame-relay map ip 10. 17. 0. 4 140 broadcast © 1999, Cisco Systems, Inc. s 2. 1=10. 17. 0. 2/24 www. cisco. com RTR 4 s 2. 1=10. 17. 0. 4/24 ICND— 14 -29

可视化目标 wg_pc_a 10. 2. 2. 12 e 0/1 e 0/2 e 0 wg_ro_a 10.

可视化目标 wg_pc_a 10. 2. 2. 12 e 0/1 e 0/2 e 0 wg_ro_a 10. 2. 2. 3 s 0 10. 140. 1. 2/24 wg_sw_a 10. 2. 2. 11 PPP with CHAP wg_pc_l 10. 13. 12 wg_ro_l e 0/1 e 0/2 e 0 10. 13. 3 PPP with CHAP s 0 10. 140. 12. 2/24 FR wg_sw_l 10. 13. 11 pod A B C D E F G H I J K L ro’s s 0 10. 140. 1. 2 10. 140. 2. 2 10. 140. 3. 2 10. 140. 4. 2 10. 140. 5. 2 10. 140. 6. 2 10. 140. 7. 2 10. 140. 8. 2 10. 140. 9. 2 10. 140. 10. 2 10. 140. 11. 2 10. 140. 12. 2 . . . fa 0/24 core_ server 10. 1. 1. 1 © 1999, Cisco Systems, Inc. fa 0/23 core_sw_a 10. 1. 1. 2 s 2/7. x 10. 140. 1. 1/24 … 10. 140. 12. 1/24 fa 0/0 core_ro 10. 1. 1. 3 www. cisco. com ICND— 14 -30