05-30-2022 02:13 AM
core-utex2-1(config)#int port-channel 20
core-utex2-1(config-if)#sw
core-utex2-1(config-if)#switchp
core-utex2-1(config-if)#switchport
core-utex2-1(config-if)#switchp
core-utex2-1(config-if)#switchport m
core-utex2-1(config-if)#switchport mode t
core-utex2-1(config-if)#switchport mode trunk
core-utex2-1(config-if)#
core-utex2-1(config-if)#sw
core-utex2-1(config-if)#switch v
core-utex2-1(config-if)#switch virtual l
core-utex2-1(config-if)#switch virtual link 1
WARNING: Interface Port-channel placed in restricted config mode. All extraneous configs removed!
core-utex2-1(config-if)#no shut
core-utex2-1(config)# int ran te1/1 - 2
core-utex2-1(config-if)#channel-group 20 mode on
Command rejected (Port-channel20, Te1/1): Either port is L2 and port-channel is L3, or vice-versa
% Range command terminated because it failed on TenGigabitEthernet1/1
05-30-2022 02:24 AM
core-utex2-1(config)# int ran te1/1 - 2
core-utex2-1(config)# switchport mode trunk
core-utex2-1(config-if)#channel-group 20 mode on
try below document :
05-30-2022 02:52 AM
Hi
Verify Te1/1 as per the logs: "Either port is L2 and port-channel is L3, or vice-versa"
We know that the Port-channel is L2 as per the commands you used "switchport" The other possibility is one of this port to be in L3.
You can do :
!
int range Te1/1 - 2
switchport
!
05-30-2022 02:57 AM
Hello,
looking at the exact error message, it complains that Te1/1 is layer 3. Try the below:
core-utex2-1(config)# interface range te1/1 - 2
core-utex2-1(config-if-range)#switchport
core-utex2-1(config-if-range)#channel-group 20 mode on
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide