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.
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. |
- |
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.
<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