Thanks for your reply Laz.
i have a bit of confusion. Please clarify
R1#
R1#sh run | sec bg
router bgp 1
no synchronization
bgp log-neighbor-changes
network 1.1.1.1 mask 255.255.255.255
neighbor 192.168.12.2 remote-as 10
neighbor 192.168.13.2 remote-as 10
no auto-summary
R2#sh run | sec bg
router bgp 10
no synchronization
bgp log-neighbor-changes
network 2.2.2.2 mask 255.255.255.255
network 192.168.23.0
neighbor 192.168.12.1 remote-as 1
no auto-summary
R3#sh run | sec bg
router bgp 10
no synchronization
bgp log-neighbor-changes
network 3.3.3.3 mask 255.255.255.255
network 192.168.23.0
neighbor 192.168.13.1 remote-as 1
no auto-summary
Currently the best path is 192.168.12.2
R1#sh ip bgp
BGP table version is 4, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 2.2.2.2/32 192.168.12.2 0 0 10 i
*> 3.3.3.3/32 192.168.13.2 0 0 10 i
*> 192.168.23.0 192.168.12.2 0 0 10 i
* 192.168.13.2 0 0 10 i
R1#
i have shutdown the Best path link
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int fa0/0
R1(config-if)#shu
R1(config-if)#shutdown
Now the link switched over to 192.168.13.2
R1#sh ip bgp
BGP table version is 7, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 32768 i
*> 3.3.3.3/32 192.168.13.2 0 0 10 i
*> 192.168.23.0 192.168.13.2 0 0 10 i
R1#
Then i bring it back up. The link Still Stays on 192.168.13.2, it didn’t do re-election for best path selection.
R1#sh ip bgp
BGP table version is 8, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.1.1/32 0.0.0.0 0 32768 i
*> 2.2.2.2/32 192.168.12.2 0 0 10 i
*> 3.3.3.3/32 192.168.13.2 0 0 10 i
* 192.168.23.0 192.168.12.2 0 0 10 i
*> 192.168.13.2 0 0 10 i
R1#
when i manually reset the neighbor, then the link switched over to 192.168.12.2
R1#clear ip bgp *
R1#
*Mar 1 00:10:01.379: %BGP-5-ADJCHANGE: neighbor 192.168.12.2 Down User reset
*Mar 1 00:10:01.379: %BGP-5-ADJCHANGE: neighbor 192.168.13.2 Down User reset
R1#
*Mar 1 00:10:02.819: %BGP-5-ADJCHANGE: neighbor 192.168.13.2 Up
R1#
*Mar 1 00:10:04.043: %BGP-5-ADJCHANGE: neighbor 192.168.12.2 Up
R1#sh ip bgp
BGP table version is 4, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 2.2.2.2/32 192.168.12.2 0 0 10 i
*> 3.3.3.3/32 192.168.13.2 0 0 10 i
*> 192.168.23.0 192.168.12.2 0 0 10 i
* 192.168.13.2 0 0 10 i
Please help