User Tools

Site Tools


howto_default_interface_cisco

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howto_default_interface_cisco [2012/03/09 10:43]
howto_default_interface_cisco [2012/03/09 10:43] (current)
Line 1: Line 1:
 +====== 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:
 +
 +<code>
 +interface GigabitEthernet4/28
 + description AIX image server
 + switchport access vlan 1678
 + switchport mode access
 + no cdp enable
 + spanning-tree portfast
 +end
 +</code>
 +
 +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:
 +
 +<code>
 +
 +Conf t
 +
 +def int g4/28 <-- This will set the interface in default mode - Neat eh ?
 +
 +</code>
 +
 +No more no no...
 +
 +
 +<HTML>
 +
 +<!-- AddThis Button BEGIN -->
 +<a class="addthis_button" href="http://addthis.com/bookmark.php?v=250&amp;username=xa-4beeaaab61b514bf"><img src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=xa-4beeaaab61b514bf"></script>
 +<!-- AddThis Button END -->
 +<br>
 +<br>
 +</HTML>
 +
 +Share this knowledge with your friends!
howto_default_interface_cisco.txt ยท Last modified: 2012/03/09 10:43 (external edit)