How to see advertising route

Unanswered Question
Giuseppe Larosa Sat, 07/11/2009 - 00:56
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Neo,

what routing protocol are you using?


For example BGP provides a sh command to see what RA advertises to RB but other routing protocols may require debug commands to see the updates.


Hope to help

Giuseppe


Giuseppe Larosa Sat, 07/11/2009 - 02:32
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,

    Founding Member

Hello Neo,

using eigrp topology you can find the routes to routerB in the following manner:


take the

sh ip eigrp topology


from the list remove all IP subnets that have successor RB, all the other IP subnets should be sent by RA to RB (split horizon rule)


if there is a distribute-list that involves the interface between Ra and Rb it can reduce the list of routes to be sent from RA to RB.


for BGP :


sh ip bgp nei 1.1.1.1 ?

advertised-routes Display the routes advertised to a BGP neighbor

dampened-routes Display the dampened routes received from neighbor (eBGP peers only)

flap-statistics Display flap statistics of the routes learned from neighbor (eBGP peers only)

paths Display AS paths learned from neighbor

policy Display neighbor polices per address-family

received Display information received from a BGP neighbor

received-routes Display the received routes from neighbor

routes Display routes learned from neighbor

| Output modifiers


advertised-routes shows the routes RA is going to send to RB


Hope to help

Giuseppe



Istvan_Rabai Sat, 07/11/2009 - 03:50
User Badges:
  • Gold, 750 points or more

Hi Neo,


For EIGRP you can use the IP-EIGRP Route-Events debug on Router_A:


debug ip eigrp


Be careful, because depending on the number of routes it produces a very abundant output.



For BGP you can see the advertised routes with the following command on Router_A:


show ip bgp neighbors x.x.x.x advertised-routes


Cheers:

Istvan

Actions

This Discussion