SlideShare a Scribd company logo
1 of 27
How to Troubleshoot VLAN and Switch Problems?-Part 1
In this article we will talk about the essential part of troubleshooting VLAN and
switch problems. What we discuss here are common general switch issues, VLAN
related issues, and spanning-tree issues. We’ll also cover VLAN/switch
troubleshooting techniques.

Common General Switch Issues
One of the things to keep in mind is that there are some things that can just generally
happen on a switch. One example is a physical or connectivity related issue.

Physical Interface/Connectivity Issues




Symptoms
       Interface is down/down - This means it’s not receiving keepalives and it’s not
       physically connected
       Interface is up/down - Meaning, it’s physically up but the Layer 2 protocol is
       down
       Interface is administratively down
Solutions
       Check your cabling. Always start by assuming the problem is with the cable.
       Swap with a known good cable. This may not be the case all the time, but in
       some instances, you might have to substitute the crossover cable. It may not
       have the auto-MDIX crossover function, so you may actually have to do
       something manually.

You can also verify that the hardware is functional. You can use the show
controllers command to see if there’s something physically wrong with it, or try a
different port on the switch to see if the same problem is happening.
        Check your interface. Verify that the interface is operational and use the no
        shutdowncommand. That would take care of “administratively down” cases

http://www.router-switch.com/
or if it’s been put intoerror-disabled state by one of the Layer 2 protocols and
       so forth.

Physical Interface Speed/Duplex Issues
Other problems that can happen frequently across two interfaces are speed and
duplex issues or mismatches. This can be particularly true if you have a gigabit
connection on one side and a 10/100 on the other.
Symptoms
       You’ll see a syslog message that says %CDP-4-DUPLEX_MISMATCH. That’s
       going to tell you that there’s a duplex mismatch.
       If you have something hard-coded on one side and auto on the other, or you
       have them hard-coded on both sides but they’re done differently, it’s not
       going to be able to auto-sense anything, so you can have a speed and duplex
       mismatch as a result.
Solutions
       Set the speed and duplex settings to autonegotiate on both ends.
       Manually configure speed and duplex settings on both ends (i.e., if one device
       has issues) so that they’re the same.

Common VLAN Related Issues
VLAN-specific Issues




Symptom
      You notice interface flapping on a port set for access-only mode.

http://www.router-switch.com/
Solutions
       Execute a show running-configuration command. Examine the output and
       verify whether the following entries are on the port that’s affected:
               switchport mode access, and
               switchport access vlan

If something’s missing from that, add what you need. Some of the more automated
trunking type mechanisms and similar stuff can create this type of issue if you don’t
have it specifically set for access mode and the specific VLAN.

Another reason a VLAN could be down is because there’s no physical port associated
with that particular VLAN. Now, with a Layer 3 switch, this typically doesn’t tend to
be as big an issue. On Layer 2 switches, it can be.
Symptom
        VLAN is created on the switch but in a down state.
Solution
        Execute the show vlan command. If it shows “down,” make sure there’s at
        least one port that’s identified as part of the specified VLAN, or a switch
        virtual interface in that VLAN.

VLANtrunking issues




Symptom
      You’ve connected the cables but a trunk is still not establishing across the

http://www.router-switch.com/
configured link.
Solutions
       If you’re using ISL trunking, make sure the switch on the other side supports
       ISL. If it doesn’t, then you need to change it.
       If you’re using 802.1Q trunking, you may have different native VLANs
       configured on either side. If that’s the case, change the native VLANs to
       match.
       Verify the trunking settings on both ends of the link are the same (e.g. DTP,
       mode encapsulation, etc.).

VLAN Trunking Protocol (VTP) issues
Symptom
       VLANs are not propagating from servers to clients the way they should be.
Solutions
       The first thing you need to make sure is that the links on both sides, between
       the client and the server, are configured as trunks and that their trunking
       types match.
       Verify that the VTP domains match and adjust if necessary.
       Verify that the switch you intend to serve as master is no longer in
       transparent mode or client mode. Make sure it’s in server mode and that the
       other switch is in client mode.

Inter-VLAN Routing Issues




Symptom

http://www.router-switch.com/
VLANs cannot reach one another. For instance, in the figure above, VLAN 1
       and VLAN 11 cannot connect.
Solutions
       If you’re using an external router, first make sure that that router’s reachable.
       Going back to our figure, if the workstation on VLAN 1 can’t reach the VLAN 1
       interface on Router 1, there may be a connectivity issue or misconfiguration
       issue.

If you’re having some other issue, you may have to troubleshoot routing. But if VLAN
1 workstation can reach Router 1’s VLAN interface and VLAN 11 can do the same
thing with Router 1’s VLAN interface, then there may be something in the router you
need to look at.
        If you’re using a Layer 4 Route Processor, make sure that the Switched Virtual
        Interfaces (SVI) have been configured with the correct VLAN ID and IP subnet
        information.
        Verify that a default gateway exists on the switch.

Common Spanning Tree Issues




802.1D Spanning Tree Issues
Symptom
       A port has gone into an error-disabled state or has become non-functional
       after a configuration event.
Solutions
       If you’re using Portfast and you have any of those guard features enabled,
       make sure there are no other devices creating those protocol units being sent
       to that port.
       Make sure no uni-directional links or one-way links exist.
       In a worst case scenario, just issue a shutdown/no shutdown command to
       reset that port.



http://www.router-switch.com/
Another spanning tree issue is one that has something to do with Etherchannel.
Symptom
       Etherchannel is not forming a Port-Channel between configured links.
Solutions
       One of the things that you have to make sure is that Etherchannel parameters
       have to match at both ends. They have to be the same type on the switch (e.g.
       FastEthernet, Gigabit Ethernet, etc.).

You can have a FastEthernet on one switch going into a Gigabit on the other, but if
you have a FastEthernet and a Gigabit Ethernet configured on that switch to go to the
other switch, it’s not going to work.
       Verify that the same protocol has been configured on all ports (e.g. PAGP,
       LACP, etc.). Make sure that they’re the same on both ends.
       Make sure you use identical trunking configurations, including native VLANs,
       when using 802.1Q.

Troubleshooting VLAN/Switch Problems




Now that we’ve already taken up some common problems, here are some basic ideas
on how to do troubleshooting on switches and VLANs.
      Always start with the Physical Layer. Confirm that the interface is Up/Up.
      Verify that the cabling is operational. People often spend a lot of time
      troubleshooting other things, only to realize the problem is just the cable.
      Use the Cisco Discovery Protocol to verify Layer 2 connectivity. If you have it
      turned off, turn it on just for testing purposes. Execute the show cdp
      neighbors command and verify whether the device names you’re expecting
      to see and the types on both ends of the links are actually there.
      If there are no neighbors being shown and you think you have everything

http://www.router-switch.com/
configured the way they should be, then you may have a Layer 2 issue of
        some kind. In that case, you’ll be able to isolate the problem to a specific
        layer in the OSI model.
        Look at your ARP Mappings. Use the show arp command on both devices and
        watch for entries listing incorrect MAC addresses or a description
        of incomplete. If it’s incomplete, you may have some other kind of issue.

Also, to verify ARP Mappings, issue a ping command to the IP address on the
opposite end of the link. If the ping fails or the ARP entries appear incorrect, examine
the possible causes.

VLAN/Switch Lab Troubleshooting Exercises
Now it’s time to look at how this actually works in a simulated environment. We’re
going to start by giving you a general background of some situation that could
actually exist. Three Trouble Tickets will be involved here. You’ll get them from the
system and use for troubleshooting and resolution purposes.

The three Trouble Tickets will be: Internet is Down, No Connectivity, and Network is
Slow.
As we walk you through each step of the simulated troubleshooting process, we’ll
present it in a way as if you’re the one doing the troubleshooting and that you’re
doing it the way an expert would.

Here’s the basic layout. Let’s call it our Site 1 Topology:




It consists of a large campus with 300 employees spread across three separate
buildings. The Internet connectivity is across the WAN. In other words, this campus
environment is getting Internet access from another location.

There are two routers that provide redundancy both to the WAN and the Internet.
See routers R1-1 and R1-2? Those two connect to the Wide Area Network.

http://www.router-switch.com/
Now here’s the situation.

Building 3, which is being serviced by R1-3, has been experiencing a number of
service outages. Your role as the Tier 1 help desk technician on duty is to receive the
trouble ticket, diagnose the issue, and ultimately resolve it.

Trouble Ticket: Internet is Down




You arrive at work to find a high-priority trouble ticket assigned to you, and it says
the Internet is down. The problem has been going on for over an hour without any
resolution. After some investigation, you discover that someone on the network
team has made an undocumented configuration change.

Your task is to pick up the ticket, assign it to yourself, contact the requestor and
inform that person that you are now actively working on the problem, and then of
course proceed with troubleshooting and resolution.

Here’s what greets you the moment you arrive at work:




http://www.router-switch.com/
http://www.router-switch.com/
Now, while these messages may sound really harsh (see the last one), it’s just normal
for tensions to run high if something isn’t working and a person’s job depended on it.
So even if you don’t particularly like the way this person’s talking to you, you have to
take all that into account.

Note in the upper-right corner of that last screenshot that the Status is Open and the
Priority is High. The first thing you do is send the person a message assuring him/her
that you are already working on the issue. After that, you proceed to your
troubleshooting activity.

To begin troubleshooting, you bring up your console. Because R1-3 is the one
experiencing problems, you right-click on it and select Telnet/SSH to device.




http://www.router-switch.com/
First, you check for connectivity. Since you got a Trouble Ticket from the manager
indicating that although the Internet’s down, everything else seems to be working at
least locally, you assume that the workstations are still able to reach you.

You proceed by issuing the command:
showip interface brief
to show the Physical Layer and see what it tells you. From the screenshot below, two
items stand out.

The first one, enclosed in a box marked #1, is something that would have required
some deeper inspection. However, it’s not being used, so you skip it.

second one (marked #2), on the other hand, is a bunch of LAN interfaces, and they’re
Up. That means they’re working the way they should be. In other words, the Physical
Layer is working.




http://www.router-switch.com/
Next, you execute the show interfaces command and see if everything’s working as
expected. In the screenshot below, FastEthernet is showing Up/Up. That’s a good
sign.




While you’re doing all this, you’re following a plan. Here’s the plan you drew up and
filled out for this particular troubleshooting activity:



http://www.router-switch.com/
Next, you do show cdp neighbors.




Switch 1-3 (SW1-3) is the upstream switch, so you know that is functional. At this
point, you think of ruling out both Layer 1 and Layer 2.

Next, you conduct some ping tests on VLAN1 (the Management VLAN) and VLAN11
(the Production VLAN).

Everything looks fine on the Management VLAN:




http://www.router-switch.com/
However, on the Production VLAN, you experience some problems:




You want to find out whether the upstream switch can be pinged, so you try to
obtain the IP addresses by executing the show cdp neighbors detail command.




http://www.router-switch.com/
It’s not listing an IP address here, so you try pinging the switches.




Unlike Switch 1 and Switch 2, which are doing fine, Switch 3 is experiencing
connectivity problems.

You try pinging the Internet, and still you can’t get outside on VLAN11. That can be
the reason why the Internet is down.



http://www.router-switch.com/
So you’ve got successful connectivity on VLAN 1 to Router 1-1 and everything in
between. However, you can’t get on VLAN11.

Another thing you consider looking into is routing. To check routing, you execute the
command:
showip route




Seeing signs indicating that you may have a routing problem, you proceed to conduct
further investigation by executing the show ipeigrp interfaces.




It reveals that you have zero peers even though you can get out on your VLAN1,
which is the Management VLAN. The Production VLAN isn’t getting any routing. At
this point, you cannot be sure but, judging from the way things are working, it would
be logical to suspect a switch related problem and that the problem is not on this
router.



http://www.router-switch.com/
When you do a show cdp neighbors, you see that the next upstream is Switch1-3, so
you take a look at that next.




You again execute show cdp neighbors. That output includes Router 1-3 as well as an
Etherchannel (Switch 1-2) across two interfaces, so you know that you’re looking at a
Layer 2 connectivity.




Next, you execute show interfaces trunk. You notice that both Native VLAN
properties of both the link back to the router (Fa0/1) and the port channel (Po4)
that’s up to the next upstream switch, SW1-2, are matching. Everything appears to
be in order here.




http://www.router-switch.com/
After that, you issue the show spanning-tree vlan 11 command. There you see your
root port (Po4) and your designated port (Fa0/1).




So far, everything here appears to be functional, but because you want to make sure
that all the necessary configurations have been carried out, you do a show vlan. The
results show that both VLAN 1 and VLAN 11 have really been configured.




http://www.router-switch.com/
You then execute the command: show vtp status

It shows that the configuration has been successfully sent, the domain is correct, it’s
operating in client mode, and there are 7 existing VLANs.




At this point, you eliminate Switch 1-3 from your list of possible culprits and proceed
to Switch 1-2.



http://www.router-switch.com/
You try executing a show ip interface brief command. Everything looks good there.




Then you try show cdp neighbors. Same story there.



http://www.router-switch.com/
You also try a show spanning-tree vlan 11.




Still you see that everything’s functioning the way they’re supposed to.

To make sure the vlans are there, you issue the show vlan command.




http://www.router-switch.com/
VLAN1 and VLAN11, which are the ones that are critical, are there.

Next, you do a show vtp status.

Again, the information shown tells you that everything should be working properly,
but that’s before you take a much closer look. Closer inspection reveals that some of
the letters of the VTP Domain Name are in lower case.




That may not sound like a big deal but, to this switch, it may mean something
different. Now you have what looks like a potential issue. Since everything else is
working, you certainly would like to eliminate every possible cause, negligible as they
may seem.

Having found a potential issue, you now conduct further inspection in that particular
direction. You remember to make only one change at a time, knowing fully well that
if you make multiple changes simultaneously, you would run the risk of not knowing
which one actually worked.



http://www.router-switch.com/
The next thing you do is issue the configure terminal command, followed by vtp
domain CCNP-TSHOOT.




You then go back to your Router 1-3 and ping 192.168.1.1, which was successful
earlier, and 192.168.11.1, which wasn’t. Now, you find them both reachable.




You issue configuration terminal here and then execute logging on (just in case the
logging got turned off), followed by show ip route.




Next, you do a show ipeigrp neighbors. Surprisingly, you still don’t see any neighbors
even though you already have connectivity back up.




So you follow that with a show running-config to see if something’s out of order.

http://www.router-switch.com/
After scrolling down the results, you notice one particular interface with an error
where IP authentication for eigrp has been put in place.




To take that out, you execute:
noip authentication mode eigrp 100 md5

After that, things start coming back up.




You try show ipeigrp neighbors one more time. This time, you’re shown the three
you were expecting.




http://www.router-switch.com/
You try pinging the Internet. It’s now back up as well.




At this point, you do a little analysis and put together the information you’ve been
able to gather so far.
        The fault was identified on Device SW1-2.
        The fault was Layer 2 (Data Link Layer) in nature, specifically VLAN Trunking
        Protocol.
        More specifically, the fault was due to a VTP domain name mistyping (a
        human error)
        It was resolved by executing the vtp domain CCNP-TSHOOT command, with
        CCNP-TSHOOT all in capital letters.

Since the problem has been resolved, you go back to the trouble ticket sent by the
requestor, change the status to resolved, and put in necessary notes.




http://www.router-switch.com/
When you go back to the Home tab, you now see the number of Requests Overdue is
already down to two.




http://www.router-switch.com/
Note: Your day has just started and you still have two more trouble tickets to resolve.
We will go over those in Part 2 of this post.

More Networking Tips & Tutorials you can visit:
http://blog.router-switch.com/category/networking-2/




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

More Related Content

What's hot (20)

OSI Model
OSI ModelOSI Model
OSI Model
 
EMEA Airheads- Switch stacking_ ArubaOS Switch
EMEA Airheads- Switch stacking_ ArubaOS SwitchEMEA Airheads- Switch stacking_ ArubaOS Switch
EMEA Airheads- Switch stacking_ ArubaOS Switch
 
CCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan RedundancyCCNAv5 - S3: Chapter2 Lan Redundancy
CCNAv5 - S3: Chapter2 Lan Redundancy
 
Useful cli commands v1
Useful cli commands v1Useful cli commands v1
Useful cli commands v1
 
VTP
VTPVTP
VTP
 
vlan
vlanvlan
vlan
 
802 1ad
802 1ad802 1ad
802 1ad
 
Chapter 10 - DHCP
Chapter 10 - DHCPChapter 10 - DHCP
Chapter 10 - DHCP
 
CCNA Course Training Presentation
CCNA Course Training PresentationCCNA Course Training Presentation
CCNA Course Training Presentation
 
CCNA Network Devices
CCNA Network DevicesCCNA Network Devices
CCNA Network Devices
 
VLAN
VLANVLAN
VLAN
 
CCNA Lab Guide
CCNA Lab GuideCCNA Lab Guide
CCNA Lab Guide
 
101 CCNA LABS.pdf
101 CCNA LABS.pdf101 CCNA LABS.pdf
101 CCNA LABS.pdf
 
End to End Security With Palo Alto Networks (Onur Kasap, engineer Palo Alto N...
End to End Security With Palo Alto Networks (Onur Kasap, engineer Palo Alto N...End to End Security With Palo Alto Networks (Onur Kasap, engineer Palo Alto N...
End to End Security With Palo Alto Networks (Onur Kasap, engineer Palo Alto N...
 
ccna networking ppt
ccna networking pptccna networking ppt
ccna networking ppt
 
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference GuideAruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
Aruba Instant 6.4.0.2-4.1 Command Line Interface Reference Guide
 
Cisco CCNA IP SLA with tracking configuration
Cisco CCNA IP SLA  with tracking  configurationCisco CCNA IP SLA  with tracking  configuration
Cisco CCNA IP SLA with tracking configuration
 
Managing and Optimizing RF Spectrum for Aruba WLANs
Managing and Optimizing RF Spectrum for Aruba WLANsManaging and Optimizing RF Spectrum for Aruba WLANs
Managing and Optimizing RF Spectrum for Aruba WLANs
 
Ccna command
Ccna commandCcna command
Ccna command
 
Connection( less & oriented)
Connection( less & oriented)Connection( less & oriented)
Connection( less & oriented)
 

Similar to Troubleshoot VLAN, Switch and Spanning Tree Issues

Troubleshooting vlan switch problems part2
Troubleshooting vlan switch problems part2Troubleshooting vlan switch problems part2
Troubleshooting vlan switch problems part2IT Tech
 
Reso problemas
Reso problemasReso problemas
Reso problemas1 2d
 
Reso problemas
Reso problemasReso problemas
Reso problemas1 2d
 
How to troubleshoot wireless connection problems
How to troubleshoot wireless connection problemsHow to troubleshoot wireless connection problems
How to troubleshoot wireless connection problemsAlex Robert
 
CCNA R&S-11-Troubleshooting Ethernet LANs
CCNA R&S-11-Troubleshooting Ethernet LANsCCNA R&S-11-Troubleshooting Ethernet LANs
CCNA R&S-11-Troubleshooting Ethernet LANsAmir Jafari
 
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_enCcna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_envin424
 
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions ManualScaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manualnudicixox
 
Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area NetworkAtakan ATAK
 
Vlan lab
Vlan labVlan lab
Vlan labtmim8
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized networkArnold Derrick Kinney
 
Inter vlan routing plus configuration
Inter vlan routing plus configurationInter vlan routing plus configuration
Inter vlan routing plus configurationMohammedseleim
 

Similar to Troubleshoot VLAN, Switch and Spanning Tree Issues (20)

Troubleshooting vlan switch problems part2
Troubleshooting vlan switch problems part2Troubleshooting vlan switch problems part2
Troubleshooting vlan switch problems part2
 
Lesson 2 slideshow
Lesson 2 slideshowLesson 2 slideshow
Lesson 2 slideshow
 
Reso problemas
Reso problemasReso problemas
Reso problemas
 
Reso problemas
Reso problemasReso problemas
Reso problemas
 
23.pptx
23.pptx23.pptx
23.pptx
 
How to troubleshoot wireless connection problems
How to troubleshoot wireless connection problemsHow to troubleshoot wireless connection problems
How to troubleshoot wireless connection problems
 
CCNA R&S-11-Troubleshooting Ethernet LANs
CCNA R&S-11-Troubleshooting Ethernet LANsCCNA R&S-11-Troubleshooting Ethernet LANs
CCNA R&S-11-Troubleshooting Ethernet LANs
 
23.pptx
23.pptx23.pptx
23.pptx
 
Primary vlan
Primary vlanPrimary vlan
Primary vlan
 
Ccna 9
Ccna  9Ccna  9
Ccna 9
 
Ccna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_enCcna3 lab 9_1_5b_en
Ccna3 lab 9_1_5b_en
 
Vlan
VlanVlan
Vlan
 
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions ManualScaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manual
 
Mod8 vlans
Mod8 vlansMod8 vlans
Mod8 vlans
 
Virtual Local Area Network
Virtual Local Area NetworkVirtual Local Area Network
Virtual Local Area Network
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
3 2
3 23 2
3 2
 
Ccnp labs
Ccnp labsCcnp labs
Ccnp labs
 
Vlan configuration in medium sized network
Vlan configuration in medium sized networkVlan configuration in medium sized network
Vlan configuration in medium sized network
 
Inter vlan routing plus configuration
Inter vlan routing plus configurationInter vlan routing plus configuration
Inter vlan routing plus configuration
 

More from IT Tech

Cisco ip phone key expansion module setup
Cisco ip phone key expansion module setupCisco ip phone key expansion module setup
Cisco ip phone key expansion module setupIT Tech
 
Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideCisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideIT Tech
 
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideCisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideIT Tech
 
Hpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideHpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideIT Tech
 
The new cisco isr 4461 faq
The new cisco isr 4461 faqThe new cisco isr 4461 faq
The new cisco isr 4461 faqIT Tech
 
New nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesNew nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesIT Tech
 
Tested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresTested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresIT Tech
 
Aruba campus and branch switching solution
Aruba campus and branch switching solutionAruba campus and branch switching solution
Aruba campus and branch switching solutionIT Tech
 
Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesIT Tech
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesIT Tech
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesIT Tech
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellIT Tech
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000IT Tech
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexIT Tech
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesIT Tech
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesIT Tech
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration exampleIT Tech
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700IT Tech
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration optionsIT Tech
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement modelIT Tech
 

More from IT Tech (20)

Cisco ip phone key expansion module setup
Cisco ip phone key expansion module setupCisco ip phone key expansion module setup
Cisco ip phone key expansion module setup
 
Cisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guideCisco catalyst 9200 series platform spec, licenses, transition guide
Cisco catalyst 9200 series platform spec, licenses, transition guide
 
Cisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guideCisco isr 900 series highlights, platform specs, licenses, transition guide
Cisco isr 900 series highlights, platform specs, licenses, transition guide
 
Hpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guideHpe pro liant gen9 to gen10 server transition guide
Hpe pro liant gen9 to gen10 server transition guide
 
The new cisco isr 4461 faq
The new cisco isr 4461 faqThe new cisco isr 4461 faq
The new cisco isr 4461 faq
 
New nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switchesNew nexus 400 gigabit ethernet (400 g) switches
New nexus 400 gigabit ethernet (400 g) switches
 
Tested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi featuresTested cisco isr 1100 delivers the richest set of wi-fi features
Tested cisco isr 1100 delivers the richest set of wi-fi features
 
Aruba campus and branch switching solution
Aruba campus and branch switching solutionAruba campus and branch switching solution
Aruba campus and branch switching solution
 
Cisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switchesCisco transceiver module for compatible catalyst switches
Cisco transceiver module for compatible catalyst switches
 
Cisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switchesCisco ios on cisco catalyst switches
Cisco ios on cisco catalyst switches
 
Cisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modesCisco's wireless solutions deployment modes
Cisco's wireless solutions deployment modes
 
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dellCompetitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
Competitive switching comparison cisco vs. hpe aruba vs. huawei vs. dell
 
Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000Four reasons to consider the all in-one isr 1000
Four reasons to consider the all in-one isr 1000
 
The difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fexThe difference between yellow and white labeled ports on a nexus 2300 series fex
The difference between yellow and white labeled ports on a nexus 2300 series fex
 
Cisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches seriesCisco transceiver modules for compatible cisco switches series
Cisco transceiver modules for compatible cisco switches series
 
Guide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 seriesGuide to the new cisco firepower 2100 series
Guide to the new cisco firepower 2100 series
 
892 f sfp configuration example
892 f sfp configuration example892 f sfp configuration example
892 f sfp configuration example
 
Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700Cisco nexus 7000 and nexus 7700
Cisco nexus 7000 and nexus 7700
 
Cisco firepower ngips series migration options
Cisco firepower ngips series migration optionsCisco firepower ngips series migration options
Cisco firepower ngips series migration options
 
Eol transceiver to replacement model
Eol transceiver to replacement modelEol transceiver to replacement model
Eol transceiver to replacement model
 

Recently uploaded

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 

Recently uploaded (20)

Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 

Troubleshoot VLAN, Switch and Spanning Tree Issues

  • 1. How to Troubleshoot VLAN and Switch Problems?-Part 1 In this article we will talk about the essential part of troubleshooting VLAN and switch problems. What we discuss here are common general switch issues, VLAN related issues, and spanning-tree issues. We’ll also cover VLAN/switch troubleshooting techniques. Common General Switch Issues One of the things to keep in mind is that there are some things that can just generally happen on a switch. One example is a physical or connectivity related issue. Physical Interface/Connectivity Issues Symptoms Interface is down/down - This means it’s not receiving keepalives and it’s not physically connected Interface is up/down - Meaning, it’s physically up but the Layer 2 protocol is down Interface is administratively down Solutions Check your cabling. Always start by assuming the problem is with the cable. Swap with a known good cable. This may not be the case all the time, but in some instances, you might have to substitute the crossover cable. It may not have the auto-MDIX crossover function, so you may actually have to do something manually. You can also verify that the hardware is functional. You can use the show controllers command to see if there’s something physically wrong with it, or try a different port on the switch to see if the same problem is happening. Check your interface. Verify that the interface is operational and use the no shutdowncommand. That would take care of “administratively down” cases http://www.router-switch.com/
  • 2. or if it’s been put intoerror-disabled state by one of the Layer 2 protocols and so forth. Physical Interface Speed/Duplex Issues Other problems that can happen frequently across two interfaces are speed and duplex issues or mismatches. This can be particularly true if you have a gigabit connection on one side and a 10/100 on the other. Symptoms You’ll see a syslog message that says %CDP-4-DUPLEX_MISMATCH. That’s going to tell you that there’s a duplex mismatch. If you have something hard-coded on one side and auto on the other, or you have them hard-coded on both sides but they’re done differently, it’s not going to be able to auto-sense anything, so you can have a speed and duplex mismatch as a result. Solutions Set the speed and duplex settings to autonegotiate on both ends. Manually configure speed and duplex settings on both ends (i.e., if one device has issues) so that they’re the same. Common VLAN Related Issues VLAN-specific Issues Symptom You notice interface flapping on a port set for access-only mode. http://www.router-switch.com/
  • 3. Solutions Execute a show running-configuration command. Examine the output and verify whether the following entries are on the port that’s affected: switchport mode access, and switchport access vlan If something’s missing from that, add what you need. Some of the more automated trunking type mechanisms and similar stuff can create this type of issue if you don’t have it specifically set for access mode and the specific VLAN. Another reason a VLAN could be down is because there’s no physical port associated with that particular VLAN. Now, with a Layer 3 switch, this typically doesn’t tend to be as big an issue. On Layer 2 switches, it can be. Symptom VLAN is created on the switch but in a down state. Solution Execute the show vlan command. If it shows “down,” make sure there’s at least one port that’s identified as part of the specified VLAN, or a switch virtual interface in that VLAN. VLANtrunking issues Symptom You’ve connected the cables but a trunk is still not establishing across the http://www.router-switch.com/
  • 4. configured link. Solutions If you’re using ISL trunking, make sure the switch on the other side supports ISL. If it doesn’t, then you need to change it. If you’re using 802.1Q trunking, you may have different native VLANs configured on either side. If that’s the case, change the native VLANs to match. Verify the trunking settings on both ends of the link are the same (e.g. DTP, mode encapsulation, etc.). VLAN Trunking Protocol (VTP) issues Symptom VLANs are not propagating from servers to clients the way they should be. Solutions The first thing you need to make sure is that the links on both sides, between the client and the server, are configured as trunks and that their trunking types match. Verify that the VTP domains match and adjust if necessary. Verify that the switch you intend to serve as master is no longer in transparent mode or client mode. Make sure it’s in server mode and that the other switch is in client mode. Inter-VLAN Routing Issues Symptom http://www.router-switch.com/
  • 5. VLANs cannot reach one another. For instance, in the figure above, VLAN 1 and VLAN 11 cannot connect. Solutions If you’re using an external router, first make sure that that router’s reachable. Going back to our figure, if the workstation on VLAN 1 can’t reach the VLAN 1 interface on Router 1, there may be a connectivity issue or misconfiguration issue. If you’re having some other issue, you may have to troubleshoot routing. But if VLAN 1 workstation can reach Router 1’s VLAN interface and VLAN 11 can do the same thing with Router 1’s VLAN interface, then there may be something in the router you need to look at. If you’re using a Layer 4 Route Processor, make sure that the Switched Virtual Interfaces (SVI) have been configured with the correct VLAN ID and IP subnet information. Verify that a default gateway exists on the switch. Common Spanning Tree Issues 802.1D Spanning Tree Issues Symptom A port has gone into an error-disabled state or has become non-functional after a configuration event. Solutions If you’re using Portfast and you have any of those guard features enabled, make sure there are no other devices creating those protocol units being sent to that port. Make sure no uni-directional links or one-way links exist. In a worst case scenario, just issue a shutdown/no shutdown command to reset that port. http://www.router-switch.com/
  • 6. Another spanning tree issue is one that has something to do with Etherchannel. Symptom Etherchannel is not forming a Port-Channel between configured links. Solutions One of the things that you have to make sure is that Etherchannel parameters have to match at both ends. They have to be the same type on the switch (e.g. FastEthernet, Gigabit Ethernet, etc.). You can have a FastEthernet on one switch going into a Gigabit on the other, but if you have a FastEthernet and a Gigabit Ethernet configured on that switch to go to the other switch, it’s not going to work. Verify that the same protocol has been configured on all ports (e.g. PAGP, LACP, etc.). Make sure that they’re the same on both ends. Make sure you use identical trunking configurations, including native VLANs, when using 802.1Q. Troubleshooting VLAN/Switch Problems Now that we’ve already taken up some common problems, here are some basic ideas on how to do troubleshooting on switches and VLANs. Always start with the Physical Layer. Confirm that the interface is Up/Up. Verify that the cabling is operational. People often spend a lot of time troubleshooting other things, only to realize the problem is just the cable. Use the Cisco Discovery Protocol to verify Layer 2 connectivity. If you have it turned off, turn it on just for testing purposes. Execute the show cdp neighbors command and verify whether the device names you’re expecting to see and the types on both ends of the links are actually there. If there are no neighbors being shown and you think you have everything http://www.router-switch.com/
  • 7. configured the way they should be, then you may have a Layer 2 issue of some kind. In that case, you’ll be able to isolate the problem to a specific layer in the OSI model. Look at your ARP Mappings. Use the show arp command on both devices and watch for entries listing incorrect MAC addresses or a description of incomplete. If it’s incomplete, you may have some other kind of issue. Also, to verify ARP Mappings, issue a ping command to the IP address on the opposite end of the link. If the ping fails or the ARP entries appear incorrect, examine the possible causes. VLAN/Switch Lab Troubleshooting Exercises Now it’s time to look at how this actually works in a simulated environment. We’re going to start by giving you a general background of some situation that could actually exist. Three Trouble Tickets will be involved here. You’ll get them from the system and use for troubleshooting and resolution purposes. The three Trouble Tickets will be: Internet is Down, No Connectivity, and Network is Slow. As we walk you through each step of the simulated troubleshooting process, we’ll present it in a way as if you’re the one doing the troubleshooting and that you’re doing it the way an expert would. Here’s the basic layout. Let’s call it our Site 1 Topology: It consists of a large campus with 300 employees spread across three separate buildings. The Internet connectivity is across the WAN. In other words, this campus environment is getting Internet access from another location. There are two routers that provide redundancy both to the WAN and the Internet. See routers R1-1 and R1-2? Those two connect to the Wide Area Network. http://www.router-switch.com/
  • 8. Now here’s the situation. Building 3, which is being serviced by R1-3, has been experiencing a number of service outages. Your role as the Tier 1 help desk technician on duty is to receive the trouble ticket, diagnose the issue, and ultimately resolve it. Trouble Ticket: Internet is Down You arrive at work to find a high-priority trouble ticket assigned to you, and it says the Internet is down. The problem has been going on for over an hour without any resolution. After some investigation, you discover that someone on the network team has made an undocumented configuration change. Your task is to pick up the ticket, assign it to yourself, contact the requestor and inform that person that you are now actively working on the problem, and then of course proceed with troubleshooting and resolution. Here’s what greets you the moment you arrive at work: http://www.router-switch.com/
  • 10. Now, while these messages may sound really harsh (see the last one), it’s just normal for tensions to run high if something isn’t working and a person’s job depended on it. So even if you don’t particularly like the way this person’s talking to you, you have to take all that into account. Note in the upper-right corner of that last screenshot that the Status is Open and the Priority is High. The first thing you do is send the person a message assuring him/her that you are already working on the issue. After that, you proceed to your troubleshooting activity. To begin troubleshooting, you bring up your console. Because R1-3 is the one experiencing problems, you right-click on it and select Telnet/SSH to device. http://www.router-switch.com/
  • 11. First, you check for connectivity. Since you got a Trouble Ticket from the manager indicating that although the Internet’s down, everything else seems to be working at least locally, you assume that the workstations are still able to reach you. You proceed by issuing the command: showip interface brief to show the Physical Layer and see what it tells you. From the screenshot below, two items stand out. The first one, enclosed in a box marked #1, is something that would have required some deeper inspection. However, it’s not being used, so you skip it. second one (marked #2), on the other hand, is a bunch of LAN interfaces, and they’re Up. That means they’re working the way they should be. In other words, the Physical Layer is working. http://www.router-switch.com/
  • 12. Next, you execute the show interfaces command and see if everything’s working as expected. In the screenshot below, FastEthernet is showing Up/Up. That’s a good sign. While you’re doing all this, you’re following a plan. Here’s the plan you drew up and filled out for this particular troubleshooting activity: http://www.router-switch.com/
  • 13. Next, you do show cdp neighbors. Switch 1-3 (SW1-3) is the upstream switch, so you know that is functional. At this point, you think of ruling out both Layer 1 and Layer 2. Next, you conduct some ping tests on VLAN1 (the Management VLAN) and VLAN11 (the Production VLAN). Everything looks fine on the Management VLAN: http://www.router-switch.com/
  • 14. However, on the Production VLAN, you experience some problems: You want to find out whether the upstream switch can be pinged, so you try to obtain the IP addresses by executing the show cdp neighbors detail command. http://www.router-switch.com/
  • 15. It’s not listing an IP address here, so you try pinging the switches. Unlike Switch 1 and Switch 2, which are doing fine, Switch 3 is experiencing connectivity problems. You try pinging the Internet, and still you can’t get outside on VLAN11. That can be the reason why the Internet is down. http://www.router-switch.com/
  • 16. So you’ve got successful connectivity on VLAN 1 to Router 1-1 and everything in between. However, you can’t get on VLAN11. Another thing you consider looking into is routing. To check routing, you execute the command: showip route Seeing signs indicating that you may have a routing problem, you proceed to conduct further investigation by executing the show ipeigrp interfaces. It reveals that you have zero peers even though you can get out on your VLAN1, which is the Management VLAN. The Production VLAN isn’t getting any routing. At this point, you cannot be sure but, judging from the way things are working, it would be logical to suspect a switch related problem and that the problem is not on this router. http://www.router-switch.com/
  • 17. When you do a show cdp neighbors, you see that the next upstream is Switch1-3, so you take a look at that next. You again execute show cdp neighbors. That output includes Router 1-3 as well as an Etherchannel (Switch 1-2) across two interfaces, so you know that you’re looking at a Layer 2 connectivity. Next, you execute show interfaces trunk. You notice that both Native VLAN properties of both the link back to the router (Fa0/1) and the port channel (Po4) that’s up to the next upstream switch, SW1-2, are matching. Everything appears to be in order here. http://www.router-switch.com/
  • 18. After that, you issue the show spanning-tree vlan 11 command. There you see your root port (Po4) and your designated port (Fa0/1). So far, everything here appears to be functional, but because you want to make sure that all the necessary configurations have been carried out, you do a show vlan. The results show that both VLAN 1 and VLAN 11 have really been configured. http://www.router-switch.com/
  • 19. You then execute the command: show vtp status It shows that the configuration has been successfully sent, the domain is correct, it’s operating in client mode, and there are 7 existing VLANs. At this point, you eliminate Switch 1-3 from your list of possible culprits and proceed to Switch 1-2. http://www.router-switch.com/
  • 20. You try executing a show ip interface brief command. Everything looks good there. Then you try show cdp neighbors. Same story there. http://www.router-switch.com/
  • 21. You also try a show spanning-tree vlan 11. Still you see that everything’s functioning the way they’re supposed to. To make sure the vlans are there, you issue the show vlan command. http://www.router-switch.com/
  • 22. VLAN1 and VLAN11, which are the ones that are critical, are there. Next, you do a show vtp status. Again, the information shown tells you that everything should be working properly, but that’s before you take a much closer look. Closer inspection reveals that some of the letters of the VTP Domain Name are in lower case. That may not sound like a big deal but, to this switch, it may mean something different. Now you have what looks like a potential issue. Since everything else is working, you certainly would like to eliminate every possible cause, negligible as they may seem. Having found a potential issue, you now conduct further inspection in that particular direction. You remember to make only one change at a time, knowing fully well that if you make multiple changes simultaneously, you would run the risk of not knowing which one actually worked. http://www.router-switch.com/
  • 23. The next thing you do is issue the configure terminal command, followed by vtp domain CCNP-TSHOOT. You then go back to your Router 1-3 and ping 192.168.1.1, which was successful earlier, and 192.168.11.1, which wasn’t. Now, you find them both reachable. You issue configuration terminal here and then execute logging on (just in case the logging got turned off), followed by show ip route. Next, you do a show ipeigrp neighbors. Surprisingly, you still don’t see any neighbors even though you already have connectivity back up. So you follow that with a show running-config to see if something’s out of order. http://www.router-switch.com/
  • 24. After scrolling down the results, you notice one particular interface with an error where IP authentication for eigrp has been put in place. To take that out, you execute: noip authentication mode eigrp 100 md5 After that, things start coming back up. You try show ipeigrp neighbors one more time. This time, you’re shown the three you were expecting. http://www.router-switch.com/
  • 25. You try pinging the Internet. It’s now back up as well. At this point, you do a little analysis and put together the information you’ve been able to gather so far. The fault was identified on Device SW1-2. The fault was Layer 2 (Data Link Layer) in nature, specifically VLAN Trunking Protocol. More specifically, the fault was due to a VTP domain name mistyping (a human error) It was resolved by executing the vtp domain CCNP-TSHOOT command, with CCNP-TSHOOT all in capital letters. Since the problem has been resolved, you go back to the trouble ticket sent by the requestor, change the status to resolved, and put in necessary notes. http://www.router-switch.com/
  • 26. When you go back to the Home tab, you now see the number of Requests Overdue is already down to two. http://www.router-switch.com/
  • 27. Note: Your day has just started and you still have two more trouble tickets to resolve. We will go over those in Part 2 of this post. More Networking Tips & Tutorials you can visit: http://blog.router-switch.com/category/networking-2/ http://www.router-switch.com/