I noticed that when creating Etherchannel it automatically creates it in VLAN 1. Is there a way to create Etherchannel in a diferent VLAN? If so, could you please list the steps in order to so?
-
Etherchannel Configuration
-
I haven' t tried this before today. OK...so the end result is it will not work!
I created the LACP port-channel 1 on SW1 then changed it to an access port. It went down and came back up. I assigned it to vlan 10 and surprise to me, it worked!
Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SU) LACP Gi0/0(P) Gi0/1(P)
Then I added it to vlan 10. It went crazy and I thought it's done...and verified it by a
show vlan brief
SW1(config)#int port-channel 1 SW1(config-if)#switchport access vlan 10 % Access VLAN does not exist. Creating vlan 10 SW1(config-if)# *Jan 7 10:26:48.701: %LINK-3-UPDOWN: Interface Port-channel1, changed state to down *Jan 7 10:26:49.701: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to downdo show vlan *Jan 7 10:26:55.660: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up *Jan 7 10:26:56.524: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/0 (10), with SW2 GigabitEthernet0/0 (1).brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Gi0/2, Gi0/3, Gi1/0, Gi1/1 Gi1/2, Gi1/3, Gi2/0, Gi2/1 Gi2/2, Gi2/3, Gi3/0, Gi3/1 Gi3/2, Gi3/3 10 VLAN0010 active Po1
So...I thought wow...I didn't think it would work....well actually it didn't.
I did the same thing on SW2...and no go
SW2(config-if-range)#switchport mode access SW2(config-if-range)# *Jan 7 10:27:28.298: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/0 (1), with SW1 GigabitEthernet0/0 (10). *Jan 7 10:27:28.364: %EC-5-CANNOT_BUNDLE2: Gi0/0 is not compatible with Gi0/1 and will be suspended (trunk mode of Gi0/0 is access, Gi0/1 is dynamic) *Jan 7 10:27:28.372: %EC-5-COMPATIBLE: Gi0/0 is compatible with port-channel members *Jan 7 10:27:30.344: %CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on GigabitEthernet0/1 (1), with SW1 GigabitEthernet0/1 (10). *Jan 7 10:27:30.371: %LINK-3-UPDOWN: Interface Port-channel1, changed state to down *Jan 7 10:27:31.371: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to down *Jan 7 10:27:36.098: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up *Jan 7 10:27:37.100: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up SW2(config-if-range)# SW2(config-if-range)# SW2(config-if-range)#switchport access vlan 10 % Access VLAN does not exist. Creating vlan 10 SW2(config-if-range)#do sho *Jan 7 10:27:59.648: %EC-5-CANNOT_BUNDLE2: Gi0/0 is not compatible with Gi0/1 and will be suspended (access vlan of Gi0/0 is 10, Gi0/1 is 1) *Jan 7 10:27:59.656: %EC-5-CANNOT_BUNDLE2: Gi0/0 is not compatible with Po1 and will be suspended (access vlan of Gi0/0 is 10, Po1 is 1) *Jan 7 10:27:59.656: %EC-5-CANNOT_BUNDLE2: Gi0/0 is not compatible with Po1 and will be suspended (access vlan of Gi0/0 is 10, Po1 is 1) *Jan 7 10:27:59.656: %EC-5-CANNOT_BUNDLE2: Gi0/1 is not compatible with Po1 and will be suspended (access vlan of Gi0/1 is 10, Po1 is 1) *Jan 7 10:28:00.646: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to downw r *Jan 7 10:28:00.653: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to down *Jan 7 10:28:01.654: %LINK-3-UPDOWN: Interface Port-channel1, changed state to down *Jan 7 10:28:02.654: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to down % Ambiguous command: "do show r" SW2(config-if-range)# SW2(config-if-range)#do show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active Gi0/2, Gi0/3, Gi1/0, Gi1/1 Gi1/2, Gi1/3, Gi2/0, Gi2/1 Gi2/2, Gi2/3, Gi3/0, Gi3/1 Gi3/2, Gi3/3 10 VLAN0010 active Gi0/0, Gi0/1 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup SW2(config-if-range)#do show etherchannel summary Flags: D - down P - bundled in port-channel I - stand-alone s - suspended H - Hot-standby (LACP only) R - Layer3 S - Layer2 U - in use N - not in use, no aggregation f - failed to allocate aggregator M - not in use, minimum links not met m - not in use, port not aggregated due to minimum links not met u - unsuitable for bundling w - waiting to be aggregated d - default port A - formed by Auto LAG Number of channel-groups in use: 1 Number of aggregators: 1 Group Port-channel Protocol Ports ------+-------------+-----------+----------------------------------------------- 1 Po1(SD) LACP Gi0/0(s) Gi0/1(s)
Cordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV. -
Is it not possible to create Etherchannel on any other VLAN except for VLAN 1? I thought that we never wanted to use VLAN 1 for any traffic due to security?
-
Not for trunking traffic you cannot. By nature, etherchannel spans all VLANs.
But Anthony reminded me that you can do this on a single switch for a connection to a server (e.g. Cisco UCS) for combined bandwidth. So that's why it worked on one but not for another.
We do not want to use VLAN 1 if we leave it as the native vlan. But with 802.1q, you can reconfigure another vlan to be the native vlan. So it's not so much that it's the
1
that matters but that by defaultVLAN1
is the native vlan. Hope that makes sense.Cordially,
Ronnie Wong
Edutainer Manager, ITProTV*if the post above has answered the question, please mark as solved.
**All "answers" and responses are offered "as is" and my opinion. There is no implied service, support, or guarantee by ITProTV. -
Thank you Ronnie...now I understand.