< Home

bind ospf

Function

The bind ospf command binds a business group to an OSPF process.

The undo bind ospf command unbinds a business group from an OSPF process.

Format

bind ospf process-id

undo bind ospf process-id

Parameters

Parameter Description Value
process-id

Indicates the OSPF process ID.

The value is an integer ranging from 1 to 65535.

Views

Business group view

Default Level

2: Configuration level

Usage Guidelines

Application Scenarios

After the bind ospf command is used, the cost values of advertised OSPF routes are affected by their status in business groups. The rules are as follows:
  • If the device is in master state, the route cost is not adjusted.
  • If the device is the preferential standby device, its route cost increases by one step. The default step is 1000. You can run the cluster adjust ospf-cost add command to change the value.
  • If the device is neither the master device nor the preferential standby device in the business group, its route cost increases by two steps.

If the status of a business group changes, the cost value of the corresponding OSPF route is adjusted accordingly.

Precautions

After the undo bind ospf command is used, the route cost restores to the previous value.

One routing process can be associated with only one cluster business group.

To enable the HRP function, ensure that the business group is not associated with any OSPF process.

If the business group is associated with an OSPF process, ensure that all cluster members have this process. Otherwise, services may be interrupted after the cluster switchover.

Example

# Bind business group 1 to OSPF process 2.

C_No2_M<sysname> system-view
C_No2_M[sysname] business-group 1
C_No2_M[sysname-business-group-1] bind ospf 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >