1、帧中继概述和配置帧中继概述和配置 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-1 帧中继概述 帧中继交换机 帧中继链路 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-2 帧中继虚电路 (PVC) 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-3 帧中继术语 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-4 帧中继地址
2、映射 LMI接收来自帧中继交换机在本地有效的DLCI。 反向 ARP将本地 DLCI映射到远程路由器的 IP地址 。 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-5 。 帧中继信令 LMI Cisco 支持三种LMI标准: Cisco ANSI T1.617 Annex D ITU-T Q.933 AnnexA 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-6 配置帧中继 动态映射( ) 0 0interface Serial no shutdown i
3、p address 10.1.1.2 255.255.255.0 encapsulation frame-relay Ip route 33 1 1 0 255 255 255 0 10 1 1 3 interface Serial no shutdown ip address 10.1.1.3 255.255.255.0 encapsulation frame-relay Ip route 22 1 1 0 255 255 255 0 10 1 1 2 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-7 . . . . .
4、. . . . . . . . . . . . . 验证帧中继配置 在 R2上显示有关帧中继 DLCI和 LMI的信息 R2#show interface serial 0 Serial0 is up, line protocol is up Hardware is HD64570 Internet address is 10.1.1.2/24 MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation FRAME-RELAY, loopb
5、ack not set Keepalive set (10 sec) LMI enq sent 66, LMI stat recvd 67, 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 Broadcast queue 0/64, broadcasts sent/dropped 2/0, interface broadcasts 0 Last input 00:00:09 output 00:
6、00:09 output hang never , , Last clearing of show interface counters 00:11:09 Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: weighted fair Output queue: 0/1000/64/0 (size/max total/threshold/drops) Conversations 0/1/256 (active/max active/max total) Reserved
7、 Conversations 0/0 (allocated/max allocated) Available Bandwidth 1158 kilobits/sec 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-8 验证 类型LMI R1# show frame-relay lmi LMI Statistics for interface S
8、erial0 (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 11310
9、0 Num Status msgs Rcvd 113100 Num Update Status Rcvd 0 Num Status Timeouts 0 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-9 验证 PVC R2# show frame-relay pvc 203 PVC Statistics for interface Serial0 (Frame Relay DTE) DLCI = 203, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0
10、 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 2007 Cisco Systems, Inc. All right
11、s reserved. ICND2 v1.08-10 验证帧中继动态映射 显示帧中继动态映射显示帧中继动态映射 R2#show frame-relay map Serial0 (up): ip 10.1.1.3 dlci 203(0 xCB,0 x30B0), dynamic, broadcast status defined active, , R2#clear frame-relay inarp 清除使用反向 ARP动态创建的帧中继映射 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-11 配置帧中继 静态映射( ) S0
12、/0 S0/1 S0 S0 R110 1 1 2 DLCI:203 DLCI:302 DCE E0 E0 R2 R3 33.1.1.3 22.1.1.2 . . . 10.1.1.3DCE PC2 PC3 F0/0 F0/0 22.1.1.4 33.1.1.4 interface Serial0 no shutdown ip address 10.1.1.2 255.255.255.0 interface Serial0 no shutdown ip address 10.1.1.3 255.255.255.0 encapsulation frame relay encapsulation f
13、rame-relay no frame-relay inverse-arp frame-relay map ip 10.1.1.3 203 broadcast Ip route 33.1.1.0 255.255.255.0 10.1.1.3 - no frame-relay inverse-arp frame-relay map ip 10.1.1.2 302 broadcast Ip route 22.1.1.0 255.255.255.0 10.1.1.2 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-12 验证帧中继静
14、态映射 在 R2上显示帧中继静态映射 R2#show frame-relay map Serial0 (up): ip 10.1.1.3 dlci 203(0 xCB,0 x30B0), static, broadcast, CISCO, status defined, active 在 R3上显示帧中继静态映射 R3#show frame-relay map R3# h fs ow ram map Serial0 (up): ip 10.1.1.2 dlci 302(0 x12E,0 x48E0), static, broadcast, CISCO, status defined, acti
15、ve 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-13 配置路由器 作为帧中继交换机(R1) frame-relay switching interface Serial0/0 no ip address no shutdown encapsulation frame-relay clockrate 64000 frame-relay intf-type dce frame-relay route 203 interface Serial0/1 302 interface Serial0/1 no ip address no shutdown encapsulation frame-relay clockrate 64000 frame-relay intf-type dce 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-14 frame-relay route 302 interface Serial0/0 203 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.08-15