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


show route advertising-protocol

Syntax

show route advertising-protocol protocol neighbor-address <detail> 
<logical-router logical-router-name>

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 Routing Protocols Configuration Guide, 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: 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.

logical-router logical-router-name—(Optional) Name of a particular logical router on which the command operates.

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.

next hop—Address of the next hop to the address.

MED—Multiple exit discriminator (MED) value included in the route.

Lclpref—Local preference value included in the route.

AS path—Autonomous system (AS) path included in the route.

Route-distinguisher—Unique route distinguisher associated with this routing instance.

VPN Label—Name of label assigned to this virtual private network (VPN).

Communities—Community path attribute of the route.

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.

Sample Output:
show route advertising-protocol bgp

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:
show route advertising-protocol bgp detail

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             Next hop                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
     next hop: 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
     Next hop: Self
     Localpref: 100
     AS path: 2 I
     Communities: target:69:20

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