]> git.proxmox.com Git - mirror_iproute2.git/commit - man/man8/ip-link.8.in
iplink: bridge: support bridge port vlan_tunnel attribute
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Sat, 28 Oct 2017 05:13:49 +0000 (22:13 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 31 Oct 2017 17:04:30 +0000 (18:04 +0100)
commit8cfde5c97fcf8edc0c031bf4ddd972b80cc34120
tree96e6c43c9943d569114e19be9b47a3dd96e97292
parent0ac0017a1a37fea3b180a22a0ae5fbaf02db8d2a
iplink: bridge: support bridge port vlan_tunnel attribute

This config maps to IFLA_BRPORT_VLAN_TUNNEL bridge port netlink
flag attribute. This flag enables vlan to tunnel mapping on a bridge
port. It is off by default.

set vlan_tunnel attribute on bridge port vxlan0:

$ip link set dev vxlan0 type bridge_slave vlan_tunnel on
$ip link set dev vxlan0 type bridge_slave vlan_tunnel off

or via bridge command

$bridge link set dev vxlan0 vlan_tunnel on
$bridge link set dev vxlan0 vlan_tunnel off

Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com>
bridge/link.c
ip/iplink_bridge_slave.c
man/man8/bridge.8
man/man8/ip-link.8.in