add interface-bond

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

Description

Create a new bond interface that contains two subordinate interfaces.

Note - The appliance gives names to bond interfaces automatically, starting with 0:

  • LANBOND0

  • LANBOND1

  • and so on

In WebUI, this corresponds to:

  1. Click the Device view > Network section > Local Network page.

  2. From the top toolbar, click New > Bond (Link Aggregation).

  3. Configure the required settings.

See:

Syntax

add interface-bond

      slave-port-1 <name-of-interface-1>

      slave-port-2 <name-of-interface-2>

      bond-mode

            802.3ad

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

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

            high-availability

                  [ bond-master <name-of-subordinate-interface> ]

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

            round-robin

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

            xor

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

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

      ipv4-address <ipv4-address> {mask-length <mask-length> | subnet-mask <subnet-mask>}

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

Notes:

  • These parameters are mandatory:

    • slave-port-1

    • slave-port-2

    • bond-master (High Availability mode only)

    • bond-mode

    • ipv4-address

  • When you create a new bond interface, you can add only two subordinate interfaces.

    To add more subordinate interfaces, use the "set interface-bond add-member" command.

Parameters

Parameter

Description

slave-port-1

Specifies the name of the first subordinate interface.

Press the TAB key to see the available options.

This interface must be unassigned, disabled, and without VLANs.

slave-port-2

Specifies the name of the second subordinate interface.

Press the TAB key to see the available options.

This interface must be unassigned, disabled, and without VLANs.

bond-mode

Specifies the bond operation mode:

  • 802.3ad - LACP

  • high-availability - Active / Backup

  • round-robin - Round Robin

  • xor - XOR

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:

  • 802.3ad - LACP

  • xor - XOR

bond-master

Specifies the name of the leading subordinate interface in the bond interface.

Applies only to the "high-availability" mode.

bond-mii-interval

Specifies the bond MII interval (in milliseconds).

Range: 0 - 5000

Default: 100

ipv4-address

Specifies the IPv4 address of the bond interface.

mask-length

Specifies the IPv4 mask length for the bond interface.

subnet-mask

Specifies the IPv4 subnet mask for the bond interface.

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 Commands in R81.10.00

add interface-bond slave-port-1 LAN2 slave-port-2 LAN3 bond-mode high-availability bond-master LAN2 ipv4-address 172.30.40.50 subnet-mask 255.255.255.0

add interface-bond slave-port-1 LAN4 slave-port-2 LAN5 bond-mode xor bond-hash-policy layer2 bond-mii-interval 200 ipv4-address 172.30.50.60 mask-length 24

Example Command in R81.10.15

add interface-bond slave-port-1 LAN2 slave-port-2 LAN3 bond-mode high-availability bond-master LAN2 ipv4-address 172.30.40.50 subnet-mask 255.255.255.0 cluster-status clustered peer-cluster-ipv4-addr 192.168.3.52 cluster-ipv4-addr 192.168.3.55