The show ip bgp advertised-routes and show bgp ipv6 advertised-routes commands
displays similar information.
NOTE: You must first enable storage of routes to the Adj-RIBs-Out tables with the no
rib-out disable command or the no neighbor rib-out disable command. Otherwise, this
command returns an error message.
Action To display routes in the specified neighbor’s or peer group’s Adj-RIBs-Out table for IPv4:
host1#show ip bgp neighbors 5.72.116.1 advertised-routes
Local BGP identifier 2.2.2.2, local AS 2222
0 routes (0 bytes used), 0 distinct destinations (0 bytes used)
0 routes selected for route table installation
0 path attribute entries (0 bytes used)
Status codes: > best, * invalid, s suppressed, d dampened, r rejected
Prefix Peer Next-hop MED LocPrf Weight Origin
> 0.0.0.0/0 5.72.116.1 5.72.1.1 0 IGP
> 10.10.0.87/32 5.72.116.1 5.72.1.1 0 inc.
> 13.13.13.13/32 5.72.116.1 5.72.1.1 0 IGP
> 33.0.0.0/16 0.0.0.0 5.72.1.1 1 32768 inc.
> 33.0.0.0/24 0.0.0.0 5.72.1.1 1 32768 inc.
> 44.44.0.0/16 5.72.116.1 5.72.1.1 0 inc.
Meaning Table 26 on page 168 lists the show ip bgp advertised-routes command output fields.
Table 26: show ip bgp advertised-routes Output Fields
Field DescriptionField Name
BGP router ID of the local routerLocal BGP identifier
Local autonomous system numberlocal AS
Total number of routes stored in the BGP routing table and amount
of memory consumed by routes. If several peers have advertised a
route to the same prefix, all routes are included in this count.
routes
Number of routes to unique prefixes stored in the BGP routing table.
If several peers have advertised a route to the same prefix, only the
best route is included in this count.
distinct destinations
Number of routes in the BGP routing table that have been inserted
into the IP routing table
routes selected for route
table installation
Number of distinct path attributes stored in BGP's internal path
attributes table. If BGP receives two routes for different prefixes
but with identical path attributes, BGP will create only one entry in
its internal path attribute table and share it between the two routes
to conserve memory.
path attribute entries
Prefix for the routing table entryPrefix
Copyright © 2010, Juniper Networks, Inc.168
JunosE 11.2.x BGP and MPLS Configuration Guide