No area is stub area by default.
To cancel the no-summary configuration on the ABR, execute the stub command again to overwrite it.
To configure an area as a stub area, all routers attached to it must be configured with this command.
Related commands: default-cost.
Examples
# Configure Area1 as a stub area.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 1
[Sysname-ospf-100-area-0.0.0.1] stub
stub-router
Syntax
stub-router
undo stub-router
View
OSPF view
Default level
2: System level
Parameters
None
Description
Use the stub-router command to configure the router as a stub router.
Use the undo stub-router command to restore the default.
By default, no router is configured as a stub router.
The router LSAs from the stub router may contain different link type values. A value of 3 means a link to
the stub network, so the cost of the link remains unchanged. A value of 1, 2 or 4 means a point-to-point
link, a link to a transit network or a virtual link; in such cases, a maximum cost value of 65535 is used.
If other neighbors find the links to the stub router have such big costs, they will not send packets to the stub
router as long as a route with a smaller cost exists.
Examples
# Configure a stub router.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] stub-router
transmit-pacing
Syntax
transmit-pacing interval interval count count
126