Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't ping device connected to Cisco switch after power failure

Status
Not open for further replies.

Comn8u

Programmer
May 3, 2004
9
US
I have around 5 devices that I can't ping after a power outage. The device's are in working order. The devices are also on a separate vlan. I can see the device's MAC address, port is up, but can't ping the devices from the switch. Any idea on how I should troubleshoot this? I'm pretty new to switches, but I'm interested in figuring out why I can't ping the device from anywhere. Any help would be appreciated. If you were in this situation, how would you troubleshoot it?
 
Did you forget to save the config?

You will need to console into them if you can't ssh/telnet to them
 
I didn't set it up, so I'm not sure if the config was saved or not. The device is on VLAN41 and I can see that VLAN41 is allowed on every port, but I can't ping the device. I can see the device's MAC address, and confirmed the MAC address. The switch is on a default VLAN51.

The device's ip is 192.168.41.31 and the switch is 192.168.51.2. I can't ping the 41 address. There are other 41 addresses that I can ping, but they're not connected to this switch. That's one of the reasons why I think this switch is causing the problem.
 
Does the switch have a default gateway set?

Dan
 
You're trying to ping it from a device that is on a different subnet. This means you are testing a whole lot of different things at once. This is a bad way of testing - when testing, you should be testing one unknown at a time.

1. Can the switch ping itself?
2. Can the switch see its CDP neighbours?
3. Can the switch ping its default GW (router address)?
4. Can a device on a different subnet ping that same router address?
5. Can the switch ping the device on a different subnet?
6. Can the device on a different subnet ping the switch?

EmuDan has asked the pertinent question.

Alternatively, how many VLAN interfaces does the switch have, how many of those have IP addresses, and which VLAN is configured to be the "management VLAN"?
 
1. Can the switch ping itself?
Yes, I was able to ping the switch (from the switch)

2. Can the switch see its CDP neighbours?
Yes, it shows a switch, which is also its default gateway, two instances of one phone controller, and the switch itself.

3. Can the switch ping its default GW (router address)?
The default gateway for the switch is another switch and yes it can ping the default gateway switch.

4. Can a device on a different subnet ping that same router address?
I'll have to test this tomorrow. One subnet is for ip phones, another is for computers, and another is for cameras. I'll set my laptop to both phone address and camera address and see what happens.

5. Can the switch ping the device on a different subnet?
I was able to ping the ip of a phone controller on a different subnet.

6. Can the device on a different subnet ping the switch?
I was able to successfully ping the switch from another subnet.



Phone traffic works fine, computer traffic (on different subnet) works fine as well. I can't ping cameras that are connected to this switch, but I can ping cameras (on the same subnet) that are connected to the default gateway switch.

This switch is an extension to the main switch at the facility. There is also another switch (AdTran 1234 switch) that's connected to the facility's main switch, which has working cameras on it.

Every port on the switch (at the facility where camera's are not working) has 3 vlans (switchport trunk allowed vlan xx, xx, xx). Trunk native vlan is the vlan that the computers are on.
Each port looks like this:
interface GigabitEthernet1/0/20
switchport trunk native vlan 75
switchport trunk allowed vlan 25,33,62
switchport mode trunk
switchport voice vlan 62
spanning-tree portfast

Doing a "Show VLAN", I see 8 vlans (4 enet, 1 fddi, 1 tr, 1 fdnet, 1 trnet)

Although, I could be wrong, I find it hard to believe that 4-5 cameras lost their IPs. I can't connect to them since they are powered by the switch, which is a POE.
 
So each of your edge ports is configured as a trunk with multiple VLANs on it?

So the cameras work by themselves being configured to belong to a tagged VLAN?

Did the power outage only affect those cameras?
 
Yes, each port allows multiple vlans for voice and data.

When the power came back on, everything worked fine. Even the cameras have power. The cameras are connected to a NAS through the network. If the NAS/network becomes unavailable, the cameras will still function as normal. Each camera can still hold recordings. After the loss of power, I haven't been able to ping any of the cameras that are connected to this particular switch.

This switch is connected to the main facility switch through fiber. The main facility has a cisco switch, an AdTran switch, a mitel phone controller, and a NAS. Everything is operational except for the 4 cameras at the other facility.

Any ideas?
 
Is the Cisco switch in the main facility the default GW for the camera subnet?
If so, can you ping the cameras from that switch? (Not from a device connected to it, from the switch itself).

If not, then check the camera VLAN tagging config.
 
Found it was a simple answer. I changed the VLAN to the camera's VLAN on the camera ports and everything came back up.

switchport trunk native vlan xx

Thanks for your help on this.

The config settings must not have been saved to the startup-config.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top