Reset interface on Dell OS6 Switches to factory default

Working with setting up a Dell N1124P-ON switch recently and wondered how to clear the port level configuration without clearing the whole config or going. ‘no’ for each line entry.

Online reference pointed to the Dell Community portal which seems rather outdated. It is rather interesting to see , however; that it has come full circle to that post.

To clear port level settings on Dell N series to factory defaults without affecting any other part of the configuration

Sample port configuration that needs clearing

Dell-1124P-ON#show running-config interface gigabitethernet 1/0/5

description "Uplink"
switchport mode trunk
switchport trunk native vlan 23
switchport trunk allowed vlan 24-26
Dell-1124P-ON#

use the command ” default ” followed by the interface number like so

ell-1124P-ON#configure t

Dell-1124P-ON(config)#default gigabitethernet 1/0/5

This operation may take a few minutes.                
The console prompt will return when the operation is complete.                
Are you sure you want to factory default the interface configuration? (y/n) y
Dell-1124P-ON(config)#

Verifying that the config is clear

Dell-1124P-ON(config)#show running-config interface gigabitethernet 1/0/5

Dell-1124P-ON(config)#

Tested with Dell N1124P-ON switch running 6.6.0.24.