I am wondering, is there a specific order I have to pass through commands when adding ports into a portchannel with allowed VLANs
Basically the ports were configured
int Gi1/0/18
channel-group 10 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
int Gi2/0/18
channel-group 10 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
The portchannel itself
interface Port-channel10
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
switchport trunk allowed vlan 20,21,22,907
I then noticed that the ports were suspended and the logs showed
EC – 5- = CANNOT_BUNDLE2: gi1/0/18 is not compatible with po1 and will be suspended (vlan mask is different)
EC – 5- = CANNOT_BUNDLE2: gi2/0/18 is not compatible with po1 and will be suspended (vlan mask is different)
I tried to shut / no shut the ports without luck .. it only started working once I added the
switchport trunk allowed vlan 20,21,22,907 line to the actual interfaces .. From that point on additional VLANs added to the portchannel were passed through fine to the individual interfaces.
I am by no means expert here (just a luser lol) - so any tips are highly appreciated