Associating Track with the redundancy group module
The redundancy group can fast detect the link and interface failures after you associate it with Track.
Track changes the track entry state based on the monitoring result of a detection module, and notifies the track entry state change to the redundancy group.
If the track entry state changes to positive, the system increases the weight value of the redundancy group node. When the value of the redundancy group is greater than 0, the node can operate correctly.
If the track entry state changes to negative or NotReady, the system reduces the weight value of redundancy group node. If the value of the redundancy group is less than 0, the node cannot operate correctly. A node switchover occurs. The members (including Reth interfaces) on the other node take over.
To enable a redundancy group to support automatic node switchover, you must specify the interface interface-type interface-number option in the track command. When the specified interface fails, it will not be shut down by the Reth module.
For more information about redundancy groups, see "Configuring redundancy groups."
To associate Track with the redundancy group module:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create a redundancy group and enter its view. | redundancy group group-name | By default, no redundancy groups exist. |
3. Create a redundancy group node and enter its view. | node node-id | By default, no redundancy group nodes exist. |
4. Associate Track with the redundancy group. | track track-entry-number [ reduced weight-reduced ] [ interface interface-type interface-number ] | By default, no track entry is associated with a redundancy group. |