show bgp



This command shows entries in the BGP routing table.

Command context

Operator (>) or Manager (#)



Selects the IPv4 address family.


Selects the IPv6 address family.


The subaddress family identifier.

vrf <VRF-NAME>

Select to display information by VRFs by specifying the VRF name.


Select to display the BGP summary information for all VRFs and address-families.


Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed. This parameter is available on switches that support VSX.


Operators or Administrators or local user group members with execution rights for this command. Operators can execute this command from the operator context (>) only.


Showing BGP routing table information for VRF 1 IPv4 unicast:

switch# show bgp vrf v1 ipv4 unicast
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
              i internal, e external S Stale, R Removed
Origin codes: i - IGP, e - EGP, ? - incomplete

VRF : v1
Local Router-ID

    Network            Nexthop        Metric     LocPrf     Weight Path
*>e        0          100        0      65534.65535 3.4 18.54934 3574.8570 5.6 ?
*>e        0          100        0      200 ?
*>e        0          100        0      200 ?
*>e        0          100        0      200 ?
*>e        0          100        0      200 ?
Total number of entries 5