Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring Ethernet Redundancy (SRC CLI)

    Tasks to configure Ethernet redundancy are:

    Configuring Group Interfaces (SRC CLI)

    You can configure group interfaces to aggregate network interfaces into a single logical interface to support Ethernet redundancy. The group interfaces provide either hot standby or load-balancing services.

    Use the following statements to configure the group interface:

    interfaces name group {mode (balance-rr | active-backup | balance-xor | broadcast | 802.3ad | balance-tlb | balance-alb);lacp-rate (slow | fast);interfaces [interfaces...]; primary primary; transmit-hash-policy (layer2 | layer3+4); }

    To configure an Ethernet group interface:

    1. From configuration mode, access the configuration statement that configures the bonded interface.
      [edit]user@host# edit interfaces name group
    2. Specify the mode in which you want to group the interfaces. By default, the mode is set as balance-rr.

      You can group interfaces in the following modes:

      • Round-robin policy (balance-rr)—Transmits packets in sequential order from the first available device through the last.
      • Active-backup policy (active-backup)—Creates only one interface that is active. A different interface becomes active if, and only if, the active interface fails.

        Note: If you configure a primary interface by including the primary option at the [edit interfaces name group] hierarchy level, then the primary interface is always active unless it fails. If a primary interface is deactivated due to a failure, it is reactivated when it recovers.

      • XOR policy (balance-xor)—Transmits based on the selected transmit hash policy.
      • Broadcast policy (broadcast)—Transmits everything on all device interfaces.
      • IEEE 802.3ad Dynamic link aggregation (802.3ad)—Creates aggregation groups that share the same speed and duplex settings.
      • Adaptive transmit load balancing (balance-tlb)—Creates channel bonding that does not require any special switch support.
      • Adaptive load balancing (balance-alb)—Includes adaptive transmit load balancing (balance-tlb) plus receive load balancing (rlb) for IPv4 traffic, and does not require any special switch support.
      [edit interfaces name group]user@host# set mode mode
    3. (Optional) Specify the rate at which the link partner is requested to transmit Link Aggregation Control Protocol Data Unit (LACPDU) packets in 802.3ad

      mode. This option is valid only for the 802.3ad mode.

      [edit interfaces name group]user@host# set lacp-rate (slow | fast)

      where:

      • slow—Request partner to transmit LACPDUs every 30 seconds.
      • fast—Request partner to transmit LACPDUs every 1 second.
    4. Specify the Ethernet interfaces in this group.
      [edit interfaces name group]user@host# set interfaces [interfaces...]
    5. (Optional) Specify the device that will always be the active device while it is available. This option is valid only for the active-backup mode.
      [edit interfaces name group]user@host# set primary primary
    6. (Optional) Specify the transmit hash policy to use for device selection in balance-xor and 802.3ad modes. This option is valid only for the balance-xor or 802.3ad mode.
      [edit interfaces name group]user@host# set transmit-hash-policy (layer2 | layer3+4)

      where:

      • layer2—Uses XOR of hardware MAC addresses to generate the hash.
      • layer3+4—Uses upper-layer protocol information, when available, to generate the hash.
    7. Configure the unit for the group interface.

    Configuring the MII Monitor (SRC CLI)

    You can configure the MII monitor to check only the carrier state of the local network interface. The MII monitor does not provide a high level of detection for end-to-end connectivity failures.

    Use the following statements to configure MII link monitoring:

    interfaces name group {downdelay downdelay; updelay mii-monitoring-interval; mii-monitoring-interval mii-monitoring-interval; }

    To configure the MII monitor:

    1. From configuration mode, access the configuration statement that configures the bonded interface.
      [edit]user@host# edit interfaces name group
    2. (Optional) Specify the time to wait before disabling a device after a link failure has been detected. This option is valid only for the MII monitor.
      [edit interfaces name group]user@host# set downdelay downdelay
    3. (Optional) Specify the time to wait before enabling a device after a link recovery has been detected. This option is valid only for the MII monitor.
      [edit interfaces name group]user@host# set updelay updelay
    4. (Optional) Specify the MII link monitoring frequency.
      [edit interfaces name group]user@host# set mii-monitoring-interval mii-monitoring-interval

    Published: 2014-12-10