Beruflich Dokumente
Kultur Dokumente
Maintenance is no doubt an important component to network stability and thats why we see
it covered on the troubleshooting exam. This is perfect multiple-choice style content as it is
difficult to test your understanding of maintenance concepts and methodologies on a
simulation-focused exam like TSHOOT. Keep that in mind as you walk through the following
topics.
Good troubleshooting reduces the time an outage lasts, good maintenance
minimizes outages themselves.
Maintenance Methodologies
Several well known maintenance models have been defined by a number of organizations.
Many organizations use parts of several instead of adopting one method completely, but it is
important as a network engineer to understand what models exist and how they translate
into improving your organization. A documented maintenance strategy is worth its weight in
gold.
IT Infrastructure Library (ITIL)
ITIL focuses on creating a technology service framework within an organization and aligning
it closely with the organizations requirements and processes. Note that ITIL is a large and
comprehensive approach that was developed specifically for IT professionals.
FCAPS
FCAPS is an IT maintenance model created by ISO that categorizes network management
into five parts. FCAPS is an acronym using the first letters of the five categories it includes.
Fault management
Preventive maintenance
Minimizing network downtime
Configuration management
Both hardware and software installation and configuration
Change control
Inventory management
Accounting management
Capacity planning
Cost efficiency
Performance management
Maximize performance on existing network investments
Security management
Confidentiality, integrity, availability (CIA)
Authentication, authorization, accounting (AAA)
Encryption
Intrusion detection/prevention
Cisco Lifecycle Services
Cisco has come up with their own maintenance model, sometimes also referred to as
PPDIOO, or Prepare, Plan, Design, Implement, Operate, and Optimize. This model is
specifically focused on deploying and operating Ciscos product families.
Telecommunications Management Network (TMN)
TMN was developed by ITU-T and is a tailored version of FCAPS specific to the
telecommunications industry.
Once the model has been selected, its parts should inform an IT organizations processes
and standard procedures. After all, a model is meaningless unless it affects how a business
operates.
After the maintenance model components have defined an organizational processes (ex.
automated config backups, manual security audits, etc.), tools should be selected to carry
out those processes. FTP could be used for configuration backups for example.
Network Maintenance Core Tasks
Whatever model an IT organization chooses, there a some functions that should be included
every time. These include:
Managing adds, moves, and changes
Installing and configuring new network devices
Replacing failed hardware
Software backup
Configuration backup
Troubleshooting failure scenarios
Software upgrades
Network performance monitoring
Capacity planning
Creating/updating network documentation
Documentation
Up-to-date, clear, and complete infrastructure documentation is crucial to reduce recovery
times and maintain a robust networked environment. Different levels of detail are
appropriate for different audiences, but some common details that should be documented
include:
Production configurations
Inventory (including serial numbers, support info, etc.)
Circuit information
Network drawings
IP address assignments
Another important component to network documentation is a performance baseline, or
snapshot. It captures the expected performance of your network systems like link
bandwidth, WAN jitter and delay, and port status. This is a tremendous help during
troubleshooting efforts because without knowing what normal levels are, detecting abnormal
traffic behavior becomes very subjective.
IOS Tools
Configuration
Configurations should be backed up periodically or after changes are made. One of the
simplest methods is to save the configuration as a text file on a remote TFTP or FTP server.
TFTP and FTP servers are available on all modern operating systems and free, open source
offerings are widely available.
Adding the date to the saved configuration can make rolling back changes easier in the
future. Heres an example of a router saving its configuration to a local TFTP server:
RouterA# copy run tftp
Address of name of remote host []? 10.10.1.35
Destination filename [routera-config]?routera
Syslog
Syslog is a tool that collects alerts from network devices and stores them on a common log.
Obviously, this can be very handy when you need to troubleshoot an issue across many
devices.
Know that every syslog message contains two parts, a severity level and a facility. The
severity level goes from 0 to 7 with 0 being the most severe to 7 being simply informational.
Syslog Priority (highest to lowest):
0. Emergency (highest)
1. Alert
2.
3.
4.
5.
6.
7.
Critical
Error
Warning
Notice
Informational
Debug (lowest)
NTP
Alerting is important, but if the timestamps that are included are not correct, then the alerts
are unreliable (and next to useless). NTP stands for Network Time Protocol and is used to
keep accurate and consistent time on all network devices. NTP works by using pulling the
current time from a time server, each of which are assigned by stratum. Stratum 1 clocks
are synchronized directly with an atomic clock, stratum 2 clocks get their time from stratum
1 clocks, etc.
Configuring NTP is easy just point the device to the proper time server:
Switch(config)# ntp server ip_address_of_ntp_server
To verify:
Switch# show ntp status
One last note for NTP, it is important to consider the time zone that each device is set to.
Make sure you have it consistent (ex. local time zones, GMT, HQ time zones, etc)
Archive
Cisco has developed a built-in configuration backup and restore feature, called archive. The
archive function maintains a copy of the current configuration as well as a set of past
configurations. If a configuration change is made with unpleasant results, the switch or
router can roll back to a previous configuration relatively easily.
There are several keywords available inside archive configuration mode. Here is a list of
some of the most common:
path
Specifies where you want the backup configuration stored (ex. flash, tftp server, etc.)
Example:
archive
path flash://routerc
OR
archive
path tftp://192.168.1.22/routerc.txt
write-memory
When the write-memory keyword is configured, a backup of the configuration will be
automatically saved every time the configuration is manually saved.
time-period
Sets the maximum time allowed before another backup is automatically saved
When the archive function backs up a configuration, it appends a -1, -2, -3, etc. to the end of
the file name depending on how many have already been saved. It will count up to 14
(represented as filename-14) and then cycle back to 1. If your time-period is set too
frequently, then youre backups may be written over too often.
After the whole process, there will be only one root bridge with each nonroot switch having only one root port.
To see the status of spanning tree, do a show spanning-tree vlan vlan-id.
The three FHRPs Cisco supports are HSRP, VRRP, and GLBP.
HSRP is one of the original FHRPs that was developed by Cisco and is proprietary. One
router is active and another is a backup (using HSRP keepalives to maintain connectivity).
HSRP is extremely popular and you should make sure to understand how it works for the
TSHOOT exam. Check out the High-Availability page to learn more.
VRRP is another gateway redundancy protocol that is an open standard and very similar to
HSRP.
GLBP is Cisco proprietary; its primary advantage is its ability to automatically load balance
between gateway routers.
HSRP
HSRP is the primary FHRP covered on the TSHOOT exam, so lets go through the basics one
more time.
HSRP is configured using the standby command under interface configuration mode.
Routers in the same HSRP group share a common MAC and virtual IP address. The standby
configuration statements define the HSRP group as well as the virtual IP in use.
Each HSRP-enabled router has a default HSRP priority of 100 (remember, highest wins). If
another router joins the group with a higher priority it will still not become the active router
unless the preempt command is applied.
An example HSRP configuration could look something like:
Router(config)# interface gig1/1
Router(config-if)# ip address 192.168.1.2
Router(config-if)# standby 4 ip 192.168.1.1
Router(config-if)# standby 4 priority 200
Router(config-if)# standby 4 preempt
To show the current HSRP status, issue either show standby or show
standby brief depending on the level of detail you require.
Remember, OSPF only advertises subnets of interfaces that match an OSPF network
statement.
Is the OSPF route being received?
Routers must be OSPF neighbors for the routing information to be shared. To check this,
issue a show ip ospf neighbors on the two routers. You should see the neighbor listed on
each device.
You can also perform a debug ip ospf adj to show any issues that would prevent the
routers from forming an adjacency.
OSPF is more particular about matching protocol variables than EIGRP. OSPF requires that all
of the following parameters match between devices:
Bidirectional communication
AS number
Timers
Common area type
Common subnet prefix
Authentication
The OSPF protocol values can be seen using the show ip ospf interfaces command.
Lastly, route maps or distribution lists could be blocking routing traffic. Do a show ip
protocols to display any distribute lists.
Is there a more desirable route being used?
Its possible that OSPF knows about the route, but it is not being used in the routing table. If
a more desirable path is known, that will be used instead. Compare the OSPF topology
table to the local routing table. Take the time to check each hop along the expected path
and look at the routing tables on each router.
BGP
BGP stores its information in two tables: the BGP neighbor table and the BGP table.
BGP Neighbor Table
The neighbor table contains a list of known BGP neighbors. Use the show ip bgp
neighbors command to display its contents.
BGP Table
This table contains all the received BGP prefixes as well as their associated attributes lists.
Perhaps most importantly, it also shows the BGP best path to each destination. Use the
show ip bgp command to display its contents.
Are the BGP routers neighbors?
BGP neighbors must be administratively assigned on each router running BGP. If the routers
are not neighbors, BGP routing and network information will not be passed between them.
Start by doing a show ip bgp neighbors. If the expected BGP peers do not show up in the
output, make sure they have L3 connectivity using a simple ping test. If you need to
investigate further, a debug ip bgp updates should show the BGP hellos and
advertisements.
Remember that BGP requires bidirectional communication as well as matching AS numbers
and authentication. The show run or show ip bgp command will display that information.
Also, consider that route maps or distribution lists could be blocking routing traffic. Do a
show ip protocols to display any distribute lists.
Is the BGP route being advertised?
As with the other routing protocols, make sure that the router connected to the destination
subnet is advertising the route out. There are two simple ways to check if that router is
advertising the routes properly.
Perform a show run | section bgp to look at the neighbor statements. You should also
keep in mind that BGP will only advertise routes when (1) they are defined using neighbor
statements and (2) the router knows about the route from another source.
Route Redistribution
Route redistribution can be a tricky situation to troubleshoot, but understanding the
following concepts should be helpful.
1. Redistributed routes require an existing entry in the routing table. If the
redistributing router does not have a routing table entry for the route being redistributed, it
will not work. Seems simple, but it should checked right away.
2. Routing loops are a common problem with multi-router routing redistribution.
Use a single router to perform the redistribution if possible.
3. Understand that redistributed routes lose their native metric information.
When redistributing into EIGRP, a default metric MUST be set or no route will be imported.
When redistributing into OSPF, all routes will be imported as classful unless the subnets
keyword is appended to the end of the redistribution statement.