Previous: , Up: Networking commands   [Contents][Index]


17.5.16 net_set_vlan

Command: net_set_vlan interface vlanid

Set the 802.1Q VLAN identifier on interface to vlanid. For example, to set the VLAN identifier on interface ‘efinet1’ to ‘100’:

net_set_vlan efinet1 100

The VLAN identifier can be removed by setting it to ‘0’:

net_set_vlan efinet1 0