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

show command

Hi,

does anybody know if there is a show command that displays all the prefixes in the BGP table that match a specific extended community route target?

Thanks in advance

Stefano

1 REPLY
Cisco Employee

Re: show command

Hi,

There is a little trick: you define an extended community list specifying the RT and then use it with your show command, f.e.:

Router(config)#ip extcommunity-list standard CheckRT permit rt 65535:1

Router(config)#end

Router# show bgp vpnv4 unicast [all|rd|vrf] community-list CheckRT

Depending on your IOS version, the command syntax might vary slightly, but the ? is your friend ;-)

You can also use regular expressions within extended community lists. For the complete usage please check

http://www.cisco.com/en/US/products/ps6350/products_command_reference_chapter09186a0080454ced.html#wp1074763

Hope this helps! Please rate all posts.

Regards, Martin

216
Views
9
Helpful
1
Replies
CreatePlease to create content