show ip bgp advertised-routes

Syntax

To display routes advertised to a neighbor or peer group in all address families or a particular address family:

show ip bgp [ ipv4 unicast | ipv4 multicast | vpnv4 all | vpnv4 vrf vrfName |
l2vpn [ all ] | route-target signaling ]
{ neighbors { ipAddress | ipv6Address } | peer-group peerGroupName }
advertised-routes [ fields { fieldOptions } ] [ delta ] [ filter ]

To display routes advertised to the specified peer group for all VPN address families or for a particular VPN address family after the application of route-target filters advertised by the specified member of the peer group:

show ip bgp [ vpnv4 all | vpnv4 vrf vrfName ] | l2vpn [ all ] | route-target signaling ]
peer-group peerGroupName advertised-routes
route-target-filter neighbor { ipRtfNbrAddress| ipv6RtfNbrAddress }
[ fields { pgfieldOptions } ] [ delta ] [ filter ]

To display the route that best matches the specified address for all address families or for a particular address family; not available for the L2VPN address family:

show ip bgp [ ipv4 unicast | ipv4 multicast | vpnv4 all | vpnv4 vrf vrfName ]
{ neighbors { ipAddress | ipv6Address } | peer-group peerGroupName }
advertised-routes network [ networkMask [ longer-prefixes ] ]
[ fields { fieldOptions } ] [ delta ] [ filter ]

To display routes advertised to a neighbor or peer group with the specified site ID and block offset in the L2VPN address family:

show ip bgp l2vpn all
{ neighbors { ipAddress | ipv6Address } | peer-group peerGroupName }
advertised-routes site-id siteId block-offset blockOffset
[ fields { fieldOptions } ] [ delta ] [ filter ]

To display all routes or the route that best matches the specified address advertised to a neighbor or peer group in only the route-target address family:

show ip bgp route-target signaling
{ neighbors { ipAddress | ipv6Address } | peer-group peerGroupName }
advertised-routes rtfPrefix [ longer-prefixes ]
[ fields { fieldOptions} ] [ delta ] [ filter ]

Release Information

Command introduced before JunosE Release 7.1.0.
l2vpn and all keywords added in JunosE Release 7.1.0.
site-id keyword and siteId variable added in JunosE Release 7.1.0.
block-offset keyword and blockOffset variable added in JunosE Release 7.1.0.
ipv6Address variable added in JunosE Release 8.0.0.
route-target signaling and route-target-filter neighbor keywords and ipRtfNbrAddress, ipv6RtfNbrAddress, and rtMemNlri variables added in JunosE Release 8.2.0.
rtMemNlri variable replaced by rtfPrefix variable in JunosE Release 9.1.0.

Description

Displays the routes in the Adj-RIBs-Out table of the specified peer or peer group. For peers, displays routes that have been previously advertised to the peer and the attributes for the routes before the application of outbound policy.

For peer groups, displays routes that will be advertised to the peer group, but includes the full set of route attributes associated with the routes after the application of outbound policy. This command returns an error message unless you first enable rib-out with the no neighbor rib-out disable command or the no rib-out disable command.

Options

Mode

Privileged Exec, User Exec

Related Documentation