debugging rpki packet

Function

The debugging rpki packet command enables RPKI packet output debugging.

The undo debugging rpki packet command disables RPKI packet output debugging.

By default, RPKI packet output debugging is disabled.

Format

debugging rpki packet all

debugging rpki packet [ vpn-instance vpn-instance-name ] session { ipv4Addr | ipv6Addr }

undo debugging rpki packet all

undo debugging rpki packet [ vpn-instance vpn-instance-name ] session { ipv4Addr | ipv6Addr }

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the VPN instance to which the RPKI session belongs.

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.

session ipv4Addr

Specifies the IPv4 address used for the RPKI session.

The value is in dotted decimal notation.

session ipv6Addr

Specifies the IPv6 address used for the RPKI session.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

all

Indicates all RPKI packets.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
rpki debug

Usage Guidelines

Usage Scenario

If an exception occurs in an RPKI session, run the debugging rpki packet command to enable RPKI packet output debugging. The command output can help you locate the problem.

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

# Enable RPKI packet output debugging for the RPKI session with 10.1.1.1 as the session address.
<HUAWEI> debugging rpki packet session 10.1.1.1
Feb  1 2019 03:43:54.645 HUAWEI %%01BGP/3/DEBUG_INFO(d):CID=0x806d0403;
         RPKI(VPN 0): Sent message to 10.1.1.1
 (Displaying bytes from 1 to 8) 
 00 02 00 00 00 00 00 08
Feb  1 2019 03:43:54.645 HUAWEI %%01BGP/3/DEBUG_INFO(d):CID=0x806d0403;
         RPKI(VPN 0): Received message from 10.1.1.1
 (Displaying bytes from 1 to 8) 
 00 03 40 DF 00 00 00 08
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic