debugging rm ip

Function

The debugging rm ip command enables route management debugging. After the function is enabled, debugging information about route management is output on a screen.

The undo debugging rm ip command disables route management debugging.

By default, the debugging of route management is disabled.

Format

debugging rm ip { { all | download | producer | importer | subscriber } [ ip-prefix ip-prefix-name ] | event }

undo debugging rm ip { all | event | download | producer | importer | subscriber }

Parameters

Parameter Description Value
all

Enables all debugging functions.

-

download

Enables information debugging for the route delivery process.

-

producer

Enables information debugging for producer-related processes.

-

importer

Enables information debugging for importer-related processes.

-

subscriber

Enables information debugging for subscriber-related processes.

-

ip-prefix ip-prefix-name

Outputs only the debugging information corresponding to an IP address prefix.

The value is a string of 1 to 169 characters.

event

Enables information debugging for event handling processes defined in the route management module.

-

ip

Enables IP route debugging of the route management module.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
route-base debug

Usage Guidelines

Usage Scenario

To check an internal route management process, you can enable debugging for the process, so that information about the process is output to a screen.

Different debugging functions are designed for different processes. The following debugging options are available:

  • subscriber: If you select this option, debugging information about subscriber-related processes is displayed. This option can be selected to output relevant information for analysis when a route subscriber cannot subscribe to routes.
  • importer: If you select this option, debugging information about importer-related processes is displayed. This option can be selected to output relevant information for analysis when a route importer cannot import routes.
  • download: If you select this option, debugging information about the route delivery process is displayed. This option can be selected to output relevant information for analysis when routes forwarded by the bottom layer are inconsistent with routes in route management.
  • event: If you select this option, debugging information about event handling processes defined in the route management module is displayed. This option can be used with other options, so that event debugging is also enabled after debugging functions are enabled.
  • producer: If you select this option, debugging information about producer-related processes is displayed. This option can be selected to output relevant information for analysis when the routing protocol exists but the route management module does not contain information about a route.
  • all: If you select this option, debugging information about all processes is displayed. This option can be selected to output relevant information for analysis when you are not sure which option to select or the cause of a fault is not clear.

Prerequisites

Global terminal debugging must be simultaneously enabled for relevant debugging information to be output on the screen.

Example

# Enable all the debugging functions of the route management module.
<HUAWEI> debugging rm ip all
<HUAWEI> terminal debugging
Info: Current terminal debugging is on.
2011-03-18 02:16:39 VRPV8 %%01rmbase/3/RM_DEG_STRING(d):CID=2154899267;A message was received. (SN=[0], SendID=[0x6f2735],
INTF=[0x3], SUBINTF=[0x0], TotalLen=[60], MsgLen=[60], TransNo=[0], MsgType=[MSG_RMI_ADD_PRODUCER], ucReserve=[0x0])
2011-03-18 02:16:39 VRPV8 %%01rmbase/3/RM_DEG_STRING(d):CID=2154899267;A producer was created.
PID=0x6f2735,VPID=0x0,Protocol=1,Process=0,Service=0x80000000,Ver=0,Vrf=1,AF=4,Topo=0,Table=1
Table 1 Description of the debugging rm ip command output
Item Description
CID

CID of the APP component.

SN

Sequence number.

SendID

ID of the message sender.

INTF

Interface ID.

SUBINTF

Sub-Interface ID.

TotalLen

Total length of the message.

MsgLen

Message length internally processed.

TransNo

Transmit sequence number of the message.

MsgType

Message type.

ucReserve

Reserved bits.

PID

Process ID.

VPID

Virtual process ID used for iteration result query.

Protocol

Protocol number.

Process

Protocol process number.

Service

Service type.

Ver

Protocol version number.

Vrf

VPN Instance ID.

AF

IPv4 address family.

Topo

Topology ID.

Table

Table ID.

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