Top Banner
Troubleshooting VLAN Switch Problems-Part 2 Having already solved your first trouble ticket for the day, (Troubleshooting VLAN Switch Problems Part 1 ), which was an "Internet is down" issue, you're now ready to tackle your second trouble ticket. This time, we're looking into a "No connectivity" issue. Just like the first one, you pick up the ticket, assign it to yourself, contact the requester to inform him/her that you are already actively working on the problem, and perform troubleshooting and resolution. Here's a screenshot of this particular request: http://www.router-switch.com/
34

Troubleshooting vlan switch problems part2

Dec 25, 2014

Download

Technology

Router Switch

Troubleshooting VLAN Switch Problems-Part2
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Troubleshooting vlan switch problems part2

Troubleshooting VLAN Switch Problems-Part 2Having already solved your first trouble ticket for the day, (Troubleshooting VLAN Switch Problems Part 1), which was an "Internet is down" issue, you're now ready to tackle your second trouble ticket. This time, we're looking into a "No connectivity" issue.

Just like the first one, you pick up the ticket, assign it to yourself, contact the requester to inform him/her that you are already actively working on the problem, and perform troubleshooting and resolution.

Here's a screenshot of this particular request:

You start by going back to some of the devices you were looking at earlier. After some initial investigation, you learn that users aren’t even getting any DHCP addresses.

As always, you begin troubleshooting at the Physical Layer. You execute a show ip interface brief to get a quick summary, and you see that everything is doing well from there.

http://www.router-switch.com/

Page 2: Troubleshooting vlan switch problems part2

You follow that up with a command that will give you more detailed information:show interfaces

All relevant devices are still showing Up/Up.

Just to make sure you eliminate any potential problem, you issue the show controllers fastEthernet 0/0 command. The results tell you that nothing is really

http://www.router-switch.com/

Page 3: Troubleshooting vlan switch problems part2

wrong there.For instance, there are no collisions...

… it is autonegotiated ...

… and so on.

http://www.router-switch.com/

Page 4: Troubleshooting vlan switch problems part2

At this point, you presume that the problem is not physical.

You then execute the show cdp neighbors command. You see SW1-3, so you conclude that Layer 2 is still working.

You follow that up with a ping to 192.168.1.1.

No connectivity there.

Same with VLAN11.

Since all pings are failing, you proceed to execute:

http://www.router-switch.com/

Page 5: Troubleshooting vlan switch problems part2

show ip eigrp interfaces

You’re not seeing anything, despite that all your interfaces are configured correctly and routing is working.

You execute show ip eigrp neighbors.

Everything does seem to be down.

You follow that with show ip route, and you only get its local routes.

You then decide to see whether the problem is a little more widespread. You go to Router 1-1 to see if there’s a problem there.

http://www.router-switch.com/

Page 6: Troubleshooting vlan switch problems part2

You start by issuing the show ip interface brief command, which then shows that everything is up.

You again execute show ip route. This time, unlike in R1-3, you get all sorts of routes.

http://www.router-switch.com/

Page 7: Troubleshooting vlan switch problems part2

You try to see whether the Internet is working from here.

It is.

You then try pinging 192.168.1.2. You have connectivity there. You also ping 192.168.1.3, which you know isn’t working.

You then proceed to ping Switch 1-1 (192.168.1.111), Switch 1-2 (192.168.1.112), and Switch 1-3 (192.168.1.113) because these are all on the path. Among the three, Switch 3 is where you’re not getting any connection.

http://www.router-switch.com/

Page 8: Troubleshooting vlan switch problems part2

Your initial observations tell you that something between Switch 1-2 and Switch 1-3 isn’t working correctly.

You go to Switch 1-3 and issue the show cdp neighbors command. You see downstream but not upstream. This confirms your suspicion that the problem is between Switch 1-2 and Switch 1-3.

Next, you do show spanning-tree, and you notice that it’s not showing anything for spanning-tree.

You ping 192.168.1.1, but you can’t reach it from here.

http://www.router-switch.com/

Page 9: Troubleshooting vlan switch problems part2

You go to Switch 1-2 and ping 192.168.1.1 again. You also ping 192.168.11.1. They are both reachable from here.

When you do a show cdp neighbors, you notice that Switch 1-3 is missing.

You execute show spanning-tree. Everything is working as expected.

http://www.router-switch.com/

Page 10: Troubleshooting vlan switch problems part2

Next, you execute the show interfaces trunk command. You see no problem there either.

Taking into account all your observations up to this point, you get the idea that the problem may really be on Switch 1-2.

You go now to Switch 1-3 and issue the command show vtp status. No problem there either.

http://www.router-switch.com/

Page 11: Troubleshooting vlan switch problems part2

You finally decide to do a configuration check. To do that, you execute the show running-config command.

When the results come out, two things catch your attention. First, the lines that say channel-group 4 mode on tells you that this is part of the upstream etherchannel trunk, but then the line that says switchport access vlan 111 tells you that access vlan has been configured.This will not work as a trunk the way that it's supposed to. The problem is really getting clearer now.

You execute configure terminal, and then interface range fa0/23 - 24, which is a very helpful command because it allows you to configure multiple interfaces at once. You then doswitchport mode trunk. The results indicate that your port channel is back up.

http://www.router-switch.com/

Page 12: Troubleshooting vlan switch problems part2

You go back to Router 1-3 and issue the show cdp neighbors command.

Follow that up with a show ip eigrp interfaces command.

After that, you execute show ip route again. This time, you get all sorts of information.

http://www.router-switch.com/

Page 14: Troubleshooting vlan switch problems part2

You therefore conclude everything is really back up.

Just like in the first ticket, you summarize everything in a sort of root cause analysis.1. The fault was identified on SW1-3.2. The fault was isolated to Layer 2, specifically in the VLAN and trunking

configuration.3. The fault was caused by a misconfigured port mode (a human error).4. It was resolved by restoring the original trunking mode configuration on the

switch port.

After changing the status of the request to Resolved, you go back to the Home tab. You’re relieved to see only one more situation left to troubleshoot.

This last situation is somehow different than the other two in that the network is not hard down, but there is a performance issue.

As you look at the request on the ticketing system, you see a message that doesn’t

http://www.router-switch.com/

Page 15: Troubleshooting vlan switch problems part2

sound as urgent as the other two. Still, it’s your job to find a solution for the problem.

The closest point to the problem is Router 1-3, so you start your troubleshooting work there.You’ve already established that everything, from a workstation point, is working. You know there’s connectivity to the Internet and to the workstations. There’s basically full reachability, so you know that it’s not any kind of a routing issue.

The first command you issue is show interface brief. You find all pertinent interfaces up and running.

http://www.router-switch.com/

Page 16: Troubleshooting vlan switch problems part2

Next, you check out Layer 2 by issuing the show cdp neighbors command. That is working as well.

You follow that with show ip eigrp interfaces and then show ip eigrp neighbors. Both results still show nothing wrong.

Same with show ip route.

http://www.router-switch.com/

Page 17: Troubleshooting vlan switch problems part2

But then when you try a ping test, the result is slower than what you expected.

Still the question remains - where is the performance issue?

You try a similar ping test from Router 1-1. You get the same slow results.

http://www.router-switch.com/

Page 18: Troubleshooting vlan switch problems part2

So you know that there’s something between Router 1-1, all the way back through the switch fabric, to Router 1-3. The problem could be at Router 1-3 or in the switching fabric.

You do a show running-configuration, and start looking for anything that would limit traffic such as any filtering, access lists, or anything of that sort.

But then you see that everything is completely in order in this device, so at this point, you eliminate it as a possible cause of the problem.

You go to Switch 1-3 and issue a ping to 216.145.1.2. It appears to be unreachable.

To find out why, you execute a show run. There, you notice that the VLAN interface is shut down, which explains why you could not ping out.

http://www.router-switch.com/

Page 19: Troubleshooting vlan switch problems part2

You issue a no shut. Sure enough, after that you are able to ping out again.

It is still slower than what you were expecting, so you proceed by issuing a show cdp neighbors. You got your etherchannel link substream to the next. Again, everything appears to be in order from here.

You continue with a show spanning-tree. You see that the port channel is up and running, and the other portions of the result aren’t showing anything unusual either.

http://www.router-switch.com/

Page 20: Troubleshooting vlan switch problems part2

You move on to Switch 1-2 and begin with a show cdp neighbors. You find your two connections upstream to Switch 1-1, so it really looks like your system should be doing well.

Again you do a show spanning-tree. As soon as you get to VLAN 11, you notice something peculiar. When you review the results of your show cdp neighbors command, you notice that the etherchannel configurations are in groups of two.

Then when you look at the show spanning-tree results, you see the items listed

http://www.router-switch.com/

Page 21: Troubleshooting vlan switch problems part2

individually.

To see if something is awry, you execute a show running-config.

The idea is that, if there’s etherchannel, double the bandwidth between all the switches but up to this one; this becomes the constrained bandwidth area.

You see the two interfaces:

http://www.router-switch.com/

Page 22: Troubleshooting vlan switch problems part2

When you scroll down, you see that there is no channel group. The channel group configuration is missing. You presume, for some reason, that it has been deleted.

To start solving that problem, you execute the following commands:interface range fastEthernet 0/1 - 2channel-group 1 mode on

Sure enough, it brings the port channel up.

You then go back to Switch 1-1 and issue the following commands:interface gi0/15channel-group 1 mode on

http://www.router-switch.com/

Page 23: Troubleshooting vlan switch problems part2

interface gi0/17channel-group 1 mode on

After you do a show spanning-tree, you observe that the port channel goes to a “learning” state and then goes back up.

You see port channel 1.

http://www.router-switch.com/

Page 24: Troubleshooting vlan switch problems part2

When you go back to Router 1-3 and do your ping again, you see a significant improvement in the round-trip time. This makes you conclude that the problem was that the etherchannel had been deleted between the switches, and that degraded the bandwidth.

In summarizing everything into your root cause analysis, you take note of the following:

1. The fault was identified on Devices SW1-1 and SW1-2.2. The fault was isolated to Layer 2, Etherchannel.3. The fault was caused by deleted configuration, although you’re not sure how

that happened.4. The problem was resolved by restoring Etherchannel functionality with

the channel-group 1 mode on command.

More Related Article: How to Troubleshoot VLAN and Switch Problems-Part 1

http://www.router-switch.com/