On Sun, Mar 28, 2010 at 17:00, Narbik Kocharians <[email protected]> wrote:
> Totally understand that, but i did not see any mention of OSPF or ISIS.

Enjoy.

R1:

interface Loopback0
 ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
 ip address 12.12.12.1 255.255.255.0
!
ip sla 1
 icmp-echo 12.12.12.2
  frequency 5
!
ip sla schedule 1 start-time now life forever
!
track 1 ip sla 1 reachability
 default-state down
!
ip route 2.2.2.2 255.255.255.255 12.12.12.2 track 1
!
route-map Neighbor-Alive
 match source-protocol static
!
router bgp 1
 neighbor 2.2.2.2 remote-as 2
 neighbor 2.2.2.2 update-source Loopback0
 neighbor 2.2.2.2 ebgp-multihop 2
 neighbor 2.2.2.2 fall-over route-map Neighbor-Alive
!

R2:

interface GigabitEthernet0/0
 ip address 12.12.12.2 255.255.255.0
!
router bgp 2
 neighbor 1.1.1.1 remote-as 1
 neighbor 1.1.1.1 ebgp-multihop 2
 neighbor 1.1.1.1 update-source Loopback0
!

Notice what happens on R1 as soon as I shut down the port on R2 (there
is a switch between them).

*Mar 29 00:59:19.679: %TRACKING-5-STATE: 1 ip sla 1 reachability Up->Down
*Mar 29 00:59:19.683: %BGP-5-ADJCHANGE: neighbor 2.2.2.2 Down Route to peer lost


--
Marko Milivojevic - CCIE #18427
Senior Technical Instructor - IPexpert

YES! We include 400 hours of REAL rack
time with our Blended Learning Solution!

Mailto: [email protected]
Telephone: +1.810.326.1444
Fax: +1.810.454.0130
Web: http://www.ipexpert.com/
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to