129
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
stub-router
Use
stub-router
to configure a router as a stub router.
Use
undo
stub-router
to restore the default.
Syntax
stub-router
undo stub-router
Default
No router is a stub router.
Views
OSPF view
Predefined user roles
network-admin
Usage guidelines
The router LSAs sent by the stub router over different links contain different link type values. A value of 3
represents a link to a stub network, and the cost of the link is not changed. A value of 1, 2, or 4 represents
a point-to-point link, a link to a transit network, or a virtual link, and the cost of such links is set to 65535.
Neighbors on such links will not send packets to the stub router as long as they have a route with a
smaller cost.
Examples
# Configure a stub router.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] stub-router