netbridge
The following operations can be performed on "netbridge":
add netbridge
Add a network bridge.
Arguments
name The name of the network bridge.
vxlanVlanMap The vlan to vxlan mapping to be applied to this netbridge.
Example
add netbridge bridge1
rm netbridge
Remove a network bridge.
Synopsis
rm netbridge <name>
Arguments
name The name of the network bridge.
Example
remove netbridge bridge1
set netbridge
Set network bridge parameters.
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
unbind netbridge
Unbind a network bridge from its attributes.
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
unset netbridge
Use this command to remove netbridge settings.Refer to the set netbridge command for meanings of the arguments.
Synopsis
unset netbridge <name> -vxlanVlanMap
bind netbridge
Bind a network bridge to its attributes.
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
show netbridge
Show configured network bridges.
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