Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show route community


Syntax (EX Series Switches)


Display the route entries in each routing table that are members of a Border Gateway Protocol (BGP) community.



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.

For example:


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.

Additional Information

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.

Required Privilege Level


Output Fields

For information about output fields, see the output field tables for the show route command, the show route detail command, the show route extensive command, or the show route terse command.

Sample Output

show route community

Release Information

Command introduced before Junos OS Release 7.4.