====== HOWTO delete / default an interface on a Cisco switch ======
Say for instance you'd like to clear a configuration like this from a Cisco switch:
interface GigabitEthernet4/28
description AIX image server
switchport access vlan 1678
switchport mode access
no cdp enable
spanning-tree portfast
end
The hard way is naturally to do it the no, no... no, no no, no..., no, no no, no... no, no there's no... and yet more no way!
The simple solution is once you're on the switch:
Conf t
def int g4/28 <-- This will set the interface in default mode - Neat eh ?
No more no no...
Share this knowledge with your friends!