Skip to main content

Frame-relay configuration


Frame relay is one of the WAN protocols you need to understand if you plan to become CCNA-certified. It’s also one of the most difficult protocols to understand for most CCNA students.



Frame-Relay was a very popular WAN technology in the past days. It still is today to some extent. However, it is safe to say that it is being replaced by competing technologies like Ethernet WAN, Multi-Protocol Label Switching (MPLS), and Virtual Private Network (VPN).

Frame relay uses a service provider to provide connectivity. Frame relay is cost cost-effective solution for leased lines.

A virtual circuit is a connection in a frame relay is provides virtual circuits.  Multiple logical connections on the same physical connection.

Data link connection identifier (DLCI) identifies the virtual circuits range (16- 1007) given by the service provider. Local DLCI map with a remote IP address.  Manual or auto-mapping (inverse ARP).

 local management interface (LMI) is used to send keepalive messages between the router and frame relay switch for checking the connectivity.

Fame relay network types
  • Point to point
  • Point to multi-point



Topology 




TASK; configure point-to-point frame relay, make sure router 1 makes ping to router 2.


R1(config)#interface serial 3/0
R1(config-if)#no shutdown
R1(config-if)#ip address 1.1.1.1 255.0.0.0
R1(config-if)#encapsulation frame-relay
R1(config-if)#end

*Dec  1 19:13:09.207: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to down

R1#show run interface s3/0
Building configuration...

Current configuration : 108 bytes
!
interface Serial3/0
 ip address 1.1.1.1 255.0.0.0
 encapsulation frame-relay
 serial restart-delay 0
end

R1#ping 1.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)




R3(config)#interface serial 3/1
R3(config-if)#no shutdown
R3(config-if)#ip address 1.1.1.2 255.0.0.0
R3(config-if)#encapsulation frame-relay
R3(config-if)#end

*Dec  1 19:14:34.723: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/1, changed state to down

R3#show ip interface br
Interface              IP-Address      OK? Method Status           Protocol
Serial3/1              1.1.1.2         YES manual up                    down

R3#show run interface serial 3/1
Building configuration...

Current configuration : 108 bytes
!
interface Serial3/1
 ip address 1.1.1.2 255.0.0.0
 encapsulation frame-relay
 serial restart-delay 0
end

R3#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)


*Dec  1 19:22:14.723: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/1, changed state to up


R2(config)#hostname FRSW

FRSW(config)#frame-relay switching
FRSW(config)#interface serial 3/0
FRSW(config-if)#no shutdown
FRSW(config-if)#encapsulation frame-relay


*Dec  1 19:18:48.259: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial3/0, changed state to up

FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#frame-relay lmi-type ?
  cisco
  ansi
  q933a

FRSW(config-if)#frame-relay lmi-type cisco
FRSW(config-if)#frame-relay route 100 interface serial 3/1 200
FRSW(config-if)#exit

FRSW(config)#interface serial 3/1
FRSW(config-if)#no shutdown
FRSW(config-if)#encapsulation frame-relay
FRSW(config-if)#frame-relay intf-type dce
FRSW(config-if)#frame-relay lmi-type cisco
FRSW(config-if)#frame-relay route 200 interface serial 3/0 100
FRSW(config-if)#end


FRSW#show frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial3/0       100             Serial3/1       200             active
Serial3/1       200             Serial3/0       100             active

FRSW#show frame-relay lmi

LMI Statistics for interface Serial3/0 (Frame Relay DCE) LMI 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 27               Num Status msgs Sent 25
  Num Update Status Sent 0              Num St Enq. Timeouts 0

LMI Statistics for interface Serial3/1 (Frame Relay DCE) LMI 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 11               Num Status msgs Sent 10
  Num Update Status Sent 0              Num St Enq. Timeouts 0

R1#ping 1.1.1.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/59/92 ms

R3#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 40/47/60 ms


Comments

Popular posts from this blog

What is Classification and marking? What is IP Precedence and DSCP Values? What is AF and EF?

  Classification and Marking Classification and marking are the processes of identifying the priority of each packet. This is the first step of QOS control and should be done near the source hosts. Classification is the process of identifying and categorising traffic into classes, typically based upon incoming interface IP precedence, DSCP Source or Destination address. Application classification is the most fundamental QOS building block. Without classification, all packets are treated the same.   The table lists the criteria of classification                                  Marking  Marking is the QOS feature component that colours a packet so it can be identified and distinguished from other packets in QOS treatment. Commonly used markers: link-layer: COS (ISL, 802.1q), MPLS EXP bits,...

OSPF default routing

  OSPF Default Route Configuring OSPF Default route is not a big problem. We have couple of options when we want to OSPF default route. Here is an example R1(config)#router ospf 1  R1(config-router)#default-information originate ?   always       Always advertise default route   metric       OSPF default metric   metric-type  OSPF metric type for default routes   route-map    Route-map reference   <cr> We can change numbers of things for example metric or metric type but most of the people forget about the most important thing is the always keyword.  If we add the always command this feature advertises the default route even if we do not have in our routing table. It will look like that route is installed in routing table.   When we use the default information originate we can advertise a default route in OSPF. But OSPF won’t...

BGP Local preference configuration

BGP Local preference (Local_Pref) Path attribute gives the router inside a single autonomous system a value that they can set per-route and advertise to all iBGP routers inside the autonomous system, so that all routers in the autonomous system agree about which routers is the best exit point for packet destined for that prefix. Local preference (Local_Pref) is the second BGP attribute. We can use the local preference to choose the outbound external BGP path. Local preference is sent to all internal BGP (iBGP) routers in our autonomous system. Local preference (Local_Pref) is not exchanged between external BGP routers. It’s a well-known and discretionary BGP attribute. Default value is 100. The path with the highest local preference is desirable  Topology:- TASK: To reach 50.1.1.1, 15.0.0.1 network router 2 and router 3 using 3.1.1.2 path ( AS 65144) because it has less numbers of au...