< Home

Configuring the Uplink and Downlink Interfaces in a Monitor Link Group

Context

When an interface has been added to a Monitor Link group, the interface cannot be added to an Eth-Trunk, a Smart Link group, or another Monitor Link group. When an interface has been added to an Eth-Trunk, a Smart Link group, or a Monitor Link group, the interface cannot be added to another Monitor Link group.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run monitor-link group group-id

    The Monitor Link group view is displayed.

    The device supports a maximum of 16 Monitor Link groups.

  3. Run port interface-type interface-number { downlink [ downlink-id ] | uplink }

    An interface is configured as an uplink or downlink interface of the Monitor Link group.

    Or run smart-link group group-id uplink

    A Smart Link group is configured as an uplink of the Monitor Link group.

    The uplink interface status determines the downlink interface status in a Monitor Link group. After a downlink interface is added to the Monitor Link group, the result of the shutdown or undo shutdown command can only be retained only if the status of the uplink interface does not change. When the uplink interface status changes, the downlink interface status changes as follows:
    • When an uplink interface in Up state is added to the Monitor Link group or the uplink interface in the group becomes Up, all the downlink interfaces in the Monitor Link group become Up.
    • When the uplink interface is deleted from the Monitor Link group or becomes Down, all the downlink interfaces in the Monitor Link group become Down.

    Before adding a Smart Link group to a Monitor Link group, delete the uplink interface from the Monitor Link group.

  4. (Optional) Run timer recover-time recover-time

    The wait to restore (WTR) time is set.

    By default, revertive switching of a Monitor Link group is enabled and the WTR time is 3 seconds.

Verifying the Configuration

  • Run the display monitor-link group { all | group-id } command to verify information about the Monitor Link group.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >