event-log

Use event-log to set the number of OSPF logs.

Use undo event-log to remove the configuration.

Syntax

event-log { lsa-flush | peer | spf } size count

undo event-log { lsa-flush | peer | spf } size

Default

The number of LSA aging logs, route calculation logs, or neighbor logs is 10.

Views

OSPF view

Predefined user roles

network-admin

Parameters

lsa-flush: Specifies the number of LSA aging logs.

peer: Specifies the number of neighbor logs.

spf: Specifies the number of route calculation logs.

size count: Specifies the number of OSPF logs, in the range of 0 to 65535.

Examples

# Set the number of route calculation logs to 50 in OSPF process 100.

<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] event-log spf size 50