The default-cost command specifies the cost of the default route that is sent to the stub area by OSPFv3.
The undo default-cost command restores the cost.
By default, the cost of the default route that is sent to the stub area by OSPFv3 is 1.
default-cost costval
undo default-cost
Specifies the cost of the default route that is sent to the stub area by OSPFv3.
The value ranges from 0 to 16777214.
OSPFv3 area view
2: Configuration level
Usage Scenario
If multiple OSPFv3 processes are enabled, the command takes effect only on this process.
<HUAWEI> system-view [~HUAWEI] ospfv3 1 [*HUAWEI-ospfv3-1] area 1 [*HUAWEI-ospfv3-1-area-0.0.0.1] stub [*HUAWEI-ospfv3-1-area-0.0.0.1] default-cost 60