Establishing a Dual-Device Backup Platform

This section describes how to establish a dual-device backup platform to back up IGMP snooping entries. If a network node or link fails, a rapid Layer 2 multicast service switchover is triggered, improving service reliability.

Prerequisites

An Eth-Trunk interface has been created using the interface eth-trunk trunk-id command, and an Ethernet interface has been added to the Eth-Trunk interface using the eth-trunk trunk-id command.

An E-Trunk has been created using the e-trunk e-trunk-id command, and the Eth-Trunk interface has been added to the E-Trunk using the e-trunk e-trunk-id [ remote-eth-trunk eth-trunk-id ] command.

Context

In a master/backup E-Trunk scenario, a dual-device backup platform enables the master device to back up IGMP snooping entries to the backup device through a remote backup service (RBS) channel, ensuring multicast service continuity. Establishing a dual-device backup platform includes configuring an RBS, a remote backup profile (RBP), and a dual-device E-Trunk backup platform.

Perform the following steps on both the master and backup devices:

Procedure

  1. Configure an RBS.
    1. Run system-view

      The system view is displayed.

    2. Run remote-backup-serviceservice-name

      An RBS is created, and the RBS view is displayed.

    3. Run peer peer-ip-address source source-ip-address port port-id

      TCP connection parameters are set for the RBS.

      source-ip-address and peer-ip-address specify the IP addresses of the master and backup devices, respectively. The IP addresses of the master and backup devices must have been configured on their own interfaces, sub-interfaces, or logical interfaces (such as loopback interfaces) and be able to ping each other.

      port-id specifies a TCP port number. The TCP port numbers configured on the master and backup devices must be the same.

    4. Run quit

      Return to the system view.

  2. Configure an RBP.
    1. Run remote-backup-profile profile-name

      An RBP is created, and the RBP view is displayed.

    2. Run backup-id backup-id remote-backup-service service-name

      A backup ID is configured for the RBP, and the RBP is associated with a specified RBS.

      backup-id specifies a backup ID for an RBP. You can use a backup ID and an RBS to determine an RBP. The backup IDs configured for the same RBP must be the same on the master and backup devices and can no longer be configured for other RBPs.

    3. Run peer-backup hot

      The backup type of the master device and backup device is set to hot backup mode.

    4. Run quit

      Return to the system view.

  3. Configure a dual-device E-Trunk backup platform.
    1. Run remote-backup-profile profile-name

      The RBP view is displayed.

    2. Run e-trunk e-trunk-id eth-trunk eth-trunk-id

      An E-Trunk's member interface Eth-Trunk is bound to a specified RBP. The interface bound to an RBP can only be an Eth-Trunk interface or an Eth-Trunk sub interface in normal mode, dot1q VLAN tag termination mode, or QinQ VLAN tag termination mode.

    3. Run quit

      Return to the system view.

    4. Run e-trunke-trunk-id

      The E-Trunk view is displayed.

    5. Run peer-address peer-ip-address source-address source-ip-address

      IP addresses are assigned to the local and peer ends of the E-Trunk.

      The peer IP address of the local end is the local IP address of the peer end. For example, an E-Trunk is established between device A and device B. On device A, the peer IP address is 2.2.2.2 and the local IP address is 1.1.1.1. Then, on device B, the peer IP address is 1.1.1.1 and the local IP address is 2.2.2.2.

    6. Run commit

      The configuration is committed.

  4. (Optional) Configure BFD for E-Trunk
    1. Run bfd

      The BFD is enabled.

    2. Run quit

      Return to the system view.

    3. Run bfd session-name bind peer-ip ip-address

      The BFD session for peer device is configured.

    4. Run discriminator

      Local and remote discriminators are configured.

    5. Run quit

      Return to the system view.

    6. Run bfd session-name bind peer-ip default-ip interface { interface-name | interface-type interface-number } [ source-ip source-ip ]

      The BFD session for Eth-Trunk is configured.

    7. Run quit

      Return to the system view.

    8. Run e-trunk e-trunk-id

      The E-Trunk view is displayed.

    9. Run e-trunk track bfd-session session-name bfd-session-name

      The E-Trunk is bound to the BFD session.

    10. Run commit

      The configuration is committed.

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