cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1293
Views
0
Helpful
3
Replies

BGP Advertised-routes on Nexus 7010

dtran
Level 6
Level 6

Hello all,

I have BGP configured on my Nexus 7010 and all seems to be working normally. But I am seeing a couple things that don't seem normal and am looking for inputs / suggestions.

 

Here is my BGP config on the Nexus 7010

router bgp 65172

  router-id 172.16.1.73

  address-family ipv4 unicast

    network 0.0.0.0/0

    redistribute static route-map Static-to-BGP

  neighbor 172.16.1.74 remote-as 10

    description peer to xyz

    address-family ipv4 unicast

      route-map Outbound out

 

When I run the command "show ip bgp neighbor x.x.x.x advertised-routes". I am not seeing any of the routes in the prefix-list Outbound  and I am only seeing some of the static routes get redistributed but not all. Any ideas why ? am I missing something in my BGP config ?

 

I do see the some static routes and the default route, hence why things are working.

 

Thanks all in advance for any inputs / suggestions !!!

Danny

 

3 Replies 3

Patrick Colbeck
Level 3
Level 3
Can you post the two route-maps Static-to-BGP and Outbound?

Hello Patrick, thanks for responding !!!

Here is a snip of the route-map "Outbound"

ip prefix-list Outbound seq 1 permit 10.40.8.0/22
ip prefix-list Outbound seq 5 permit 10.40.12.0/24
ip prefix-list Outbound seq 10 permit 10.40.68.0/24
ip prefix-list Outbound seq 15 permit 10.40.72.0/24
ip prefix-list Outbound seq 20 permit 10.40.88.0/24
ip prefix-list Outbound seq 25 permit 10.40.208.0/24
ip prefix-list Outbound seq 30 permit 10.40.209.0/24
ip prefix-list Outbound seq 35 permit 10.40.214.0/23

route-map Outbound permit 10
match ip address prefix-list Outbound

 

ip prefix-list Static-to-BGP seq 5 permit 0.0.0.0/0 le 32

route-map Static-to-BGP permit 10
match ip address prefix-list Static-to-BGP

 

Thanks !!!

Danny

 

 

Looks basically OK without seeing the whole config. Check the following logic though:

 

Your routes have to be in the routing table before BGP will advertise them. Do the static routes that aren't been advertised appear in the "show ip route" on the router or are they missing for some reason?

 

If they do exist then check prefix-list Static-to-BGP to make sure its correct.

 

Regards

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: