08-14-2017 03:28 PM - edited 03-05-2019 09:00 AM
I have a cisco 2821 that I attempted to set up an etherchannel in the past. I was trying to do it again and i kept getting an error that the VLANs do not match. Upon looking at the running config there was a stale config for an etherchannel. When trying to set up the new etherchannel it created a duplicate etherchannel 1. I can remove the duplicate one but I cannot get rid of the original one no matter what I do. I have tried duplicating the config of the stale etherchannel to all of the interfaces that I have tried to add to it. Currently I have removed any config related to the channel-group on all the interfaces and this is what I get with these commands.
Show etherchannel summary:
<code>
#sh etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
U - in use
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
1 Po1(SD)
1 Po1(SD)
</code>
Show running config:
<code>
#sh run | s channe
interface Port-channel1
switchport trunk native vlan 5
switchport trunk allowed vlan 1,200,300,1002-1005
switchport mode trunk
no ip address
</code>
If I try to do 'show running-config interface port-channel1' I get the following error:
<code>
#sh running-config int port-channel 1
^
% Invalid input detected at '^' marker.
</code>
I get the above error no matter what command I try to use to edit view or change this. I have tried adding the config of the stale port-channel to all of the interfaces verbatem prior to re-adding the channel-group 1 mode on caommand but that does not help. I get this config:
<code>
!
interface Port-channel1
shutdown
hold-queue 0 in
!
interface Port-channel1
switchport trunk native vlan 5
switchport trunk allowed vlan 1,200,300,1002-1005
switchport mode trunk
no ip address
!
</code>
Solved! Go to Solution.
08-15-2017 07:22 AM
Hi,
Yes unfortunately it could be a bug, I had a similar situation with an EIGRP stub on a Cisco 4948 a long time ago, it was impossible to deleted or overwrite until I remove the config from zero.
08-14-2017 08:41 PM
Hi
Try with
show run interface po1
To edit the port-channel interface you should use:
enable
conf t
interface po1
now you can modify it.
:-)
08-15-2017 04:10 AM
No matter how I try to show run for the port-channel I get the above error pointing tot the 1 like it does not exist.
08-15-2017 06:54 AM
Hi
It could be because your credentials are not allow any change, do you have privilege 15?
Also, the following message is related to a bug, you could need to upgrade the IOS
-Traceback= 43C5E724z 403B2910z 403E6B7Cz 403E6EA0z 402C42F4z 41E6F1DCz 41E5AEDCz 41E5BA84z 41E6BF34z 44AF41ACz 44AEA4E8z 43E5E6E0z 43E5E6C4z
08-15-2017 06:58 AM
Yes, this is my router. I have complete permissions. The issue is there is a stale config for an etherchannel that does not exist. I cannot change, delete or anything to this stale config. When I try to recreate the channel-group it actually creates a duplicate port-channel 1. I can work with this one, but if I try to make any changes to it, it says I cannot change the port type. I can shut it down and remove it, but the stale config stays in there. I cannot create any other channel groups either.
08-15-2017 07:07 AM
Thank you, that is not a normal situation, have you tried upgrade the IOS, or removing the config and reload but previously getting a backup the config.
08-15-2017 07:12 AM
The IOS is the most current I can get for it. When i get a chance I was going to try to reseat the card to see if that made a difference. Probably doing a write erase and reloading hte config would be the best bet. I will try that before reseating the card. I was hoping that someone else ran into a similar issue and new some way to fix at a lower level before I start doing the drastic stuff.
08-15-2017 07:22 AM
Hi,
Yes unfortunately it could be a bug, I had a similar situation with an EIGRP stub on a Cisco 4948 a long time ago, it was impossible to deleted or overwrite until I remove the config from zero.
08-15-2017 12:18 AM
Hello,
in addition to Julio's post, try to default all the member interfaces and the port channel interface:
2821(config)#default interface x
That said, the port channel config doesn't look right, as you are not allowing the native VLAN:
switchport trunk native vlan 5
switchport trunk allowed vlan 1,200,300,1002-1005
Add the native VLAN to the allowed list:
switchport trunk native vlan 5
switchport trunk allowed vlan 1,5,200,300,1002-1005
08-15-2017 04:12 AM
I cannot make any changes to the port-channel config. I will try to default all of the ports that I have had included with the channel-group.
08-15-2017 04:41 AM
Some more information. I add the command 'channel-group 1 mode on' to the interfaces for the channel-group and I get this error in the logs:
Aug 15 07:15:15.765: %SNMP-3-DVR_DUP_REGN_ERR: Attempt for dupe regn with SNMP by driver having ifIndex 256 and ifDescr Port-channel1
-Traceback= 43C5E724z 403B2910z 403E6B7Cz 403E6EA0z 402C42F4z 41E6F1DCz 41E5AEDCz 41E5BA84z 41E6BF34z 44AF41ACz 44AEA4E8z 43E5E6E0z 43E5E6C4z
08-15-2017 03:40 PM
This was resolved by doing a write erase and pushing back the config minus the stale etherchannel config.
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