12-12-2009 11:51 PM - edited 03-06-2019 08:55 AM
Hi,
Grateful if the expert would advise on the setting of EthernetChannel.
#
interface GE1/0/25
switchport trunk encapsulation dot1q
switchport mode {access | trunk}
If the setting was configured as "switchport mode access", what was the different behaviour comparing with the ethernet channel which was configured to be "switchport mode trunk"?
Solved! Go to Solution.
12-13-2009 02:15 AM
anitachoi3 wrote:
Hi,
Grateful if the expert would advise on the setting of EthernetChannel.
#
interface GE1/0/25
switchport trunk encapsulation dot1q
switchport mode {access | trunk}
If the setting was configured as "switchport mode access", what was the different behaviour comparing with the ethernet channel which was configured to be "switchport mode trunk"?
Rdgs
Anita
Not sure what you are asking here.
Firstly the above is not an example of an etherchannel. It is a single port. For etherchannel you would need to use multiple physical ports and then you would have a port-channel interface.
The difference between an access port and a trunk port is that an access port carries one vlans traffic whereas a trunk port can carry multiple vlan traffic.
Jon
12-13-2009 02:54 AM
here is a link to provide you a better understanding of ether channel. the config remains the same till the time we are using IOS not CatOS on a switch :-
just an overview we use etherhannel to provide extra bandwidth and redundancy. once 2 or more port are configured as etherchannel they start acting as one logical port you can make it a access port, trunk port and even a layer 3 port.
when you ask the diff b/w ether channel configured as an access port or a trrunk port the answer remains the same a trunk can carry date of more than one vlan but an access port can only carry data of 1 vlan.
Regards,
Varun
12-13-2009 04:25 AM
Hello Anita,
before setting up an etherchannel, configuration of all member links must match for the following criteria:
speed
duplex
switchport mode (access or trunk)
access vlan (if access port)
list of permitted vlans and native vlan (if trunk)
trunking protocol (if trunk)
after the etherchannel is up any change has to be done on the port-channel interface not on member links.
Trying to change config on one member link can cause bridging loops and has to be avoided.
If before setting the bundle, one interface's config doesn't match it should be left out of the bundle by the switch.
Note:
if the question is simply what is the effects of those two commands together:
switchport mode access: the whole port is in a single vlan as specified by switchport access vlan, default value: switchport access vlan 1
switchport mode trunk: the port is unconditionally a trunk regardless of the willingless of other side ( DTP messages are not considered), the port is member of multiple vlans, default value the port is member of all existing vlans in vlan database.
list of permitted vlans can be defined with:
switchport trunk allowed vlan
switchport trunk encapsulation dot1q: specifies that is port switchport state is trunking the protocol to be used id 802.1Q for vlan tagging.
notice that until the port is in switchport mode access the switchport trunk enc dot1q is not effective and doesn't disturb.
Hope to help
Giuseppe
12-13-2009 02:15 AM
anitachoi3 wrote:
Hi,
Grateful if the expert would advise on the setting of EthernetChannel.
#
interface GE1/0/25
switchport trunk encapsulation dot1q
switchport mode {access | trunk}
If the setting was configured as "switchport mode access", what was the different behaviour comparing with the ethernet channel which was configured to be "switchport mode trunk"?
Rdgs
Anita
Not sure what you are asking here.
Firstly the above is not an example of an etherchannel. It is a single port. For etherchannel you would need to use multiple physical ports and then you would have a port-channel interface.
The difference between an access port and a trunk port is that an access port carries one vlans traffic whereas a trunk port can carry multiple vlan traffic.
Jon
12-13-2009 02:54 AM
here is a link to provide you a better understanding of ether channel. the config remains the same till the time we are using IOS not CatOS on a switch :-
just an overview we use etherhannel to provide extra bandwidth and redundancy. once 2 or more port are configured as etherchannel they start acting as one logical port you can make it a access port, trunk port and even a layer 3 port.
when you ask the diff b/w ether channel configured as an access port or a trrunk port the answer remains the same a trunk can carry date of more than one vlan but an access port can only carry data of 1 vlan.
Regards,
Varun
12-13-2009 04:25 AM
Hello Anita,
before setting up an etherchannel, configuration of all member links must match for the following criteria:
speed
duplex
switchport mode (access or trunk)
access vlan (if access port)
list of permitted vlans and native vlan (if trunk)
trunking protocol (if trunk)
after the etherchannel is up any change has to be done on the port-channel interface not on member links.
Trying to change config on one member link can cause bridging loops and has to be avoided.
If before setting the bundle, one interface's config doesn't match it should be left out of the bundle by the switch.
Note:
if the question is simply what is the effects of those two commands together:
switchport mode access: the whole port is in a single vlan as specified by switchport access vlan, default value: switchport access vlan 1
switchport mode trunk: the port is unconditionally a trunk regardless of the willingless of other side ( DTP messages are not considered), the port is member of multiple vlans, default value the port is member of all existing vlans in vlan database.
list of permitted vlans can be defined with:
switchport trunk allowed vlan
switchport trunk encapsulation dot1q: specifies that is port switchport state is trunking the protocol to be used id 802.1Q for vlan tagging.
notice that until the port is in switchport mode access the switchport trunk enc dot1q is not effective and doesn't disturb.
Hope to help
Giuseppe
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: