< Home

Clearing OSPF Information

Context

OSPF information cannot be restored after you clear it. Therefore, confirm the action before you use the commands.

To clear OSPF information, run the following reset commands in the user view.

Procedure

  • Run the reset ospf [ process-id ] counters [ neighbor [ interface-type interface-number ] [ router-id ] ] command to reset OSPF counters.

    • counters: indicates OSPF counters.
    • neighbor: indicates neighbor information on a specified interface.

  • Run the reset ospf [ process-id ] redistribution command in the user view to re-import routes by OSPF.
  • Run the reset gtsm statistics all command to clear the GTSM statistics from the device.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >