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

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.

New Member

How can I see BGP routes filtered with a prefix-list?

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.

  • WAN Routing and Switching
Everyone's tags (3)
2 REPLIES
VIP Super Bronze

How can I see BGP routes filtered with a prefix-list?

from you router you can issue this command to see all the routes received from your neighbor routershow ip bgp neighbors [neighbor-address] [received-routes | routes | advertised-routes | {paths regexp} | dampened-routes]

HTH

How can I see BGP routes filtered with a prefix-list?

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

574
Views
0
Helpful
2
Replies
This widget could not be displayed.