Chapter 10: Device Discovery, Management, and Maintenance
Chapter 10: Device Discovery, Management, and Maintenance
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
Chapter 10 - Sections & Objectives (Cont.)
10.3 Device Maintenance
• Maintain router and switch configuration and IOS files.
• Use commands to back up and restore an IOS configuration file.
• Explain the IOS image naming conventions implemented by Cisco.
• Upgrade an IOS system image.
• Explain the licensing process for Cisco IOS software in a small- to medium-sized business network.
• Configure a router to install an IOS software image license.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
10.3 Device Maintenance
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Router and Switch File Maintenance
Router File Systems
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Router and Switch File Maintenance
Router File Systems (Cont.)
Last listing is the name of the current pwd (present working directory) command
Cisco IOS file that is running in RAM verifies that we are viewing the NVRAM directory
dir lists the contents of NVRAM, included is the
startup-configuration file
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Router and Switch File Maintenance
Switch File Systems
Command
is same as
with the
router!
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Router and Switch File Maintenance
Backing up and Restoring using Text Files
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Router and Switch File Maintenance
Backing up and Restoring using Text Files (Cont.)
Restoring Text Configurations
A configuration can be copied from a file to a device.
When copied from a text file and pasted into a terminal window, the IOS executes each line of the
configuration text as a command.
At the CLI, the device must be set at the global configuration mode to receive the commands from the text
file being pasted into the terminal window.
Step 2. Locate the file to be copied into the device and click Open.
Step 3. Tera Term will paste the file into the device.
Note: The text in the file will be applied as commands in the CLI and become the running configuration on
the device.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
Router and Switch File Maintenance
Backing up and Restoring using TFTP
Configuration files should be backed up and included in network documentation
To restore the running configuration or the startup configuration from a TFTP server, use copy
tftp running-config or copy tftp startup-config command
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Router and Switch File Maintenance
Using USB Ports on a Cisco Router
Certain models of Cisco routers
support USB flash drives.
USB can be used for storage and
booting.
USB flash can hold multiple copies of
the Cisco IOS and multiple router
configurations.
Use the dir command to view the
contents of the USB flash drive.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Router and Switch File Maintenance
Backing up and Restoring Using USB
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Router and Switch File Maintenance
Backing up and Restoring Using USB (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Router and Switch File Maintenance
Backing up and Restoring Using USB (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Router and Switch File Maintenance
Password Recovery Step 1. Enter the ROMMON mode.
With console access, a user can access the
ROMMON mode by using a break sequence during
the boot up process or removing the external flash
memory when the device is powered off.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Router and Switch File Maintenance
Lab – Managing Router Configuration Files with Tera Term
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Router and Switch File Maintenance
Lab – Managing Device Configuration Files Using TFTP, Flash, and USB
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Router and Switch File Maintenance
Lab – Researching Password Recovery Procedures
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
IOS System Files
IOS 15 System Image Packaging
G2 router is shipped with a single universal Cisco IOS and a license is used to enable the specific
feature set packages.
Each router ships with one of two types of
universal images in ISR G2:
• “universalk9" – offers all of the Cisco IOS
software features, including strong payload
cryptography features, such as IPsec VPN, SSL
VPN, and Secure Unified Communications
• “universalk9_npe” – some countries have
import requirements that require that the
platform does not support any strong
cryptography functionality, this image does not
support any strong payload encryption
Features are activated through licensing.
m - RAM
r - ROM
l - relocatable
mzip.
IOS Image Management
TFTP Servers as a Backup Location
Cisco IOS Software images and configuration files can be stored on a central TFTP server.
It is good practice to keep a backup copy of the Cisco IOS Software image in case the system
image in the router becomes corrupted or accidentally erased.
Using a network TFTP server allows image and configuration uploads and downloads over the
network. The network TFTP server can be another router, a workstation, or a host system.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
IOS Image Management
Steps to Backup IOS Image to TFTP Server
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
IOS Image Management
Steps to Backup IOS Image to TFTP Server (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
IOS Image Management
Steps to Copy an IOS Image to a Device
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
IOS Image Management
Steps to Copy an IOS Image to a Device (Cont.)
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
IOS Image Management
The boot system Command
To upgrade to the copied IOS image after that image is saved on the router's flash memory, configure the
router to load the new image during boot up using the boot system command.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
IOS Image Management
Packet Tracer - Using a TFTP Server to Upgrade a Cisco IOS Image
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
IOS Image Management
Video Demonstration - Managing Cisco IOS Images
Objective:
Use a TFTP server to upload an updated IOS image file to a Cisco Router.
Use the boot system command to boot the router to the new IOS image file.
Reload the router and successfully boot to the new IOS image file.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
Software Licensing
Licensing Overview
Each device ships with the same universal
image.
Technology packages are enabled in the
universal image via Cisco Software
Activation licensing keys.
The Cisco IOS Software Activation feature
allows the user to enable licensed features
and register licenses.
Technology packages that are available:
IP Base
Data
Security©(SEC)
2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Software Licensing
Licensing Process
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
Software Licensing
Step 1. Purchase the Software Package or Feature to Install
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Software Licensing
Step 2. Obtain a License
The UDI is a combination of the Product ID (PID), the Serial Number (SN), and the hardware
version. The SN is an 11 digit number which uniquely identifies a device. The PID identifies the
type of device. Only the PID and SN are used for license creation.
This UDI can be displayed using the show license udi command shown.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
Software Licensing
Step 3. Install the License
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
License Verification and Management
Activate an Evaluation Right-To-Use License
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
License Verification and Management
Back up the License
The license save command is used to copy all licenses in a device and store them.
Use the show flash0: command to verify that the licenses have been saved.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 37
License Verification and Management
Uninstall the License
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38
License Verification and Management
Video Demonstration - Working with IOS 15 Image Licenses
Objective
• Identify the additional licensing types of Cisco ISR-G2 routers
• Identify the differences between permanent licensing and evaluation right-to-use licensing
• Activate the security technology package on a Cisco 1941 router
• Accept the end user license agreement
• Verify the securityk9 license and save it to flash memory
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 39
10.4 Chapter Summary
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
Conclusion
Packet Tracer – Skills Integration Challenge
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 41
Conclusion
Chapter 10: Device Discovery, Management, and Maintenance
Use discovery protocols to map a network topology.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 42