switch back to use ifname value as switch name