cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2637
Views
0
Helpful
1
Replies

Advertise routes and Received routes in BGP

Umesh1
Level 1
Level 1

Hello Everyone,

 

I need to know the difference between advertise routes and receive routes in BGP

Eg. I am having two data centers and DR  is receiving routes as 10.20.20.0/24 65512 65513

and other DC receiving routes as 10.20.20.0/24 65512 65513 65520 65589 

The which route will be preferred ? and why?

 

If  you say DR route then will it advertise the receive route to its other peers?

Please explain with example or share any link for the same.

 

Thank you in advance

1 Reply 1

balaji.bandi
Hall of Fame
Hall of Fame

Advertise 

 

BGP uses the network statement in the configuration to identify what networks you wish to advertise from your local networks. BGP then looks in the local routing table and if it finds a network in the routing table that matches the network statement (and matches the mask also) then BGP will advertise it.

 

Receives

 

BGP routes that it receives from a neighbor, This routes also advertise based on the config to other peers.

 

To view all BGP received-routes (both accepted and rejected)
#show ip bgp neighbors x.x.x.x received-routes
The accepted and stored BGP routes can be viewed using
# show ip bgp neighbors x.x.x.x routes

 

in your case this are AS Numbers in your configuration 65512 65513 65520 65589 

 

Until we see your config and topology we do not have any visibility on your setup.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help