debugging ospfv3 spf

Function

The debugging ospfv3 spf command enables debugging of the shortest path tree calculation and next hops of all OSPFv3 processes.

The undo debugging ospfv3 spf command disables debugging of the shortest path tree calculation and next hops of all OSPFv3 processes.

By default, the debugging of the shortest path tree calculation and next hops of all OSPFv3 processes is disabled.

Format

debugging ospfv3 process-id spf

undo debugging ospfv3 [ process-id ] spf

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPFv3 process.

The value is an integer ranging from 1 to 4294967295.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ospf debug

Usage Guidelines

Usage Scenario

After the process-id parameter is specified, the debugging ospfv3 spf command enables debugging of the shortest path tree calculation and next hops of the specified OSPFv3 process.

Example

# Enable debugging of the shortest path tree calculation and next hops of all OSPFv3 processes.
<HUAWEI> debugging ospfv3 spf
2011-07-27 03:18:30 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80852787;FileID: 0x22 Line: 811 Level: 0x5 OSPFv3 1  Area: 0 MT: 0 basemt SPF calculation started.
2011-07-27 03:18:30 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80852787;FileID: 0x1 Line: 145 Level: 0x5 OSPFv3 1  Area: 0 MT: 0 ver_type: 1 ver_id: 0x0 Add root vertex to SPF tree
2011-07-27 03:18:30 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80852787;FileID: 0x1 Line: 686 Level: 0x5 OSPFv3 1  Area: 0 MT: 0 vertex_type: 1 vertex_id: 0.0.0.0 vertex_option: 275 vertex_teif_cnt: 0     spf_cost: 0 spf_clc_num: 1 te_cost_diff: 0 path_cost: 16777215 Add vertex to SPF.
2011-07-27 03:18:30 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80852787;FileID: 0x22 Line: 820 Level: 0x5 OSPFv3 1  Area: 0 MT: 0 basemt SPF calculation completed
Table 1 Description of the debugging ospfv3 spf command output
Item Description
ver_type
  • 1: router node.
  • 2: network node.
ver_id

Node ID.

vertex_option

Node option (the same as the option in LSA).

spf_cost

Cost of the calculated node.

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