127
snmp trap rate-limit
Use snmp trap rate-limit to configure the number of output traps in a specific time.
Use undo snmp trap rate-limit to restore the default.
Syntax
snmp trap rate-limit interval trap-interval count trap-number
undo snmp trap rate-limit
Default
OSPF outputs 7 traps in 10 seconds.
Views
OSPF view
Predefined user roles
network-admin
Parameters
trap-interval: Specifies the trap output interval in the range of 1 to 60 seconds.
trap-number: Specifies the number of output traps in a specific time, in the range of 0 to 300.
Examples
# Configure OSPF to output 10 traps in 5 seconds.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] snmp trap rate-limit interval 5 count 10
spf-schedule-interval
Use spf-schedule-interval to set the OSPF SPF calculation interval.
Use undo spf-schedule-interval to restore the default.
Syntax
spf-schedule-interval maximum-interval [ minimum-interval [ incremental-interval ] ]
undo spf-schedule-interval
Default
The maximum calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the
incremental interval is 200 milliseconds.
Views
OSPF view
Predefined user roles
network-admin
Parameters
maximum-interval: Specifies the maximum OSPF SPF calculation interval in the range of 1 to 60 seconds.