show route receive-protocol
Syntax
show route receive-protocol protocol neighbor-address <brief | detail | extensive | terse> <logical-system (all | logical-system-name)
Syntax (EX Series Switches)
show route receive-protocol protocol neighbor-address <brief | detail | extensive | terse>
Description
Display the routing information as it was received through a particular neighbor using a particular dynamic routing protocol.
Options
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. |
protocol neighbor-address |
Protocol transmitting the route ( |
Additional Information
The output displays the selected routes and the attributes with which they were received, but does not show the effects of import policy on the routing attributes.
Required Privilege Level
view
Output Fields
Table 1 describes the output fields for the show route
receive-protocol
command. Output fields are listed in the
approximate order in which they appear.
Field Name |
Field Description |
Level of Output |
---|---|---|
routing-table-name |
Name of the routing table—for example, inet.0. |
All levels |
number destinations |
Number of destinations for which there are routes in the routing table. |
All levels |
number routes |
Number of routes in the routing table and total number of routes in the following states:
|
All levels |
Prefix |
Destination prefix. |
none |
MED |
Multiple exit discriminator value included in the route. |
none |
destination-prefix (entry, announced) |
Destination prefix. The |
|
Accepted LongLivedStale |
The LongLivedStale flag indicates that the route was marked LLGR-stale by this router, as part of the operation of LLGR receiver mode. Either this flag or the LongLivedStaleImport flag may be displayed for a route. Neither of these flags are displayed at the same time as the Stale (ordinary GR stale) flag. |
|
Accepted LongLivedStaleImport |
The LongLivedStaleImport flag indicates that the route was marked LLGR-stale when it was received from a peer, or by import policy. Either this flag or the LongLivedStale flag may be displayed for a route. Neither of these flags are displayed at the same time as the Stale (ordinary GR stale) flag. Accept all received BGP long-lived graceful restart (LLGR) and LLGR stale routes learned from configured neighbors and import into the inet.0 routing table |
|
ImportAccepted LongLivedStaleImport |
Accept all received BGP long-lived graceful restart (LLGR) and LLGR stale routes learned from configured neighbors and imported into the inet.0 routing table The LongLivedStaleImport flag indicates that the route was marked LLGR-stale when it was received from a peer, or by import policy. |
|
Route Distinguisher |
64-bit prefix added to IP subnets to make them unique. |
|
Label-Base, range |
First label in a block of labels and label block size. A remote PE routing device uses this first label when sending traffic toward the advertising PE routing device. |
|
VPN Label |
Virtual private network (VPN) label. Packets are sent between CE and PE routing devices by advertising VPN labels. VPN labels transit over either an RSVP or an LDP label-switched path (LSP) tunnel. |
|
Next hop |
Next hop to the destination. An angle bracket (>) indicates that the route is the selected route. |
All levels |
Localpref or Lclpref |
Local preference value included in the route. |
All levels |
AS path |
Autonomous system (AS) path through which the route was learned. The letters at the end of the AS path indicate the path origin, providing an indication of the state of the route at the point at which the AS path originated:
When AS path numbers are included in the route, the format is as follows:
Note:
In Junos OS Release 10.3 and later, the AS path field displays an unrecognized attribute and associated hexadecimal value if BGP receives attribute 128 (attribute set) and you have not configured an independent domain in any routing instance. |
All levels |
Route Labels |
Stack of labels carried in the BGP route update. |
|
Cluster list |
(For route reflected output only) Cluster ID sent by the route reflector. |
|
Originator ID |
(For route reflected output only) Address of routing device that originally sent the route to the route reflector. |
|
Communities |
Community path attribute for the route. |
|
AIGP |
Accumulated interior gateway protocol (AIGP) BGP attribute. |
|
Attrset AS |
Number, local preference, and path of the AS that
originated the route. These values are stored in the
|
|
Layer2-info: encaps |
Layer 2 encapsulation (for example, VPLS). |
|
control flags |
Control flags: |
|
mtu |
Maximum transmission unit (MTU) of the Layer 2 circuit. |
|
Sample Output
- show route receive-protocol bgp
- show route receive-protocol bgp detail (BGP Multicast)
- Show route receive protocol (Segment Routing Traffic Engineering)
show route receive-protocol bgp
user@host> show route receive-protocol bgp 10.255.245.215 inet.0: 28 destinations, 33 routes (27 active, 0 holddown, 1 hidden) Prefix Next hop MED Lclpref AS path 10.22.1.0/24 10.255.245.215 0 100 I 10.22.2.0/24 10.255.245.215 0 100 I
show route receive-protocol bgp detail (BGP Multicast)
user@host> show route receive-protocol bgp 10.4.6.1 detail bgpmcast.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) * 4:3:0:0:32:10.2.20.20:32:225.1.1.1:10.4.4.4:10.4.0.1/240 (1 entry, 1 announced) Accepted Nexthop: 10.4.0.1 Localpref: 100 AS path: 65002 I Communities: target:10.4.4.4:0 Tunnel type: AnyEncap, RPF tunnel:, Remote end point: 10.1.4.4 Tunnel type: AnyEncap, Remote end point: 10.2.4.4 Tunnel type: AnyEncap, Remote end point: 10.3.4.4 Tunnel type: AnyEncap, Remote end point: 10.4.6.4 Tunnel type: AnyEncap, Remote end point: 10.4.20.4
Show route receive protocol (Segment Routing Traffic Engineering)
show route receive protocol bgp 10.1.1.4 bgp.inetcolor.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) * 50-10.4.4.4-1234<sr6>/96 (1 entry, 0 announced) Import Accepted Distinguisher: 50 Color: 1234 Nexthop: 10.1.1.4 Localpref: 100 AS path: 65003 I Communities: target:10.1.1.1:1 inetcolor.0: 6 destinations, 7 routes (6 active, 0 holddown, 0 hidden) * 10.4.4.4-1234<c6>/64 (1 entry, 1 announced) Import Accepted Color: 1234 Nexthop: 10.1.1.4 Localpref: 100 AS path: 65003 I Communities: target:10.1.1.1:1 user@host# run show route receive-protocol bgp 2001:db8:5001:1::4 bgp.inet6color.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) * 50-2001:db8:1::4-1234<sr6>/192 (1 entry, 0 announced) Import Accepted Distinguisher: 50 Color: 1234 Nexthop: ::ffff:10.1.1.4 Localpref: 100 AS path: 65003 I Communities: target:10.1.1.1:1 inet6color.0: 6 destinations, 7 routes (6 active, 0 holddown, 0 hidden) * 2001:db8::5-1234<c6>/160 (1 entry, 1 announced) Import Accepted Color: 1234 Nexthop: ::ffff:10.1.1.5 Localpref: 100 AS path: 65003 I Communities: target:10.1.1.1:1
Release Information
Command introduced before Junos OS Release 7.4.