179
Parameters
default-route-advertise-always: Used 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: Used only on a stub ABR. With this keyword, the ABR advertises only a default route in a
Type-3 LSA into the stub area without advertising any other Type-3 LSA. The 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 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 (OSPF area view)
stub-router
Use stub-router to configure a router as a stub router.
Use undo stub-router to restore the default.
Syntax
stub-router [ external-lsa [ max-metric-value ] | include-stub | on-startup { seconds | wait-for-bgp
[ seconds ] } | summary-lsa [ max-metric-value ] ] *
undo stub-router
Default
No router is a stub router.
Views
OSPF view
Predefined user roles
network-admin
Parameters
external-lsa max-metric-value: Specifies a cost for the external LSAs, in the range of 1 to 16777215. The
default is 16711680 .
include-stub: Sets the cost of the stub links (link type 3) in Router LSAs to the maximum value 65535.
on-startup seconds: Specifies the router as a stub router during reboot, and specifies the timeout time in
the range of 5 to 86400 seconds.