cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
563
Views
9
Helpful
1
Replies

show command

s-durando
Level 1
Level 1

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 1

mheusing
Cisco Employee
Cisco Employee

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