reset ospf event-log

Use reset ospf event-log to clear OSPF log information.

Syntax

reset ospf [ process-id ] event-log [ lsa-flush | peer | spf ]

Views

User view

Predefined user roles

network-admin

Parameters

process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. If you do not specify this argument, the command clears OSPF log information for all OSPF processes.

lsa-flush: Clears LSA aging log information.

peer: Clears neighbor log information.

spf: Clears route calculation log information.

Usage guidelines

If you do not specify a log type, this command clears all log information.

Examples

# Clear OSPF route calculation log information for all OSPF processes.

<Sysname> reset ospf event-log spf

Related commands

display ospf event-log