Configuring a Stub Router

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.

Context

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.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id ]

    The OSPF process view is displayed.

  3. Run stub-router [ [ on-startup [ interval ] ] | [ include-stub ] | [ external-lsa [ externallsa-metric ] ] | [ summary-lsa [ summarylsa-metric ] ] ] *

    A stub router is configured.

    The stub router configured using this command is not necessarily related to the routers in the stub area.

  4. (Optional) Run maximum-link-cost cost

    The maximum cost is set for OSPF links.

  5. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >