The stub router command configures a stub router.
The undo stub router command restores the default configuration.
By default, no stub router exists.
| 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. |
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.