Switch 7700 Command reference Guide, v2.0

Table Of Contents
202 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
display bgp
routing-table
community
Syntax
display bgp routing-table community [ aa:nn | no-export-subconfed |
no-advertise | no-export ] [ whole-match ]
View
All views
Parameter
aa:nn: Specify a community number.
no-export-subconfed: Not sending matched route outside AS.
no-advertise: Send matched route to no peers.
no-export: Not passing route through AS but advertise to other sub Ass.
whole-match: Configure to display the exactly matched routes.
Description
Use the display bgp routing-table community command to view the routing
information related to the specified BGP community number in the routing table.
Example
Display the routing information matching BGP community number 11:22.
<SW7700>display bgp routing-table community 11:22
Flags: # - valid, ^ - best,
D - damped, H - history,
I - internal, S Ð aggregate suppressed
Dest/Mask Pref Next-Hop Med Local-pref Origin
As-path
--------------------------------------------------------------------
#^ 1.0.0.0/8 256 172.10.0.2 100 IGP
#^ 2.0.0.0/8 256 172.10.0.2 100 IGP
For detailed description of the output information, see Table 13.
display bgp
routing-table
community-list
Syntax
display bgp routing-table community-list community_list_number [
whole-match ]
View
All views
Parameter
community_list_number: Specify a community-list.
whole-match: Configure to display the exactly matched routes.
Description
Use the display bgp routing-table community-list command to view the
routing information matching the specified BGP community list.