Skip to content

netbridge

The following operations can be performed on "netbridge":

rm| show| unset| set| add| bind| unbind|

rm netbridge

Remove a network bridge.

Synopsis

rm netbridge

Arguments

name The name of the network bridge.

Example

remove netbridge bridge1

show netbridge

Show configured network bridges.

Synopsis

show netbridge []

Arguments

name The name of the network bridge.

Output

vxlanVlanMap The vlan to vxlan mapping to be applied to this netbridge.

tunnel The name of the tunnel that is a part of this bridge.

vlan The VLAN that is extended by this network bridge.

IPAddress The subnet that is extended by this network bridge.

netmask The network mask for the subnet.

stateflag Used internally for display.

devno count

unset netbridge

Use this command to remove netbridge settings.Refer to the set netbridge command for meanings of the arguments.

Synopsis

unset netbridge -vxlanVlanMap

set netbridge

Set network bridge parameters.

Synopsis

set netbridge [-vxlanVlanMap ]

Arguments

name The name of the network bridge.

vxlanVlanMap The vlan to vxlan mapping to be applied to this netbridge.

Example

set netbridge bridge1 -vlanVxlanMap p1

add netbridge

Add a network bridge.

Synopsis

add netbridge [-vxlanVlanMap ]

Arguments

name The name of the network bridge.

vxlanVlanMap The vlan to vxlan mapping to be applied to this netbridge.

Example

add netbridge bridge1

bind netbridge

Bind a network bridge to its attributes.

Synopsis

bind netbridge [-tunnel ...] [-vlan ...] [-IPAddress []]

Arguments

name The name of the network bridge.

tunnel The name of the tunnel that needs to be a part of this network bridge.

vlan The VLAN that needs to be extended. Minimum value: 1 Maximum value: 4094

IPAddress The subnet that needs to be extended.

netmask Subnet mask in dotted-decimal format. For example: 255.255.255.0. This parameter is required for IPv4.

Example

bind netbridge bridge1 -tunnel tun0

unbind netbridge

Unbind a network bridge from its attributes.

Synopsis

unbind netbridge [-tunnel ...] [-vlan ...] [-IPAddress []]

Arguments

name The name of the network bridge.

tunnel The name of the tunnel that is part of this network bridge.

vlan The vlan that is part of this network bridge. Minimum value: 1 Maximum value: 4094

IPAddress The subnet that is part of this network bridge.

netmask Subnet mask in dotted-decimal format. For example: 255.255.255.0. This parameter is required for IPv4.

Example

unbind netbridge bridge1 -tunnel tun0

Was this article helpful?