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.
eemoonAsked:
Who is Participating?

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

x
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.

JustInCaseCommented:
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
    Speed
    802.3x flow control setting
    MTU
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.
0

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
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.
0
eemoonAuthor Commented:
Thank you so much for your fast reply. You are right. Thank you!
0
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
Routers

From novice to tech pro — start learning today.