< Home

Specifying Master and Slave Interfaces in a Smart Link Group

Context

The slave interface is blocked when the Smart Link group is enabled. If the active link becomes faulty, Smart Link unblocks the slave interface and switches traffic to the standby link.

If a Smart Link switchover is performed because of temporary link disconnection, packet forwarding and system performance are affected. To address this problem, you can set the delay in reporting a port-Up or port-Down event. When the member interfaces of a Smart Link group alternate between Up and Down, the Smart Link group waits until the delay expires, and then triggers a switchover.

When an interface has been added to a Smart Link group, none of the following configurations can be performed. When any of the following configurations is performed on an interface, the interface cannot be added to a Smart Link group.
  • The interface is configured with RRPP, SEP, or ERPS.
  • The interface is enabled with STP.
  • The interface is added to an Eth-Trunk.
  • The interface is added to a Monitor Link group.
  • The interface is added to another Smart Link group.
  • The Eth-Trunk is configured with service loopback.

The interface that has been enabled with port security cannot be added to a Smart Link group.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run smart-link group group-id

    The Smart Link group view is displayed.

    The device supports a maximum of 16 Smart Link groups.

  3. (Optional) Run protected-vlan reference-instance { instance-id1 [ to instance-id2 ] }&<1-10>

    A protected instance is bound to the Smart Link group. The Smart Link group takes effect only in the VLAN to which the protected instance is bound. If a Smart Link group is not bound to any protected instance, Smart Link is valid for all VLAN data.

    To configure the mapping between the protected instance and MUX VLAN, it is recommended that you configure the principal VLAN, and subordinate group VLANs and subordinate separate VLANs of the MUX VLAN in the same protected instance. Otherwise, loops will occur.

    The instances specified in the protected-vlan reference-instance command cannot be VLAN-based Spanning Tree (VBST) dynamic instances.

  4. Run port interface-type interface-number master

    A specified interface is added to the Smart Link group and is configured as the master interface of the Smart Link group.

  5. Run port interface-type interface-number slave

    A specified interface is added to the Smart Link group and is configured as the slave interface of the Smart Link group.

    A Smart Link group contains one master interface and one slave interface. By default, a Smart Link group contains no interfaces.

  6. (Optional) Run smart-link hold-time hold-time

    A delay in reporting a port-Up or port-Down event is configured.

    By default, the delay is 0. That is, a switchover is performed immediately.

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