User Tools

Site Tools


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

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…

<!-- AddThis Button BEGIN -->
<a class="addthis_button" href=";username=xa-4beeaaab61b514bf"><img src="" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src=""></script>
<!-- AddThis Button END -->

Share this knowledge with your friends!

howto_default_interface_cisco.txt · Last modified: 2012/03/09 10:43 (external edit)