Configuring OSPF Flush LSA Source Tracing

OSPF flush LSA source tracing helps improve the efficiency in locating the devices that flushed OSPF LSAs.

Usage Scenario

If network-wide OSPF LSPs are deleted, purge LSPs are flooded, which adversely affects network stability. In this case, source tracing must be implemented to locate the root cause of the fault immediately to minimize the impact. However, OSPF itself does not support source tracing. A conventional solution is isolation node by node until the faulty node is located, but the solution is complex and time-consuming. To address this problem, enable OSPF flush LSA source tracing.

The following steps are optional, choose them as required.

Pre-configuration Tasks

Before configuring OSPF flush LSA source tracing, complete the following task:

Procedure

  1. Run system-view

    The system view is displayed.

    To disable OSPF flush LSA source tracing globally, run the ospf flush-source-trace disable command.

  2. Run interface interface-type interface-number

    The interface view is displayed.

    To disable OSPF flush LSA source tracing on an interface, run the ospf flush-source-trace block command.

  3. Run quit

    The system view is displayed.

  4. Run ospf flush-source-trace port port-number

    A UDP port is configured for OSPF flush LSA source tracing packets.

    The OSPF flush LSA source tracing port receives and sends OSPF flush LSA source tracing packets, and the port is identified by a UDP port number.

  5. Run quit

    The user view is displayed.

  6. Run reset ospf process-id flush-source-trace

    OSPF flush LSA source tracing is reset.

    If a large number of OSPF flush LSA source tracing statistics are stored on a device, you can run the reset ospf flush-source-trace command to reset the statistics. After the command is run, all OSPF flush LSA source tracing statistics are reset, and the device needs to re-negotiate the OSPF flush LSA source tracing capability with neighboring devices.

  7. Run commit

    The configuration is committed.

Checking the Configurations

Run the display ospf [ process-id ] [ area area-id ] flush-source-trace analysis-info command to check information about definitely and possibly faulty nodes identified by OSPF flush LSA source tracing.

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