show bgp summary
Syntax
show bgp [vrf <VRF-NAME>] {ipv4 unicast | ipv6 unicast | all}
summary [vsx-peer]
show bgp l2vpn evpn summary
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. This parameter is available on switches that support VSX.
l2vpn evpn
Shows the information for L2VPN EVPN address family. This parameter applies only to 8325 series switches.
Authority
Operators or Administrators or local user group members with execution rights for this command. Operators 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
Address-family : L2VPN EVPN
-----------------------------
Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus
10.0.0.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
Showing BGP summary information for L2VPN EVPN:
switch(config-bgp)# do show bgp l2vpn evpn 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 Neighbor Remote-AS MsgRcvd MsgSent Up/Down Time State AdminStatus 10.0.0.2 200 25 23 00h:17m:50s Established Up