The ospfv3 link-quality low incr-cost command enables an OSPFv3 interface to adjust the link cost based on link quality.
The undo ospfv3 link-quality low incr-cost command disables an OSPFv3 interface from adjusting the link cost based on link quality.
By default, an OSPFv3 interface cannot adjust the link cost based on link quality.
Parameter | Description | Value |
---|---|---|
max-reachable | Adjusts the link cost of an OSPFv3 interface to the maximum link cost 65535. |
- |
cost |
Specifies the link cost adjustment value. After you specify this parameter:
|
The value is an integer ranging from 1 to 65534. |
instance instance-id | Specifies an interface instance ID. |
The value is an integer ranging from 0 to 255. The default value is 0. |
low | Configures an OSPFv3 interface to increase the link cost when the link quality is low. |
- |
Usage Scenario
A bit error refers to the deviation between a bit that is sent and the bit that is received. Bit errors caused by optical fiber aging or optical signal jitter are inevitable on carrier networks. During data transmission, a high bit error rate will degrade or even interrupt services.To ensure network reliability, run the ospfv3 link-quality low incr-cost command to configure an OSPFv3 interface to adjust the link cost based on link quality. If an OSPFv3 interface detects that its link quality is low, the OSPFv3 interface increases the link cost, so that its link, which has a higher bit error rate, is not used by the optimal route. After the link quality restores, the OSPFv3 interface restores the link cost.
Prerequisites
Before running this command, run the ipv6 enable command to enable the IPv6 function in the interface view.
<HUAWEI> system-view [~HUAWEI] ospfv3 1 [*HUAWEI-ospfv3-1] quit [*HUAWEI] interface GigabitEthernet 0/1/0 [*HUAWEI-GigabitEthernet0/1/0] ipv6 enable [*HUAWEI-GigabitEthernet0/1/0] ospfv3 1 area 0 instance 1 [*HUAWEI-GigabitEthernet0/1/0] ospfv3 link-quality low incr-cost max-reachable instance 1