479
Switch#config terminal
Switch(config)#router ospf 100
Switch(config-router)#default-metric 100
14.6.3.42 summary-address
Command: summary-address <A.B.C.D/M> [{not-advertise|tag<tag-value>}]
Function:
Summarize or restrain external route with specific address scope.
Parameter: <A.B.C.D/M>
address scope, shown in dotted decimal notation IPv4 address
plus mask length
not-advertised
restrain the external routes
tag<tag-value>
is the identification label of the external routes, which ranges
between 0~4294967295, and is defaulted at 0
Command Mode:
OSPF protocol mode
Usage Guide:
When routes are introduced into OSPF from other routing protocols, it is
required to advertise every route in a external LSA. This command is for advertise one
summary route for those introduced routes contained in specific network address and
masks, which could greatly reduces the size of the link state database.
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#summary-address 172.16.0.0/16 tag 3
14.6.3.43 timers spf
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
14.6.4 OSPF Example