show route community
Syntax
show route community as-number:community-value <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route community as-number:community-value <brief | detail | extensive | terse>
Description
Display the route entries in each routing table that are members of a Border Gateway Protocol (BGP) community.
Options
as-number:community-value | One or more community identifiers. For example: user@host> show route table inet.0 protocol bgp community "12083:6015" community "12083:65551" or user@host> show route table inet.0 protocol bgp community [12083:6014 12083:65551] |
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
view
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
user@host> show route community 234:80 inet.0: 46511 destinations, 46511 routes (46509 active, 0 holddown, 2 hidden) + = Active Route, - = Last Active, * = Both 172.16.4.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) 172.16.6.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) 172.16.92.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)
Release Information
Command introduced before Junos OS Release 7.4.