show command

Unanswered Question
Aug 6th, 2007
User Badges:


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


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4.5 (2 ratings)
mheusing Tue, 08/07/2007 - 03:12
User Badges:
  • Cisco Employee,


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# 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

Hope this helps! Please rate all posts.

Regards, Martin


This Discussion