The display bgp all summary command displays information about peers in all BGP address family views, including the peer status and route statistics.
Usage Scenario
To check information about peers in all BGP address family views, including the peer status and route statistics, run the display bgp all summary command. The command output helps with troubleshooting. The address families supported include BGP-IPv4 unicast address family view, BGP-IPv6 unicast address family view, BGP-VPNv4 address family view, BGP-VPNv6 address family view, and BGP-MVPN address family view.
Precautions
If no peers exist in an address family view, information about the address family is not displayed in the command output.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp all summary
BGP local router ID : 10.1.1.1
Local AS number : 100
Address Family:Ipv4 Unicast
--------------------------------------------------------------------------------------------
Total number of peers : 3 Peers in established state : 2
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.1.1.2 200 1842 1844 0 0026h40m Established 2 3
10.2.1.1 100 0 0 0 0026h40m Connect 0 0
10.3.1.2 200 1837 1840 0 0026h40m Established 2 3
Address Family:Ipv6 Unicast
--------------------------------------------------------------------------------------------
Total number of peers : 1 Peers in established state : 0
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
2001:DB8:1::1 200 0 0 0 0026h40m Idle 0 0
Address Family:Vpnv4 All
--------------------------------------------------------------------------------------------
Total number of peers : 4 Peers in established state : 1
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.2.1.1 100 0 0 0 0026h40m Connect 0 0
Peer of IPv4-family for vpn instance :
VPN-Instance kkk, Router ID 10.1.1.1:
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.4.1.2 200 1840 1830 0 0026h34m Established 3 0
VPN-Instance vrf1, Router ID 10.1.1.1:
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.2.3.4 100 0 0 0 0026h40m Active 0 0
VPN-Instance vrf2, Router ID 10.1.1.1:
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.6.6.6 200 0 0 0 0026h40m Idle 0 0
Address Family:Vpnv6 All
--------------------------------------------------------------------------------------------
Total number of peers : 2 Peers in established state : 0
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.2.1.1 100 0 0 0 0026h40m Connect 0 0
Peer of IPv6-family for vpn instance :
VPN-Instance vrf1, Router ID 10.1.1.1:
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
2001:DB8:4::5 300 0 0 0 0026h40m Idle 0 0
Address Family:Ipv4 Mvpn
--------------------------------------------------------------------------------------------
Total number of peers : 1 Peers in established state : 0
Peer AS MsgRcvd MsgSent OutQ Up/Down State RtRcv RtAdv
10.2.1.1 100 0 0 0 0026h40m Connect 0 0
Item | Description |
---|---|
BGP local router ID | ID of the local BGP device, in the same format as an IPv4 address. |
Local AS number | Local AS number. |
AS | AS number of the BGP peer. |
Address Family | Address family in the view for BMP to monitor a specific peer.
|
Total number of peers | Number of BGP peers. |
Peers in established state | Number of BGP peers in the Established state. |
Peer | IP address of the BGP peer. |
Peer of IPv4-family for vpn instance | Peers in the BGP-VPN instance IPv4 address family. |
Peer of IPv6-family for vpn instance | Peers in the BGP-VPN instance IPv6 address family. |
MsgRcvd | Number of received messages. |
MsgSent | Number of sent messages. |
OutQ | Number of messages waiting to be sent to a specified peer. |
Up/Down | Duration in which the BGP session remains in the current state. |
State | Current BGP status:
After receiving a Start event, BGP initiates a TCP connection to the remote BGP peer, starts the ConnectRetry Timer with the initial value, listens for a TCP connection initiated by the remote BGP peer, and changes its state to Connect.
|
RtRcv | Number of route prefixes received by the local device from the peer. |
RtAdv | Number of route prefixes advertised by a peer. |
VPN-Instance kkk | VPN instance name. |
Router ID | Router ID of the device. |