Switch hung after tagging a port in vlan

DOWNLOAD THE LATEST FIRMWARE HERE
snakebit31
Member
 
Posts: 5
Joined: Tue Sep 12, 2017 1:11 pm
Has thanked: 3 times
Been thanked: 0 time

Switch hung after tagging a port in vlan

Tue Sep 12, 2017 1:44 pm

I have a ws-12-250-dc this morning i turned the poe off on port 6 and turned poe on on port 5 save config and everything worked great. Went to the remote location to adjust the antenna and i forgot to tag port 5 with my vlan, so i tagged it and then saved config and the the switch hung with no switching activity put had poe. So i drove to the switch location and all the poe port that was turned on before it hung was on but no lan connectivity on any port even when I plugged the laptop into it, so I cycled the power to the switch and then the only light I have is the power light. Has anyone came across this issue? What can I do to get the switch back up and running? I did notice when the laptop is plugged into a port when i cycled the power on the switch the switch port that im on would light up for a second and then go out. This switch was up for 150+ days without issues.

TIA, Craig

User avatar
mike99
Associate
Associate
 
Posts: 837
Joined: Tue Nov 25, 2014 10:53 am
Location: Quebec, Canada
Has thanked: 95 times
Been thanked: 245 times

Re: Switch hung after tagging a port in vlan

Tue Sep 12, 2017 3:12 pm

Seem to have nothing to do with the config change. It seem more a hardware issue. I would try to check what happening via serial port first. If it's software, you should be able to reset it and push back old config but it's probably hardware related.

snakebit31
Member
 
Posts: 5
Joined: Tue Sep 12, 2017 1:11 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Switch hung after tagging a port in vlan

Tue Sep 12, 2017 5:49 pm

@mike99 Thank you for the reply, I was going to try the via serial tonight before i sent a rma request. Just shocked me that it happened in the manner that it did. I will let you know what I find.

User avatar
mike99
Associate
Associate
 
Posts: 837
Joined: Tue Nov 25, 2014 10:53 am
Location: Quebec, Canada
Has thanked: 95 times
Been thanked: 245 times

Re: Switch hung after tagging a port in vlan

Tue Sep 12, 2017 8:48 pm

Problem normally happen on change. By exemple, the switch could have been ok running on RAM but hang while trying to write config change to flash ROM. If ROM is broken, switch won't be able to boot.

Julian
 

Re: Switch hung after tagging a port in vlan

Wed Sep 13, 2017 3:07 pm

I think Mike's on the right track, but I can usually get these types of units to come back by doing the old unplug-and-plug on power and then holding the reset button down for a minute or so while it's booting. Will wipe your config, bring a backup along.

I'm not 100% on why they do that sometimes, but i think it has to do with a flash sector going bad (which is a normal thing) and not recovering within the flash's MBR equivalent? (this part isn't normal)

snakebit31
Member
 
Posts: 5
Joined: Tue Sep 12, 2017 1:11 pm
Has thanked: 3 times
Been thanked: 0 time

Re: Switch hung after tagging a port in vlan

Wed Sep 27, 2017 11:34 pm

Yes unplugging the power and then booting it up with the reset button fixed it! I had a rma issued but tried this before i sent it in. Thank You!!!

User avatar
RebusCom
Experienced Member
 
Posts: 110
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

Re: Switch hung after tagging a port in vlan

Thu Oct 12, 2017 8:14 pm

Julian wrote:I think Mike's on the right track, but I can usually get these types of units to come back by doing the old unplug-and-plug on power and then holding the reset button down for a minute or so while it's booting. Will wipe your config, bring a backup along.

I'm not 100% on why they do that sometimes, but i think it has to do with a flash sector going bad (which is a normal thing) and not recovering within the flash's MBR equivalent? (this part isn't normal)


Re: WS-12-250-AC rev. F

Very similar to the OP, had two VLANs, one tagged and the other not. The tagging was moved from one to the other. Same result. Lockup with no recovery. Per syslog it appears the traffic stopped about one minute after the change. That implies the switch perhaps tried to revert back to it's prior config, unsuccessfully.

Why did this happen, and more importantly, how to prevent it from happening again? This was in production when it occurred. If bad memory is suspected, is there a way to test it?

User avatar
sirhc
Employee
Employee
 
Posts: 7347
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1597 times
Been thanked: 1318 times

Re: Switch hung after tagging a port in vlan

Thu Oct 12, 2017 8:56 pm

Do not know what happened but before I would consider hardware I would say more like a configuration issue.

What version of firmware are you using?

Would like to see what your VLAN tab looked like before you made the change and what change you made.

Messing with VLANs can cause traffic to stop.

Did you go to the switch and plug a console cable into the switch and see what was going on?

This is why there is a console port for this type of thing.

From the console cable you could examine the config and see what's going on.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

User avatar
RebusCom
Experienced Member
 
Posts: 110
Joined: Sun Nov 30, 2014 9:42 pm
Location: Washington
Has thanked: 13 times
Been thanked: 11 times

Re: Switch hung after tagging a port in vlan

Thu Oct 12, 2017 11:13 pm

V 1.4.7

Didn't have time to mess with a production unit. There was zero traffic on all ports and the switch was unresponsive to pings or http. Replaced it to get the network back up and brought it to the bench for diagnosis only to have it be unresponsive to any access as it would immediately hang on powerup.

User avatar
sirhc
Employee
Employee
 
Posts: 7347
Joined: Tue Apr 08, 2014 3:48 pm
Location: Lancaster, PA
Has thanked: 1597 times
Been thanked: 1318 times

Re: Switch hung after tagging a port in vlan

Fri Oct 13, 2017 4:26 pm

RebusCom wrote:V 1.4.7

Didn't have time to mess with a production unit. There was zero traffic on all ports and the switch was unresponsive to pings or http. Replaced it to get the network back up and brought it to the bench for diagnosis only to have it be unresponsive to any access as it would immediately hang on powerup.


Not sure.
I would try holding the factory default button in when powering it on as described here:
viewtopic.php?f=6&t=409#p2398

Press the factory default button and hold for 20 seconds when powering up
This feature reformats the writable partition where the config is stored then recreates a new config with the default, this process is actually handled but the boot loader. If you ever see an error or warning on the console during initial boot or in the Linux system log about the JFFS2 filesystem such as a checksum issue this is the only way to correct that issue. Now the JFFS2 file system is pretty resilient and even if it gets corrupted 99.9% of the time you would never have an issue but if you really want the error message to go away you have to do this type of factory default, just remember to backup your config or write it down first as with any factory default your config is lost!

WHEN PERFORMING THIS DEFAULT YOU MUST LET THE SWITCH SIT FOR SEVERAL MINUTES


If no love then RMA it.
Support is handled on the Forums not in Emails and PMs.
Before you ask a question use the Search function to see it has been answered before.
To do an Advanced Search click the magnifying glass in the Search Box.
To upload pictures click the Upload attachment link below the BLUE SUBMIT BUTTON.

Next
Return to Hardware and software issues

Who is online

Users browsing this forum: No registered users and 55 guests