< Home

reset ospfv3

Function

The reset ospfv3 command restarts the OSPFv3 process.

The reset ospfv3 counters command resets OSPFv3 statistics.

Format

reset ospfv3 { process-id | all } [ graceful-restart [ extend-period period ] ]

reset ospfv3 { process-id | all } counters [ neighbor [ interface-type interface-number ] [ router-id ] ]

Parameters

Parameter Description Value
process-id Specifies the OSPFv3 process number. The value is an integer that ranges from 1 to 65535.
all Restarts all OSPFv3 processes. -
graceful-restart Restarts the OSPFv3 process in GR mode. -
extend-period period Prolongs the current GR period. The value is an integer that ranges from 1 to 1800, expressed in seconds.
neighbor Resets neighbor statistics. -
interface-type interface-number Specifies the type and number of the interface. -
router-id Specifies the router ID of a neighbor. It is in dotted decimal notation.

Views

User view

Default Level

2: Configuration level

Usage Guidelines

You can choose general restart or graceful restart through the parameters.

By setting extend-period, you can prolong the current GR period. The prolonged GR period becomes invalid after the process restarts. This parameter takes effect for one time. That is, after the switch performs GR next time, the value of the period returns to the one set by using graceful-restart [ extend-period period ].

If OSPFv3 connections are reset, OSPFv3 neighbor relationships will be interrupted and the original information cannot be restored. Exercise caution before running the reset ospfv3 command.

Example

# Reset OSPFv3 statistics.

<HUAWEI> reset ospfv3 1 counters
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >