The display bgp vpnv4 all peer verbose command displays detailed information about BGP peers.
| Parameter | Description | Value |
|---|---|---|
| ipv4-address |
Specifies the IPv4 address of a peer to be displayed. |
The value is in dotted decimal notation. |
| ipv6-address |
Specifies the IPv6 address of a peer to be displayed. |
The prefix is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
| instance instance-name |
Specifies a BGP multi-instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
The display bgp vpnv4 all peer verbose command displays BGP peer information. You can implement the following operations based on the command output:
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpnv4 all peer verbose
BGP Peer is 2.2.2.2, remote AS 100
Type: IBGP link
BGP version 4, Remote router ID 2.2.2.2
Update-group ID: 3
BGP current state: Established, Up for 01h12m50s
BGP current event: RecvKeepalive
BGP last state: OpenConfirm
BGP Peer Up count: 1
Received total routes: 0
Received active routes total: 0
Advertised total routes: 1
Port: Local - 179 Remote - 58368
Configured: Connect-retry Time: 32 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: advertised and received
Address family VPNv4 Unicast: advertised and received
Received:
Total messages 88
Update messages 2
Open messages 1
KeepAlive messages 84
Notification messages 0
Refresh messages 1
Sent :
Total messages 97
Update messages 11
Open messages 1
KeepAlive messages 85
Notification messages 0
Refresh messages 0
Authentication type configured: None
Last keepalive received: 2015-01-07 09:48:41+00:00
Last keepalive sent : 2015-01-07 09:48:41+00:00
Last update received : 2015-01-07 08:36:31+00:00
Last update sent : 2015-01-07 09:34:22+00:00
Last refresh received : 2015-01-07 08:37:36+00:00
No refresh sent since peer has been configured
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
Send remote-nexthop has been configured
Peer Preferred Value: 0
Memory Priority: high
Routing policy configured:
No routing policy is configured
| Item | Description |
|---|---|
| BGP version | BGP version. |
| BGP current state | State of BGP:
Upon receiving a Start event, BGP initiates a TCP connection request 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.
|
| BGP current event | Current BGP event. |
| BGP last state | Last BGP status, which may be Idle, Connect, Active, OpenSent, OpenConfirm, Established or No neg. |
| BGP Peer Up count | Flapping count of a BGP peer in a specified period of time. |
| BGP Peer | The address of the peer. |
| Peer Preferred Value | PrefVal of the peer. |
| Peer optional capabilities | The optional capabilities supported by the peer. |
| remote AS | The AS Number of the peer. |
| Update-group ID | ID of the update-group to which the peer belongs. |
| Received total routes | Number of received route prefixes. |
| Received active routes total | Number of received active route prefixes. |
| Received | Number of messages received from a peer.
|
| Received : Active Hold Time | Hold time agreed between the BGP peers after capability negotiation. |
| Advertised total routes | Number of sent route prefixes. |
| Keepalive Time | Indicates the interval at which Keepalive messages are sent to the peer. |
| Negotiated: Active Hold Time | Hold time on the peer. |
| Address family IPv4 Unicast | IPv4 unicast address family. |
| Address family VPNv4 Unicast | VPNv4 address family. |
| Sent | Number of messages sent to a peer.
|
| Authentication type configured | Authentication type. |
| Last keepalive received | Time when a Keepalive message was last received. |
| Last refresh received | Time when a Refresh message was last received. |
| Last update received | Time when an Update message was last received. |
| Last update sent | Time when an Update message was last sent. |
| Last keepalive sent | Time at which the last keepalive message is sent. |
| Optional capabilities | (Optional) Peer-supported capabilities. |
| Route refresh capability has been enabled | Route refreshing has been enabled. |
| Memory Priority | The priority for a BGP peer relationship to be disconnected if memory overload occurs. |
| Routing policy configured | Configured routing policy. |
| Type | BGP link type: IBGP or EBGP. |
| Port | Port type:
|
| Configured | Locally configured timers.
|