帧中继的一些特点:
1.中小企业常用的广域网线路2.通信费用较低3.配置较为复杂1.将Cisco路由器配置为帧中继交换机2.帧中继基本配置、帧中继映射3.在帧中继的链路上运行RIPv24.帧中继的多点子接口5.帧中继的点到点子接口enableconf tno ip do loenable pass ciscoline con 0logg syncexec-t 0 0line vty 0 4pass ciscologg syncexithost 1.配置Cisco路由器为帧中继交换机----------------------------------------------------------------------------- R4:frame-relay switchint s0/1encap frame-relayframe-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 102 int s0/2 201frame-relay route 103 int s0/3 301no shutexitint s0/2encap frame-relayframe-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 201 int s0/1 102no shutexitint s0/3encap frame-relayframe-relay lmi-type ciscoframe-relay intf-type dceframe-relay route 301 int s0/1 103no shutexitendshow frame-relay routeconf t2.帧中继基本配置、帧中继映射-----------------------------------------------------------------R1:int s0/0ip add 123.1.1.1 255.255.255.0encap frame-relayframe-relay lmi-type ciscono shutexitR2:int s0/0ip add 123.1.1.2 255.255.255.0encap frame-relayframe-relay lmi-type ciscono shutexitR3:int s0/0ip add 123.1.1.3 255.255.255.0encap frame-relayframe-relay lmi-type ciscono shutexitR1:endping 123.1.1.2ping 123.1.1.3show frame-relay mapshow frame-relay pvcclear frame-relay inarpconf tR1:int s0/0no frame-relay inverse-arpframe-relay map ip 123.1.1.2 102 broadcastframe-relay map ip 123.1.1.3 103 broadcastexitR2:int s0/0no frame-relay inverse-arpframe-relay map ip 123.1.1.1 201 broadcastframe-relay map ip 123.1.1.3 201 broadcastexitR3:int s0/0no frame-relay inverse-arpframe-relay map ip 123.1.1.1 301 broadcastframe-relay map ip 123.1.1.2 301 broadcastexitR1:endping 123.1.1.2ping 123.1.1.3show frame-relay mapshow frame-relay pvcconf t3.在帧中继的链路上运行RIPv2------------------------------------------------------------------------R1:int l0ip add 11.1.1.1 255.255.255.0exitR2:int l0ip add 22.1.1.1 255.255.255.0exitR3:int l0ip add 33.1.1.1 255.255.255.0exitR1:router ripversion 2no auto-summarynetwork 11.0.0.0network 123.0.0.0exitR2:router ripversion 2no auto-summarynetwork 22.0.0.0network 123.0.0.0exitR3:router ripversion 2no auto-summarynetwork 33.0.0.0network 123.0.0.0exitR1:endshow ip route ripconf tR2:endshow ip route ripconf tR3:endshow ip route ripconf t4.帧中继的多点子接口(multi-point)----------------------------------------------------------------R1:int s0/0encap frame-relayno ip addno shutexitR2:int s0/0ip add 123.1.1.2 255.255.255.0encap frame-relayframe-relay lmi-type ciscono shutexitR3:int s0/0ip add 123.1.1.3 255.255.255.0encap frame-relayframe-relay lmi-type ciscono shutexitR1:int s0/0.1 multipointip add 123.1.1.1 255.255.255.0frame-relay map ip 123.1.1.2 102 broadcastframe-relay map ip 123.1.1.3 103 broadcastexitR2:int s0/0no frame-relay inverse-arpframe-relay map ip 123.1.1.1 201 broadcastframe-relay map ip 123.1.1.3 201 broadcastexitR3:int s0/0no frame-relay inverse-arpframe-relay map ip 123.1.1.1 301 broadcastframe-relay map ip 123.1.1.2 301 broadcastexit5.帧中继的点到点子接口(point-to-point)---------------------------------------------------------------------R1:int s0/0encap frame-relayno ip addno shutexitint s0/0.2 point-to-pointip add 12.1.1.1 255.255.255.0frame-relay interface-dlci 102exitexitint s0/0.3 point-to-pointip add 13.1.1.1 255.255.255.0frame-relay interface-dlci 103exitexitR2:int s0/0encap frame-relayno ip addno shutexitint s0/0.1 point-to-pointip add 12.1.1.2 255.255.255.0frame-relay interface-dlci 201exitexitR3:int s0/0encap frame-relayno ip addno shutexitint s0/0.1 point-to-pointip add 13.1.1.3 255.255.255.0frame-relay interface-dlci 301exitexit