H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 3 OSPF Configuration Commands
3-51
Description
Use the snmp-agent trap enable ospf command to enable the OSPF TRAP function.
Use the undo snmp-agent trap enable ospf command to disable the OSPF TRAP
function.
This command does not apply to the OSPF processes that are started after the
command is executed.
By default, a switch does not send TRAP packets when OSPF fails to work normally.
For details about SNMP TRAP configuration, refer to section System Management in
this manual.
Examples
# Enable the TRAP function for OSPF process 100.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] snmp-agent trap enable ospf 100
3.1.49 spf-schedule-interval
Syntax
spf-schedule-interval interval
undo spf-schedule-interval
View
OSPF view
Parameters
interval: SPF calculation interval in seconds, in the range 1 to 10. The default is 5.
Description
Use the spf-schedule-interval command to configure the OSPF route calculation
interval.
Use the undo spf-schedule-interval command to restore the default setting.
Based on its LSDB, an OSPF router calculates the shortest route tree with itself being
the root, using which to determine the next hop to a destination. Through adjusting SPF
calculation interval, you can protect bandwidth and router resources from being
over-consumed due to frequent network changes.
Examples
# Set the OSPF route calculation interval to 6 seconds.
<H3C> system-view