stub (OSPFv3 area view)
Use stub to configure an area as a stub area.
Use undo stub to restore the default.
Syntax
stub [ default-route-advertise-always | no-summary ] *
undo stub
Default
No area is configured as a stub area.
Views
OSPFv3 area view
Predefined user roles
network-admin
Parameters
default-route-advertise-always: Enables the ABR to always advertise a default route into the stub area.
no-summary: Enables the ABR to advertise only a default route in an Inter-Area-Prefix-LSA into the stub area. No AS-external-LSA, Inter-Area-Prefix-LSA, or other Inter-Area-Router-LSA is advertised in the area. The area is a totally stub area.
Usage guidelines
To remove the no-summary configuration on an ABR, execute the stub command again to overwrite it.
To configure an area as a stub area, execute the stub command on all routers attached to the area.
Examples
# Configure OSPFv3 area 1 as a stub area.
<Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 1 [Sysname-ospfv3-1-area-0.0.0.1] stub
Related commands
default-cost (OSPFv3 area view)