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.
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.
|
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 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.