Home > Networking Tips > Routing and Switching > Troubleshooting switching: Overcome function overlap confusion
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ROUTING AND SWITCHING

Troubleshooting switching: Overcome function overlap confusion


Tom Lancaster
05.02.2006
Rating: -3.64- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


In a previous tip, I discussed formal and informal troubleshooting methodologies using routing as an example. In this tip, I want to look at another dimension that is critical to timely troubleshooting -- a solid understanding of systems and their components, using switching as an example. An understanding of systems is critical to troubleshooting simply because you have to know what to peek and poke at, and though it's perhaps a statement of the obvious, it's becoming more important and more difficult by the day.

More specifically, many of the ways we attempt to envision today's complex networks (or explain them to non-technical parties) simply don't lend themselves to troubleshooting. Case in point: switching. In reality, your switches probably perform many very distinct functions, most of which have nothing to do with the academic definition of "switching." In order to troubleshoot your environment with a minimum of effort, you need to understand these functions -- how they work in isolation and how they interact with the other functions in the switch -- so you can eliminate the unlikely causes of failure and quickly get to the root cause.

This list of systems and components that provide extra functionality typically built onto the basic switching function is far from comprehensive, but it illustrates the point:

Addressing and routing

In order to know which port to use for forwarding a frame, the switch needs a database of MAC addresses. This is usually called the Forwarding Database (Cisco calls it the CAM). In addition, most vendors have proprietary ways of caching this information at the port to minimize demands on the CPU. There are plenty of technologies out there, such as Microsoft's Network Load Balancing, which when "properly" configured result in interesting behavior from your switch, like flooding frames out of all the ports.

More on this topic

Troubleshooting routers

Layer 3 switches explained

Securing your Layer 2 network: Don't overlook the basics

More routing & switching tips

Another example could be an inter-switch link that has multiple channels; it has to decide on which pipe to forward a frame. You have a choice of several algorithms the switch can use to make that decision. As with any choice, a suboptimal decision could be something you troubleshoot later.

Access and security

Features like IEEE's 802.1x Port Authentication and Cisco's Port Security and Layer 2 ACLs can be extremely useful in some circumstances, but they also present dozens of new ways to misconfigure devices or introduce unexpected downtime.

Port and switch configuration

A decade ago, switches that could automatically detect and set link speed and negotiate the duplex were pretty spiffy. TechTarget readers are no doubt well aware of the legendary problems this caused. Today's switches have many more protocols to detect and configure links. These are such things as Uni-Directional Link Detection (UDLD), port aggregation protocol (PAgP), and other negotiation methods built into specific technologies -- for example, the method built into the Power over Ethernet spec to keep it from sending power to a device that isn't expecting it. In addition to ports, components such as VTP can even configure other switches (VLANs, in this case).

Loop avoidance

Of course, we can't avoid mentioning spanning tree protocol (STP) and all the various recent incarnations like Per-VLAN Spanning Tree (PVST). The point of all this is that if you have a simple problem -- for instance, "I can't ping your PC from my PC and they're both on the same subnet, separated by several switches" -- then almost any of the components above could be the culprit.

  • There could be an Ethernet loop due to an STP issue or an MLT/Etherchannel link misbehaving.
  • Your PC may not be allowed onto the network because you didn't authenticate, or you put a hub at your desk and connected more PCs than Port Security permits.
  • Perhaps there are far more MACs on the network than can fit into a switch's FDB, and the subsequent flooding is causing congestion.
  • Perhaps QoS is configured to put ICMP into a low-priority queue, so regular traffic is working but I just can't ping you.

Hopefully, you've disabled all of the protocols you don't need; even then, there still could be dozens of possible causes of this problem. If you organize your thoughts about components by function, however, it will help you construct the questions and tests that ferret out the problem.

Tom Lancaster, CCIE# 8829 CNX# 1105, is a consultant with 15 years of experience in the networking industry. He is co-author of several books on networking, most recently, CCSPTM: Secure PIX and Secure VPN Study Guide published by Sybex.

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.


Submit a Tip




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
IP Networking
What is the definition of ATM (Asynchronous Transfer Mode)?
Do I have to disable DHCP on my router to create a DHCP server?
Windows Server 2008 IP routing configuration: Static and dynamic RIPv2
What is IP?
Connect your LAN to the Internet using static or dynamic NAT
Using tracert and TTL to troubleshoot network connectivity problems
Test your TCP/IP protocol stack to troubleshoot network connectivity
IP addressing and subnetting explained
Checking IP configuration to troubleshoot Windows network connectivity
Does IPv6 abandon TCP/IP fragmentation?

Network Hardware
Unified wireless network still a work in progress for vendors
3Com acquisition confirms HP-Cisco battle for China
Juniper to CIOs: Invest in internal cloud computing networks
802.11n wireless APs bring IP video to sprawling Illinois high school
802.11n upgrade: College ditches legacy network for new vendor
Network device management overload: Engineers managing too many boxes
What is network infrastructure and what is a hybrid network?
What preventative maintenance procedures for network devices exist?
Can wireless adapters operate as client access points to make SoftAPs?
Is there VLAN software recommend for Realtek NICs?
Network Hardware Research

Routing and Switching
Testing LAN switch power consumption: A best practices guide
Dynamic IP routing and routing protocols
Monitor your network traffic with MRTG
How routers work: An overview for networking pros
Secure Cisco routers against IOS flaw attack
Network summarization -- Supernetting and wildcard masks
Routing: Five common, easily avoided errors
Router Expert: Building a WLAN proxy server, implementing ASR
Router Expert: Building a WLAN proxy server, implementing WPAD
Cisco IOS IP routing: Static routes

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
32-bit IP addressing  (SearchNetworking.com)
fixed-length subnet mask  (SearchNetworking.com)
GARP (Generic Attribute Registration Protocol)  (SearchNetworking.com)
Port Address Translation (PAT)  (SearchNetworking.com)
route aggregation  (SearchNetworking.com)
route summarization  (SearchNetworking.com)
subnet  (SearchNetworking.com)
subnet mask  (SearchNetworking.com)
variable-length subnet mask  (SearchNetworking.com)
wildcard mask  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts