binding interface (Monitoring group view)

Function

The binding interface command adds an interface to an interface monitoring group. This interface is called a binding interface.

The undo binding interface command deletes an interface from an interface monitoring group.

By default, no interface is added to an interface monitoring group.

Format

binding interface { interface-type interface-number | interface-name } [ down-weight down-weight-value ]

undo binding interface { interface-type interface-number | interface-name }

Parameters

Parameter Description Value
interface-type interface-number

Specifies the type and number of a binding interface.

The value that include but are not limited to:

  • Ethernet physical interfaces:
    • Ethernet interface
    • GE interface
    • 10GE interface
    • 40GE interface
    • 100GE interface
  • Eth-Trunk interface
  • PW-VE interface
interface-name

Specifies an interface name.

-

down-weight down-weight-value

Specifies a down weight for a binding interface.

The value is an integer ranging from 1 to 1000. The default value is 10.

Views

Monitoring group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
interface-mgr write

Usage Guidelines

Usage Scenario

A network-side interface that is added to an interface monitoring group is called a binding interface. An interface monitoring group monitors the binding interface status. The user-side interfaces (track interfaces) change their status according to the binding interface status. To add an interface to an interface monitoring group in a dual-system backup scenario, run the binding interface command.

If the down weight sum of all the binding interfaces in the monitoring group is greater than or equal to the value specified using downWeightValue on the track interface, the track interface goes down, and service traffic is switched to the backup link. Otherwise, the track interface goes up, and service traffic is switched back to the primary link.

Prerequisites

An interface monitoring group has been created using the monitor-group command.

Follow-up Procedure

Run the track monitor-group command to configure an interface to track the interface monitoring group.

Precautions

In VS mode, this command is supported only by the admin VS.

A maximum of 32 interfaces can be added to an interface monitoring group.

Only the master LAG member interface can serve as a binding interface.

Example

# Add GE 0/1/0 to the interface monitoring group named group1 and set the down weight of GE 0/1/0 to 20.
<HUAWEI> system-view
[~HUAWEI] monitor-group group1
[*HUAWEI-monitor-group-group1] binding interface GigabitEthernet 0/1/0 down-weight 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >