show route advertising-protocol
Syntax
show route advertising-protocolprotocol 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,orripng.
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
exportrouting policy statements. For more information, see the JUNOS Routing Protocols Configuration Guide.Required Privilege Level
List of Sample Output
show route advertising-protocol bgp neighbor-address detailshow 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:
active—Number of routes that are active.holddown—Number of routes that are in the hold-down state prior to being declared inactive.hidden—Number of routes not used because of routing policy.
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 detailbgp20.inet.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)Prefix Next hop MED Lclpref AS path111.222.1.11/32 (1 entry, 1 announced)BGP group pe-pe type InternalRoute Distinguisher: 111.255.14.11:69Advertised Label: 100000next hop: SelfLocalpref: 100AS path: 2 ICommunities: target:69:20111.8.0.0/16 (1 entry, 1 announced)BGP group pe-pe type InternalRoute Distinguisher: 111.255.14.11:69Advertised Label: 100000Next hop: SelfLocalpref: 100AS path: 2 ICommunities: target:69:20show route advertising-protocol bgp neighbor-address detail (Layer 2 VPN)
user@host>show route advertising-protocol bgp 192.168.24.1 detailvpn-a.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)Prefix Nexthop MED Lclpref AS path192.168.16.1:1:1:1/96 (1 entry, 1 announced)BGP group int type InternalRoute Distinguisher: 192.168.16.1:1Label-base : 32768, range : 3Nexthop: SelfLocalpref: 100AS path: ICommunities: target:65412:100 Layer2-info: encaps:VLAN, control flags:0, mtu: 0show route advertising-protocol bgp neighbor-address (Layer 3 VPN)
user@host>show route advertising-protocol bgp 10.255.14.171VPN-A.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)Prefix Nexthop MED Lclpref AS path10.255.14.172/32 Self 1 100 IVPN-B.inet.0: 6 destinations, 6 routes (6 active, 0 holddown, 0 hidden)Prefix Nexthop MED Lclpref AS path10.255.14.181/32 Self 2 100 Ishow route advertising-protocol bgp neighbor-address detail (Layer 3 VPN)
user@host>show route advertising-protocol bgp 10.255.14.176 detailvpna.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 InternalRoute Distinguisher: 10.255.14.174:2VPN Label: 101264Nexthop: SelfLocalpref: 100AS path: ICommunities: target:200:100AttrSet AS: 100Localpref: 100AS path: I* 10.255.14.172/32 (1 entry, 1 announced)BGP group ibgp type InternalRoute Distinguisher: 10.255.14.174:2VPN Label: 101280Nexthop: SelfLocalpref: 100AS path: ICommunities: target:200:100AttrSet AS: 100Localpref: 100AS path: I