The stub-router command configures the stub router.
The undo stub-router command restores the default configuration.
By default, the FW is not configured as a stub router.
| Parameter | Description | Value |
|---|---|---|
| on-startup interval | Specifies the interval during which a FW acts as a stub router when it restarts or a master/slave main control board switchover is performed. | The value is an integer that ranges from 5 to 65535, in seconds. By default, the value is 500 seconds. |
After the stub-router command is configured on a ospf device, the device informs other devices not to use this stub router to forward data by increasing the metric (≥65535) of the links in the LSA that is generated by the device. The metric is not infinite. Therefore, the routes to this stub router still exist. The metric of the LSA links that is generated by the stub router is very high.