Saturday, February 19, 2011

Bidirectional Forwarding Detection for OSPF

This is some thing we don't use in Infra but i would like to see what is this about :

Bi-directional Forwarding Detection (BFD) provides rapid failure detection times between forwarding engines, while maintaining low overhead. It also provides a single, standardized method of link/device/protocol failure detection at any protocol layer and over any media.

Using BFD as Part of a Network Redundancy Plan :


BFD can be an important part of an overall network redundancy plan, including other Cisco innovations like Nonstop Forwarding (NSF) and the Hot Standby Router Protocol (HSRP). BFD should be deployed in those sections of the network where subsecond failure detection is required, but cannot be provided by traditional Layer 2 mechanisms. Being said that it need Layer 3 Routing in place.

Configration :
R1#sh run | s r o
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 network 12.1.1.1 0.0.0.0 area 0
 
bfd all-interfaces
R1#sh ip int brie | e un
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            12.1.1.1        YES manual up                    up 

R2#sh run | s r o
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 network 12.1.1.2 0.0.0.0 area 0
 
bfd all-interfaces
R2#sh ip int brie | e un
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            12.1.1.2        YES manual up                    up
R2#

Testing :
R1#sh ip ospf interface fa 0/0
FastEthernet0/0 is up, line protocol is up
  Internet Address 12.1.1.1/24, Area 0
  Process ID 1, Router ID 1.1.1.1, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State BDR, Priority 1,
BFD enabled
R2#sh ip ospf int fa 0/0
FastEthernet0/0 is up, line protocol is up
  Internet Address 12.1.1.2/24, Area 0
  Process ID 1, Router ID 2.2.2.2, Network Type BROADCAST, Cost: 10
  Transmit Delay is 1 sec, State DR, Priority 1,
BFD enabled  Designated Router (ID) 2.2.2.2, Interface address 12.1.1.2
Thanks for reading :)
Q&A time ::

No comments:

Post a Comment