Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I had the same problem when I changed a formally trunk port to an access port. The port state changed to 'inactive'I was able to solve it by doing a 'switchport access vlan 1'; commit and a ''switchport access vlan xxx' afterwards.