cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
632
Views
0
Helpful
4
Replies

Etherchannel configuration

itdsmartnet
Level 1
Level 1

hi, i have the following configuration regarding etherchannel. i want to know that is that interface is in access mode or in trunk mode. what does the command "switchport access vlan 109" has effect on this etherchannel. is it going to forward only vlan 109 traffic to the etherchannel or all vlan traffic will go through this etherchannel

interface TenGigabitEthernet4/3

switchport

switchport access vlan 109

switchport trunk encapsulation dot1q

switchport mode trunk

channel-protocol lacp

channel-group 2 mode active

interface TenGigabitEthernet4/4

switchport

switchport access vlan 109

switchport trunk encapsulation dot1q

switchport mode trunk

channel-protocol lacp

channel-group 2 mode active

1 Accepted Solution

Accepted Solutions

It will only take effect if you configure the switchport as access port:

interface TenGig4/3

switchport mode access

Then it will be part of vlan 109.

If you use this interface as a trunk, then the "switchport access vlan 109" is unnecessary.

Cheers:

Istvan

View solution in original post

4 Replies 4

Jon Marshall
Hall of Fame
Hall of Fame

Should act as a trunk - what is under the port-channel interface - po2.

Easiest way to see what is happening regarding trunking is "sh interface trunk".

Jon

Istvan_Rabai
Level 7
Level 7

Hi Waseem,

Agree with Jon.

The "switchport mode trunk" command will determine the mode of operation of the link.

No matter if you configured "switchport access vlan 109".

Cheers:

Istvan

hi,

Thanks for your reply, what is the effect of switchport access vlan 109. if i remove this command does it matter on configuration.

Thanks

It will only take effect if you configure the switchport as access port:

interface TenGig4/3

switchport mode access

Then it will be part of vlan 109.

If you use this interface as a trunk, then the "switchport access vlan 109" is unnecessary.

Cheers:

Istvan

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card