07-08-2019 01:33 AM
07-08-2019 02:09 AM - edited 07-08-2019 02:26 AM
Hello Ibrahim,
it would be kind of you, if you write your posts with configuration sections in a more readable format.
it will increase the probability to get better help.
Respectfully this is only my personal opinion.
The following slides by Cisco expert Vinit Jain can be helpful
In IOS XR a route-policy is applied to an attach point for example a BGP neighbor session is likely your case.
The show commands are likely
show bgp neighbor x.x.x.x advertised-routes
show bgp neighbor x.x.x.x received-routes
with the second command likely showing you all the received routes from neighbor before an inbound route-policy can act on them.
Edit:
if the route-policy is applied inbound you should see differences between
show bgp neighbor x.x.x.x received-routes
and
show bgp | inc x.x.x.x
Actually only show bgp <prefix> can show you all the BGP attributes including the BGP standard communities that are the selection criteria in your route-policy config example.
Again using a debug command is not recommended for the added load on devices.
Edit2:
to see all the details of a route policy with expansion of all sets objects you can use
show rpl policy-route <name> detail
see
Best Regards
Giuseppe
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