Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route receive-protocol

Syntax

Syntax (EX Series Switches)

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 (bgp, dvmrp, msdp, pim, rip, or ripng) and address of the neighboring router from which the route entry was received.

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.

Table 1: show route receive-protocol Output Fields

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:

  • active

  • holddown (routes that are in pending state before being declared inactive)

  • hidden (routes that are not used because of a routing policy)

All levels

Prefix

Destination prefix.

none brief

MED

Multiple exit discriminator value included in the route.

none brief

destination-prefix (entry, announced)

Destination prefix. The entry value is the number of routes for this destination, and the announced value is the number of routes being announced for this destination.

detail extensive

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.

detail extensive

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

detail extensive

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.

detail extensive

Route Distinguisher

64-bit prefix added to IP subnets to make them unique.

detail extensive

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.

detail extensive

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.

detail extensive

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:

  • I—IGP.

  • E—EGP.

  • ?—Incomplete; typically, the AS path was aggregated.

When AS path numbers are included in the route, the format is as follows:

  • [ ]—Brackets enclose the number that precedes the AS path. This number represents the number of ASs present in the AS path, when calculated as defined in RFC 4271. This value is used the AS-path merge process, as defined in RFC 4893.

  • [ ]—If more than one AS number is configured on the router, or if AS path prepending is configured, brackets enclose the local AS number associated with the AS path.

  • { }—Braces enclose AS sets, which are groups of AS numbers in which the order does not matter. A set commonly results from route aggregation. The numbers in each AS set are displayed in ascending order.

  • ( )—Parentheses enclose a confederation.

  • ( [ ] )—Parentheses and brackets enclose a confederation set.

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.

detail extensive

Cluster list

(For route reflected output only) Cluster ID sent by the route reflector.

detail extensive

Originator ID

(For route reflected output only) Address of routing device that originally sent the route to the route reflector.

detail extensive

Communities

Community path attribute for the route.

detail extensive

AIGP

Accumulated interior gateway protocol (AIGP) BGP attribute.

detail extensive

Attrset AS

Number, local preference, and path of the AS that originated the route. These values are stored in the Attrset attribute at the originating routing device.

detail extensive

Layer2-info: encaps

Layer 2 encapsulation (for example, VPLS).

detail extensive

control flags

Control flags: none or Site Down.

detail extensive

mtu

Maximum transmission unit (MTU) of the Layer 2 circuit.

detail extensive

Sample Output

show route receive-protocol bgp

show route receive-protocol bgp detail (BGP Multicast)

Show route receive protocol (Segment Routing Traffic Engineering)

Release Information

Command introduced before Junos OS Release 7.4.