show command

Unanswered Question
Aug 6th, 2007

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

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
Loading.
mheusing Tue, 08/07/2007 - 03:12

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

Actions

This Discussion