[IM] add warning in debug mode if vlan is not specified