cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1878
Views
0
Helpful
16
Replies

Remove commands

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

 

 

1 Accepted Solution

Accepted Solutions

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)

View solution in original post

16 Replies 16

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) -

no interface port-channel <<- remove the PO from SW
then reload the SW/R 
and do check again 
that it

switch(config)#no port-channel
% Incomplete command.

switch(config)#no port-channel 1
^
% Invalid input detected at '^' marker.

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

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)

 

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

 

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)

 

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

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Have checked Fa0/3

It shows in vlan brief, it is same speed and duplex on both switches. 

what else could be misconfigured?

 

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

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?

 

just one sec. you want to remove the PO or correct it ??

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?

 

 

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 

Review Cisco Networking for a $25 gift card