Configure a frame relay switch

Source: Internet
Author: User

This experiment is to configure a general router as a frame relay switch to provide a frame relay experimental environment for other experiments in this chapter.
1. Tutorial Purpose
Through this experiment, you can master the following skills:
● Configure a frame relay environment with only two nodes;
● Configure a star frame relay environment;
● Configure a fully-mesh Frame Relay environment;
● Be familiar with related viewing and monitoring commands.
2. device requirements
This experiment requires the following devices:
● One router with more than three serial interfaces;
● Three DCE series cables;
● One PC with a Super Terminal Program, as well as the Console cable and adapter.
3. cable connection and configuration instructions
In this experiment, the cable connection 8.1 shows that the PC is connected to the Console port of the vro through the Console cable.


Figure 8-1 also shows the DLCI value of the frame relay environment with 2 nodes configured.
4. Experiment configuration and monitoring results
Step 2: configure a frame relay environment with two nodes
Step 1 of Experiment 1 is to configure a frame relay environment with two nodes. Its configuration is relatively simple. For details, see configuration List 8-1.
Configuration List 8-1 configure a frame relay environment with two nodes
Section 1st: Frame Relay environment with two nodes
Version 12.1:
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname FR_S witch
Ip subnet-zero
No ip domain-lookup
Frame-relay switching
!
Interface Serial0
No ip address
Shutdown
!
Interface Serial 1
No Ip address
EncapsuSatlois frame-relay
Dockrate 64000
Frame-relay lc-type dsco
Frame-relay Intf-type dee
Frame-relay route 102 Interface serlal 201
!
Interface serial
No ip address
Encapsulation frame-relay
Clockrate 64000
Frame-relay Imi-type cisco
Frame-relay intf-type dee
Frame-relay route 201 interface Seriall 102
!
Interface seri_3
No ip address
Shutdown
!
Line con 0
Line aux 0
Transport input all
Line vty 0 4
Login
!
End
Section 2nd: view related information
FR_Switch # sh fr route
Input Intf Input Dici Output IntfOutput DiciStatus
Serial1102serial 201 inactive
Serial2201Serial1 102 inactive
FR_Switch # sh fr LMS
LMIS Statistics for interface Serial1 (Frame Relay DCE) lmis 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. Rcvd 0Num Status msgs Sent 0
Num Update Status Sent 0 Num St Enq. Timeouts 0
LMIS Statistics for interface serial (Frame Relay DCE) lbtype = 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. Rcvd 0 Num Status msgs Sent 0
Num Update Status Sent 0 Num St Enq. Timeouts 154
FR_Switch # sh fr pvc
PVC Statistics for interface Serial1 (Frame Relay DCE)
ActiveInactive DeletedStatic
Local 0 00 0
Switched 0 1 0 0
Unused0 0 00
DLCI = 102, dlci usage-SWITCHED, pvc status = INACTIVE, INTERFACE = Serial1
Input pkts 0 output pkts 0 in bytes 0
Out bytes 0 dropped pkts 0in FECN pkts 0
In BECN pkts 0 out FECN pkts 0 out BECN pkts 0
In DE pkts 0out DE pkts 0
Out beast pkts 0out beast bytes 0Num Pkts Switched 0
Pvc create time 00:39:51, last time pvc status changed 00:39:51
PVC Statistics for interface serial (Frame Relay DCE)
Active Inactive Deleted Static
Local 0000
Switched0100
Unused 0000
DLCI = 201, DLCIUSAGE = SWITCHED, pvc status = INACTIVE, INTERFACE = serial
Input pkts 0 output pkts 0in bytes 0
Out bytes 0 dropped pkts 0 in FECN pkts 0
In BECN pkts 0out FECN pkts 0out BECN pkts 0
In DE pkts 0 out DE pkts 0
Out beast pkts 0 out beast bytes 0 Num Pkts Switched 0
Pvc create time 00:39:32, last time pvc status changed 00:39:29
FR_Switch #
(1) On a router used as a Frame relay switch, first use the Frame-relay switching command to enable the Frame application exchange function of the router so that it can be configured as a Frame relay switch.
(2) We did not use the S0 interface for numbering convenience. Of course, S0 interfaces can also be used if the number of router serial interfaces is limited.
(3) In the configuration of the S1 interface, we will explain it one by one.
No ip address -- no ip address is configured on the S1 interface. This is the default configuration of the interface and no special input is required;
Encapsuaation Frame-relay -- encapsulate the S1 interface as Frame relay;
Clockrate 64000 -- set the clock to 64000 or other allowed values;
Frame-relay lm-type cisco -- sets the LCM type to Cisco;
Frame-relay intf-type dce -- defines that the interface type of frame relay is DCE, that is, the connected cable type is DCE;
Frame-relay route 102 interface serial 201 -- defines the DLCI value of this interface as 102, and forms a virtual circuit with the DLCI value of 201 of S2.
(4) similar to the S1 interface, the statements used in the configuration of the S2 interface are described as follows.
No ip address -- no ip address is configured on the S1 interface;
Encapsuaation Frame-relay -- encapsulate the S1 interface as Frame relay;
Clockrate 64000 -- set the clock to 64000;
Frame-relay lm-type cisco -- sets the LCM type to Cisco;
Frame-relay intf-type dce -- defines DCE as the interface type of frame relay;
Frame-relay route 201 interface serial 102 -- defines the DLCI value of this interface as 102, and forms a virtual circuit with the DLCI value of 102 of S2.
In the above configuration, the DLCI values 102 and 201 are defined by us. In order to make the configuration reasonable, the DLCI value from the cited interface to the S2 interface is 102, the DLCE value from the S2 interface to the S1 interface is 201, which is applicable in the following experiment.
(5) In section 2nd, three commands were used to view frame relay information. They are show frame-relay route, showframe-relay LR, and show frame-pvc, it lists the settings of the frame relay route, the LMS type, the statistical information, and the PVC status information.
It can be seen that the PVC of frame relay is in the inactive state, because the interface is down because no device is connected to the other end of the DCE cable.
Step 2: configure a star frame relay Environment
Configure the DLCI value allocation for the frame relay environment of a star image as shown in Figure 8-2. The example is from (device connected to S1) to (device connected to S2 and S3.
 
Here, we provide the complete configuration, as shown in configuration List 8-2.
Configuration List 8-2 configure the star frame relay environment from
Section 1st: configure the Frame Relay environment from
Version 12.1:
Service timestamps debug uptime
Service timestamps log uptime
No service password-encryption
!
Hostname FR_Switch
Ip subnet-zero
No ip domain-lookup
Frame-relay switching
!
Interface Serial0
No ip address
Shutdown
!
Interface Serial 1
No ip address
Encapsiilation frame-relay
Clockrate 64000
Frame-relay lm-type cisco
Frame-relay intf-type dee
Frame-relay route 102 interface serial 201
Frame-relay route 103 interface SeriaB 301
!
Interface serial
No ip address
Encapsulation frame-relay
Clockrate 64000
Frame-relay lm-type cisco
Frame-relay intf-type dee
Frame-relay route 201 interface Seriall 102
!
Interface seri_3
No ip address
Encapsulation frame-relay
Clockrate 64000
Frame-relay Imi-type cisco
Frame-relay intf-type dee
Frame-relay route 301 interface Seriall 103
!
Line con 0
Line aux 0
Transport input all
Line vty 04
Login
!
End
Section 2nd: view related information
FR_Switch # sh fr route
Input Intf Input Dici Output IntfOutput Dici Status
Serial1102serial 201 inactive
Serial1103serial2301 inactive
Serial2201Serial1 102 inactive
Serial3301Serial1 103 inactive
(1) In the configuration list, there are two items added than step 1:
Add a statement to the configuration of the S1 interface, that is
Frame-relay route 103 interface seri_3 301
The S1 interface is added with a DLCI value of 103. This DLCE forms a virtual circuit (VC) with a DLCI value of 301 on the S3 interface );
The configuration on the S3 interface is similar to that on the S2 interface. It defines a virtual circuit to the S1 interface DLCE 103.
(2) The execution result of the show frame-relay route command indicates that the configuration is successful.
(3) the results of other show commands are similar to those in step 1 and are not listed again.
(4) Step 1 implements a star connection from the device connected to the S1 interface to the device connected to the S2 and S3 interfaces from to (multiple points). This is one of the packet switching features of Frame Relay.
Step 2: configure a fully-mesh Frame Relay Environment
The so-called Full-mesh Frame Relay environment refers to a virtual circuit exists between any two nodes in this frame relay topology. If you connect each node with a set of two or two lines, A network is formed. A triangle is formed when the three nodes are connected in a full mesh structure.
The frame relay environment of the full mesh topology is 8-3, which is a fully mesh topology environment with three nodes. The figure shows the DLCI value on each interface.

Configuration 8-3 is the configuration of the serial interface in the router configuration of the frame relay switch. The configurations of the other parts are the same as those in step 1 and are not listed again.
Configuration List 8-5 configure a fully-mesh Frame Relay Environment
Section 1st: configuration list excerpt for configuring a full-mesh Frame Relay Environment
Interface Serial0
No ip address
Shutdown
!
Interface Serial 1
No ip address
Encapsulation frame-relay
Dockrate 64000
Frame-relay lm-type cisco
Frame-relay intf-type dee
Frame-relay route 102 Interface serial 201
Frame-relay route 103 interface SerialS 301
!
Interface serial
No ip address
Encapsulation frame-relay
Clockrate 64000
Frame-relay lm-type cisco
Frame-relay intf-type dee
Frame-relay route 201 interface SeriaS1 102
Frame-relay route 203 interface seri_3 302
!
Interface seri_3
No ip address
Encapsulation frame-relay
Clockrate 64000
Frame-relay Imi-type cisco
Frame-relay intf-type dee
Frame-relay route 301 interface Serial1 103
Frame-relay route 302 interface serial 203
Section 2nd: view related information
FR_Switch # sh fr route
Input Intf Input DiciOutput IntfOutput DiciStatus
Serial1102 serial 201 inactive
Serial1103 serid3301 inactive
Serial2201 Serial1 102 inactive
Serial2203 serid3302 inactive
SeriaS3301 Serial1 103 inactive
Serial3302 serial-203 inactive
FR_Switch #
(1) When configuring the Frame relay network topology, you must use the Frame-relay route statement to set all possible virtual circuits, such as S1 to S2 and S3. There are three PVCs from S2 to S1, S3, S3 to S1, and S2. six statements are required for configuration.
(2) The list listed by the show fr route command indicates that the configuration is successful.

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.