R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)

129
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: Applies only to 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: Applies only to 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, you must issue the stub command on all routers attached to the area.
Examples
# Configure Area 1 as a stub area.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] stub
Related commands
default-cost
stub-router
Use stub-router to configure the router as a stub router.
Use undo stub-router to restore the default.
Syntax
stub-router
undo stub-router