< Home

cluster adjust add

Function

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.

Format

cluster adjust { ospf-cost | bgp-cost } add add-cost

undo cluster adjust { ospf-cost | bgp-cost } add

Parameters

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.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the OSPF route cost step in a business group to 500.

<sysname> system-view
[sysname] cluster adjust ospf-cost add 500
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >