3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1158 CHAPTER 76: OSPF CONFIGURATION COMMANDS
View OSPF area view
Parameters no-summary: Used 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 a stub area by default.
To cancel the no-summary configuration on an ABR, use the stub command
again to overwirte the previous configuration.
To configure an area as a stub area, all routers attached to it must be configured
with this command.
Related commands: default-cost (OSPF area view).
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
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.