- show route community as-number:community-value <"as-number:community-value"...>
- <brief | detail | extensive | terse>
- <logical-system (all | logical-system-name)>
Command introduced before JUNOS Release 7.4.
Display the route entries in each routing table that are members of a Border Gateway Protocol (BGP) community.
as-number:community-value — One or more community identifiers. as-number is the AS number, and community-value is the community identifier. When you specify more than one community identifier, enclose the identifiers in double quotation marks. Community identifiers can include wildcards.
brief | detail | extensive | terse — (Optional) Display the specified level of output.
logical-system (all | logical-system-name) — (Optional) Perform this operation on all logical systems or on a particular logical system.
Specifying the community option displays all routes matching the community found within the routing table. The community option does not limit the output to only the routes being advertised to the neighbor after any egress routing policy.
view
For information about output fields, see the show route command (Table 93), the show route detail command (Table 96), the show route extensive command (Table 102), or the show route terse command (Table 110).
user@host> show route community 234:80
inet.0: 46511 destinations, 46511 routes (46509 active, 0 holddown, 2 hidden)
+ = Active Route, - = Last Active, * = Both
4.0.0.0/8 *[BGP/170] 03:33:07, localpref 100, from 131.103.20.49
AS Path: {666} 234 2548 1 IGP
to 192.156.169.1 via 192.156.169.14(so-0/0/0)
6.0.0.0/8 *[BGP/170] 03:33:07, localpref 100, from 131.103.20.49
AS Path: {666} 234 2548 568 721 Incomplete
to 192.156.169.1 via 192.156.169.14(so-0/0/0)
9.2.0.0/16 *[BGP/170] 03:33:06, localpref 100, from 131.103.20.49
AS Path: {666} 234 2548 1673 1675 1747 IGP
to 192.156.169.1 via 192.156.169.14(so-0/0/0)