Difference of "allowed vlan" in between port-channel and trunk

Hi Expert, Two cables link two switches. and the two links are port-channel together. We set trunk allowed vlan at port-channel or interface trunks. What is difference between them ? Thank you.
Who is Participating?
Port-channel is just bundling interfaces together into one interface.
After you create port-channel you treat it as any other interface (it is not recommended to configure each interface separately), in your case I guess, configure allowed VLAN etc and all configuration you do on port channel.
The compatibility check is performed on interfaces
    Port mode
    Access VLAN
    Trunk native VLAN
    Allowed VLAN list
    802.3x flow control setting
if interfaces have difference in those settings they cannot be in the same channel-group.
To avoid difference, all configuration changes you need to do - do it on port-channel (not on individual interfaces) - and that will reconfigure all interfaces that are included in that channel-group.
At least that is in case of Cisco equipment.
AkinsdNetwork AdministratorCommented:
We set trunk allowed vlan at port-channel or interface trunks. What is difference between them ?

Setting the attribute on either port-channel or interface trunk produce the same result  except that Interface trunks only affects the interface you set it on, while Port-channel affects both ports that are members of the channel at the same time.

It's always recommended to set attributes under port-channel to ensure all member ports have the same settings. The alternative is to set the same attributes individually which of course, is time wasting when you can just set it for all in one place.
eemoonAuthor Commented:
Thank you so much for your fast reply. You are right. Thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.