The track monitor-group command configures an interface to track an interface monitoring group. This interface is called a track interface.
The undo track monitor-group command disables an interface from tracking an interface monitoring group.
By default, no interface is configured to track an interface monitoring group.
Parameter | Description | Value |
---|---|---|
monitor-group-name |
Specifies the name of a route monitoring group. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. The character string can contain spaces if it is enclosed in double quotation marks ("). |
trigger-down-weight trigger-down-weight-value |
Specifies the maximum down weight value of a track interface. |
The value is an integer ranging from 1 to 1000. By default, a track interface goes down only when all binding interfaces in the interface monitoring group go down. |
100GE-Trunk member Layer 2 interface view, 100GE-Trunk member interface view, Layer 2 100GE interface view, 100ge sub-interface view, 100GE interface view, Layer 2 10GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE-L2 view, 25GE sub-interface view, 25GE interface view, 400GE-L2 view, 400GE sub-interface view, 400GE interface view, 40GE-Trunk member Layer 2 interface view, 40GE-Trunk member interface view, Layer 2 40GE interface view, 40GE sub-interface view, 40GE interface view, Layer 2 50GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, Eth-Trunk interface view, FlexE sub-interface view, FlexE interface view, Layer 2 GE interface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE interface view, Loopback interface view, PW-VE interface view, VE interface view, Management interface view
Usage Scenario
A user-side interface that tracks an interface monitoring group is called a track interface. To configure a user-side interface to track the status of an interface monitoring group, run the track monitor-group command on the interface.
If the down weight sum of all the binding interfaces in the monitoring group is greater than or equal to the value specified using trigger-down-weight-value 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.
Configuration Impact
After the track monitor-group command is run, the track interface changes its status based on the binding interface status.
Follow-up Procedure
Run the monitor enable command to associate the interface monitoring group with the track interface.
Precautions
<HUAWEI> system-view [~HUAWEI] monitor-group group1 [*HUAWEI-monitor-group-group1] binding interface GigabitEthernet 0/1/0 down-weight 20 [*HUAWEI-monitor-group-group1] binding interface GigabitEthernet 0/1/1 down-weight 40 [*HUAWEI-monitor-group-group1] binding interface GigabitEthernet 0/1/2 down-weight 60 [*HUAWEI-monitor-group-group1] quit [*HUAWEI] interface GigabitEthernet 0/1/8 [*HUAWEI-GigabitEthernet0/1/8] track monitor-group group1 trigger-down-weight 100 [*HUAWEI-GigabitEthernet0/1/8] quit [*HUAWEI] monitor-group group1 [*HUAWEI-monitor-group-group1] monitor enable