set interface-bond

In the R81.10.X releases, this command is available starting from the R81.10.00 version.

Description

Configure the settings for an existing bond interface.

See:

Syntax

set interface-bond <Name of Bond Interface>

      [ bond-mode <bond-mode> ]

      [ bond-master <bond-master> ]

      [ bond-hash-policy <bond-hash-policy> ]

      [ bond-mii-interval <bond-mii-interval> ]

      cluster-status { clustered | monitored | non-ha } peer-cluster-ipv4-addr <IPv4 Address> cluster-ipv4-addr <Cluster Virtual IPv4 Address>

Parameters

Parameter

Description

interface-bond

Specifies the name of the bond interface.

Press the TAB key to see the available options.

bond-mode

Specifies the bond operation mode:

  • 8023ad - LACP

  • high-availability - Active / Backup

  • round-robin - Round Robin

  • xor - XOR

bond-master

Specifies the name of the primary subordinate interface.

Press the TAB key to see the available options.

Applies only to the "high-availability" (Active / Backup) mode.

bond-hash-policy

Specifies the bond hash policy:

  • layer2 - Layer 2 only

  • layer2_3 - Layer 2 and Layer 3

  • layer3_4 - Layer 3 and Layer 4

Applies only to these bond modes:

  • 8023ad - LACP

  • xor - XOR

bond-mii-interval

Specifies the bond MII interval (in milliseconds).

Range: 0 - 5000

Default: 100

cluster-status

Note - In the R81.10.X releases, this command is available starting from the R81.10.15 version.

In a cluster configuration, specifies the cluster status (cluster role) for this Bond interface:

  • clustered

    This interface is a cluster interface with a Cluster Virtual IP address.

    If the state of this interface changes, or if it cannot send / receive Cluster Control Protocol (CCP) packets, then the cluster mechanism initiates a failover.

  • monitored

    This interface is a cluster interface without a Cluster Virtual IP address.

    If the state of this interface changes, or if it cannot send / receive Cluster Control Protocol (CCP) packets, then the cluster mechanism initiates a failover.

  • non-ha

    This interface is not a cluster interface.

    This interface does not send / receive Cluster Control Protocol (CCP) packets.

    If the state of this interface changes, then the cluster mechanism does not initiate a failover.

peer-cluster-ipv4-addr

Note - In the R81.10.X releases, this command is available starting from the R81.10.15 version.

In a cluster configuration, specifies the IPv4 address of the peer Bond interface on the peer Cluster Member.

cluster-ipv4-addr

Note - In the R81.10.X releases, this command is available starting from the R81.10.15 version.

In a cluster configuration, specifies the Cluster Virtual IPv4 address on this Bond interface.

Example Command in R81.10.00

set interface-bond LANBOND0 bond-mode 8023ad bond-master LAN2 bond-mii-interval 200 bond-hash-policy layer2

Example Command in R81.10.15

set interface-bond LANBOND0 cluster-status clustered peer-cluster-ipv4-addr 192.168.3.52 cluster-ipv4-addr 192.168.3.55