08-11-2022 03:04 AM
Hi
I am working through CCNA material which focusses on configuring and validation. This is great but I am looking to also remove the commands from the switch.
As an example (CCNA Etherchannel)
Configure with channel-group 1 mode on
Validate with sh spanning-tree or sh etherchannel 1 summary
This all works but how do you remove the etherchannel?
When I try the "no" command, i.e: no channel-group 1 mode on
I get this error % Invalid input detected at '^' marker.
I have the same issue as well when configuring access. I can configure all the access needs, passwords from line con 0 and vty and I can undo them with no command. But with local username and password (username wendell secret odom) when I try to use the "no" command it keeps the logins but then won't me let log in?
I don't want to have to reset the switch every time I do this as its not practical for client sites
Any guidance appreciated community
Solved! Go to Solution.
08-11-2022 05:24 AM
No, solved it. The channel group must be shutdown before any commands are entered. Then change the int and then no shutdown brings the channel up with all interfaces having the right settings. It does not work unless you shut down first!
Group Port-channel Protocol Pots
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) PAgP Fa0/1(P) Fa0/2(D) Fa0/3(P)
08-11-2022 03:09 AM
Quick update, I realise I have to go back in to each int or int range to remove the int from the channel-group however channel group is still there, how do i remove that?
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) -
08-11-2022 03:34 AM - edited 08-11-2022 04:32 AM
no interface port-channel <<- remove the PO from SW
then reload the SW/R
and do check again
that it
08-11-2022 03:46 AM
switch(config)#no port-channel
% Incomplete command.
switch(config)#no port-channel 1
^
% Invalid input detected at '^' marker.
08-11-2022 03:49 AM
Can you post output below :
show etherchannel summary
you like to remove you need to use below syntax:
switch(config)#no interface port-channel 1
08-11-2022 03:51 AM
Before I do that do you know why int Fa0/3 would be suspended?
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SU) - Fa0/1(P) Fa0/2(D) Fa0/3(s)
08-11-2022 04:28 AM
Okay so, int Fa0/1 does not sh up in sh vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2, Po1
This should mean it is trunked, as Fa0/3 is not trunked this may be why it is not showing BUT Fa0/1 does not appear in sh int trunk
switch#sh int trunk
switch#sh vlan brief
08-11-2022 03:57 AM
Also, my Fa0/1 has just changed to (I) standalone
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
1 Po1(SD) - Fa0/1(I) Fa0/2(D) Fa0/3(s)
08-11-2022 04:02 AM
To remove as suggested :
switch(config)#no interface port-channel 1
Also, my Fa0/1 has just changed to (I) standalone
I - means other side not participated in port-channel that is individual
S- Suspended due to misconfiguration
08-11-2022 04:20 AM
Have checked Fa0/3
It shows in vlan brief, it is same speed and duplex on both switches.
what else could be misconfigured?
08-11-2022 04:28 AM
Okay so, int Fa0/1 does not sh up in sh vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Fa0/9
Fa0/10, Fa0/11, Fa0/12, Fa0/13
Fa0/14, Fa0/15, Fa0/16, Fa0/17
Fa0/18, Fa0/19, Fa0/20, Fa0/21
Fa0/22, Fa0/23, Fa0/24, Gi0/1
Gi0/2, Po1
This should mean it is trunked, as Fa0/3 is not trunked this may be why it is not showing BUT Fa0/1 does not appear in sh int trunk
switch#sh int trunk
switch#sh vlan brief
08-11-2022 04:50 AM
okay so found the issue. Combining three Fa01-3 ports. This is the error message
*Mar 1 01:59:39.624: %EC-5-CANNOT_BUNDLE2: Fa0/3 is not compatible with Po1 and will be suspended (trunk encap of Fa0/3 is auto, Po1 is dot1q)
What I don't understand is in the sh int fa0/3 it states the encapsulation is ARPA. I have checked all three ports on both switches and everything is the same. Don't understand this. Thoughts?
08-11-2022 04:52 AM
just one sec. you want to remove the PO or correct it ??
08-11-2022 04:58 AM
I am now looking to correct it...sorry
okay so found the issue. Combining three Fa01-3 ports. This is the error message
*Mar 1 01:59:39.624: %EC-5-CANNOT_BUNDLE2: Fa0/3 is not compatible with Po1 and will be suspended (trunk encap of Fa0/3 is auto, Po1 is dot1q)
What I don't understand is in the sh int fa0/3 it states the encapsulation is ARPA. I have checked all three ports on both switches and everything is the same. Don't understand this. Thoughts?
08-11-2022 05:08 AM
the command you need
under the member port of PO
config
switchport trunk encap dot1q
this will solve issue
notice:- here we talk about the Trunk encap not the ethernet encap
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