03-17-2014 12:56 PM - edited 03-07-2019 06:44 PM
Hi,
The following is the partial config for etherchannel on our 4500 switch.
interface Port-channel3
description XXNAMExx
switchport
switchport access vlan 40
switchport trunk allowed vlan 40
switchport mode trunk
!
As the switchport mode is trunk I am guessing the " switchport access vlan 40" is irrelevant.
Can that access command be deleted?
03-18-2014 07:36 AM
Hello
Yes it can, once its removed it will also be removed for the physical interfaces relating to the port-channel.
It looks like this port-channel was configured first then either applied as a trunk or access port, .then changed again
Its not the correct way of creating a etherchannel, which would be setting up the physical interfaces first to whatever mode you wish them to be then add them to a port-channel - which will then be created automatically.
res
Paul
03-18-2014 08:00 AM
As Paul says you can probably remove it.
However the trunk is configured to only allow vlan 40 across so it could just as easily be configured as an access port in vlan 40 ie. they achieve the same thing in effect.
Jon
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide