display bgp error discard

Function

The display bgp error discard command displays BGP errors.

Format

display bgp error discard [ peer { ipv4-address | ipv6-address } ]

display bgp error discard vpn-instance vpn-instance-name peer { ipv4-address | ipv6-address }

display bgp instance instance-name error discard vpn-instance vpn-instance-name peer ipv4-address

Parameters

Parameter Description Value
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.

vpn-instance vpn-instance-name

Displays the BGP errors of a specified 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.

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.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

When a BGP fault occurs, the display bgp error discard command can be used to display BGP errors. BGP errors include neighbor errors, route errors, and errors indicating that the resource usage exceeds the limit.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about discarded BGP error packets.
<HUAWEI> 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
Routes received with As loop : 1
Routes received with Zero RD(0:0) : 0
Routes received with no prefix : 0
Routes received with error path-attribute : 0
Routes received with originator ID loop : 0
Routes received with total number over limit : 0
Routes received with error router id : 0

BGP Discard info:(IPv4 Unicast)
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
Routes received with As loop : 1 (Last: 2021-04-13 15:06:01 + 08:00)
Routes received with Zero RD(0:0) : 0
Routes received with error path-attribute : 0
Routes received with originator ID loop : 0
Routes received with total number over limit : 0

No discard record.
 
BGP Discard info:(IPv4 VPNv4)
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
Routes received with As loop : 0
Routes received with Zero RD(0:0) : 0
Routes received with error path-attribute : 0
Routes received with originator ID loop : 0
Routes received with total number over limit : 0
                
No discard record.
                
BGP Discard info:(IPv4 FLOW)
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
Routes received with As loop : 0
Routes received with Zero RD(0:0) : 0
Routes received with error path-attribute : 0
Routes received with originator ID loop : 0
Routes received with total number over limit : 0
                
No discard record.
                
BGP Discard info:(VPNv4 FLOW)
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
Routes received with As loop : 0
Routes received with Zero RD(0:0) : 0
Routes received with error path-attribute : 0
Routes received with originator ID loop : 0
Routes received with total number over limit : 0
                
No discard record.
Table 1 Description of the display bgp error discard command output
Item Description
BGP Discard Info Counts

Number of routes discarded by BGP.

BGP Discard info

Number of routes discarded by BGP.

Routes received with cluster ID loop

Number of routes discarded due to duplicate cluster IDs.

Routes received with as path count over limit

Number of received routes that are discarded because the number of AS_Paths exceeds the upper limit.

Routes advertised with as path count over limit

Number of sent routes that are discarded because the number of AS_Paths exceeds the upper limit.

Routes received with As loop

Number of routes discarded due to repeated AS numbers. Last indicates the time when the AS number is repeated for the last time.

Routes received with Zero RD(0:0)

Number of routes discarded because the RD value is 0.

Routes received with no prefix

Number of routes discarded because there are no route prefixes.

Routes received with error path-attribute

Total number of routes with incorrect attributes.

Routes received with originator ID loop

Total number of routes with the original ID loop.

Routes received with total number over limit

Total number of routes that are discarded because the number of routes exceeds the upper limit.

Total 2 records have been recorded

Detailed record of the discarded BGP routes.

Record began time

Record start time.

Record time

Recording time.

Peer ID

IP address of a peer.

Reason

Reason why the packet is discarded.

Error data

Error information that is recorded.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >