az network lb address-pool tunnel-interface

Manage tunnel interfaces of a load balancer.

Commands

az network lb address-pool tunnel-interface add

Add one tunnel interface into the load balance tunnel interface pool.

az network lb address-pool tunnel-interface list

List all tunnel interfacees of the load balance tunnel interface pool.

az network lb address-pool tunnel-interface remove

Remove one tunnel interface from the load balance tunnel interface pool.

az network lb address-pool tunnel-interface update

Update one tunnel interface of load balance tunnel interface pool.

az network lb address-pool tunnel-interface add

Add one tunnel interface into the load balance tunnel interface pool.

az network lb address-pool tunnel-interface add --address-pool
                                                --identifier
                                                --lb-name
                                                --protocol {Native, None, VXLAN}
                                                --resource-group
                                                --type {External, Internal, None}
                                                [--port]

Examples

Add one tunnel interface into the load balance tunnel interface pool.

az network lb address-pool tunnel-interface add -g MyResourceGroup --lb-name MyLb --address-pool MyAddressPool     --type external --protocol vxlan --identifier 901 --port 10000

Required Parameters

--address-pool

The name of the backend address pool. If only one exists, omit to use as default.

--identifier

Identifier of gateway load balancer tunnel interface.

--lb-name

The load balancer name.

--protocol

Protocol of gateway load balancer tunnel interface.

accepted values: Native, None, VXLAN
--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--type

Traffic type of gateway load balancer tunnel interface.

accepted values: External, Internal, None

Optional Parameters

--port

Port of gateway load balancer tunnel interface.

az network lb address-pool tunnel-interface list

List all tunnel interfacees of the load balance tunnel interface pool.

az network lb address-pool tunnel-interface list --address-pool
                                                 --lb-name
                                                 --resource-group

Examples

List all tunnel interfacees of the load balance tunnel interface pool.

az network lb address-pool tunnel-interface list -g MyResourceGroup --lb-name MyLb --address-pool MyAddressPool

Required Parameters

--address-pool

The name of the backend address pool. If only one exists, omit to use as default.

--lb-name

The load balancer name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network lb address-pool tunnel-interface remove

Remove one tunnel interface from the load balance tunnel interface pool.

az network lb address-pool tunnel-interface remove --address-pool
                                                   --index
                                                   --lb-name
                                                   --resource-group

Examples

Remove one tunnel interface from the load balance tunnel interface pool.

az network lb address-pool tunnel-interface remove -g MyResourceGroup --lb-name MyLb  --address-pool MyAddressPool     --index 0

Required Parameters

--address-pool

The name of the backend address pool. If only one exists, omit to use as default.

--index

Index of the tunnel interfaces to change.

--lb-name

The load balancer name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

az network lb address-pool tunnel-interface update

Update one tunnel interface of load balance tunnel interface pool.

az network lb address-pool tunnel-interface update --address-pool
                                                   --index
                                                   --lb-name
                                                   --resource-group
                                                   [--identifier]
                                                   [--port]
                                                   [--protocol {Native, None, VXLAN}]
                                                   [--type {External, Internal, None}]

Examples

update one tunnel interface of load balance tunnel interface pool.

az network lb address-pool tunnel-interface update -g MyResourceGroup --lb-name MyLb --address-pool MyAddressPool     --type external --protocol vxlan --identifier 901 --port 10000 --index 0

Required Parameters

--address-pool

The name of the backend address pool. If only one exists, omit to use as default.

--index

Index of the tunnel interfaces to change.

--lb-name

The load balancer name.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Optional Parameters

--identifier

Identifier of gateway load balancer tunnel interface.

--port

Port of gateway load balancer tunnel interface.

--protocol

Protocol of gateway load balancer tunnel interface.

accepted values: Native, None, VXLAN
--type

Traffic type of gateway load balancer tunnel interface.

accepted values: External, Internal, None