Usage Scenario
The display bgp ipv6 peer log-info command can be used for troubleshooting, with details as follows: If BGP peers are disconnected, check the log information of the specified peer. In the command output, Date/Time indicates the time when the peers were disconnected, and Error Code and Error Subcode indicate the cause of the disconnection.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp ipv6 peer 2001:DB8:1::2 log-info
Peer : 2001:DB8:1::2
Date/Time : 2019/16/09 11:53:21
State : Up
Date/Time : 2019/16/09 11:53:09
State : Down
Error Code : 6(CEASE)
Error Subcode : 4(Administrative Reset)
Notification : Receive Notification
Date/Time : 2019/16/09 10:34:05
State : Up
Item | Description |
---|---|
Peer | IP address of the peer. |
Date/Time | Date/time. |
State | Status. |
Error Code | Error code. For the meanings of error codes as well as the possible causes of errors, see the "Notification Message" section in the Understanding BGP - BGP Message Format. Notification messages are used to process various errors in the BGP process. |
Error Subcode | Error subcode. For the meanings of error subcodes as well as the possible causes of errors, see the "Notification Message" section in the Understanding BGP - BGP Message Format. Notification messages are used to process various errors in the BGP process. |
Notification | Notification message sent or received by a peer. |