cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1130
Views
2
Helpful
1
Replies

Display BGP prefixes filtered on Route Target - IOS XR

rthakker
Level 1
Level 1

Hello,

 

Please could someone please suggests me a equivalent command list BGP prefixes advertised using Router Target (on a PE router running IOS XR. 

 

#sho ip bgp vpnv4 vrf vpn1 ?

community Display routes matching the communities

community-list Display routes matching the community-list

extcommunity-list Display routes matching the extcommunity-list

 

Thanks

RR

1 Reply 1

moca979
Level 1
Level 1

This is an old question, but was struggling with the same thing and didn't find anything particularly useful online.

Anyway, I was able to get this to work using a route policy:

route-policy test123
if extcommunity rt matches-any (1:1) then
pass
else
drop
endif
end-policy

show bgp vpnv4 unicast vrf test-vrf route-policy test123

Review Cisco Networking for a $25 gift card