177
virtneighbor-state-change
: Specifies notifications about the neighbor state change of a virtual interface.
Examples
# Disable SNMP notifications for OSPF.
<Sysname> system-view
[Sysname] undo snmp-agent trap enable ospf
snmp trap rate-limit
Use
snmp trap rate-limit
to configure the SNMP notification output interval and the maximum number of
SNMP notifications that can be output at each interval.
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 up to seven SNMP notifications within 10 seconds.
Views
OSPF view
Predefined user roles
network-admin
Parameters
trap-interval
: Specifies the SNMP notification output interval in the range of 1 to 60 seconds.
trap-number
: Specifies the number of SNMP notifications output by OSPF at each interval, in the range
of 0 to 300.
Examples
# Configure OSPF to output up to 10 SNMP notifications within 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.