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


show route advertising-protocol

Syntax

show route advertising-protocol protocol neighbor-address
<brief | detail | extensive | terse>
<logical-router (all | 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.

Options

protocol—Protocol transmitting the route: bgp, dvmrp, msdp, pim, rip, or ripng.

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

brief | detail | extensive | terse—(Optional) Display brief route information.

logical-router (all | logical-router-name)—(Optional) Perform this operation on all logical routers or on a particular logical router.

Additional information

Routes displayed are routes that the routing table has exported into the routing protocol and filtered by the associated protocol's export routing policy statements. For more information, see the JUNOS Routing Protocols Configuration Guide.

Required Privilege Level

view

List of Sample Output

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

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.

[ ]—Brackets enclose the local AS number associated with the AS path if more than one AS number is configured on the router, or if AS path prepend 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.

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.

show route advertising-protocol bgp neighbor-address 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

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

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

vpn-a.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
Prefix             Nexthop                MED    Lclpref AS path
192.168.16.1:1:1:1/96 (1 entry, 1 announced)
 BGP group int type Internal
     Route Distinguisher: 192.168.16.1:1
     Label-base : 32768, range : 3
     Nexthop: Self
     Localpref: 100
     AS path: I
     Communities: target:65412:100 Layer2-info: encaps:VLAN, control           
flags:0, mtu: 0

show route advertising-protocol bgp neighbor-address (Layer 3 VPN)

user@host> show route advertising-protocol bgp 10.255.14.171 
      VPN-A.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) 
      Prefix             Nexthop                MED    Lclpref AS path 
      10.255.14.172/32   Self                     1        100 I 
      VPN-B.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden) 
      Prefix             Nexthop                MED    Lclpref AS path 
      10.255.14.181/32   Self                     2        100 I 

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

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

vpna.inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)
* 10.49.0.0/30 (1 entry, 1 announced)
 BGP group ibgp type Internal
     Route Distinguisher: 10.255.14.174:2
     VPN Label: 101264
     Nexthop: Self
     Localpref: 100
     AS path: I
     Communities: target:200:100
     AttrSet AS: 100
         Localpref: 100
         AS path: I

* 10.255.14.172/32 (1 entry, 1 announced)
 BGP group ibgp type Internal
     Route Distinguisher: 10.255.14.174:2
     VPN Label: 101280
     Nexthop: Self
     Localpref: 100
     AS path: I
     Communities: target:200:100
     AttrSet AS: 100
         Localpref: 100
         AS path: I


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