Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show route advertising-protocol

Syntax

Description

Display the routing information as it has been prepared for advertisement to a particular neighbor of 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.

neighbor-address

Address of the neighboring router to which the route entry is being transmitted.

protocol

Protocol transmitting the route:

  • bgp—Border Gateway Protocol

  • dvmrp—Distance Vector Multicast Routing Protocol

  • msdp—Multicast Source Discovery Protocol

  • pim—Protocol Independent Multicast

  • rip—Routing Information Protocol

  • ripng—Routing Information Protocol next generation

Additional Information

Routes displayed are routes that the routing table has exported into the routing protocol and that have been filtered by the associated protocol's export routing policy statements. Starting with Junos OS Release 13.3, you can display the routing instance table foo for any address family, on a VPN route reflector, or a VPN AS boundary router that is advertising local VPN routes. However, If you do not specify the table in the command, the output displays each VRF prefix twice.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show route advertising-protocol command. Output fields are listed in the approximate order in which they appear.

Table 1: show route advertising-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 (routes that are active)

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

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

All levels

Prefix

Destination prefix.

brief none

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

BGP group and type

BGP group name and type (Internal or External).

detail extensive

Route Distinguisher

Unique 64-bit prefix augmenting each IP subnet.

detail extensive

Advertised Label

Incoming label advertised by the Label Distribution Protocol (LDP). When an IP packet enters a label-switched path (LSP), the ingress router examines the packet and assigns it a label based on its destination, placing the label in the packet's header. The label transforms the packet from one that is forwarded based on its IP routing information to one that is forwarded based on information associated with the label.

detail extensive

Label-Base, range

First label in a block of labels and label block size. A remote PE router uses this first label when sending traffic toward the advertising PE router.

detail extensive

VPN Label

Virtual private network (VPN) label. Packets are sent between CE and PE routers by advertising VPN labels. VPN labels transit over either a Resource Reservation Protocol (RSVP) or a Label Distribution Protocol (LDP) label-switched path (LSP) tunnel.

detail extensive

Nexthop

Next hop to the destination. An angle bracket (>) indicates that the route is the selected route.

If the next-hop advertisement to the peer is Self, and the RIB-out next hop is a specific IP address, the RIB-out IP address is included in the extensive output.

All levels

MED

Multiple exit discriminator value included in the route.

brief

Lclpref or Localpref

Local preference value included in the route.

All levels

Queued

When BGP route prioritization is enabled and a route is present in a priority queue, this shows which priority queue the route is in.

All levels except brief

AS path

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 local AS number associated with the AS path if configured on the router, or if AS path prepending is configured.

  • { }—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. See the output field table for the show route detail command for all possible values for this field.

detail extensive

AIGP

Accumulated interior gateway protocol (AIGP) BGP attribute.

detail extensive

Attrset AS

Number, local preference, and path of the autonomous system (AS) that originated the route. These values are stored in the Attrset attribute at the originating router.

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 advertising-protocol bgp (Layer 3 VPN)

show route advertising-protocol bgp (IPv6 unicast address community)

show route advertising-protocol bgp detail

show route advertising-protocol bgp detail (Aggregate Extended Community Bandwidth)

show route advertising-protocol bgp detail (BGP Multicast)

show route advertising-protocol bgp detail (Labeled Unicast)

show route advertising-protocol bgp detail (Layer 2 VPN)

show route advertising-protocol bgp detail (Layer 3 VPN)

show route advertising-protocol bgp extensive all (Next Hop Self with RIB-out IP Address)

Release Information

Command introduced before Junos OS Release 7.4.

ipv6-origin, ipv6-target, and ipv6-extended Community output fields supported in Junos OS Release and Junos OS Evolved Release 23.1.