This command can be used to modify the settings of an interface.

Example Command

curl -k "https://<Username>:<Password>@<MTIPAddress>/mtaccess/modiface?interface=<interfaceID>&addr=<IPAddress/Prefix>"

Available Parameters

Parameter

Parameter Type

Parameter Description

Mandatory

interface

Integer

The ID number of the relevant interface.

Yes

addr

Address

The IP address of the interface followed by the CIDR in the format <IPAddress/Prefix>.

No

mtu

Integer

The maximum size of the Ethernet frame that will be sent from this interface.

Range: 512 to 9216

The MTU size may need to be low, depending on which network adapter is chosen for the Multi-Tenant LoadMaster. For example, an E1000 network adapter may limit the MTU to 1500 but a VMXNET 3 network adapter may have a maximum of 9216.

No

gwiface

Boolean

Specifies if this is a network gateway interface or not.

0 - Not a network gateway interface

1 - Is a network gateway interface

No

bondmode Integer

The bondmode determines the way in which traffic sent out of the bonded interface is actually dispersed over the real interfaces.

1 - active-backup

4 - 802.3ad

No

Example Output

<Response stat="200" code="ok">
<Success>Command completed ok</Success>
</Response>