Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

BGP route advertisement Issue

Hello All,

I'm working on with a task to break the existing into and and I have to advertise the individual circuits over the WAN circuits. Currently we are advertising and my requirement is:

1- We have to advertise the and over the WAN circuit.

2- The subnet over the primary circuit and over the secondary circuit.

I have tried to implement the above two requirement and the indvidual subnets were not advertsing over the WAN circuit.

While troubleshooting I'm finding there is no route to the desitnation but there is route in the routing table. Please find below the logs:

Please help me to decode the below and to execute my requirement.

*Mar  1 00:53:20.615: BGP: Applying map to find origin for
*Mar  1 00:53:20.615: BGP: Applying map to find origin for
*Mar  1 00:53:20.619: BGP(0): no valid path for
*Mar  1 00:53:20.619: BGP(0): no valid path for

R1#sh ip route
Routing entry for, 3 known subnets
  Attached (1 connections)
  Variably subnetted with 2 masks

S [1/0] via
C is directly connected, Serial0/0
S [1/0] via

R1#sh ip bgp
BGP table version is 11, local router ID is
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
*                 0         32768 i
*                 0         32768 i



New Member

BGP route advertisement Issue


it seems you don´t have a valid route for the next-hop

Instead of next-hop why don´t you just configure null0 interface???

ip route null0

ip route null0


Hall of Fame Super Silver

BGP route advertisement Issue

In this case I believe that it would have negative impact to use the null routes as you suggest. Notice that is directly connected on the serial interface. If there are more specific routes configured with null 0 as the next hop then all traffic that should be sent out the serial interface will be forwarded to null 0 and discarded.

I also observe that if the static routes do show up in the output of show ip route then the next hop is considered to be reachable by IOS. If the next hop is not reachable then the static route is not inserted into the routing table.

Given that the routes do show up in the output of show ip route and do show up in the output of show ip bgp it seems to me that BGP is ok with them. The log messages just before the error indicate that BGP is applying a map to find the origin. I wonder what is in that map and whether the BGP is more related to the content of the map than it is about the validity of the routes.



New Member

BGP route advertisement Issue

Yes, sorry. In this case more as we have specific static routes with next-hop null0 interfaces will discard traffic...

Could we have the bgp related configuration?

"Conditional BGP Route Injection" functionality is used to inject more specific routes and I think it could be helpful here.