cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
289
Views
0
Helpful
2
Replies

Etherchannel port configured with both access and trunk commands

NInja Black
Level 1
Level 1

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?

2 Replies 2

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


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Jon Marshall
Hall of Fame
Hall of Fame

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

Review Cisco Networking products for a $25 gift card