The ospf link-quality low incr-cost command enables an OSPF interface to adjust the link cost based on link quality.
The undo ospf link-quality low incr-cost command disables an OSPF interface from adjusting the link cost based on link quality.
By default, an OSPF interface cannot adjust the link cost based on link quality.
Parameter | Description | Value |
---|---|---|
max-reachable | Adjusts the link cost of an OSPF 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. |
low | Configures an OSPF 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 ospf link-quality low incr-cost command to configure an OSPF interface to adjust the link cost based on link quality. If an OSPF interface detects that its link quality is low, the OSPF 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 OSPF interface restores the link cost.Prerequisites
OSPF has been enabled using the ospf enable command in the interface view.