
116
Command: timers spf <spf-delay> <spf-holdtime>
no timers spf
Function:
Adjust the value of the route calculating timer. The “
no timers spf
” command restores
relevant values to default.
Parameter: <spf-delay>
5 seconds by default.
<spf-holdtime>
10 seconds by default.
Command Mode: OSPF protocol mode.
Usage Guide:
This command configures the delay time between receiving topology change and
SPF calculation, further configured the hold item between two discontinuous SPF calculation.
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#timers spf 5 10
1.6.4 OSPF Example
1.6.4.1 Configuration Example of OSPF
Scenario 1: OSPF autonomous system.
This scenario takes an OSPF autonomous system consists of five
ES4624-SFP/ES4626-SFP switch for example, where layer3 SwitchA and SwitchE make up
OSPF area 0, layer3 SwitchB and SwitchC form OSPF area 1 (assume vlan1 interface of layer3
SwitchA belongs to area 0), layer3 SwitchD forms OSPF area 2 (assume vlan2 interface of
layer3 SwitchE belongs to area 0). SwtichA and SwitchE are backbone layer3 switches, SwtichB
and SwitchD are area edge layer3 switches, and SwitchC is the inside-area layer3 switch.
Fig 1-7 Network topology of OSPF autonomous system.
The configuration for layer3 SwitchA and SwitchE is shown below:
Layer 3 SwitchA
Configuration of the IP address for interface vlan1
SwitchA#config
SwitchA(config)# interface vlan 1
Area 1
Area 0
Area 2
SWITCHD
E1/1:100.1.1.1
vlan2
E1/2:10.1.1.1
vlan1
E1/1:10.1.1.2
vlan1
E1/2:20.1.1.1
vlan3
E1/1:20.1.1.2
vlan3
E1/2:30.1.1.1
vlan3
E1/1:100.1.1.2
vlan2
E1/1:30.1.1.2
vlan3
SwitchE
SwitchA
SwitchD
SwitchC
SwitchB