Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Etherchannel port configured with both access and trunk commands

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

HelloYes it can, once its

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 don't forget to rate any posts that have been helpful. Thanks.
Hall of Fame Super Blue

As Paul says you can probably

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

54
Views
0
Helpful
2
Replies