debugging ospf import

Function

The debugging ospf import command enables debugging for the routes imported by an OSPF process.

The undo debugging ospf import command disables debugging for the routes imported by an OSPF process.

By default, debugging is disabled for the routes imported by an OSPF process.

Format

debugging ospf process-id import [ filter ip-prefix ip-prefix-name ]

undo debugging ospf [ process-id ] import [ filter ip-prefix ip-prefix-name ]

Parameters

Parameter Description Value
process-id

Specifies the ID of an OSPF process.

The value is an integer ranging from 1 to 4294967295.

filter

Indicates a policy to be used to filter debugging information.

-

ip-prefix ip-prefix-name

Specifies the name of an IPv4 prefix list to be used to filter debugging information.

The name is a string of 1 to 169 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ospf debug

Usage Guidelines

Usage Scenario

To enable debugging for the routes imported by an OSPF process so that debugging information can be displayed to help troubleshooting, run the debugging ospf import command.

Example

# Enable debugging for the routes imported by all OSPF processes.
<HUAWEI> debugging ospf import
Sep  4 2017 03:28:19.379 HUAWEI %%01OSPF/6/OSPF_DEBUG(d):CID=0x808400ae;
FileID: 0x2a Line: 3115 Level: 0x5 OSPF 1 Add new route [6.6.6.6/32] into routing table.
Sep  4 2017 03:28:19.379 HUAWEI %%01OSPF/6/OSPF_DEBUG(d):CID=0x808400ae;
FileID: 0x2a Line: 2697 Level: 0x5 OSPF 1 Create new route source success.
Sep  4 2017 03:28:19.379 HUAWEI %%01OSPF/6/OSPF_DEBUG(d):CID=0x808400ae;
FileID: 0x2a Line: 2751 Level: 0x5 OSPF 1 Imported one new route.<Sum:1>
Sep  4 2017 03:28:19.381 HUAWEI %%01OSPF/6/OSPF_DEBUG(d):CID=0x808400ae;
FileID: 0x2e Line: 1574 Level: 0x6 OSPF 1 [6.6.6.6/32] Update LSA.
Table 1 Description of the debugging ospf import command output
Item Description
CID

Component ID.

FileID

File ID.

Line

Line ID.

Level

Level.

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