show ip bgp

Syntax

To display information about networks for all address families or for a specific address family other than the L2VPN address family and the route-target address family:

show ip bgp [ ipv4 unicast | ipv4 multicast | vpnv4 all | vpnv4 vrf vrfName ]
[ network [ networkMask [ longer-prefixes ] ] ] [ fields fieldOptions ] [ filter ]

To display information for networks associated with only the L2VPN address family:

show ip bgp { l2vpn all | l2vpn vpls vplsName | l2vpn vpws vpwsName }
[ site-id siteId block-offset blockOffset ] [ fields fieldOptions ] [ filter ]

To display information for networks associated with only the route-target address family:

show ip bgp route-target signaling rtfPrefix [ longer-prefixes ]
[ fields fieldOptions ] [ filter ]

Release Information

Command introduced before JunosE Release 7.1.0.
l2vpn and all keywords added in JunosE Release 7.1.0.
vpls keyword and vplsName variable 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.
vpws keyword and vpwsName variable added in JunosE Release 8.1.0.
route-target signaling keywords and rtMemNlri variable added in JunosE Release 8.2.0.
rtMemNlri variable replaced by rtfPrefix variable in JunosE Release 9.1.0.

Description

Displays filtered information about a specified network, or all networks, in the BGP routing table associated with a specified address family or all address families. Only those fields that you specify are displayed, except that the prefix field is always displayed. Default fields can be set with the default-fields route command.

Options

Mode

Privileged Exec, User Exec

Related Documentation