06-28-2012 12:53 PM - edited 03-04-2019 04:50 PM
I have 2 BGP routers peered together, in 2 different ASNs. I am using prefix-lists on router A, and would like to see what routes are being advertised by router B, even though I am filtering the routes with a prefix-list (without just going to router B and doing a show ip bgp). How can I see the routes I am filtering, but getting advertised by the far router? I want to add to my prefix-list, but need to match the advertised route.
Thanks in advance.
06-28-2012 03:47 PM
06-28-2012 11:57 PM
Hi,
show ip bgp nei ... received-routes
But you will probably need to enable inbound soft reconfiguration on your router by
router bgp ...
nei ... soft-reconfiguration inbound
Read http://www.cisco.com/en/US/docs/ios/iproute_bgp/command/reference/irg_bgp5.html#wp1159860
and
http://www.cisco.com/en/US/docs/ios/iproute_bgp/command/reference/irg_bgp3.html#wp1111298
for details.
HTH,
Milan
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: