Friday, March 8, 2013

Understanding Frame-Relay Inverse-ARP

Introduction


Ah, frame-relay inverse-ARP…one of those topics that makes most network engineers cringe, and one that can make CCIE candidates plain dizzy and frustrated. When I was studying for the CCIE lab exam, I found that the actual concept of inverse-ARP was simple, but the semantics of the what where and why is what confuses everybody. In this blog we are going to break down frame-relay inverse-ARP. We’ll start out with an introduction to the technology, and then dig into how it is used on each of our possible frame-relay interfaces: Physical, multipoint subinterfaces, and point-to-point subinterfaces.

Frame-Relay Basics


Frame-relay is a layer 2 WAN protocol that uses a concept of permanent virtual circuits (PVC) (and technically switched virtual circuits known as SVCs but we won’t be going there).  A PVC is basically a predefined layer 2 path through a service provider network that sort of “emulates” a point-to-point leased line for the customer.  Essentially, your router connects into a cloud of frame-relay switches at the ISP and the ISP switches your frames from one end of the cloud to the other where it pops out to a remote router.  The fun part is that all the cloud stuff is invisible to the end routers for the most part.  These PVCs, and their paths through the network are defined by data-link connection identifiers (DLCIs).  The DLCI is stored in the frame-relay header.  Basically what happens is this:  When a router sends a frame into the frame-relay cloud it puts the DLCI into the frame-relay header and sends it to the frame switch.  The frame switch switches the frame by doing a lookup on this DLCI and passes it to another frame switch.  The same thing repeats in the cloud until the frame is switched all the way to the other side. In the sense that frames are switched by looking at something other than the IP header, it is similar to MPLS technology.

Inverse-ARP Basics


Most of our modern day networks use the IP protocol for layer 3 addressing and routing. Because frame-relay operates strictly at layer 2 of the OSI model using DLCIs, frame-relay routers need a way to resolve IP addresses to DLCI numbers.  That way, when a frame-relay router wants to send an IP packet to say 100.100.100.4 it can encapsulate the packet into a frame-relay frame and send it out the proper circuit tagged with the proper DLCI.  In short, we need layer 3 to layer 2 address resolution.
In frame-relay we can do this two ways — static or dynamic.  The static method typically involves the frame-relay interface-dlci command or the frame-relay map command depending on exactly what is going on.  The dynamic method is where inverse-ARP comes into play.  Inverse-ARP is a way we can automate this layer 3 to layer 2 address resolution.  Essentially what happens is that an inverse-ARP request is sent out a particular DLCI saying “I have IP address x”.  Since the receiving router knows the incoming DLCI, it now knows that whoever sent the inverse-ARP request is reachable at IP address x out the DLCI the request was received on.  The remote router than sends an inverse-ARP reply that contains his IP address.  Now at the originating router we have a DLCI and an IP address pair. The inverse part of the term stems from the fact that in traditional ethernet ARP a host has a layer 3 IP address that it wants to resolve to a layer 2 MAC address.  With inverse-ARP the opposite is true — a router has a layer 2 DLCI assigned to an interface and it needs to find which layer 3 IP addresses are reachable out that interface.
The biggest confusion with Inverse-ARP in the Cisco world has to do with the defaults on different interfaces.  We will cover the rules of each type of interface as they relate to inverse-ARP now.

Physical Interfaces


Physical interfaces have inverse-arp enabled by default.  Remember, every single DLCI the frame-relay router learns about via LMI from the frame-relay switch is going to be mapped to the physical frame-relay interface by default.  You can see this with the show frame-relay pvccommand.
  • IF you have an IP address on the interface, the router will send an Inverse-ARP request outevery single DLCI associated with the interface.  If you have no other sub-interfaces with DLCIs assigned via frame-relay interface-dlci or frame-relay map commands this means ALL of them!
  • Adding the command frame-relay interface-dlci does nothing because all the DLCIs learned from the frame switch are already associated with the interface. Therefore adding this command on a physical interface does not disable inverse-ARP in any way
  • Adding the command frame-relay map for a manual IP/DLCI mapping will disable inverse-ARP for that particular DLCI on the interface.  Note that inverse-ARP requests will still be sent on any other DLCIs associated with the physical interface
  • You can disable inverse-ARP completely by issuing the no frame-relay inverse-arp interface command.  However, if your router receives an inverse-arp request from another router, it will always respond to the request. You can validate this by looking at debug frame-relay packet as well as debug frame-relay events. Disabling inverse-ARP is usually the preferred thing to do, especially in the CCIE study world as rumor has had it for years that it is not allowed in the lab.
  • You can disable inverse-ARP on a per-DLCI basis with the no frame-relay inverse-arp ipcommand

Multipoint Subinterfaces


Multipoint sub-interfaces have inverse-arp enabled by default…sort of, given the right conditions : )
  • By default no inverse-ARP requests will be sent UNLESS you utilize the frame-relay interface-dlci command, and you have an IP address on the interface.  If you put this command on your subinterface for one or more DLCIs, inverse ARPs will indeed be sent for those DLCIs.  The somewhat confusing thing for people here is that typically the frame-relay interface-dlci command is not used on multipoint subinterfaces for this purpose.  It’s only real purposes on this type of interface are for using inverse-ARP and for QoS (traffic shaping and such on a particular DLCI).
  • frame-relay interface-dlci enables Inverse-ARP for that particular DLCI on the subinterface
  • frame-relay interface-dlci mixed with frame-relay map will result in no inverse-ARP requests being sent on that DLCI.  You might see this in the case where you are doing your L3/L2 address resolution with frame-relay map but you are also applying a DLCI specific QoS policy via frame-relay interface-dlci
  • You can disable inverse-ARP completely by issuing the no frame-relay inverse-arp interface command. Same rules apply for replying to requests as on the physical — you always reply.
  • You can disable inverse-ARP on a per-DLCI basis with the no frame-relay inverse-arp ipcommand

Point-To-Point Subinterfaces


The rules here are generally pretty simple.  The frame-relay map command is not allowed on a point-to-point subinterface so it narrows down the confusion.  The reason is because the link is by definition point-to-point so there is no need for a mapping of any kind.  The router basically says “anything that gets routed out this subinterface is going out the DLCI assigned to the subinterface via the frame-relay interface-dlci command” because there is only one possible place the frame can go — to the other side of the point-to-point connection.
  • frame-relay map command not allowed or useful
  • frame-relay interface-dlci used on the subinterface to assign a DLCI to the subinterface
  • No inverse-ARP is sent out regardless if it is enabled on the physical interface.  Inverse-ARP requests are simply not sent on a point-to-point subinterface.
  • Remember that inverse-ARP requests are ALWAYS answered.  If your point-to-point sub-interface receives a request it WILL reply

Summary


Inverse-ARP is a way to automate layer 3 to layer 2 address resolution in a frame-relay network.  It is enabled by default on physical interfaces.  It can be used on multipoint subinterfaces given that the frame-relay interface-dlci command is used to tell the router what DLCI to send the requests out of.  Requests are not sent out point-to-point subinterfaces.  Inverse-ARP replies are always sent on all interface types.
If you are struggling with or studying this topic the best advice I can possibly give you is to lab this up.  That is the key to understanding most things like this in my experience.

Thursday, March 7, 2013

FECN (Forward Error Congestion Notification) BECN (Backward Error Congestion Notification)

If device A is sending data to device B accross a Frame Relay intrastructure and one of the intermediate Frame Relay switches encounters congestion, congestion being full buffers, over subscribed port, overloaded resources, etc, it will set the BECN bit on packets being returned to the sending device and the FECN bit on the packets being sent to the receiving device.  This has the effect of telling the sending router to Back off and apply flow control like traffic Shaping and informs the receiving device that the flow is congested and that it should inform upper layer protocols, if possible, that it should close down windowing etc to inform the sending application to slow down.
A FECN tells the receiving device that the path is congested so that the upper layer protocols should expect some delay. The BECN tells the transmitting device that the Frame Relay network is congested and that it should "back off" to allow better throughput.
FECN (Forward Error Congestion Notification)
BECN (Backward Error Congestion Notification)

Configuring a Router as a Frame-Relay Switch

This is one task that we may find in our CCIE exam. Usually, we dont have to configure anything on the Frame-Relay cloud during the lab, that’s something that most of the times comes already done. But, we could be asked to configure a router to act as Frame-Relay switch, switching DLCIs from one interface to another.
Let’s start with the following lab:
There are 3 types of interfaces in Frame-Relay:
  • DTE interface: Default interface type for a Router, used to connect to the Switch
  • DCE interface: Interface type configured in the Switch side in order to connect to the Router
  • NNI interface: Interface type configured in the Switch side in order to connect to another Frame-Relay Switch

If we are asked to configure a router as a Frame-Relay switch, first we must identify what purpose each interface is for. If the interface is for connecting to another Frame-Relay switch (a real switch or a router acting as a switch), we have to configure the interface as an NNI interface. However, if the interface is for connecting to a normal router, the interface must be configured as an DCE interface.
In this post we are going to work with the “frame-relay route” command, in a later post we’ll present a setup with the “connect” feature.
Once we have identified this point, the rest of the configuration is very easy, as follows:
SW1#
SW1# configure terminal
SW1(config)# frame-relay switching
SW1(config)# interface serial0/0
SW1(config-if)# description == To R1 ==
SW1(config-if)# encapsulation frame-relay
SW1(config-if)# frame-relay intf-type dce
SW1(config-if)# frame-relay route 102 interface Serial0/2 201
SW1(config-if)# frame-relay route 103 interface Serial0/1 301
SW1(config-if)# no shut
SW1(config-if)# exit
SW1(config)# interface serial0/1
SW1(config-if)# description == To R3 ==
SW1(config-if)# encapsulation frame-relay
SW1(config-if)# frame-relay intf-type dce
SW1(config-if)# frame-relay route 301 interface Serial0/0 103
SW1(config-if)# no shut
SW1(config-if)# exit
SW1(config)# interface serial0/2
SW1(config-if)# description == To R2 ==
SW1(config-if)# encapsulation frame-relay
SW1(config-if)# frame-relay intf-type dce
SW1(config-if)# frame-relay route 201 interface Serial0/0 102
SW1(config-if)# no shut
SW1(config-if)# end
SW1#
With this configuration, every packet entering the switch through the interface Serial0/0 with DLCI 102 will be switched to interfaceSerial0/2 with DLCI 201, and vice versa. Every packet entering the switch through the interface Serial0/0 with DLCI 103 will be switched to interface Serial0/1 with DLCI 301, and vice versa.
Take note that the frame-relay route command must be configured in pairs on both the incoming interface and outgoing interface for the Frame Relay route to become active. Otherwise, it won’t work.
Let’s do some checks on R1:
R1#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
Serial0/0                  10.10.10.1      YES manual up                    up
Serial0/1                  unassigned      YES unset  administratively down down
R1#
R1#show frame-relay map
Serial0/0 (up): ip 10.10.10.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,, status defined, active
Serial0/0 (up): ip 10.10.10.3 dlci 103(0x67,0x1870), dynamic,
              broadcast,, status defined, active
R1#
R1#show frame-relay pvc
PVC Statistics for interface Serial0/0 (Frame Relay DTE)
              Active     Inactive      Deleted       Static
  Local          2            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0

  input pkts 132           output pkts 131          in bytes 9782
  out bytes 9714           dropped pkts 0           in pkts dropped 0
  <...>
DLCI = 103, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0

  input pkts 6             output pkts 10           in bytes 554
  out bytes 842            dropped pkts 0           in pkts dropped 0
  <...>
R1#
R1#show frame-relay lmi
LMI Statistics for interface Serial0/0 (Frame Relay DTE) 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. Sent 135              Num Status msgs Rcvd 128
  Num Update Status Rcvd 0              Num Status Timeouts 8
R1#
R1#ping 10.10.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/52/92 ms
R1#
R1#ping 10.10.10.3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 32/67/120 ms
R1#
We can also verify the configuration with show commands on the SW1:
SW1#show frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial0/0 102 Serial0/2 201 active Serial0/0 103 Serial0/1 301 activeSerial0/1 301 Serial0/0 103 active Serial0/2 201 Serial0/0 102 active
From this command we can see if the frame-relay route command has been configured in pairs on both the incoming interface and outgoing interface.
Now let’s try to configure the interface between SW1 and SW2. Apart from configuring the link between both as NNI, we need to disable the keepalives:
SW1#
SW1# configure terminal
SW1(config)# frame-relay switching
SW1(config)# interface serial0/0
SW1(config-if)# description == To R1 ==
SW1(config-if)# encapsulation frame-relay
SW1(config-if)# frame-relay intf-type dce
SW1(config-if)# frame-relay route 102 interface Serial0/3 502
SW1(config-if)# no shut
SW1(config-if)# exit
SW1(config)# interface serial0/3
SW1(config-if)# description == To SW2 ==
SW1(config-if)# encapsulation frame-relay
SW1(config-if)# frame-relay intf-type nni
SW1(config-if)# no keepalive
SW1(config-if)# frame-relay route 502 interface Serial0/0 102
SW1(config-if)# no shut
SW1(config-if)# end
SW2#
SW2# configure terminal
SW2(config)# frame-relay switching
SW2(config)# interface serial0/0
SW2(config-if)# description == To SW1 ==
SW2(config-if)# encapsulation frame-relay
SW2(config-if)# frame-relay intf-type nni
SW2(config-if)# no keepalive
SW2(config-if)# frame-relay route 502 interface Serial0/2 201
SW2(config-if)# no shut
SW2(config-if)# exit
SW2(config)# interface serial0/2
SW2(config-if)# description == To R2 ==
SW2(config-if)# encapsulation frame-relay
SW2(config-if)# frame-relay intf-type dce
SW2(config-if)# frame-relay route 201 interface Serial0/0 502
SW2(config-if)# no shut
SW2(config-if)# end
Let’s do some checks on R1, SW1 and SW2:
R1#shw frame-relay map
Serial0/0 (up): ip 10.10.10.2 dlci 102(0x66,0x1860), dynamic,
              broadcast,, status defined, active
R1#
R1#sh frame-relay pvc
PVC Statistics for interface Serial0/0 (Frame Relay DTE)

              Active     Inactive      Deleted       Static
  Local          1            0            0            0
  Switched       0            0            0            0
  Unused         0            0            0            0
DLCI = 102, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial0/0

  input pkts 232           output pkts 286          in bytes 17150
  out bytes 21338          dropped pkts 0           in pkts dropped 0
  <...>
R1#
R1#ping 10.10.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/91/172 ms
R1#
SW1#sh frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial0/0       102             Serial0/3       502             active
Serial0/3       502             Serial0/0       102             static
SW2#sh frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial0/0       502             Serial0/2       201             static
Serial0/2       201             Serial0/0       502             active
Stay tuned folks!!

Wednesday, March 6, 2013

Frame Relay Part 1: preparing the frame-relay switches

Hi all, I'm starting my CCIE R&S Lab preparation with a "classic" argument and a lot of good proposals for this new year... (first of all: more accuracy on my labs, I'm trying to get my digits!)

So let's take a look to my frame-relay topology and then we can start labbing and understanding how this old-times technology works.



As you can see, it's a 4 routers topology with two frame relay switches, just to refresh how to configure them in nni mode.

Let's begin with some basic configuration tasks and then we can start to explore the various interface modes and some dirty tricks.


1) Frame relay switches configuration
Here we have two switches, so we have to plan how to configure the various DLCIs.
The method I use to configure Frame relay switches is to build by hand a "sh frame-relay route" output on a scratchpaper before to start configuring, so I'll have no pain to forget any dlci when I go to the interfaces. A tip can be to start with the lowest number interfaces and lowest dlci, so you will write in the same order ad they will appear later in your sh frame-relay route
For our topology, the frame-relay route will be:
FR-SW1:
in interface   in dlci   out interface  out dlci
ser 1/0:1      104       ser 2/0:1      111
ser 1/1:1      203       ser 2/0:1      222
ser 1/1:1      204       ser 2/0:1      333
ser 2/0:1      111       ser 1/0:1      104
ser 2/0:1      222       ser 1/1:1      203
ser 2/0:1      333       ser 1/1:1      204

FS-SW2:
in interface   in dlci   out interface  out dlci
ser 1/2        302       ser 4/0:1      222
ser 1/3        401       ser 4/0:1      111
ser 1/3        402       ser 4/0:1      333
ser 4/0:1      111       ser 1/3        401
ser 4/0:1      222       ser 1/2        302
ser 4/0:1      333       ser 1/3        402

As you can see, between the two frame relay switches, you can use different DLCI numbers, just keep in mind the dlci modifications across your network: eg. in 104 -> out 111 -> in 111 -> out 401 .

Ok now let's configure the frame-relay switches:
FR-SW1#conf t 

frame-relay switching

interface Serial1/0:1
 description to R1
 no ip address
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay route 104 interface Serial2/0:1 111

interface Serial1/1:1
 description to R2
 no ip address
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay route 203 interface Serial2/0:1 222
 frame-relay route 204 interface Serial2/0:1 333

interface Serial2/0:1
 description to FR-SW2
 no ip address
 encapsulation frame-relay
 frame-relay intf-type nni
 frame-relay route 111 interface Serial1/0:1 104
 frame-relay route 222 interface Serial1/1:1 203
 frame-relay route 333 interface Serial1/1:1 204 
end

FR-SW1#sh frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial1/0:1     104             Serial2/0:1     111             inactive
Serial1/1:1     203             Serial2/0:1     222             inactive
Serial1/1:1     204             Serial2/0:1     333             inactive
Serial2/0:1     111             Serial1/0:1     104             inactive
Serial2/0:1     222             Serial1/1:1     203             inactive
Serial2/0:1     333             Serial1/1:1     204             inactive


note the different interface types, configured with the "frame-relay intf-type" command... you have 3 options: dce, dte and nni.
DTE is the default when encapsulation frame-relay is enabled
DCE is used (usually) on frame relay switch on interfaces connecting to the customers (our R1-4 here)
NNI is used (usually) to connect interfaces in network-to-network mode between frame-relay switches
Here I've assumed that the serial cables have DCE connector on frame-relay switch side (always verify with "sh controller | inc (DCE|DTE) " command).
Anyway, the DCE/DTE status configured under the frame-relay circuit has nothing to do with cabling, later we will try to do some dirty tricks just in case the proctors decide to do the virtual circuit assignment with dce interfaces on routers side.

The second Fr-Switch will have:
FR-SW2#conf t 

frame-relay switching

interface Serial1/2
 description to R3
 no ip address
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay route 302 interface Serial4/0:1 222

interface Serial1/3
 description to R4
 no ip address
 encapsulation frame-relay
 frame-relay intf-type dce
 frame-relay route 401 interface Serial4/0:1 111
 frame-relay route 402 interface Serial4/0:1 333

interface Serial4/0:1
 description to FR-SW1
 no ip address
 encapsulation frame-relay
 frame-relay intf-type nni
 frame-relay route 111 interface Serial1/3 401
 frame-relay route 222 interface Serial1/2 302
 frame-relay route 333 interface Serial1/3 402
end

FW-SW2#sh frame-relay route
Input Intf      Input Dlci      Output Intf     Output Dlci     Status
Serial1/2       302             Serial4/0:1     222             inactive
Serial1/3       401             Serial4/0:1     111             inactive
Serial1/3       402             Serial4/0:1     333             inactive
Serial4/0:1     111             Serial1/3       401             inactive
Serial4/0:1     222             Serial1/2       302             inactive
Serial4/0:1     333             Serial1/3       402             inactive


well, our frame-relay route looks exactly as planned.

In our example here, we have left all the default behaviors of our frame-relay interfaces, but when configuring a frame-relay switch we can play with lmi (not with encapsulation, since the frame-relay switch doesn't decapsulate the frame.... , it's a switch ;-) )
FR-SW1#sh frame-relay lmi int ser 1/0:1

LMI Statistics for interface Serial1/0: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 281              Num Status msgs Sent 281
  Num Update Status Sent 0              Num St Enq. Timeouts 23


Here we have left the Lmi type Cisco, that is the default on DCE intf-type, but we can change it, choosing between cisco | ansi | q933a as required.

FR-SW1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
FR-SW1(config)#int ser 1/0:1
FR-SW1(config-if)#frame-relay lmi-type ?
  cisco
  ansi
  q933a

FR-SW1(config-if)#frame-relay lmi-type ansi
FR-SW1(config-if)#do sh frame-relay lmi int ser 1/0:1

LMI Statistics for interface Serial1/0:1 (Frame Relay DCE) LMI 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. Rcvd 386              Num Status msgs Sent 386
  Num Update Status Sent 0              Num St Enq. Timeouts 23
FR-SW1(config-if)#


note: if you have already configured the router attacched to this interface, it's a good idea to shut the serial interface, that's because by default your router (dte) will perform lmi autosense, so if you change the lmi type with the interface up, he will bring it in protocol down shortly due to lmi mismatch (switch has ansi, router thinks to use cisco type)

Another important thing to remember is that LMI is significant only on your local link, so R1 and FR-SW1 can use lmi type ansi and FR-SW2 and R4 can use lmi type cisco, this doesn't affect the virtual circuit status in any way.

About LMI, just remember that you enable LMI as "keepalive" on Serial interfaces, so look at show interface output:
FW-SW2#sh int ser 1/2
Serial1/2 is up, line protocol is down 
  Hardware is M4T
  Description: to R3
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation FRAME-RELAY, crc 16, loopback not set
  Keepalive set (10 sec)
  LMI enq sent  0, LMI stat recvd 0, LMI upd recvd 0
  LMI enq recvd 0, LMI stat sent  0, LMI upd sent  0, DCE LMI down
  LMI DLCI 1023  LMI type is CISCO  frame relay DCE
  FR SVC disabled, LAPF state down
 [...]


This "keepalive set" is the keepalive time interval, that is the Lmi time interval too. Your router exchanges lmi keepalives with the fr-switch every 10 seconds by default, and requests for a full lmi update every 6x keepalive interval, so 60 secs by default.

To change this default behavior and change the lmi full updates requests, you can:
-change the keepalive interval on both sides (router and Fr-switch)
-change the number of keepalives on router side to request lmi full status updates
frame-relay lmi-n391dte 3   !-- set full status polling counter <1-255>


Also note from the previous output that there is a reserved DLCI number for LMI, Cisco lmi uses DLCI 1023, ansi lmi and q933a uses DLCI 0.

!-- END OF PART 1 : next part will be about Frame-Relay encapsulation and inverse arp

Tuesday, March 5, 2013

【致富的秘诀,你也要知道】

有位青年时常对自己的贫穷发牢骚。
有一天,他鼓足勇气敲开了一位富翁家的门,希望那位白手起家的富翁能够告诉他一些关于致富的秘诀。
「你一定想知道我是怎样白手起家的吧?」
「您是怎么知道的?」
「因为在你之前,已经有很多位自以为一无所有的人来找过我。来时他们确实贫困潦倒而且牢骚满腹,但走时俨然个个都成了富翁。你也具有如此丰厚的财富,为什么还抱怨不止呢?」
「它到底在哪里呀?」
「你的一双眼睛。只要你给我一只眼睛。我可以用一袋黄金作为补偿。」
「不,我不能失去眼睛!」
「给我你的一双手吧!这样我就可以把你想得到的东西都给你。」
「不,双手也不能失去!」
「既然有一双眼睛,你就可以学习;依然有一双手,你就可以劳动,现在你看到了吧,你有多么丰厚的财富啊!这就是我所谓的致富秘诀。
青年听了恍然大悟。他谢了富翁,昂首阔步的走了出去。俨然也成了一位大富翁,因为他知道他已经拥有了致富的本钱。
‧生活中,有许多人都像这位青年那样,不是抱怨命运不公,就是抱怨无人识用。其实,生活的富有就是珍惜所有,并让自己拥有的东西物有所值。不是吗?
Related Posts Plugin for WordPress, Blogger...