Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Chapter 3 OSPF Configuration Commands
3-60
3.1.59 stub
Syntax
stub
[
no-summary
]
undo stub
View
OSPF area view
Parameters
no-summary
: Usable only on 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 known as a
totally stub area).
Description
Use the
stub
command to configure an area as a stub area.
Use the
undo stub
command to remove the configuration.
No area is stub area by default. 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
3.1.60 stub-router
Syntax
stub-router
undo stub-router
View
OSPF view
Parameters
None