Cannot Remove VLAN from Interface Cisco 3560

I have Cisco Catalyst 3560 48 port switch that will not remove a VLAN from a interface Gi0/7 using the command "no switchport access vlan 33". Instead, it removes the port from VLAN 32 which is the opposite of what I want it to do. Even when I explicitly add VLAN 35 (the VLAN I want) to the interface it removes it from VLAN 32 which is the VLAN that provides a DHCP lease to the device that is connected to that switch port. Any help is appreciated. Configuration is

interface GigabitEthernet0/7
 switchport access vlan 32
 switchport trunk encapsulation dot1q
 switchport mode access
 switchport voice vlan 33
 switchport priority extend trust
 mls qos trust dscp
 spanning-tree portfast
Todd WilloughbyLead System EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Bryant SchaperCommented:
Try no switch port voice
Bryant SchaperCommented:
sorry from phone, no switchport voice vlan 33

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Todd WilloughbyLead System EngineerAuthor Commented:
That worked perfectly thank you!
Salah Eddine ELMRABETTechnical Lead Manager (Owner)Commented:

Try this:

default interface GigabitEthernet0/7

This will restore default configuration for the interface and then configure what you want to do.


Bryant SchaperCommented:
default would work too, he is just trying to remove a voice vlan and was trying to remove it as an access vlan.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.