The display bgp error discard command displays the information about the discarded error BGP packets.
| Parameter | Description | Value |
|---|---|---|
| peer | Displays information about the discarded error BGP packets by a specified BGP peer. | - |
| ipv4-address | Specifies the IPv4 address of a peer. | The value is in dotted decimal notation. |
| ipv6-address | Specifies the IPv6 address of a peer. | The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X. |
Usage Scenario
When a BGP fault occurs, the display bgp error discard command can be run to check the information about discarded error packets. The errors include cluster ID conflicts and the threshold overflow of AS_Path attributes.
By specifying the peer parameter, you can check the information about the error packets discarded by a specified BGP peer.
Precautions
The display bgp error discard command can be used to check only the error routing. To check the error routing among BGP peers, run the display bgp error command.
# Display information about discarded error BGP packets.
<sysname> display bgp error discard
BGP Discard Info Counts:
Routes received with cluster ID loop : 0
Routes received with as path count over limit : 0
Routes advertised with as path count over limit: 0
Total 2 records have been recorded
Record began time : 2011/08 /26 19:35:27 UTC-08:00
1. Record time : 2011/08/26 19:36:26 UTC-08:00
Peer ID : 192.168.123.123
Reason : Received null as-path attribute from EBGP peer
Error data : NULL
2. Record time : 2011/08/26 19:38:39 UTC-08:00
Peer ID : 192.168.123.123
Reason : Revceived originatorId attribute from EBGP peer
Error data : 80 09 04 C0 A8 7B 7B
Item |
Description |
|---|---|
BGP Discard Info Counts |
Number of discarded BGP routes |
Routes received with cluster ID loop |
Number of discarded BGP routes with a duplicate cluster ID |
Routes received with as path count over limit |
Number of received BGP routes discarded due to the number of AS_Paths exceeding the upper threshold |
Routes advertised with as path count over limit |
Number of sent BGP routes discarded due to the number of AS_Paths exceeding the upper threshold |
Total 2 records have been recorded |
Detailed record of the discarded BGP routes |
Record began time |
Start time of the recording |
Record time |
Time when each item was recorded |
Peer ID |
Peer address |
Reason |
Reason why a packet was discarded |
Error data |
Error information that is recorded |