debugging tnlm

Function

The debugging tnlm command enables debugging of tunnel management.

The undo debugging tnlm command disables debugging of tunnel management.

By default, debugging of tunnel management is disabled.

Format

debugging tnlm { all | event | producer | consumer | download }

undo debugging tnlm { all | event | producer | consumer | download }

Parameters

Parameter Description Value
all

Outputs information about all processes.

-

event

Outputs information about the process related to the events defined in the tunnel management component.

-

producer

Outputs information about the process related to tunnel producer.

-

consumer

Outputs information about the process related to tunnel consumer.

-

download

Outputs information about the process related to tunnel advertisement.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
tunnel debug

Usage Guidelines

Usage Scenario

The debugging tnlm command to enable debugging of tunnel management so that you can view the internal processes of the tunnel management component. The process information is output on the screen.

Different debugging functions are associated with different processes. The available debugging options are as follows:

  • backup: outputs information about the process related to backup. When backup cannot be completed or data is inconsistent, enable the option to perform analysis.
  • consumer: outputs information about the process related to tunnel consumer. When a tunnel consumer cannot subscribe to tunnels correctly, enable the option to perform analysis.
  • download: outputs information about the process related to tunnel advertisement. When the status of the tunnel interface is incorrect, enable the option to perform analysis.
  • event: outputs information about the process related to the events defined in the tunnel management component. This option is used with other options. Event debugging can be enabled when other debugging functions are enabled.
  • producer: outputs information about the process related to tunnel producer. When a tunnel exists but the tunnel information does not exist in the tunnel management component, enable the option to perform analysis.
  • all: outputs information about all processes. When you cannot determine which debugging option will be enabled or the problem cause cannot be determined, enable this debugging option to perform analysis.

Example

# Enable all debugging functions of tunnel management.
<HUAWEI> debugging tnlm all
<HUAWEI> terminal debugging
Info: Current terminal debugging is on.
<HUAWEI>
2011-08-27 07:46:30 HUAWEI %%01TNLMBASE/3/DEBUG_INFO(d):CID=2149590854;
TNLM: TIB: Processing update tunnel message. (PID=0x8f271c)
2011-08-27 07:46:38 HUAWEI %%01TNLMBASE/3/DEBUG_INFO(d):CID=2149590854;
TNLM: TIB: Processing update tunnel message. (PID=0x1d275b)
2011-08-27 07:46:59 HUAWEI %%01TNLMBASE/3/DEBUG_INFO(d):CID=2149590854;
TNLM: TIB: Processing update tunnel message. (PID=0x8f271c)
Table 1 Description of the debugging tnlm command output
Item Description
PID

Process ID.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.