The display bgp sr-policy peer verbose command displays the detailed information of the specified BGP SR-Policy address family.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp sr-policy peer 10.1.1.2 verbose
BGP Peer is 10.1.1.2, remote AS 100
Type: IBGP link
BGP version 4, Remote router ID 10.1.1.2
Update-group ID: 1
BGP current state: Established, Up for 00h04m47s
BGP current event: KATimerExpired
BGP last state: OpenConfirm
BGP Peer Up count: 1
Received total routes: 3
Received active routes total: 3
Advertised total routes: 0
Port: Local - 179 Remote - 57066
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 13 messages
Update messages 6
Open messages 1
KeepAlive messages 6
Notification messages 0
Refresh messages 0
Sent: Total 9 messages
Update messages 2
Open messages 1
KeepAlive messages 6
Notification messages 0
Refresh messages 0
Authentication type configured: None
Last keepalive received: 2018-11-16 12:49:52+00:00
Last keepalive sent : 2018-11-16 12:49:59+00:00
Last update received: 2018-11-16 12:48:47+00:00
Last update sent : 2018-11-16 12:45:30+00:00
No refresh received since peer has been configured
No refresh sent since peer has been configured
Minimum route advertisement interval is 15 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 | Preferred value of the peer. |
| Peer optional capabilities | The optional capabilities supported by 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 the peerr:
|
| Advertised total routes | Number of sent route prefixes. |
| Keepalive Time | Interval for sending Keepalive packets to the peer. |
| Negotiated: Active Hold Time | Hold time agreed between the BGP peers after capability negotiation. |
| 4-byte-as capability has been enabled | The 4-byte AS capability has been enabled. |
| 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 when a Keepalive message was last sent. |
| Last update received | Time when an Update message was last received. |
| Last update sent | Time when an Update message was last sent. |
| No refresh received since peer has been configured | No Route-Refresh messages have been received from the peer since the peer relationship was established. |
| No refresh sent since peer has been configured | No Route-Refresh messages have been sent to the peer since the peer relationship was established. |
| Minimum route advertisement interval is 15 seconds | Minimum route advertisement interval. |
| Optional capabilities | Capabilities supported by the peer (optional). |
| 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 number.
|
| Configured | Locally configured timers:
|
| Sent | Number of packets sent to peers:
|