network interface bonding config

Configures network bonding interfaces. A bonded interface provides redundancy in the event of a physical port failure or network connection failure. You can create bond0 between eth0 and eth1, and bond1 between eth2 and eth3. Bonded interfaces must use static addressing.

The bonded port is not active unless port bonding is enabled. To enable port bonding, use the command network interface bonding enable.

Changing the configuration for a bonded interface

If the bonded interface you configure has already been configured, the existing configuration is deleted and is replaced by the new configuration, regardless of whether the existing bonded interface is enabled or not.

User Privileges

Users with the following privileges can perform this command:

>Admin

>Operator

Syntax

network interface bonding config -ip <ip_address>  -netmask <netmask> -name {bond0 | bond1} -gateway <ipaddress>

Argument(s) Shortcut Description
-ip <ipaddress> -i

Specifies the IP address of the bonded virtual network device.

-gateway <ipaddress> -g

Specifies the gateway/router IP address.

-name {bond0 | bond1} -na

Specifies the network bond you want to configure:

>bond0 bonds eth0 and eth1

>bond1 bonds eth2 and eth3

-netmask <string> -ne Specifies the network mask for the interface. You can specify the network mask in IP address format (for example, 255.255.255.0) or in CIDR format, without the leading slash (for example, 24).

Example

lunash:>network interface bonding config -ip 192.20.11.64 -netmask 255.255.255.0 -gateway 192.20.11.10 -name bond1


Command Result : 0 (Success)