No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


Command Reference

CloudEngine 8800, 7800, 6800, and 5800 V200R002C50

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
stub-router (OSPFv3)

stub-router (OSPFv3)


The stub-router command configures a device as stub router.

The undo stub-router command restores the default configuration.

By default, no stub router exists.


stub-router [ on-startup [ interval ] ]

undo stub-router


Parameter Description Value
on-startup [ interval ] Specifies the interval during which a device acts as a stub router when the device is restarted or faulty.
  • If on-startup is not specified, the device is always a stub router, even if the cost of all routes advertised by the device is 65535.
  • If on-startup is specified, the device works as a stub router only when it restarts or is faulty. The hold time of the stub router state is determined by interval parameter. If the interval parameter is not configured, the default interval (500 seconds) is used.
The value is an integer ranging from 5 to 65535, in seconds. By default, it is 500 seconds.


OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

After the stub-router command is configured on a switch, the stub router informs other OSPFv3 devices not to use this stub router for data forwarding by increasing the metrics of the links in the Router-LSA generated by the switch. Since the metric is not infinite, the devices to this stub router still exist. The metrics of all links in the device Router-LSAs generated by the stub router are set to 65535.


# Configure the device as a stub router.

<HUAWEI> system-view
[~HUAWEI] ospfv3 1
[*HUAWEI-ospfv3-1] stub-router
Updated: 2019-03-21

Document ID: EDOC1000166501

Views: 89429

Downloads: 405

Average rating:
This Document Applies to these Products

Related Version

Related Documents

Previous Next