< Home

cluster track interface

Function

The cluster track interface command configures the cluster to track interfaces.

The undo cluster track interface command disables the cluster from tracking interfaces.

Format

cluster track interface interface-type interface-number [ weight weight-value ]

undo cluster track interface interface-type interface-number

Parameters

Parameter Description Value
interface-type interface-number

Specifies the interface type and number.

-

weight weight-value

Specifies the weight.

The value is an integer ranging from 1 to 10. The default value is 1. The health rating reduction value = weight * fault deduction.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

By default, the cluster does not track interfaces.

Configuration Impact

After the cluster is configured to track an interface, if the interface is down, the device health degree decreases, triggering the master/backup switchover in the service group.

Example

# Configure the cluster to track Eth-Trunk1.

C_No1_M<sysname> system-view
C_No1_M[sysname] cluster track interface Eth-Trunk 1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >