show bgp summary
Syntax
show bgp [vrf <VRF-NAME>] {ipv4 unicast | ipv6 unicast | all}
summary [vsx-peer]
Description
This command shows a summary of the status of Border Gateway Protocol (BGP) connections.
Command context
Operator (>
) or Manager (#
)
Parameters
ipv4 unicast
Selects to display the BGP summary information for the IPv4 subaddress family identifier.
ipv6 unicast
Selects to display the BGP summary information for the IPv6 subaddress family identifier.
all
Selects to display the BGP summary information for all VRFs and address-families.
vrf <VRF-NAME>
Selects to display information by VRFs by specifying the VRF name.
[vsx-peer]
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.
Authority
Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.
Examples
Showing BGP summary information for all address-families:
switch(config-bgp)# show bgp all summary VRF : default BGP Summary Local AS : 100 BGP Router Identifier : 9.0.0.1 Peers : 1 Log Neighbor Changes : No Cfg. Hold Time : 180 Cfg. Keep Alive : 60 Address-family : IPv4 Unicast ----------------------------- Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 9.0.0.2 200 25 23 00h:17m:50s Established Up Address-family : IPv6 Unicast ----------------------------- Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 9000::2 200 25 23 00h:17m:50s Established Up VRF : v1 BGP Summary Local AS : 100 BGP Router Identifier : 9.0.0.1 Peers : 1 Log Neighbor Changes : No Cfg. Hold Time : 180 Cfg. Keep Alive : 60 Address-family : IPv4 Unicast ----------------------------- Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 9.0.0.2 200 25 23 00h:17m:50s Established Up Address-family : IPv6 Unicast ----------------------------- Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 9000::2 200 25 23 00h:17m:50s Established Up
Showing BGP summary information for a specific VRF for IPv4 unicast network:
switch(config-bgp)# show bgp ipv4 unicast vrf v1 summary VRF : v1 BGP Summary Local AS : 100 BGP Router Identifier : 9.0.0.1 Peers : 1 Log Neighbor Changes : No Cfg. Hold Time : 180 Cfg. Keep Alive : 60 Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 9.0.0.2 200 25 23 00h:17m:50s Established Up