The cluster adjust add command sets the step for routing protocol cost adjustment in a business group.
The undo cluster adjust add command restores the default step value.
cluster adjust { ospf-cost | bgp-cost } add add-cost
undo cluster adjust { ospf-cost | bgp-cost } add
| Parameter | Description | Value |
|---|---|---|
| ospf-cost | Adjusts the Cost value of OSPF. |
- |
| bgp-cost | Adjusts the Multi_Exit Discriminator (MED) value of BGP. |
- |
| add-cost | Specifies the route cost step. |
The value is an integer ranging from 50 to 10000. |
The default step of route costs is 1000.
Do not change the step value after the cluster system is stable. Otherwise, routes will be re-advertised, causing network instability.
The business group adjusts the cost of only a locally advertised route but not a learned route. For OSPF, the cost refers to the Cost value of the route. For BGP, the cost is the MED value of the route.