Thank you very much, this really worked for me. Could you please tell me why we issued the command, no switchport on portchannel. What it really does ? Thank you.
I had got the same problem in port-channel configuration. I was trying to make the port-channel as trunk. The following command fixed my issue, int port-channel xxswitchportswitchport trunk encapsulaton dot1qswitchport mode trunk HTH