Control vlan status check

added code to deal with control vlan status