How to configure a Cisco router as a Frame relay switch

Source: Internet
Author: User
Tags exit config

Experimental topology

Router (config) #frame-relay switching to simulate a router as a Frame relay switch

Router (config) #inter S1/1

Router (config-if) #clock rate 128000

Router (config-if) #encapsulation Frame-relay Configuration Interface encapsulation and binding relay

The default Frame relay enabled on the interface is encapsulated in the Cisco package and, if connected to a non-Cisco router, use the ITEF parameter

Router (config-if) #no Shu

Router (config) #inter s1/2

Router (config-if) #clo rate 128000

Router (config-if) #encapsulation fr

Router (config-if) #no Shu

Changed state to Upnointer S1/3

Router (config-if) #clo rate 128000

Router (config-if) #encapsulation fr

Router (config-if) #no Shu

Router (config) #inter S1/1

Router (config-if) #frame-relay lmi-type Cisco configuration LMI Type

Router (config-if) #frame-relay intf-type DCE Configuration Interface for Frame Relay DCE

Router (config-if) #inter S1/2

Router (config-if) #frame-relay lmi-type Cisco

Router (config-if) #frame-relay intf-type DCE

Router (config-if) #inter S1/3

Router (config-if) #frame-relay lmi-type Cisco

Router (config-if) #frame-relay intf-type DCE

Configure the PVC between two interfaces of the router

Router (config) #inter S1/1

Router (config-if) #frame-relay Route Inter s1/2 301

Router (config-if) #frame-relay Route Inter S1/3 401

Router (config-if) #exit

Router (config) #inter s1/2

Router (config-if) #frame-relay Route Inter S1/1 103

Router (config-if) #frame-relay Route 304 Inter S1/3 403

Router (config-if) #exit

Router (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 Route

Input intf input DLCI output intf output Dlci Status

SERIAL1/1 SERIAL1/2

SERIAL1/1 SERIAL1/3 401 Active

SERIAL1/2 SERIAL1/1-Active

SERIAL1/2 304 SERIAL1/3 403 Active

SERIAL1/3 401 SERIAL1/1) Active

SERIAL1/3 403 SERIAL1/2 304 Active

Indicates that the 3 PVC states configured on the router R2 are active

Configuration of R1

Router (config) #inter S1/1

Router (config-if) #ip address 172.16.134.1 255.255.255.0

Router (config-if) #encapsulation FR interface sealing and binding relay

Router (config-if) #frame-relay lmi-type Cisco

Router (config) #inter fa0/0

Router (config-if) #ip add

Router (config-if) #ip address 192.168.1.1 255.255.255.0

Router (config-if) #no Shu

If the Cisco router iOS is version 11.2 and later, the router can automatically negotiate the LMI is the type

So you don't deserve it.

Router (config) #router rip

Router (config-router) #ver 2

Router (config-router) #no auto-summary

Router (config-router) #network 172.16.134.0

Router (config-router) #network 192.168.1.0

Router (Config-router) #exit

R3 and R4 with R1

Ping test

router#ping 172.16.134.1 Source 192.168.4.1

Type 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 percent (5/5), round-trip Min/avg/max = 120/155/200 ms

To view the mapping of frame Relay

Router#show Frame-relay Map

SERIAL1/1 (UP): IP 172.16.134.3 DLCI (0x67,0x1870), dynamic,

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.