debugging ospfv3 route-calc

Function

The debugging ospfv3 route-calc command enables debugging of route calculation of all OSPFv3 processes.

The undo debugging ospfv3 route-calc command disables debugging of route calculation of all OSPFv3 processes.

By default, the debugging of route calculation of all OSPFv3 processes is disabled.

Format

debugging ospfv3 process-id route-calc { all | intra-area | asbr | ase | inter-area | nssa }

debugging ospfv3 process-id route-calc { intra-area | ase | inter-area | nssa } filter address-ipv6 mask-ipv6

debugging ospfv3 process-id route-calc asbr filter address-ipv4

undo debugging ospfv3 [ process-id ] route-calc { all | intra-area | asbr | ase | inter-area | nssa }

undo debugging ospfv3 process-id route-calc { intra-area | ase | inter-area | nssa } filter address-ipv6 mask-ipv6

undo debugging ospfv3 process-id route-calc asbr filter address-ipv4

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPFv3 process.

The value is an integer ranging from 1 to 4294967295.

all

Displays the debugging information about all types of OSPFv3 route calculation.

-

intra-area

Displays debugging information about route calculation of LSAs in the area.

-

asbr

Displays debugging information about route calculation of ASBR LSA.

-

ase

Displays debugging information about route calculation of ASE LSA.

-

inter-area

Displays debugging information about route calculation of LSAs between areas.

-

nssa

Displays debugging information about route calculation of NSSA-LSA.

-

filter

Indicates the filtering policy.

-

address-ipv6

Indicates Destination of IP address.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

mask-ipv6

Indicates length of IP address mask.

The value is an integer that ranges from 0 to 128.

address-ipv4

Indicates Destination of ASBR IP address.

The value is in dotted decimal notation.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ospf debug

Usage Guidelines

Usage Scenario

The debugging ospfv3 route-calc command helps locate faults.

Example

# Enable debugging of route calculation of class-5 LSAs in OSPFv3 processes.
<HUAWEI> debugging ospfv3 route-calc ase
2011-07-27 04:56:51 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80842783;
FileID: 0x4c Line: 531 Level: 0x5 OSPFv3 1
  Route 2001:DB8::/54 is Updated (All Attributes Changed)  Type: EXTERNAL, Prio: 4, UpdateNum : 3111973, LockInfo: 0x04, LSAInfo: 0x00, Flags: 0x61008083 Cost: 1, Cost Type: 2, Area: 0.0.0.0, Transit Area: 0.0.0.0, Tag: 1, Nexthops: 1, IID: 2332033082, Base Count: 1, Direct Count: 0
2011-07-27 04:56:51 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80842783;
FileID: 0x19 Line: 729 Level: 0x5 OSPFv3 1
  External Route 2001:DB8::/54 IID 2332033082 added/Updated to RM
2011-07-27 04:56:51 HUAWEI %%01OSPFV2COMM/6/OSPF_DEBUG(d):CID=0x80842783;
FileID: 0x4b Line: 2586 Level: 0x5 OSPFv3 1
  Best path calculation end for Route 2001:DB8::/54
Table 1 Description of the debugging ospfv3 route-calc command output
Item Description
OSPFv3

Process ID.

Route

Route.

UpdateNum

Update times.

Cost

Cost.

Cost Type
  • 1: class-1 cost of LSAs outside the autonomous system.
  • 2: class-2 cost of LSAs outside the autonomous system.
Transit Area

Transmission area.

Base Count

Number of routes in the base table.

Direct Count

Number of routes in the direct-connect table.

IID

ecmp-group ID.

CID

Component ID.

FileID

File ID.

Line

Line number.

Level

Level.

Type

Route type.

Prio

Priority.

LockInfo

Lock information.

LSAInfo

LSA information.

Flags

Flag bit.

Area

Area number.

Tag

Label.

Nexthops

Next hop.

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