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.
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:
|
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. |
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.