Parameter | Description | Value |
---|---|---|
ipv4-address | Specifies the IPv4 address of a peer to be displayed. | It is in dotted decimal notation. |
verbose | Indicates to display detailed peer information. | - |
Usage Scenario
Precautions
By specifying verbose, you can query more BGP peer information, such as the BGP timer information, number of received and transmitted routes, capabilities supported by the peer, number of received and transmitted BGP information messages, and enabled configurations.
# Display the information about BGP EVPN peers.
<HUAWEI> display bgp evpn peer
BGP local router ID : 6.6.6.6
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
4.4.4.4 4 100 6 9 0 00:02:19 Established 2
5.5.5.5 4 100 6 9 0 00:02:11 Established 2
Item |
Description |
---|---|
BGP Local router ID |
Indicates the ID of the BGP local router. |
local AS number |
Indicates the local AS number. |
Total number of peers |
Indicates the number of the peer. |
Peers in established state |
Indicates the number of the peer in established state. |
Peer |
Indicates the IP address of the peer. |
V |
Indicates the BGP version. |
AS |
Indicates the number of the AS where a member of a peer group resides. |
MsgRcvd |
Indicates the number of received messages. |
MsgSent |
Indicates the number of sent messages. |
OutQ |
Indicates the number of messages to be sent to peers. |
Up/Down |
Indicates the period of time during which a BGP session keeps the current state. |
State |
Indicates the BGP state mechanism:
|
PrefRcv |
Indicates the number of route prefixes sent from the peer. |
# Display the detailed information about a BGP EVPN peer.
<HUAWEI> display bgp evpn peer 4.4.4.4 verbose
BGP Peer is 4.4.4.4, remote AS 100
Type: IBGP link
BGP version 4, Remote router ID 4.4.4.4
Update-group ID: 0
BGP current state: Established, Up for 00h04m51s
BGP current event: KATimerExpired
BGP last state: OpenConfirm
BGP Peer Up count: 2
Received total routes: 2
Received active routes total: 2
Received mac routes: 0
Advertised total routes: 2
Port: Local - 65472 Remote - 179
Configured: Connect-retry Time: 32 sec
Configured: Min Hold Time: 0 sec
Configured: Active Hold Time: 180 sec Keepalive Time:60 sec
Received : Active Hold Time: 180 sec
Negotiated: Active Hold Time: 180 sec Keepalive Time:60 sec
Peer optional capabilities:
Peer supports bgp multi-protocol extension
Peer supports bgp route refresh capability
Peer supports bgp 4-byte-as capability
Address family IPv4 Unicast: received
Address family L2VPN EVPN: advertised and received
Received: Total 8 messages
Update messages 2
Open messages 1
KeepAlive messages 5
Notification messages 0
Refresh messages 0
Sent: Total 11 messages
Update messages 4
Open messages 1
KeepAlive messages 6
Notification messages 0
Refresh messages 0
Authentication type configured: None
Last keepalive received: 2018-03-29 20:52:33+00:00
Last keepalive sent : 2018-03-29 20:52:33+00:00
Last update received: 2018-03-29 20:48:33+00:00
Last update sent : 2018-03-29 20:48:41+00:00
Minimum route advertisement interval is 0 seconds
Optional capabilities:
Route refresh capability has been enabled
4-byte-as capability has been enabled
Connect-interface has been configured
Peer Preferred Value: 0
Routing policy configured:
No routing policy is configured
Tracking has been enabled, and the delay is 9s
Item |
Description |
---|---|
BGP Peer is 4.4.4.4 |
IP addresses of the BGP peer |
remote AS 100 |
AS number of the BGP peer |
Type |
BGP link type, which can be IBGP Link or EBGP Link. |
BGP version |
BGP version (current version: BGP4) |
Remote router ID |
Router ID of the peer |
Update-group ID |
Update the peer group ID |
BGP current state |
Current BGP status:
|
BGP current event |
Current BGP event |
BGP last state |
Status of the last BGP stage, which can be Idle, Idle(Admin), Idle(Ovlmt), Connect, Active, OpenSent, OpenConfirm, or Established. |
BGP Peer Up count |
Number of times the BGP peer alternates between Up and Down |
Received total routes |
Number of route prefixes received |
Received active routes total |
Number of active route prefixes received |
Received mac routes |
Number of MAC routes received |
Advertised total routes |
Number of route prefixes sent |
Port |
Port number
|
Configured |
Timers that are locally configured:
|
Received: Active Hold Time |
Hold time of the peer |
Negotiated |
Timer negotiated by peers:
|
Peer optional capabilities |
Capability supported by peers (optional)
|
Address family IPv4 Unicast |
IPv4 unicast address family |
Address family L2VPN EVPN |
BGP EVPN address family |
Received |
Number of messages received from a peer:
|
Sent |
Number of messages sent to the peer:
|
Authentication type configured |
BGP authentication type configured. The value can be the following:
|
Last keepalive received |
Indicates the time when the Keepalive message is received last time. It can be in the following formats:
|
Last keepalive sent |
Time when the Keepalive message is sent last time. It can be in the following formats:
|
Last update received |
Time when the Update message is received last time. It can be in the following formats:
|
Last update sent |
Time when the Update message is sent last time. It can be in the following formats:
|
Minimum route advertisement interval is 30 seconds |
Minimum route advertisement intervals. The default minimum route advertisement intervals are as follows:
|
Optional capabilities |
(Optional) Capabilities of the peer |
Peer Preferred Value |
Preferred value of the peer |
Routing policy configured |
Whether a routing policy has been configured |