Router Configuration & lt; 14 & gt;

Source: Internet
Author: User

Basic Frame Relay Configuration:


Target:

Basic Frame Relay Configuration


Lab device:

Router with serial port) 2

V.35 cable DTE/DCE) 1 pair


Tutorial principle:

The frame relay standard can be configured and managed permanent virtual circuit PVC in the frame relay network) for addressing, and the frame relay permanent virtual circuit is identified by the data link connection identifier DLCI.

When frame relay provides multiple methods for multiple Logical Data sessions, the ISP's switching device must first create a table to map different DLCI values to the outbound port. Second, when a data frame is received, the Exchange Device analyzes its connection identifier and sends the data frame to the corresponding port. Finally, a full path to the destination will be created before the first data frame is sent.


Experiment topology:

650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131227/05130155A-0.png "title =" 003.png"/>

Step:

Step 1. Configure the vro.

Router A (config) # interface serial 4/0

Router A (config-if) # ip address 1.1.1.1 255.255.0

Router A (config-if) # exit

Router A (config) # interface Fast Ethernet 1/0

Router A (config-if) # ip address 192.168.1.1 255.255.0

Router A (config-if) # exit

Router B (config) # interface serial 4/0

Router B (config-if) # ip address 1.1.1.2 255.255.0

Router B (config-if) # exit

Router B (config) # interface Fast Ethernet 1/0

Router B (config-if) # ip address 192.168.2.1 255.255.255.0

Router B (config-if) # exit

Step 2 configure frame relay.

Router A (config) # interface serial 4/0

Router A (config-if) # encapsulation frame-relay ietf

Router A (config-if) # frame-relay map ip 1.1.1.2 16

Router A (config-if) # frame-relay lm-type ansi

Router B (config) # interface serial 4/0

Router B (config-if) # encapsulation frame-relay ietf

Router B (config-if) # frame-relay map ip 1.1.1.1 17

Router B (config-if) # frame-relay lm-type ansi

Step 3. Verify the Frame Relay configuration.

Router B # show frame-relay pvc

PVC Statistics for interface Serial1/0 (Frame Relay DTE)

Active Inactive Deleted Static

Local 1 0 0 0

Switched 0 0 0 0

Unused 0 0 0 0

DLCI = 17, dlci usage = LOCAL, pvc status = ACTIVE, INTERFACE = Serial1/0

Input pkts 5 output pkts 5 in bytes 520

Out bytes 520 dropped pkts 0 in pkts dropped 0

Out pkts dropped 0 out bytes dropped 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 0 out bcast bytes 0

5 minute input rate 0 bits/sec, 0 packets/sec

5 minute output rate 0 bits/sec, 0 packets/sec

Pvc create time 00:01:14, last time pvc status changed 00:00:48

RouterB # show frame-relay map

Serial1/0 (up): ip 1.1.1.1 dlci 17 (0x11, 0x410), static,

Broadcast,

IETF, status defined, active

Router B # show frame-relay LMIS experiment 35 Basic frame relay configuration · 59 ·

LMIS Statistics for interface Serial1/0 (Frame Relay DTE) lmis type = ANSI

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 13 Num Status msgs Rcvd 13

Num Update Status Rcvd 0 Num Status Timeouts 0

Last Full Status Req 00:00:05 Last Full Status Rcvd 00:00:05

Note]

When the WAN protocol is encapsulated, the two port encapsulation protocols of the V.35 cable must be consistent. Otherwise, a link cannot be established.

Reference Configuration]

Router A # show running-config

Building configuration...

Current configuration: 574 bytes

!

Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)

Hostname Router

!

Interface serial 4/0

Encapsulation frame-relay ietf

Frame-relay map ip 1.1.1.2 16

Ip address 1.1.1.1 255.255.255.0

Clock rate 64000

!

Interface serial 4/1

Clock rate 64000

!

Interface GigabitEthernet 0/0

Duplex auto

Speed auto

!

Interface FastEthernet 1/0

Ip address 192.168.1.1 255.255.255.0

Duplex auto

Speed auto

!

Line con 0

Line aux 0

Line vty 0 4

Login

!

End

Router B # show running-config

Building configuration...

Current configuration: 581 bytes

!

Version RGNOS 10.1.00 (4), Release (18443) (Tue Jul 17 21:16:17 CST 2007-ubu1server)

Hostname Router B

!

Interface serial 4/0

Encapsulation frame-relay ietf

Frame-relay map ip 1.1.1.1 17

Ip address 1.1.1.2 255.255.255.0

Clock rate 64000

!

Interface serial 4/1

Clock rate 64000

!

Interface GigabitEthernet 0/0

Duplex auto

Speed auto

!

Interface FastEthernet 1/0

Ip address 192.168.2.1 255.255.255.0

Duplex auto

Speed auto

!

Line con 0

Line aux 0

Line vty 0 4

Login

!

End




This article is from the "Security_net" blog, please be sure to keep this http://yxh1157686920.blog.51cto.com/7743046/1288625

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.