The display bgp labeled peer verbose command displays detailed information about BGP peers in a labeled-unicast sub-address family.
The display bgp vpn-instance peer verbose command displays detailed information about BGP peers.
display bgp vpnv4 vpn-instance vpn-instance-name peer verbose
display bgp vpnv4 vpn-instance vpn-instance-name peer ipv4-address verbose
display bgp instance instance-name vpnv4 vpn-instance vpn-instance-name peer verbose
display bgp instance instance-name vpnv4 vpn-instance vpn-instance-name peer ipv4-address verbose
display bgp labeled vpn-instance vpn-instance-name peer verbose
display bgp labeled vpn-instance vpn-instance-name peer ipv4-address verbose
Parameter | Description | Value |
---|---|---|
verbose |
Displays detailed peer information. |
- |
vpnv4 |
Displays information about peers in a VPNv4 instance. |
- |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
ipv4-address |
Specifies the IPv4 address of a peer to be displayed. |
The value is in dotted decimal notation. |
instance instance-name |
Specify the BGP instance name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
Usage Scenario
The display bgp peer verbose command displays BGP peer detailed information. You can implement the following operations based on the command output:
Precautions
BGP has multiple address and sub-address families. By default, the display bgp peer command displays information about BGP peers in IPv4 unicast address family only. If you want to view information about BGP peers in another address family, specify its address family parameter.
To view detailed information about a BGP peer, such as information about BGP timers, the number of sent and received routes, capacities supported, the number of sent and received BGP messages, and enabled functions, specify verbose in the command.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp vpnv4 vpn-instance vrf peer verbose
BGP Peer is 11.1.1.2, remote AS 200
Type: EBGP link
BGP version 4, Remote router ID 10.1.1.2
Update-group ID: 5
BGP current state: Established, Up for 00h00m52s
BGP current event: KATimerExpired
BGP last state: OpenConfirm
BGP Peer Up count: 1
Received total routes: 0
Received active routes total: 0
Advertised total routes: 0
Port: Local - 179 Remote - 50525
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: advertised and received
Received: Total 4 messages
Update messages 1
Open messages 1
KeepAlive messages 2
Notification messages 0
Refresh messages 0
Sent: Total 4 messages
Update messages 1
Open messages 1
KeepAlive messages 2
Notification messages 0
Refresh messages 0
Authentication type configured: None
Last keepalive received: 2020-01-28 13:37:29+00:00
Last keepalive sent : 2020-01-28 13:37:32+00:00
Last update received: 2020-01-28 13:36:41+00:00
Last update sent : 2020-01-28 13:36:41+00:00
No refresh received since peer has been configured
No refresh sent since peer has been configured
Minimum route advertisement interval is 30 seconds
Optional capabilities:
Route refresh capability has been enabled
4-byte-as capability has been enabled
Peer Preferred Value: 0
Memory Priority: high
Routing policy configured:
No routing policy is configured
<HUAWEI> display bgp vpnv4 vpn-instance vrf peer 11.1.1.2 verbose
BGP Peer is 11.1.1.2, remote AS 200
Type: EBGP link
BGP version 4, Remote router ID 10.1.1.2
Update-group ID: 5
BGP current state: Established, Up for 00h03m46s
BGP current event: KATimerExpired
BGP last state: OpenConfirm
BGP Peer Up count: 1
Received total routes: 0
Received active routes total: 0
Advertised total routes: 0
Port: Local - 179 Remote - 50525
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: advertised and received
Received: Total 7 messages
Update messages 1
Open messages 1
KeepAlive messages 5
Notification messages 0
Refresh messages 0
Sent: Total 7 messages
Update messages 1
Open messages 1
KeepAlive messages 5
Notification messages 0
Refresh messages 0
Authentication type configured: None
Last keepalive received: 2020-01-28 13:39:53+00:00
Last keepalive sent : 2020-01-28 13:40:21+00:00
Last update received: 2020-01-28 13:36:41+00:00
Last update sent : 2020-01-28 13:36:41+00:00
No refresh received since peer has been configured
No refresh sent since peer has been configured
Minimum route advertisement interval is 30 seconds
Optional capabilities:
Route refresh capability has been enabled
4-byte-as capability has been enabled
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. |
Peer Preferred Value | PrefVal of the peer. |
Peer optional capabilities | The optional capabilities supported by the peer. |
Remote router ID | Router ID 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 : Active Hold Time | Hold time on the peer. |
Received | Number of messages received from a peer.
|
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 agreed between the BGP peers after capability negotiation. |
Address family IPv4 Unicast | IPv4 unicast address family. |
Authentication type configured | Authentication type. |
Last keepalive received | Time when a Keepalive message was last received. |
Last keepalive sent | Time at which the last keepalive message is sent. |
Minimum route advertisement interval is 30 seconds | Minimum route advertisement interval.
|
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.
|
Sent | Number of messages sent to a peer.
|