< Home

stub-router (OSPFv3)

Function

The stub router command configures a stub router.

The undo stub router command restores the default configuration.

By default, no stub router exists.

Format

stub-router [ on-startup [ interval ] ]

undo stub-router

Parameters

Parameter Description Value
on-startup interval Specifies the period during which a router keeps acting as a stub router. The value is an integer ranging from 5 to 65535, in seconds. By default, it is 500 seconds.

Views

OSPFv3 view

Default Level

2: Configuration level

Usage Guidelines

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

Example

# Configure a stub router.

<sysname> system-view
[sysname] ospfv3 1
[sysname-ospfv3-1] stub-router
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >