This shows you the differences between two versions of the page.
| — |
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: | ||
| + | |||
| + | < | ||
| + | interface GigabitEthernet4/ | ||
| + | | ||
| + | | ||
| + | | ||
| + | no cdp enable | ||
| + | | ||
| + | end | ||
| + | </ | ||
| + | |||
| + | The hard way is naturally to do it the no, no... no, no no, no..., no, no no, no... no, no there' | ||
| + | |||
| + | 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 END --> | ||
| + | <br> | ||
| + | <br> | ||
| + | </ | ||
| + | |||
| + | Share this knowledge with your friends! | ||