Stub-Router - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

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.
Note that, to cancel the no-summary configuration on the ABR, simply 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. Thus, other neighbors find the links to the stub router have such big costs, they will not
send packets to the stub router for forwarding as long as there is a route with a smaller cost.
Examples
# Configure a stub router.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] stub-router
4-65

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents