To ensure that a route is not interrupted during flapping-triggering maintenance operations such as upgrade, you can configure a router as a stub router to allow traffic to bypass the route on the stub router.
After a stub router is configured, the route on the stub router will not be preferentially selected. After the route cost is set to the maximum value 65535, traffic generally bypasses the router. This ensures an uninterrupted route on the router during maintenance operations such as upgrade.
The system view is displayed.
The OSPF process view is displayed.
A stub router is configured.
The stub router configured using this command is not necessarily related to the routers in the stub area.
The maximum cost is set for OSPF links.
The configuration is committed.