cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
877
Views
0
Helpful
3
Replies

Clear all settings on a single interface?

Allan Kjaer
Level 1
Level 1

Hi,

Does anyone know if it's possible to clear all settings on a Cisco 3750 on a single interface with one command?

3 Replies 3

cadet alain
VIP Alumni
VIP Alumni

Hi,

default interface  fx/x  should do the trick.

Regards

Alain

Don't forget to rate helpful posts.

Don't forget to rate helpful posts.

Leo Laohoo
Hall of Fame
Hall of Fame

Yes, as what Alain has mentioned the command "default interface " should set the interface to how the way it is.  You can also use "default interface RANGE ".  The "default interface" command can triggered at Global Configuration mode.

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

BTW, the default interface command often works on other Cisco network devices too.

Whether a defaulted interface will be in shutdown or not, appears to vary, so as I never recall device specifics, I'll follow up the default command with an interface command to either shut or no shut the interface (to make sure it's as I desire).

Also BTW, on 6500s, some interface commands program the ASIC, i.e. they impact other ports.  Defaulting an interface will remove those commands from other interface within the same ASIC port group.

So the moral of the story, be careful when using the default interface command.