< Home

Configuring an OSPFv3 Stub Area

Context

Perform the following operations on each switch that runs OSPFv3 in the area that will be configured as a stub area:

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospfv3 [ process-id ]

    The OSPFv3 view is displayed.

  3. Run area area-id

    The OSPFv3 area view is displayed.

  4. Run stub [ no-summary ]

    The area is configured as a stub area.

    The parameter no-summary takes effect only when the stub command is configured on the ABR. If this parameter is configured, the ABR only sends the summary-LSA of a default route to the stub area. It does not generate other summary-LSAs, such as AS-external-LSAs or Summary-LSAs. This area is called a totally stub area.

  5. (Optional) Run default-cost cost

    The cost of the default route sent to the stub area is set.

    By default, this cost is 1.

    Step 5 is performed only on the ABR. It is not necessary to perform this step on other switches in the stub area.

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