F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices Network Management Command Reference-6PW100

Table Of Contents
372
Usage guidelines
Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself being the root.
OSPF uses the shortest path tree to determine the next hop to a destination. By adjusting the SPF
calculation interval, you can prevent bandwidth and router resources from being over-consumed due to
frequent topology changes.
When network changes are not frequent, OSPF performs SPF calculations at the minimum-interval. If
network changes become frequent, the SPF calculation interval is incremented by the incremental-interval
each time a calculation happens until the maximum-interval is reached.
Examples
# Configure the maximum SPF calculation interval as 10 seconds, minimum interval as 500 milliseconds
and incremental interval as 200 milliseconds.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] spf-schedule-interval 10 500 200
stub (OSPF area view)
Use stub to configure an area as a stub area.
Use undo stub to remove the configuration.
Syntax
stub [ default-route-advertise-always | no-summary ] *
undo stub
Default
No area is stub area.
Views
OSPF area view
Default command level
2: System level
Parameters
default-route-advertise-always: Usable only on a stub ABR. With this keyword, the ABR advertises a
default route in a Type-3 LSA into the stub area regardless of whether FULL-state neighbors exist in the
backbone area. Without this keyword, the ABR advertises a default route in a Type-3 LSA into the stub
area only when at least one FULL-state neighbor exists in the backbone area.
no-summary: Usable only on a stub ABR. With it configured, the ABR advertises only a default route in
a Summary LSA into the stub area (such a stub area is a totally stub area).
Usage guidelines
To remove the default-route-advertise-always or stub no-summary configuration on the ABR, execute the
stub command again to overwrite it.
To configure an area as a stub area, issue the stub command on all routers attached to the area.
Examples
# Configure Area1 as a stub area.
<Sysname> system-view