Added vlan functionality.