debugging packet bgp

Function

The debugging packet bgp command enables the debugging of BGP packets.

The undo debugging packet bgp command disables the debugging of BGP packets.

By default, debugging of BGP packets is disabled.

Format

debugging packet bgp { remoteIpv4Addr | remoteIpv6Addr } [ vpn-instance vpnInstanceName ] [ verbose ] *

undo debugging packet bgp { remoteIpv4Addr | remoteIpv6Addr } [ vpn-instance vpnInstanceName ]

Parameters

Parameter Description Value
remoteIpv4Addr

Specifies the IPv4 address of a peer.

The value is in dotted decimal notation.

remoteIpv6Addr

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 vpnInstanceName

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.

verbose

Displays detailed information.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
bgp debug

Usage Guidelines

Usage Scenario

To check all-process information about BGP packets, run the debugging packet bgp command to enable the debugging function.

Follow-up Procedure

Run the undo debugging packet bgp command to disable the debugging of BGP packets.

Precautions

After a debugging function is enabled, a great amount of debugging information will be displayed, degrading system performance. Therefore, disable the debugging function after it is complete.

Example

# Display all-process information about BGP packets received by the peer with IP address 192.168.1.102.
<HUAWEI> debugging packet bgp 192.168.1.102
BGP:
----------------------------------------------
My Cid          : 0x8013041A                  
Peer Cid        : 0x80650402                  
VS              : 0                           
Handle          : 1                           
TraceNum        : 0                           
Direction       : Up                          
Status          : 0                           
Time            : 2013-3-13 18:54:8 915       
Data            :                             
----------------------------------------------
Table 1 Description of the debugging packet bgp command output
Item Description
My Cid

Component CID.

Peer Cid

Remote peer CID.

VS

Virtual System.

Handle

Protocol packet processing handle.

TraceNum

Trace number.

Direction

Packet direction (sending or receiving).

Status

Packet status (normal or discarded).

Time

Timestamp.

Data

Input and output data.

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