debugging static-route

Function

The debugging static-route command enables debugging of static routes. After this command is run, the debugging information about the IPv4 component and the IPv6 component of static routes are output on the screen.

The undo debugging static-route command disables debugging of static routes.

By default, the debugging of static routes is disabled.

Format

undo debugging static-route { all | bfd | nexthop | prefix-update | iid-update | config | message }

debugging static-route { all | bfd | nexthop | prefix-update | iid-update | config | message }

Parameters

Parameter Description Value
all

Enables all debugging functions.

-

nexthop

Indicates information about outbound interface state and next-hop iteration.

-

prefix-update

Indicates information about prefix update.

-

iid-update

Indicates information about IID update.

-

config

Indicates configuration information about static routes.

-

message

Indicates information about abnormal message receiving and sending.

-

bfd

Indicates information about BFD debugging.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
route-base debug

Usage Guidelines

Usage Scenario

To enable debugging of the components of static routes, run the debugging static-route command. In addition, the terminal debugging command must be run to enable terminal output of the system.

To disable debugging of the components of static routes, run the undo debugging static-route command. Then run the undo terminal debugging command to disable terminal output of the system.

Example

# Enable debugging of static routes to view all of debugging information about static routes.
<HUAWEI> debugging static-route all
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic