bgp active path

Unanswered Question
Mar 25th, 2010
User Badges:

Hi,


Setup is as below:

2 routers at branch site connected to headend, with headend also having a pair of routers. These are running bgp.

At any time, only one of these would be active on bgp. How is it possible to find which router is running active bgp session.

any commands or outputs to identify?


Thanks in Advance.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Reza Sharifi Thu, 03/25/2010 - 20:08
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 LAN

Hi,


You can use "sh ip bgp" it will show you the active and best route to a prefix.

Example:


Router# show ip bgp

BGP table version is 5, local router ID is 10.0.33.34

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal

Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path

*> 10.1.0.0          0.0.0.0                  0         32768 ?

*  10.2.0.0          10.0.33.35              10             0 35 ?

*>                   0.0.0.0                  0         32768 ?

*  10.0.0.0         10.0.33.35               10             0 35 ?

*>                   0.0.0.0                  0         32768 ?

*> 192.168.0.0/16   10.0.33.35               10             0 35 ? 


the route with *> in front of it is the best active route.


http://www.cisco.com/en/US/docs/ios/12_3/iproute/command/reference/ip2_s2g.html#wp1039007


HTH

Reza

Actions

This Discussion