[Contents] [Prev] [Next] [Index] [Report an Error]


show route advertising-protocol

Syntax

show route advertising-protocol protocol neighbor-address <detail>

Description

Display the routing information as it has been prepared for advertisement to a particular neighbor of a particular dynamic routing protocol. The information displayed reflects the routes that the routing table has exported into the routing protocol and that were filtered by that protocol's export routing policy statements. (In the figure "Importing and Exporting Routing Policies" in the section "How to Construct Routing Policy" in the JUNOS Internet Software Configuration Guide: Routing and Routing Protocols, these are the routes shown in the right "Protocol" box.)

Options

neighbor-address—Address of the neighboring router to which the route entry is being transmitted.

protocol—Protocol transmitting the route. It can be bgp, dvmrp, msdp, pim, or rip.

detail—(Optional) Display additional information that was advertised to the neighbor. For example, for BGP, this option displays information about any other BGP path attributes that were advertised, including communities, route reflection, and aggregator.

Required Privilege Level

view

Output Fields

routing-table-name—Name of the routing table; for example, inet.0.

destinations—Number of destinations for which there are routes in the routing table.

routes—Number of routes in the routing table:

Prefix—Route address.

Nexthop—Address of the next hop to the address.

MED—MED value included in the route.

Lclpref—Local preference value included in the route.

AS path—AS path included in the route.

Route-distinguisher—The unique route distinguisher associated with this routing instance.

VPN Label—Name of label assigned to this VPN.

Communities—Community path attribute of the route.

Sample Output

user@host> show route advertising-protocol bgp 111.222.1.3 
inet.0: 46498 destinations, 46498 routes (46496 active, 0 holddown, 2 hidden)
Prefix             Next hop           MED        Lclpref    AS path
15.0.0.1/32        111.222.1.1                        69 IGP

Sample Output

user@host> show route advertising-protocol bgp 111.222.1.3 detail 

bgp20.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
Prefix             Nexthop                MED    Lclpref AS path
111.222.1.11/32 (1 entry, 1 announced)
 BGP group pe-pe type Internal
     Route Distinguisher: 111.255.14.11:69
     Advertised Label: 100000
     Nexthop: Self
     Localpref: 100
     AS path: 2 I
     Communities: target:69:20
111.8.0.0/16 (1 entry, 1 announced)
 BGP group pe-pe type Internal
     Route Distinguisher: 111.255.14.11:69
     Advertised Label: 100000
     Nexthop: Self
     Localpref: 100
     AS path: 2 I
     Communities: target:69:20

[Contents] [Prev] [Next] [Index] [Report an Error]