03-22-2016 02:53 AM - edited 03-05-2019 03:37 AM
I am facing an issue where my router is not advertising routes to its iBGP neighbors. While checking the configuration I came across this. (192.168.52.0 is a network that needs to be advertised)
Router01#sh run | in 192.168.52.0
network 192.168.52.0 mask 255.255.252.0 route-map MAP1
ip route 192.168.52.0 255.255.252.0 GigabitEthernet0/2 192.168.60.1
Router01#sh route-map MAP1
route-map MAP1 not found
Looks like the network is advertised into BGP with a non-existent route-map statement. Would this be the reason why its not advertising this route?
Thanks.
Solved! Go to Solution.
03-22-2016 03:56 AM
Hi,
yes, that's the reason probably.
As you can read here
http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp4.html#wp1145316
"... The route map should be examined to filter the networks to be advertised. If not specified, all networks are advertised. If the keyword is specified, but no route map tags are listed, no networks will be advertised. "
Best regards,
Milan
03-22-2016 03:56 AM
Hi,
yes, that's the reason probably.
As you can read here
http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book/irg_bgp4.html#wp1145316
"... The route map should be examined to filter the networks to be advertised. If not specified, all networks are advertised. If the keyword is specified, but no route map tags are listed, no networks will be advertised. "
Best regards,
Milan
03-22-2016 04:26 AM
Hi Milan,
Thanks for your response. I will be removing this route-map from the network statement tomorrow and I will post back here with the results.
Regards,
Paul
03-26-2016 12:39 AM
Hi all,
The issue is resolved. I removed the route-map statement yesterday and the router immediately began to advertise its subnets via BGP.
Thanks for your help on this Milan
Regards,
Paul
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide