reset ospf counters
Format
reset ospf [ process-id ] counters [ neighbor [ interface-type interface-number ] [ router-id ] ]
Parameters
Parameter | Description | Value |
---|---|---|
process-id | Indicates the OSPF process ID. If the parameter is not specified, all OSPF processes are restarted. | The value is an integer ranging from 1 to 65535. |
neighbor | The statistics of neighbors for the interface. | - |
interface-type interface-number | Specifies the type and the number of the interface. | - |
router-id | The Router ID of the neighbor. | The value is in dotted decimal notation. |
Usage Guidelines
When the wireless access controller restarts an OSPF process, the neighboring wireless access controller always reserves invalid LSAs. This occupies the memory of the system. These LSAs are deleted only when they expire, that is, when the LS age field in the LSA reaches 3600 seconds. After the reset ospf is used to restart an OSPF process and only when the router ID is changed, the wireless access controller generates an LSA in the set time and sets the LS age field to 3600 seconds. After receiving the LSA, other wireless access controllers delete the LSA immediately from their LSDBs. If a device does not send all the LSAs within the set time, other neighboring wireless access controllers still store some invalid LSAs.
Clearing OSPF statistics does not affect the normal operation of OSPF services.
Once deleted, statistics cannot be restored. Therefore, use caution when deleting statistics.