Configuring a Stub Router

When the device is overloaded and cannot forward any other packets, you can configure it as a stub router. After the router is configured as a stub router, other OSPFv3 devices do not use this device to forward data, but they can have a route to this stub router.

Context

A stub router controls traffic and instruct other OSPFv3 devices not to use it to forward data. Other OSPFv3 devices can have a route to the stub router.

The link cost in the Router LSAs generated by the stub router is set to the maximum value (65535).

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ]

    The OSPFv3 view is displayed.

  3. Run stub-router [ [ on-startup [ interval ] ] | [ intra-area-prefix-lsa ] | [ external-lsa [ externallsa-metric ] ] | [ inter-area-prefix-lsa [ interareaprefixlsa_metric ] ] ] *

    A stub router is configured.

    The parameter on-startup [ interval ] specifies the interval during which the router remains a stub router.

    The stub router configured through this command has nothing to do with the routers in a stub area.

  4. Run commit

    The configuration is committed.

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