Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Help required in removing commands from a switch

I have a catalyst switch 3400 on which I have configured a port as trunk and added some vlans to it using 'switchport trunk allowed add vlan x,y ' command. Next I removed all vlans from this port and changed it to an access port.The issue is that when an access VLAN is configured on this port the "switchport trunk allowed vlan none" is still configured on the port.I would like the switch to return to defalut configuration after it is changed to access mode. Is there a way to do so ?

5 REPLIES
Cisco Employee

Re: Help required in removing commands from a switch

Hi Friend,

Did you tried adding "no" with the same command. Something like this "no switchport trunk allowed vlan "?

Also is it 3500XL switch? as there is no switch model as 3400?

Regards,

Ankur

New Member

Re: Help required in removing commands from a switch

Hello Ankur,

Thanks for the tip.I tried "no switchport trunk allowed vlan".

It has cleared the previous configuration.

The device I am using is Catalyst 3400ME.

Cisco Employee

Re: Help required in removing commands from a switch

Hi Friend,

Great to know it worked for you. I missed that switch from my knowledgebase. Anways thanks for the updates.

Regards,

Ankur

*Pls rate all helpfull post

Re: Help required in removing commands from a switch

Here is another tip: the quickest way to return an interface to its default settings is default int F0/1

Kevin Dorrell

Luxembourg

New Member

Re: Help required in removing commands from a switch

Thanks Kevin. I will try that as well.

138
Views
19
Helpful
5
Replies
CreatePlease to create content