Configure a Cisco router as a frame relay switch

Source: Internet
Author: User


In this tutorial, R2 is configured as a frame relay switch www.2cto.com. The tutorial topology Router (config) # frame-relay switching is used to simulate a Router as a frame relay switch www.2cto.com Router (config) # inter s1/1 Router (config-if) # clock rate 128000 Router (config-if) # encapsulation frame-relay configuration interface encapsulate the default frame relay encapsulation enabled on the frame relay interface is Cisco encapsulation. To connect to a non-Cisco Router, use the itef parameter Router (config-if) # no shuRouter (config) # inter s1/2 Router (config-if) # clo rate 128000 Router (config-if) # encapsulation frRouter (config-if) # no shuchanged s Tate to upnointer s1/3 Router (config-if) # clo rate 128000 Router (config-if) # encapsulation frRouter (config-if) # no shuRouter (config) # inter s1/1 Router (config-if) # frame-relay lm-type cisco configuration lc-type Router (config-if) # frame-relay intf-type dce: DCERouter (config-if) for frame relay # inter s1/2 Router (config-if) # frame-relay lm-type ciscoRouter (config-if) # frame-relay intf-type dceRouter (config-if) # inter s1/3 Router (conf Ig-if) # frame-relay Lyapunov-type ciscoRouter (config-if) # frame-relay intf-type dce configure pvcRouter (config) between two interfaces of the router) # inter s1/1 Router (config-if) # frame-relay route 103 inter s1/2 301 Router (config-if) # frame-relay route 104 inter s1/3 401 Router (config-if) # exitRouter (config) # inter s1/2 Router (config-if) # frame-relay route 301 inter s1/1 103 Router (config-if) # frame-relay route 304 inter s1/3 403 Router (config-if) # exi TRouter (config) # inter s1/3 Router (config-if) # frame-relay route 401 inter s1/1 104 Router (config-if) # frame-relay route 403 inter s1/2 304 Router (config-if) # Router # show frame-relay routeInput IntfInput DlciOutput Intf Output Dlci StatusSerial1/1 103 Serial1/2 301 activeSerial1/1 104 Serial1/3 401 activeSerial1/2 301 Serial1/1 103 activeSerial1/2 304 Serial1/3 403 activeSerial1/3 401 Serial1/1 104 activ ESerial1/3 403 Serial1/2 304 active indicates that the configuration of three PVCs on vror2 is active. Configure Router (config) # inter s1/1 Router (config-if) # ip address 172.16.134.1 255.255.255.0Router (config-if) # encapsulation fr interface encapsulate frame relay Router (config-if) # frame-relay lm-type ciscoRouter (config) # inter fa0/0 Router (config-if) # ip addRouter (config-if) # ip address 192.168.1.1 255.255.255.0Router (config-if) # no shu if the IOS version of the Cisco router is 11.2 or a later version, the router can automatically negotiate with the MNS as the type So it is not suitable for the Router (config) # router ripRouter (config-router) # ver 2 Router (config-router) # no auto-summaryRouter (config-router) # network 172.16.134.0Router (config-router) # network 192.168.1.0Router (config-router) # exitR3 and R4 test Router with R1ping # ping 172.16.134.1 source 192.168.4.1Type escape sequence to abort. sending 5, 100-byte ICMP Echos to 172.16.134.1, timeout is 2 seconds: Packet sent with a source address of 192. 168.4.1 !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 120/155/200 MS view the ing Router for frame # show frame-relay mapSerial1/1 (up ): ip 172.16.134.3 dlci 103 (0x67,0x1870), dynamic, broadcast, status defined, activeSerial1/1 (up): ip 172.16.134.4 dlci 104 (0x68,0x1880 ), dynamic, broadcast, status defined, and active the above output shows the reverse ARP effect. The result shows that each interface encapsulated by frame relay in Router R1 contains two active DLCI, each entry displays the ing between the remote IP address and the local DLCI. broadcast "parameter allows uploading in PVC Broadcast or multicast traffic "dynamic indicates that the IP address of each router cannot be pinged through its own serial interface dynamically mapped, however, you can ping the IP address of the serial interface that remotely encapsulates Frame Relay because its own frame relay ing table does not have its own interface IP address and DLCI ing entries. Reverse ARP does not solve this problem through dynamic ing. It can only solve the problem through static ing. It can only solve Router # show ip route ripR192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:07, Serial1/1R192. 168.3.0/24 [120/1] via 172.16.134.3, 00:00:27, Serial1/1 Router # show ip route ripR192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:00, Serial1/2R192. 168.1.0/24 [120/1] via 172.16.134.1, 00:00:05, Serial1/2 Router # show ip route ripR192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:18, Serial1/3R192. 168.3.0/24 [120/1] via 172.16.134.3, 00:00:27, Serial1/3 in this experiment, the frame relay switch uses a fully-interconnected PVC topology on vror2 R2, but in practical application, to save costs, the topology (center-Branch) is generally used, that is, only the PVC from the branch to the center is used, if R1 is a central route R2 and R3 is a branch route on R2, configure the following Router (config) # inter s1/2 Router (config-if) # no frame-relay route 304 interface s1/3 403 Router (config-if) # inter s1/3 Router (config-if) # no frame-relay route 403 interface s1/2 304 Router on R3 and R4 # show frame-relay mapSerial1/2 (up): ip 172.16.134.1 dlci 301 (0x12D, 0x48D0 ), dynamic, broadcast, status defined, activeRouter # show frame-relay mapSerial1/3 (up): ip 172.16.134.1 dlci 401 (0x191,0x6410), dynamic, broadcast ,, status defined. active: Only one network mapped to the Router R1 of the central site on R3 and R4 is unavailable) # inter s1/1 Router (config-if) # no frame-relay inverse-arp disable reverse ARP. The default value is the enabled Router (config-if) # frame-relay map ip address 172.16.134.3 103 broadcast configure the frame relay static roing Router (config-if) # frame-relay map ip address 172.16.134.4 104 broadcastRouter (config-if) # frame-relay map ip address 172.16.134.1 104 broadcast configures the ip address ing of its own interface to allow ping to the ip address R3Router (config) of the router interface) # inter s1/2 Router (config-if) # no frame-relay inverse-arpRouter (config-if) # frame-relay map ip 172.16.134.1 301 broadcastRouter (config-if) # frame-relay map ip 172.16.134.4 304 broadcastRouter (config-if) # frame-relay map ip 172.16.134.3 301 broadcastR4Router (config) # inter s1/3 Router (config-if) # no frame-relay inverse-arpRouter (config-if) # frame-relay map ip address 172.16.134.1 401 broadcastRouter (config-if) # frame-relay map ip 172.16.134.3 403 broadcastRouter (config-if) # frame-relay map ip 172.16.134.4 401 broadcastR1 # show frame-relay mapSerial1/1 (up ): ip 172.16.134.1 dlci 104 (0x1880), static, broadcast, CISCO, status defined, activeSerial1/1 (up): ip 172.16.134.3 dlci 103 (0x67,0x1870 ), static, broadcast, CISCO, status defined, activeSerial1/1 (up): ip 172.16.134.4 dlci 104 (0x68, 0x1880), static, broadcast, CISCO, status defined, activeR3 # show frame-relay mapSerial1/2 (up): ip 172.16.134.1 dlci 301 (0x12D, 0x48D0), static, broadcast, CISCO, status defined, activeSerial1/2 (up ): ip address 172.16.134.3 dlci 301 (0x12D, 0x48D0), static, broadcast, CISCO, status defined, activeSerial1/2 (up): ip address 172.16.134.4 dlci 301 (0x12D, 0x48D0), static, broadcast, CISCO, status defined, activeR4 # show frame-relay mapSerial1/3 (up): ip 172.16.134.1 dlci 401 (0x191,0x6410), static, broadcast, CISCO, status defined, activeSerial1/3 (up): ip 172.16.134.3 dlci 401 (0x191,0x6410), static, broadcast, CISCO, status defined, activeSerial1/3 (up ): ip 172.16.134.4 dlci 401 (0x191,0x6410), static, broadcast, CISCO, status defined, active encapsulation Frame Relay each interface uses a static R1 ing R1 # show ip route ripR192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:26, Serial1/1R192. 168.3.0/24 [120/1] via 172.16.134.3, 00:00:07, Serial1/1R1 # show ip interface s1/1Serial1/1 is up, line protocol is upInternet address is 172.16.134.1/24 Broadcast address is 255.255.255.255 ------------------ after the Split horizon is disabled interface encapsulates frame relay, horizontal Split is automatically disabled R1 (R1 (config) # inter s1/1R1 (config-if) # enable horizontal split in ip split-horizon R1 # clear ip route * clear route table R1 # show ip route ripR192.168.4.0/24 [120/1] via 172.16.134.4, 00:00:07, Serial1/1R192. 168.3.0/24 [120/1] via 172.16.134.3, 00:00:11, Serial1/1 re-obtain R3 # show ip route ripR192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:15, serial1/2R4 # show ip route ripR192.168.1.0/24 [120/1] via 172.16.134.1, 00:00:06, Serial1/3R3 no R4 route R4 No R3 route

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.