I was able to use the following commands to remove those lines. #no description #no spanning-tree portfast#no switchport mode general#no switchport aaccess vlan#no switchport trunk allowed vlan #no switchport trunk native vlan  After issuing these command the interface then showed up blank in the running config. N3024F(config)#show running-config interface gigabitethernet 1/0/5N3024F(config)# Hope this helps.  
Hi, I have pair of N4000 and N2000 series.. and some ports with specifics configurations.. and I cannot remove them. I mean, I need to reset the port to the original status (Without any config applied to it).   Two Examples: *N4000 interface Te1/0/14description "Port_FW_1"spanning-tree portfastswitchport mode generalswitchport access vlan 220switchport trunk native vlan 220switchport trunk allowed vlan remove 1-4093no lldp tlv-select dcbxp ets-configno lldp tlv-select dcbxp ets-recommendno lldp tlv-select dcbxp pfcno lldp tlv-select dcbxp application-priorityexit * N2000 interface Gi1/0/40switchport trunk native vlan 300switchport trunk allowed vlan remove 1-4093exit Notes: I removed some with: no switchport mode But when I try to remove the native vlan i got: console(config-if-Gi1/0/40)#no switchport trunk native vlanCould not configure pvid.console(config-if-Gi1/0/40)#<187> Apr 25 07:30:12 0.0.0.0-1 DOT1Q[emWeb]: dot1q_api.c(6438) 538 %% ERR Port is forbidden member in Vlan(1) Please, can someone let me know how to reset the port to the original status (without settings)?. Thank you. Michael.    
Delete all configuration from a port | N4000/N2000