show route community-name
Syntax
show route community-name community-name <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
Syntax (EX Series Switches)
show route community-name community-name <brief | detail | extensive | terse>
Description
Display the route entries in each routing table that are members of a Border Gateway Protocol (BGP) community, specified by a community name.
Options
community-name | Name of the community. |
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. |
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-name
user@host> show route community-name red-com inet.0: 17 destinations, 17 routes (16 active, 0 holddown, 1 hidden) inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) instance1.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) red.inet.0: 11 destinations, 11 routes (11 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.255.245.212/32 *[BGP/170] 00:04:40, localpref 100, from 10.255.245.204 AS path: 300 I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix 172.16.20.20/32 *[BGP/170] 00:04:40, localpref 100, from 10.255.245.204 AS path: I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix 172.16.100.0/24 *[BGP/170] 00:04:40, localpref 100, from 10.255.245.204 AS path: I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) mpls.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) bgp.l3vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.255.245.204:10:10.255.245.212/32 *[BGP/170] 00:06:40, localpref 100, from 10.255.245.204 AS path: 300 I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix 10.255.245.204:10:172.16.20.20/32 *[BGP/170] 00:36:02, localpref 100, from 10.255.245.204 AS path: I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix 10.255.245.204:10:100.1.4.0/24 *[BGP/170] 00:36:02, localpref 100, from 10.255.245.204 AS path: I > to 172.16.100.1 via ge-1/1/0.0, label-switched-path to_fix inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) instance1.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
Release Information
Command introduced before Junos OS Release 7.4.