Docstoc

Campus Network and Design Models

Document Sample
Campus Network and Design Models Powered By Docstoc
					CCNP4: Network Troubleshooting v3.0
CATC México




                                                        Module 3


                                                    Troubleshooting at
                                                     Physical Layer




                  Everardo Huerta Sosa
              Cisco Networking Academy Instructor
              mailto: ehuerta@uat.edu.mx
1
Objectives

              • Identify the characteristics of a physical layer failure
CATC México




                problem
              • Identify the characteristics of a physical layer
                optimization problem
              • Identify end-system commands and applications
                that gather physical layer component information
              • Identify the Cisco commands and applications that
                gather physical layer component information
              • Recognize possible causes of common physical layer
                problems
              • Isolate a problem at the physical layer
2
Table of Content

              1   Characteristics of Physical Layer Failure Problems
CATC México




              2   Characteristics of Physical Layer Optimization
                  Problems
              3   Windows and Cisco Commands for Physical Layer
                  Information Gathering
              4   Identifying Physical Layer Problems

              5   Isolating Physical Layer Problems

              6   Implementing Physical Layer Solutions
3
CATC México




              CHARACTERISTICS OF PHYSICAL
                LAYER FAILURE PROBLEMS
4
Critical characteristics – connectivity
              • Anytime that there is a physical layer failure, a loss
CATC México




                of connectivity will be experienced.
              • If a technician can log in to one of the affected
                devices and start gathering information, it will be
                evident that no component above the physical layer
                is operating.
              • Unlike network failures, all cable failures are
                approached in approximately the same manner,
                whether the link is newly installed or has failed
                during operation.
              • Include visible damage to the cable, new electrical
                noise sources near the cable, or accidental
                movement of the cables.
5
Critical characteristics – upper layer component
operation
              • Depending on the location of the
CATC México




                fault, the following types of
                communication components may
                fail:
                 – All pings to external devices
                   would timeout.
                 – The user would not be able to
                   telnet into any other device.
                 – The user would not be able to
                   access network drives.
                 – E-mail messages would not be
                   sent or received and there may
                   be an undeliverable message to
                   this effect when attempting to
                   send.
                 – “Page cannot be displayed”
                   messages occur when
                   attempting to gain intranet or
                   Internet access.
6
Noncritical characteristics – equipment indicators
              • The Light Emitting Diodes (LEDs) on a device can
CATC México




                give feedback for diagnosing the operational status
                of the device.
                – When there is a physical problem with equipment, the
                  LEDs of the failing device are usually off, flashing, or a
                  different color than usual.
                – Most LED link lights are now software controlled, so they
                  are no longer reliable as a sole indicator of connectivity.
                  If the link light is illuminated, it may or may not mean
                  that a valid link is present. If the port is faulty, it may be
                  possible to disconnect the cable and still have the link
                  light illuminated.
                – If the link light is off however, then it is still a fairly good
                  indication that no link is present.
7
Noncritical characteristics – power failures
              • Power failure
CATC México




                A power failure is characterized by a loss of power. Incoming power is
                subject to blackouts, which are complete power outages, often caused
                by downed power lines or electrical failures.
              • Power spike
                A power spike is a short burst of excessive power, usually lasting less
                than 1/60 of a second. Unprotected electronic equipment is vulnerable to
                this sudden, potentially massive, increase in voltage. Power spikes are
                similar in nature to power surges, which can last as long as several
                seconds.
              • Brownouts
                Brownouts are in-line power reductions of ten percent or more. They are
                usually caused by utility company problems or a sudden drain of
                electricity from a particular part of the power grid.
              • Dirty power
                Dirty power is caused by electrical circuits experiencing transients and
                noise. Transients are brief high-speed electrical fluctuations caused by
                lightning or improper grounding. Noise is electromagnetic or radio
                frequency interference in the power signal caused by disruption from the
                external power grid or by feedback from local mechanical devices such
                as printers and copiers.
8
Noncritical characteristics – console messages
              • With a physical layer failure
CATC México




                problem, sometimes a problem is
                discovered when a device shows
                console messages indicating that
                an interface is not functioning.
                  – interface is down, line
                    protocol is down
                    (FastEthernet)
                  – initialized, down state (Token
                    Ring)
              • An unattached Ethernet LAN
                interface can be spoofed to an
                interface is up, line protocol is up
                state by issuing the no
                keepalive command.
                  – Therefore, this command
                    should not be used in a live
                    network as a substitute for
                    testing at the physical layer.
9
CATC México




              CHARACTERISTICS OF PHYSICAL
                  LAYER OPTIMIZATION
                      PROBLEMS
10
Performance lower than baseline
              • If there is a problem with sub-optimal operation at the
CATC México




                physical layer, the network will be operational, but
                performance will be consistently or intermittently lower than
                the level specified in the baseline.
              • If performance varies and is not always unsatisfactory, then
                the problem is probably related to an error condition or is
                being affected by traffic from other sources:
                 – Unstable routing due to a marginal port or link somewhere beyond
                   the broadcast domain, possibly the result of a bad cable
                 – Excessive traffic across a low speed LAN or WAN link, possibly
                   causing traffic to be discarded or buffer capacity to be exceeded
                 – Overloaded server or service
              • A physical layer optimization problem occurs when the
                physical properties of the connection are substandard,
                causing data to be transferred at a rate that is constantly
                less than the rate of data flow established in the baseline.
11
Performance lower than baseline

              • A number of factors can be involved in decreasing
CATC México




                the rate at which data is transmitted across media.
                Major causes of networks performing below
                baseline are:
                – Exceeding the design limits of the media in terms of
                  cabling distance or of network devices
                – Large collision domains in shared media networks such
                  as CSMA/CD Ethernet
                – Electromagnetic Interference (EMI) effects
                – Faulty media or hardware
12
Exceeding cable design limits, poor quality cabling and
connections
              • Attenuation
CATC México




                A common issue of exceeding the design limits of a media
                type is the attenuation of the bit-stream transmitted along
                the media. Attenuation depends on the media over which
                the traffic is being transmitted. Attenuation may occur to
                such an extent that the receiving device cannot always
                successfully distinguish the component bits of the stream
                from each other.
              • Each network media is rated for a specific distance. Category
                5 media has a maximum rated cabling distance of 100m.
                Beyond that distance, the signal must be regenerated or it
                may degenerate and be unreadable by the receiving end. To
                get an accurate measurement of the length of a cable, use a
                cable tester.
13
Exceeding cable design limits, poor quality cabling and
connections
              •   Return Loss
CATC México




                  Return loss is a measure of all
                  reflections that are caused by the
                  impedance mismatches at all
                  locations along the link. It indicates
                  how well the characteristic
                  impedance of the cable matches its
                  rated impedance over a range of
                  frequencies. The characteristic
                  impedance of links tends to vary
                  from higher values at low
                  frequencies to lower values at the
                  higher frequencies. Return loss is
                  expressed in decibels.
                   –   The termination resistance at both
                       ends of the link must be equal to the
                       characteristic impedance of the link
                       to avoid reflections. A good match
                       between characteristic impedance
                       and termination resistance in the
                       end equipment provides for a good
                       transfer of power to and from the
                       link and minimizes reflections.
                       Return loss results vary significantly
                       with frequency.
14
Noise
              • Local Electromagnetic Interference (EMI) is commonly
CATC México




                known as noise. There are four types of noise that are most
                significant to data networks:
                 – Impulse noise - voltage fluctuations or current spikes
                   induced on the cabling
                 – Random (white) noise distributed over the frequency
                   spectrum
                 – Alien cross talk
                 – Near End Cross Talk (NEXT)
              • The default threshold level for the detection and registration
                of impulse noise is 270 mV (determined by 10BASE-T
                specification in the IEEE 802.3i standard). For high-speed
                network applications such as 1000BASE-T (Gigabit Ethernet),
                the recommended threshold value for impulse noise
                detection is 30 or 40 mV.
15
Collisions
              • They typically result from the following problems:
CATC México




                 –   Bad cables
                 –   Marginal or intermittent workstation NICs
                 –   Marginal or intermittent ports on hubs or switches
                 –   Errors or excessive traffic on the local collision domain
                 –   Duplex mismatches
                 –   Electrical noise and other environmental disruptions
              • Collisions are normally a more significant problem on shared
                media than on switch ports.
              • If the average utilization is high (sustained peaks in excess
                of 60 percent for shared media, and in excess of 80-90
                percent for switched links) and collision counts are
                acceptable (average is below 5 percent for shared media,
                and below 1 percent for switched links), then the network
                may simply be saturated.
16
Collisions
              • Late Collisions
CATC México




                A late collision is counted when a collision is detected by a
                device after it has sent the 512th bit of its frame. No more
                than a few late collisions should ever occur in any
                environment. If a device is incrementing a collision counter,
                further investigation is needed as a significant problem is
                occurring. If the number of late collisions is occurring at a
                steady rate, performance degradation may be noted.
              • Any of the following conditions may be causing late
                collisions:
                 – Incorrect configuration
                 – Duplex mismatch (one host operating at half-duplex while
                   another host is operating a full-duplex)
                 – Faulty cabling
                 – Faulty hub or shared media device
                 – Faulty NIC or switch port
                 – Excessive network traffic beyond the limitations of the
                   shared media hub or switch port
17
18   CATC México

                   Collisions
Other data transmission issues
              • Short Frames
CATC México




                The most likely cause of a short frame is a faulty card, or an improperly
                configured or corrupt NIC driver file.
              • Jabber
                Jabber, is often defined as the condition in which a network device
                continually transmits random, meaningless data onto the network. IEEE
                802.3 defines a jabber as a data packet whose length exceeds the
                standard. These packets are called long frames. Cyclically lock the port
                out, then check later to see if it is ok. The standard says that after the
                jabber timer expires (20,000 to 50,000 bit times) then the hub should
                close the port for awhile before reopening the port to see if the attached
                device has stopped transmitting.
              • Ghosts
                Ghosts are easily created by a variety of causes on coaxial Ethernet.
                They may also be caused by something as simple as installing a second
                crossover cable between two hubs on half duplex 10BASE-T. The parallel
                path sometimes causes very strange symptoms.
                  – Lock one port out, sometimes requiring a power cycle or SNMP management
                    intervention to reopen the port. This is fortunately the most common result.
                  – Allow the error to continue uninterrupted. This is not permitted by the
                    standard.
19
Other data transmission issues
CATC México
20
Resources
              • If network resources are operating at or are near maximum capacity,
CATC México




                this can be the cause of physical layer problems.
                  – In some instances of sub-optimal network performance, data may flow at
                    expected rates, but it will start and stop unexpectedly.
                  – In other instances the data will flow continuously, but not at a desirable
                    rate.
              • The following procedures assume that this connection has been
                operating properly prior to this problem, and the following have already
                been checked:
                  – Verified that nothing has been recently changed on the problem station, or
                    on the server or service that may have caused this problem, such as
                    reconfiguring or adding new software or hardware.
                  – Eliminated potential station memory allocation problems and software
                    conflicts on the station by unloading all but the minimum software required
                    to operate a test application across the network. For this test disable any
                    virus checking or security software, but re-enable it immediately after the
                    test.
                  – Tested the user’s station for viruses and look for applications that are
                    consuming disproportionate amounts of the microprocessor resources or
                    hanging the system long enough to exceed connection timers.
21
Resources
              • The most common reasons for slow or poor performance
CATC México




                include overloaded or underpowered servers, unsuitable
                switch or router configurations, traffic congestion on a low
                capacity link, and chronic frame loss.
22
Utilization
              • A component may be operating sub-optimally at the
CATC México




                physical layer because it is being utilized at a higher
                average than it is configured to operate.
                 – Gathering symptoms reveals excessive runts, late
                   collisions, or an increase in the number of buffer failures.
                   The output from a ping or traceroute command results
                   in excessive packet loss or latency.
              • How Much Utilization is ok?
                Shared Ethernet networks are believed to suffer
                from throughput problems when average traffic
                loads approach a maximum average capacity level
                of 40 percent. This percentage is actually
                conservative. Higher average percentages are
                certainly possible.
23
Utilization
              • Another problem can occur when access to servers or
CATC México




                services is reached through a single switch uplink path.
                Unless the bandwidth of the uplink path is bigger than the
                total of simultaneous station requests, the uplink itself
                becomes a bottleneck.
                 – This scenario arises when a network is designed with all servers
                   collected in a server farm, separated from the VLANs they serve.
              • Network bottlenecks or congestion typically manifests
                itself to users with the following symptoms:
                 – Highly variable response times
                 – Network time-outs or server disconnects
                 – Inability to establish network connections
                 – Slower application loading and/or running
24
Console messages
              • All error messages begin with a percent sign, and
CATC México




                are displayed in the following format:
                – %FACILITY-SEVERITY-MNEMONIC: Message-text
                – FACILITY is a code, consisting of two to five uppercase
                  letters, indicating the facility to which the message
                  refers. A facility may be a hardware device, a protocol, or
                  a module of the system software.
                – SEVERITY is a single-digit code from 0 to 7 that reflects
                  the severity of the condition.
                – MNEMONIC is a code, consisting of uppercase letters that
                  uniquely identify the message.
                – Message-text is a text string describing the condition.
                  This portion of the message sometimes contains detailed
                  information about the event being reported.
25
Console messages
CATC México
26
CATC México




               WINDOWS AND CISCO COMMANDS
              FOR PHYSICAL LAYER INFORMATION
                        GATHERING
27
End-system commands – common commands
              • The ping {host | ip-address} command is used to verify
CATC México




                connectivity between hosts by sending an ICMP echo
                request to the target IP address. T
              • The Arp –a is a very useful interrogatory command because
                it establishes whether there is Layer 2 and Layer 3
                connectivity within a LAN segment.
28
End-system commands – Windows only
              • The ipconfig /all command is a simple way to
CATC México




                check connectivity on a Windows NT/2000/XP
                system. It will identify the host MAC address, DNS,
                DHCP, NT and WINS servers that the host is
                attached to if it has physical connectivity.
              • The tracert command can be used to test
                connectivity to a destination device. It will enable a
                user to map the route taken on the way to the
                destination.
              • The winipcfg command is used in older version of
                9x Windows up to Me. As the name suggests
                winipcfg will show the Windows IP configuration
                information.
29
End-system commands – UNIX/Mac OS

              • The ifconfig –a command performs the same
CATC México




                function that the ipconfig command performs for
                Windows NT/2000/XP systems. It will list the IP
                address information for a Mac OS X and UNIX
                hosts.
              • The traceroute command can be used to show the
                path a packet takes through the network. It is
                useful to identify at what point a link is broken, or
                sub-optimal, in the network.
30
Common Cisco IOS commands
CATC México
31
Cisco IOS show commands
CATC México
32
CATC México




              IDENTIFYING PHYSICAL LAYER
                      PROBLEMS
33
Power related
              •   If a power related issue is suspected, a
CATC México




                  physical inspection of the power module
                  is often carried out. Initially, with the
                  power switch on, does the blower
                  operate?
                   –   If yes, the AC input checks out.
                   –   If no, suspect the AC input, AC source,
                       router circuit breaker, or the power supply
                       cable.
                   –   With the power switch on and system
                       LEDs lit, do the fans operate?
                   –   If no, suspect the fans.
                   –   Does the system shut down after being
                       on a short time?
                   –   Suspect an environmentally induced
                       shutdown.
                   –   Check the environmental site
                       requirements in device documentation
                       and ensure that the chassis intake and
                       exhaust vents are clear.
                   –   Suspect a power supply failure, have
                       other devices in the area powered down?
                   –   System partially boots, but LEDs do not
                       light.
                   –   Suspect a 5-volt (V) power supply failure.
34
Power related
              • To help isolate a power subsystem problem, follow these
CATC México




                steps:
              • Check whether the power supply LED labeled GOOD is on or
                the LED labeled FAIL is on.
              • If the LED labeled GOOD is off or if the LED labeled FAIL is
                on, take the following steps:
                 – Step 1
                   Ensure that the power supply is flush with the back of the chassis.
                 – Step 2
                   Unplug the power cord, loosen and reinstall the power supply,
                   tighten the captive installation screws, and then plug in the power
                   cord.
                 – If the LED labeled GOOD remains off, there might be a problem with
                   the AC source or the power cable. Connect the power cord to
                   another power source if one is available.
                 – If the LED labeled GOOD fails to light after the power supply is
                   connected to a new power source, replace the power cord.
35
Cabling faults – CAT5
              • Many problems can be corrected by simply
CATC México




                reseating cables that have become partially
                disconnected. When performing a physical
                inspection, look for damaged cables, improper cable
                types, and poorly crimped RJ-45s. Suspect drop
                cables should be subject to a simple cable test, and
                exchanged with a known-good cable.
                 – Do not assume that just because a cable is new,
                   just out of the package, that it will work. Test it
                   first.
              • Anyone can have a bad day and miswire the
                termination. Also test for simple cable faults such as
                shorts, opens, and split pairs.
36
Cabling faults – fiber and coax
              • All fiber links are crossed over.
CATC México




                The connectors are always the
                same on stations and
                infrastructure equipment, so the
                TX output is connected to the RX
                input through careful attention to
                the cable polarity.
              • Check fiber for swapped RX/TX
                connections when polarized or
                small form factor multi-fiber
                connectors are not used.
              • Someone may have reconnected
                the cable incorrectly after
                disconnecting for some reason.
37
Hardware

              • When Layer 1 or Layer 2 hardware components fail,
CATC México




                a system will experience a sudden loss of physical
                connectivity. There are various occurrences in
                frames transported over shared access media that
                indicate a faulty NIC or interface in Layers 1-3
                equipment.
              • Check for link lights at both the station and the hub
                or switch end. However, due to increased software
                control the presence of a link light is not a
                guarantee that the port works. The absence of a
                link light is still a fairly reliable indication of a
                problem.
38
Collision based problems – shared media
              • Excessive collisions are most often caused by a problem with
CATC México




                the physical media, such as missing or incorrect terminators,
                impedance discontinuities (bad connectors, cable stubs,
                crushed cables, and so on), and bad network interface
                cards.
              • There are several things to watch for in relation to collisions:
                 – Does the detected collision level track approximately with the
                   utilization level?
              • If changes in utilization and collision levels track together
                reasonably closely, then there may simply be too many
                stations transmitting on the collision domain, assuming that
                there is a collision problem at all.
                 – Are there spikes of detected collisions that do not follow the
                   utilization level?
39
Collision based problems – shared media
              • One or more stations set to full duplex within a
CATC México




                collision domain will also cause this sort of collision
                problem, as well as other errors.
                 – Are there collisions when there is no apparent utilization
                   to cause them?
              • If there are abnormal numbers of collisions taking
                place when there is little or no utilization to cause
                them, then suspect a noise source near a cable or
                hub.
                 – Use divide and conquer troubleshooting to isolate the
                   location of the fault, adding traffic to the network from
                   the monitoring tool while troubleshooting.
                 – Are there approximately 33 percent or 100 percent
                   collisions?
40
Collision based problems – shared media
              • Some media-related problems are traffic-level dependent.
CATC México




                Try gradually raising the traffic level to more than 50
                percent, and at the same time watching the error and
                collision levels.
                 – Many monitoring tools offer LED indicators for both, which makes it
                   much easier to vary the traffic level while watching for resulting
                   errors or elevated collision levels.
                 – Be careful when doing this because it can easily saturate the
                   network. Solving collision-related problems can be very tricky
                   because the measurements are largely dependent upon the
                   observation point.
              • For UTP cable, test the entire cable path between the hub
                and the station connection. Substitute a known-good patch
                cable before testing, as patch cables are the most likely
                source of the problem.
41
Collision based problems – shared media
CATC México




              • For coaxial cable, try a DC continuity test. About 25 ohms
                should be seen if both terminators are present and testing
                occurs from a BNC T connection, or 50 ohms if testing from
                an end.
              • For fiber-optic cable, check to see if the connections are fully
                seated and clean. A loose connection or a dirty connection
                can result in the receiver misinterpreting input signals as a
                result of poor signal quality, and usually results in other
                errors in addition to collisions.
42
External interference
              • One of the most notable causes of Electromagnetic
CATC México




                Interference (EMI) is lightning. When electrical
                disturbances occur in the environment they impact
                radio and television broadcast signals.
              • Noise
                On any line, even in the absence of a data signal,
                random fluctuations of the line voltage and current
                will occur. This effect is known as Line Noise Level,
                or simply Background Noise. There are three main
                causes of this noise:
                 – Cross-talk
                 – Impulse Noise
                 – Thermal Noise, which will not be discussed
43
External interference

              • Cross-talk – Occurs when a signal on one line is
CATC México




                picked up by adjacent lines as a small noise signal.
                Particularly troublesome is Near- End Cross talk
                (NEXT) caused when a strong transmitter output
                signal interferes with a much weaker incoming
                receiver signal.
              • Impulse Noise – This noise is caused by external
                activity or equipment and generally takes the form
                of electrical impulses on the line. These impulses
                can cause large signal distortion for their duration
                and can bring the entire network down whenever
                they occur.
44
External interference
              • Proper common-mode line terminations must be used for the
CATC México




                unused Category 5, UTP cable pairs 4/5 and 7/8. Common-
                mode termination reduces the contributions to EMI and
                susceptibility to common-mode sources. Wire pairs 4/5 and
                7/8 are actively terminated in the RJ-45, 100BASE-TX port
                circuitry in the FE-TX port adapter
45
Configuration script errors
              • Many things can be misconfigured on an interface to cause it
CATC México




                to go down. This will cause a loss of connectivity with
                attached network segments. Changing the subnet of an
                interface to a different one from the directly attached
                network segment is an obvious way to shut down their
                connection, but this is not a physical layer problem.
              • Other misconfigurations which are directly related to the
                physical layer are:
                 – Serial links re-configured as asynchronous instead of
                   synchronous
                 – Incorrect clock rate
                 – Incorrect clock source
                 – Interface shutdown
              • Switchport duplex configuration mismatches can cause
                collisions or port shutdown to occur.
46
CPU overload
              •   The following list describes
CATC México




                  common symptoms of high CPU
                  utilization. If any of these
                  symptoms are noticed, follow the
                  troubleshooting steps below to
                  alleviate the problem.
                  – High percentages in the show
                    processes cpu command
                    output
                  – Input queue drops
                  – Slow performance
                  – Services on the router fail to
                    respond, for instance:
              1. Slow response in Telnet or
                 unable to telnet to the router
              2. Slow or no response to ping
              3. Router does not send routing
                 updates
47
CPU overload
              • There are several reasons for high CPU utilization due to
CATC México




                interrupts:
                 – Voice ports are configured on the router, even if there is no traffic,
                   software continues to monitor channel associated signaling (CAS).
                 – There are active Asynchronous Transfer Mode (ATM) interfaces on
                   the router, the ATM interfaces continually send out null cells (per
                   ATM standards) and continue to use CPU resources.
                 – An inappropriate switching path is configured on the router.
                 – The CPU is performing memory alignment corrections, if %ALIGN-3-
                   CORRECT messages are logged, then the high CPU utilization is
                   caused by memory alignment corrections, which indicates that bugs
                   in the version of the Cisco IOS used.
              • If the router is overloaded with traffic, the show interfaces
                and show interfaces switching commands provide
                information about which interfaces are overloaded.
48
CPU overload
                •   Output from the show interfaces
CATC México




                    switching command can be used to
                    see what kind of traffic, protocol,
                    and switching path, is going through
                    the overloaded interface. If some
                    interfaces are too overloaded with
                    traffic, consider redesigning the
                    traffic flow in the network or
                    upgrading the hardware.
                •   A single device may be generating
                    packets at an extremely high rate
                    and overloading the router. In this
                    case the Media Access Control (MAC)
                    address of that device can be
                    isolated by adding the ip
                    accounting mac-address
                    {input|output} interface
                    configuration command to the
                    configuration of the overloaded
                    interface.
                     –   The show interfaces [type
                         number] mac-accounting or
                         show interfaces mac commands
                         display the collected information.
49
CATC México




              IDENTIFYING PHYSICAL LAYER
                      PROBLEMS
50
Methodology
              •   To isolate problems at the physical            •   Ensure the cable is correctly wired.
CATC México




                  layers do the following:                       •   Check to make sure that all cables are
              •   Check for bad cables or connections.               connected to their correct ports or
              •   Verify that the cable from the source              interfaces.
                  interface is properly connected and is in      •   Make sure that any cross-connects are
                  good condition. When doubting the                  properly patched to the correct location.
                  integrity of a cable, swap suspect cables      •   Verify proper interface configurations.
                  with a known working cable.
                                                                 •   Check that all switch or hub ports are set
              •   If in doubt that the connection is good,           in the correct VLAN or collision domain,
                  remove the cable, do a physical                    and that Spanning Tree, speed, and
                  inspection of both the cable and the               duplex settings are correctly configured.
                  interface, and then reseat the cable. Use          Confirm that any active ports or
                  a cable tester with suspect wall jacks to          interfaces are not shut down.
                  ensure that the jack is properly wired. A
                  glowing link light will also be an indicator   •   Check operational statistics and data
                  of a successful connection.                        error rates.
              •   Check that the correct cabling standard is     •   Use Cisco show commands to check for
                  adhered to throughout the network.                 statistics such as collisions, input, and
                                                                     output errors. The characteristics of these
              •   Verify that the proper cable is being used.        statistics will vary depending on the
                  A crossover cable may be required for              protocols used on the network.
                  direct connections between some devices.
51
52   CATC México

                   Methodology
Tools for the job
              • There are two primary
CATC México




                categories of physical layer
                analyzer products.
                 – Cable testers
                 – Handheld network testers
                   (hybrid)
              • Other common tools that
                are used for trouble
                shooting at OSI Layers 2 to
                7 are Protocol Analyzer and
                Network Management
                Tools.
53
Bad cabling
              • Before troubleshooting a failing cable, verify the tester
CATC México




                configuration.
                 – This step is critical to obtaining accurate test results, as testers
                   capable of Category 5e and higher performance utilize a wide
                   selection of cable interface adapters and may have somewhat
                   complicated test configurations.
                 – At a minimum, verify that the correct test specification and link type
                   has been selected.
              • Most wiremap failures occur at cable terminations, either at
                the RJ-45 (plug or jack), or at an intermediate crossconnect
                or patch panel. Faults at the RJ-45 can usually be seen by
                checking the wire colors carefully against T568A or T568B
                pinout colors, or by checking the RJ-45 plug for wires that
                did not seat fully to the end of the connector when it was
                crimped.
54
Bad cabling
              • Propagation Delay and Delay Skew
CATC México




                TIA/EIA-568-B permits up to 498 ns of propagation delay for
                the Permanent Link and up to 555 ns of propagation delay
                for the Channel Link, for all Categories. It is unlikely that this
                parameter could fail without other parameters failing as well.
                Failing propagation delay suggests an inappropriate or bad
                cable in the link.
              • Delay Skew
                Delay skew occurs as a result of different wire pairs within a
                cable being insulated with different materials. This could
                occur if there is an industry supply problem for a favored
                insulating material.
                 – TIA/EIA-568-B permits up to 44 ns of delay skew for the
                   Permanent Link and up to 50 ns of delay skew for the
                   Channel Link, for all Categories.
55
56   CATC México

                   Bad cabling
Cabling incorrect
              • Check for wires that were not fully seated in the
CATC México




                crimping process.
              • Also check to see if the correct type of RJ-45 was
                used, stranded or solid wire pins. This is difficult
                once the end has been crimped.
              • Cabling length is also a major issue.
                 – Do not install long cables. Make all runs as short as
                   possible, certainly no longer than is permitted by the
                   media access protocol being used. For example, never
                   install UTP runs longer than 100 meters.
                 – Whether building cables onsite or buying pre-made
                   cables, be sure to test them with a reliable cable tester
                   before use, especially if already in troubleshooting mode.
57
Cabling incorrect
CATC México
58
Interface configuration
              • Prior to examining the interface configurations on network
CATC México




                devices, it is important to discount the physical causes first:
                 – Verify cable connectivity.
                 – Verify that the power supply is on and running.
                 – Verify the router LED status. If all LEDs are down, it is most likely an
                   issue with the power supply of the device, or with incorrectly seated
                   modules in a modular router or switch.
59
Interface configuration
              • When examining interfaces on a Layer 2 switching device:
CATC México




                 – Start by looking for duplex and speed mismatches.
                 – Ensure that the correct VLAN encapsulation method has been
                   applied if the port is a trunking port, and that the port has
                   been designated for trunking rather than access.
                 – Ensure that individual ports have been assigned to the
                   EtherChannel group for trunking ports combined to form an
                   EtherChannel.
                 – Ensure that the port has not been accidentally assigned an IP
                   address. On 3550 and 6500 series switches, the no
                   switchport command and an IP address converts the switch
                   port to a routing port.
                 – Look under port configuration to make sure it has not been
                   assigned as a RSPAN reflector port.
60
Interface configuration
              • When examining a Layer 3 device:
CATC México




              • Ensure that the IP addressing on both sides of the link is
                within the same subnet.
              • Ensure that the interface is not administratively shut down.
              • Ensure that serial ports designated as Data Clocking
                Equipment (DCE) end are assigned the correct clock rate for
                the link.
              • Console Not Responding
                Console problems occur when the router becomes
                unresponsive to input at the console port. If the console is
                not responsive, it means that a high priority process
                prevents the console driver from responding to input. If
                traffic is still flowing through the device, try disconnecting
                network interfaces and see if the router starts responding.
                 – Many times the router thinks it is doing something too important to
                   service exec sessions.
61
Operational statistics

              • Operational statistics can also be gained from
CATC México




                centrally located network analysis software or even
                dedicated hardware.
              • Simple Network Management Protocol (SNMP) can
                be used to get each SNMP capable network device
                to report back to a central monitoring host which is
                loaded with software to interpret input from
                network devices.
              • Similarly the Network Analysis Module (NAM),
                designed for Cisco 6500 series devices can become
                the nerve center for analysis of network function.
62
Operational statistics
CATC México
63
CATC México




              IMPLEMENTING PHYSICAL LAYER
                      SOLUTIONS
64
Solving common problems – methodology
              •   Make initial configuration changes.     •   The network should be returned to
CATC México




              •   If the correction requires more than        the baseline operation and no new or
                  one change, make only one change            old symptoms should be present. If
                  at a time.                                  the problem is not solved, undo all
                                                              the changes made. If new or
              •   Evaluate and document the results of        additional problems are discovered
                  each change made.                           during trouble-shooting and problem
              •   If the problem-solving steps are            correction, step back and modify the
                  performed and the results are               correction plan.
                  unsuccessful, immediately undo the      •   If necessary, get input from outside
                  changes. If the problem is                  resources.
                  intermittent, it may be necessary to
                  wait to see if the problem occurs       •   If none of the attempts to correct
                  again before evaluating the effect of       the problem are successful, take the
                  any changes.                                problem to another person. This may
                                                              be a coworker, consultant, or Cisco
              •   Stop making changes when the                Technical Assistance Center (TAC).
                  original problem appears to be              On rare occasions it may be
                  solved.                                     necessary to perform a core dump,
              •   Verify that the changes made                which creates output that a specialist
                  actually fixed the problem without          at Cisco Systems can analyze.
                  introducing any new problems.           •   Once the problem is resolved,
                                                              document the solution.
65
Solving common problems – methodology
CATC México
66
ARP commands
              • The address resolution protocol is used by the IP network layer protocol
CATC México




                to map IP network addresses to the hardware addresses used by the
                data-link protocol. The protocol operates below the network layer as a
                part of the OSI data-link layer, and is used when IP is used over the
                Internet.
              • A protocol known as the Address Resolution Protocol (ARP) is therefore
                used to translate between the two types of address.
              • An end-station will construct an Address Resolution Table when it is
                connected to a network and attempting to communicate with devices on
                its LAN segment. To reduce the number of address resolution requests, a
                client normally caches resolved addresses for a (short) period of time.
              • The ARP cache is of a finite size, and would become full of incomplete
                and obsolete entries for computers that are not in use if it was allowed
                to grow without check.
67
Solving common problems – Windows, UNIX/MAC OS
end-system commands
              • On Windows 2000 and XP
CATC México




                systems the ipconfig command
                can be used to establish if a NIC
                has successfully bound to the
                required IP address.
              • Sometimes a NIC will not release
                an old IP address. Using the
                ipconfig /release command
                option forces the NIC to release
                the currently held address.
                 – Following with the ipconfig
                   /renew command causes the
                   NIC to attempt to bind to an
                   address supplied by a DHCP
                   server, or to a manually
                   configured IP address.
              • For UNIX and Mac OS X end-
                systems the ifconfig –a
                command can be used to
                establish if a NIC has bound to
                the correct IP address.
68
Solving common problems – Cisco IOS commands
              •   Interface configuration is a common
CATC México




                  source of physical layer problems. If
                  an interface configuration does not
                  match the corresponding
                  configuration of a port on an
                  attached device then the interface
                  status will be either:
                   –   interface is down, line protocol
                       is down
                   –   interface is up, line protocol is
                       down
              •   Commonly on serial interfaces lack of
                  physical connectivity could occur
                  because the interface at the clocking
                  end has not been set with a clock
                  rate, or it has been set incorrectly.
                  Also the no shutdown command
                  must be applied to the interface;
                  otherwise it will remain in an
                  administratively down state, which
                  means that it has effectively been
                  turned off.
69
Redundancy
              • When installing or maintaining a network it is important to have
CATC México




                contingencies in place to counter physical layer problems. The presence
                of an Uninterruptible Power Supply (UPS), surge protectors, or line filters
                can protect a network from short term power interruptions, brownouts,
                and power spikes.
              • Core layer hardware should have replacement units on hand. It is a good
                idea to install modular hardware wherever possible. In that way the
                failure of a single module will not result in the entire device being taken
                off line. Having replacement modules in store is also cost effective.
70
Solving common problems – support resources
              • Online resources represent an invaluable tool for the network
CATC México




                troubleshooter.
              • The Cisco systems web site reached at http://www.cisco.com/
                incorporates customer support, press-release information and a free
                knowledge base tool on all things Cisco.
              • Other highly useful resource sites are as follows:
                 –   Microsoft website:      http://www.microsoft.com
                 –   Apple website:          http://www.apple.com
                 –   Sun website:            http://www.sun.com
                 –   Linux website:          http://www.linux.org
                 –   Protocols in general:   http://www.protocols.com
              • Vendor websites also contain a wealth of information and support
                resources.
                 –   http://www.dell.com
                 –   http://www.gateway.com
                 –   http://www.ibm.com
                 –   http://www.toshiba.com
71
Solving common problems – support resources
CATC México
72
Commands
              3.1.5   Noncritical characteristics - console messages
CATC México




                      Router#show interface

                      Router(config-if)#no keepalive

              3.3.1   End-system commands - common commands

                      ping {host | ip-address}

                      arp -a

                      netstat -r

                      netstat -n

              3.3.2   End-system commands - Windows only

                      ipconfig /all (Windows NT/2000/XP)

                      tracert [destination]

                      winipcfg (Windows 9x)

              3.3.3   End-system commands - UNIX/Mac OS

                      ifconfig -a

                      traceroute
73
Commands
              3.3.4   Common Cisco IOS commands
CATC México




                      Router#clear counters
                      Router#debug {option}
                      Router#diag [slot]
                      Router#ping {host | ip-address}
                      Router#traceroute {host | ip-address}
                      Router#undebug all
              3.3.5   Cisco IOS show commands
                      Router#show arp
                      Router#show buffers
                      Router#show cdp neighbors
                      Router#show context
                      Router#show controllers
                      Router#show diag [slot]
                      Router#show diagbus [slot]
                      Router#show environment
                      Router#show interface
74




                      Router#show ip interface [brief]
Commands
              3.3.5   Cisco IOS show commands
CATC México




                      Router#show logging
                      Router#show mac-address table {module/port}
                      Router#show memory
                      Router#show module
                      Router#show port {module/port}
                      Router#show port status
                      Router#show processes cpu
                      Router#show processes memory
                      Router#show running-config
                      Router#show stacks
                      Router#show tech-support
                      Router#show version
              3.4.2   Cabling faults - CAT5
                      ipconfig /all (Windows NT/2000/XP)
                      ifconfig -a (UNIX/Mac OS)
              3.5.5   Interface configuration
75




                      Switch#no switchport
Commands
              3.6.2   ARP Command
CATC México




                      Router#arp -s ip-address mac address


                      Router#arp -d ip address


              3.6.3   Solving common problems - Windows, UNIX/Mac OS end-system commands


                      For Windows 2000 and XP:


                      ipconfig


                      ipconfig /release


                      ipconfig /renew


                      For UNIX and Mac OS:


                      ifconfig -a
76
Commands
              3.6.4   Solving common problems - Cisco IOS commands
CATC México




                      Router#clock rate {value}

                      Router#configure terminal

                      Router#copy running-config starting-config

                      Router#disable

                      Router>enable

                      Router(config-if)#encapsulation {options}

                      Router(config)#exit

                      Router(config)#interface {type} {slot/number}

                      Router(cnofig-if)#no shutdown

                      Router(cnofig-if)#shutdown
77
Labs

              3.1.1 Applying a Logical Layered Model to a
CATC México




                    Physical Network
78
Links
              •   Overview of the Physical layer:
CATC México




                   http://www.inetdaemon.com/tutorials/theory/osi/physical.html
              •   Network troubleshooting case study:
                   http://www.flukenetworks.com/NR/rdonlyres/eebcq7vhacjxshoz22pe4gkc55
                   3aulgiydcrmxfjm67ufbgovcs7rkkvcrrstpn4u5nprdflyd2rveydjpxaxni5mxe/Kno
                   wjack.pdf
              •   Glossary of power related terms and graphic representation:
                   http://www.apcc.com/power/power_event.cfm
              •   White Paper on the different types of UPS systems.
                   ftp://www.apcmedia.com/salestools/SADE-5TNM3Y_R4_EN.pdf
              •   Attenuation and Return loss:
                   http://www.berktek.com/new/Standards.pdf
                   http://www.cabletesting.com/CableTesting/Testing/Definitions/Definitions_
                   Attenuation.htm
                   http://www.cabletesting.com/CableTesting/News/Return+Loss+Issues.htm
              •   More information on the various types of noise:
                   http://www.cabletesting.com/CableTesting/Testing/Definitions/Definitions_NEXT.htm
                   http://www.cabletesting.com/CableTesting/Testing/Definitions/Definitions_Alien+Cross
                   talk.htm
79
Links
              •   Overview of system messages on a Catalyst 3750 switch and in Cisco IOS 12.1:
CATC México




                   http://cisco.com/en/US/products/hw/switches/ps5023/products_system_m
                   essage_guide_chapter09186a008017ef34.html
                   http://cisco.com/en/US/products/sw/iosswrel/ps1829/products_system_me
                   ssage_guide_chapter09186a00800802bf.html
              •   Excellent article on using Cisco IOS logging from searchNetworking.com. Note:
                  Students will be required to register (free) to access the information:
                   http://searchnetworking.techtarget.com/tip/1,289483,sid7_gci816003,00.ht
                   ml?FromTaxonomy=%2Fpr%2F1310
              •   Information on pathping:
                   http://www.microsoft.com/resources/documentation/windows/xp/all/prodd
                   ocs/enus/pathping.mspx
              •   Information on the diag command:
                   http://cisco.com/en/US/products/sw/iosswrel/ps1835/products_command_
                   reference_chapter09186a00800874c2.html#wp1020077
              •   Article on network troubleshooting:
                   –http://portweb.flukenetworks.com/storage/efulfillment/2127517_6511_EN
                   G_A_EFUL_1584.pdf
80
81   CATC México

                   Summary
Summary
              • Characteristics of physical layer problems
CATC México




              • Characteristics of physical layer optimization problems
              • End-system and Cisco commands and applications for
                gathering information about physical layer components
              • Common physical layer problems
              • Guidelines for isolating problems at the physical layer
              • End-system and Cisco commands and applications for
                configuring physical layer components
              • Common physical layer problem resolutions
              • Support resources for troubleshooting physical layer
                components
              • A procedure for correcting physical layer problems
82
83   CATC México

                   Quiz
                   Next
84   CATC México

                   Q&A

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:11
posted:11/4/2011
language:Spanish
pages:84