cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
234870
Views
76
Helpful
7
Replies

clear config - interface

dkblee
Level 1
Level 1

hi! what's the command to clear an gigaethernet internface config on a 4506e sw? currently there are lots of qos and security stuffs on some of the gigaethernet port. instead of using the no command for each of the line, is there a command to clear all these config? i just want to configure access vlan on the port.

thx.

1 Accepted Solution

Accepted Solutions

Lim Seow Hua
Level 1
Level 1

You can try to use below command on the configuration mode....

xxx-xxx(config)#default interface gigabitEthernetx/x - specify the port that you would like to clear the configuration...see whether it works or not.

And let me know later

View solution in original post

7 Replies 7

Lim Seow Hua
Level 1
Level 1

You can try to use below command on the configuration mode....

xxx-xxx(config)#default interface gigabitEthernetx/x - specify the port that you would like to clear the configuration...see whether it works or not.

And let me know later

Hi there,

I tried the above command and it works.

Thanks,

Worked for me too, thanks!

Worked for me as well. 

Thanks!

BTW, I recall the interface default command can be use with the interface range command too.

Thank you!!

I did have to type it as autocomplete wouldn't work for some reason?

Either way it worked and thank you !!!

Bahusafoo
Level 1
Level 1

Wanted to say, this works with ranges too.  IE to default ports 1-22 on a switch from conf t:

default int range gi1/0/1-22