11-08-2008 04:19 AM - edited 03-04-2019 12:14 AM
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
Solved! Go to Solution.
11-09-2008 10:20 PM
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
11-08-2008 08:31 AM
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
11-09-2008 07:36 PM
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
11-09-2008 09:55 PM
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
11-09-2008 10:20 PM
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
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: