restricted no switchport commands to appropriate interface types