Cisco 4000 Series ISRs Software Configuration Guide
Last Modified: March 31, 2015
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-29328-03
©
2015–2016 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface
Preface xv
Objectives xv
Important Information on Features and Commands xv
Related Documentation xvi
Document Conventions xvi
Obtaining Documentation and Submitting a Service Request xviii
CHAPTER 1
Read Me First 1
CHAPTER 2
Overview 3
Introduction 3
Sections in this Document 4
Processes 5
CHAPTER 3
Using Cisco IOS XE Software 9
Accessing the CLI Using a Router Console 9
Accessing the CLI Using a Directly-Connected Console 9
Connecting to the Console Port 10
Using the Console Interface 10
Using SSH to Access Console 11
Accessing the CLI from a Remote Console Using Telnet 11
Preparing to Connect to the Router Console Using Telnet 11
Using Telnet to Access a Console Interface 12
Accessing the CLI from a USB Serial Console Port 13
Using Keyboard Shortcuts 13
Using the History Buffer to Recall Commands 13
Understanding Command Modes 14
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 iii
Understanding Diagnostic Mode 16
Getting Help 16
Finding Command Options: Example 17
Using the no and default Forms of Commands 21
Saving Configuration Changes 21
Managing Configuration Files 21
Filtering Output from the show and more Commands 22
Powering Off a Router 22
Finding Support Information for Platforms and Cisco Software Images 23
Using Cisco Feature Navigator 23
Using Software Advisor 23
Using Software Release Notes 23
CLI Session Management 24
Information About CLI Session Management 24
Changing the CLI Session Timeout 24
Locking a CLI Session 24
CHAPTER 4
Smart Licensing 27
Smart Licensing Client 27
Prerequisites for Cisco Smart Licensing Client 27
Restrictions for Cisco Smart Licensing Client 27
Information About Cisco Smart Licensing Client 28
Cisco Smart Licensing - An Overview 28
Transitioning from CISL to Smart Licensing 28
Cisco One Suites 28
How to Activate Cisco Smart Licensing Client 29
Enable Smart Licensing 29
Smart License Disable 30
Device Registration 31
Troubleshooting for Cisco Smart Licensing Client 32
Configuration Examples for Cisco Smart Licensing Client 33
Example: Displays summary information about all licenses 33
Example: Enabling Smart Licensing 34
CHAPTER 5
Using the Management Interfaces 35
Cisco 4000 Series ISRs Software Configuration Guide
iv OL-29328-03
Contents
Gigabit Ethernet Management Interface 35
Gigabit Ethernet Management Interface Overview 35
Default Gigabit Ethernet Configuration 36
Gigabit Ethernet Port Numbering 36
Gigabit Ethernet Management Interface VRF 36
Common Gigabit Ethernet Management Tasks 37
Viewing the VRF Configuration 37
Viewing Detailed Information for the Gigabit Ethernet Management VRF 38
Setting a Default Route in the Management Ethernet Interface VRF 38
Setting the Gigabit Ethernet Management IP Address 38
Using Telnet over the Gigabit Ethernet Management Interface 38
Pinging over the Gigabit Ethernet Management Interface 39
Copying a File Using TFTP or FTP 39
Setting up the Software Clock Using the NTP Server 39
Logging 40
SNMP-Related Services 40
Assigning a Domain Name 40
Assigning DNS 40
Configuring a RADIUS or TACACS+ Server Group 40
Attaching an ACL to VTY Lines 41
Configuring IP Addresses in ROMMON and the Ethernet Management Port 41
Enabling SNMP 41
Web User Interface Management 41
Legacy Web User Interface Overview 42
Graphics-Based Web User Interface Overview 43
Overview of Persistent Web User Interface Transport Maps 44
Enabling Web User Interface Access 45
Configuring Web User Interface Access 45
Accessing the Web User Interface 46
Web User Interface Authentication 47
Domain Name System and the Web User Interface 47
Clocks and the Web User Interface 47
Using Auto Refresh 48
Configuration Examples 49
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 v
Contents
CHAPTER 6
Console Port, Telnet, and SSH Handling 51
Notes and Restrictions for Console Port, Telnet, and SSH 51
Console Port Overview 52
Console Port Handling Overview 52
Telnet and SSH Overview 52
Persistent Telnet and Persistent SSH Overview 52
Configuring a Console Port Transport Map 53
Configuring Persistent Telnet 55
Configuring Persistent SSH 57
Viewing Console Port, SSH, and Telnet Handling Configurations 60
Configuring Auxiliary Port for Modem Connection 65
CHAPTER 7
Installing the Software 67
Overview 67
ROMMON Images 68
Provisioning Files 68
File Systems 68
Autogenerated File Directories and Files 69
Flash Storage 70
Configuring the Configuration Register for Autoboot 70
Licensing 71
Cisco Software Licensing 71
Consolidated Packages 71
Technology Packages 72
securityk9 72
uck9 73
appxk9 73
Feature Licenses 73
HSECK9 73
Performance 74
CME-SRST 74
Activating the CME-SRST Feature License 74
Unlicensed Feature: Example 75
LED Indicators 76
Cisco 4000 Series ISRs Software Configuration Guide
vi OL-29328-03
Contents
Related Documentation 76
How to Install and Upgrade the Software 76
Managing and Configuring a Router to Run Using a Consolidated Package 76
Managing and Configuring a Consolidated Package Using copy and boot
Commands 76
Configuring a Router to Boot the Consolidated Package via TFTP Using the boot Command:
Example 77
Managing and Configuring a Router to Run Using Individual Packages 80
Installing Subpackages from a Consolidated Package 80
Installing Subpackages from a Consolidated Package on a Flash Drive 86
How to Install and Upgrade the Software for Cisco IOS XE Denali Release16.3 86
Upgrading to Cisco IOS XE Denali Release 16.3 86
Installing a Firmware Subpackage 91
Upgrading the Firmware on xDSL NIMs 97
CHAPTER 8
Basic Router Configuration 107
Default Configuration 107
Configuring Global Parameters 108
Configuring Gigabit Ethernet Interfaces 109
Configuring a Loopback Interface 110
Configuring Module Interfaces 112
Enabling Cisco Discovery Protocol 112
Configuring Command-Line Access 112
Configuring Static Routes 114
Configuring Dynamic Routes 116
Configuring Routing Information Protocol 116
Configuring Enhanced Interior Gateway Routing Protocol 119
CHAPTER 9
Slot and Subslot Configuration 121
Configuring the Interfaces 121
Configuring Gigabit Ethernet Interfaces 121
Configuring the Interfaces: Example 123
Viewing a List of All Interfaces: Example 123
Viewing Information About an Interface: Example 123
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 vii
Contents
CHAPTER 10
Process Health Monitoring 125
Monitoring Control Plane Resources 125
Avoiding Problems Through Regular Monitoring 125
Cisco IOS Process Resources 126
Overall Control Plane Resources 126
Monitoring Hardware Using Alarms 128
Router Design and Monitoring Hardware 128
BootFlash Disk Monitoring 129
Approaches for Monitoring Hardware Alarms 129
Onsite Network Administrator Responds to Audible or Visual Alarms 129
About Audible and Visual Alarms 129
Clearing an Audible Alarm 129
Clearing a Visual Alarm 130
Viewing the Console or Syslog for Alarm Messages 130
Enabling the logging alarm Command 130
Examples of Alarm Messages 130
Reviewing and Analyzing Alarm Messages 132
Network Management System Alerts a Network Administrator when an Alarm is
Reported Through SNMP 132
CHAPTER 11
System Messages 133
Information About Process Management 133
How to Find Error Message Details 133
CHAPTER 12
Trace Management 141
Tracing Overview 141
How Tracing Works 141
Tracing Levels 142
Viewing a Tracing Level 143
Setting a Tracing Level 145
Viewing the Content of the Trace Buffer 145
CHAPTER 13
Environmental Monitoring and PoE Management 147
Environmental Monitoring 147
Cisco 4000 Series ISRs Software Configuration Guide
viii OL-29328-03
Contents
Environmental Monitoring and Reporting Functions 148
Environmental Monitoring Functions 148
Environmental Reporting Functions 150
Configuring Power Supply Mode 161
Configuring the Router Power Supply Mode 161
Configuring the External PoE Service Module Power Supply Mode 161
Examples for Configuring Power Supply Mode 162
Available PoE Power 163
Managing PoE 165
PoE Support for FPGE Ports 165
Monitoring Your Power Supply 166
Enabling Cisco Discovery Protocol 167
Configuring PoE for FPGE Ports 168
Additional References 170
Technical Assistance 171
CHAPTER 14
Configuring High Availability 173
About Cisco High Availability 173
Interchassis High Availability 173
IPsec Failover 174
Bidirectional Forwarding Detection 175
Bidirectional Forwarding Detection Offload 175
Configuring Cisco High Availability 175
Configuring Interchassis High Availability 175
Configuring Bidirectional Forwarding 176
Configuring BFD Offload 176
Verifying Interchassis High Availability 177
Verifying BFD Offload 183
Additional References 185
CHAPTER 15
Configuring Call Home 187
Finding Feature Information 187
Prerequisites for Call Home 188
Information About Call Home 188
Benefits of Using Call Home 188
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 ix
Contents
Obtaining Smart Call Home Services 189
Anonymous Reporting 189
How to Configure Call Home 190
Configuring Smart Call Home (Single Command) 190
Configuring and Enabling Smart Call Home 191
Enabling and Disabling Call Home 192
Configuring Contact Information 192
Configuring Destination Profiles 194
Creating a New Destination Profile 195
Copying a Destination Profile 196
Setting Profiles to Anonymous Mode 197
Subscribing to Alert Groups 198
Periodic Notification 201
Message Severity Threshold 201
Configuring a Snapshot Command List 202
Configuring General E-Mail Options 203
Specifying Rate Limit for Sending Call Home Messages 205
Specifying HTTP Proxy Server 206
Enabling AAA Authorization to Run IOS Commands for Call Home Messages 206
Configuring Syslog Throttling 207
Configuring Call Home Data Privacy 208
Sending Call Home Communications Manually 209
Sending a Call Home Test Message Manually 209
Sending Call Home Alert Group Messages Manually 209
Submitting Call Home Analysis and Report Requests 210
Manually Sending Command Output Message for One Command or a Command
List 212
Configuring Diagnostic Signatures 213
Information About Diagnostic Signatures 213
Diagnostic Signatures Overview 214
Prerequisites for Diagnostic Signatures 214
Downloading Diagnostic Signatures 215
Diagnostic Signature Workflow 215
Diagnostic Signature Events and Actions 216
Diagnostic Signature Event Detection 216
Cisco 4000 Series ISRs Software Configuration Guide
x OL-29328-03
Contents
Single Event Detection 216
Multiple Event Detection 216
Diagnostic Signature Actions 216
Diagnostic Signature Variables 217
How to Configure Diagnostic Signatures 217
Configuring the Call Home Service for Diagnostic Signatures 217
Configuring Diagnostic Signatures 219
Displaying Call Home Configuration Information 221
Default Call Home Settings 226
Alert Group Trigger Events and Commands 227
Message Contents 234
Sample Syslog Alert Notification in Long-Text Format 239
Sample Syslog Alert Notification in XML Format 240
Additional References 242
CHAPTER 16
Managing Cisco Enhanced Services and Network Interface Modules 245
Information About Cisco Enhanced Services and Network Interface Modules 245
Modules Supported 246
Network Interface Modules 246
Cisco Fourth-Generation LTE Network Interface Module 246
Cisco 4-Port and 8-Port Layer 2 Gigabit EtherSwitch Network Interface Module 246
Cisco Fourth-Generation T1/E1 Voice and WAN Network Interface Module 246
Cisco SSD/HDD Carrier Card NIM 247
Cisco 1-, 2-, and 4-Port Serial NIM 247
Upgrading the SSD or HDD Firmware 247
Error Monitoring 248
Enhanced Service Modules 248
Cisco SM-1 T3/E3 Service Module 248
Cisco UCS E-Series Server 249
Cisco SM-X Layer 2/3 EtherSwitch Service Module 249
Cisco 6-Port GE SFP Service Module 249
Cisco 4-port GE SFP and 1-port 10 GE SFP Service Module 249
Cisco 1GE-CU-SFP and 2GE-CU-SFP Network Interface Modules 249
Implementing SMs and NIMs on Your Router 250
Downloading the Module Firmware 250
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 xi
Contents
Installing SMs and NIMs 250
Accessing Your Module Through a Console Connection or Telnet 250
Online Insertion and Removal 251
Preparing for Online Removal of a Module 251
Deactivating a Module 251
Deactivating Modules and Interfaces in Different Command Modes 252
Deactivating and Reactivating an SSD/HDD Carrier Card NIM 253
Reactivating a Module 254
Verifying the Deactivation and Activation of a Module 254
Managing Modules and Interfaces 257
Managing Module Interfaces 257
Managing Modules and Interfaces Using Backplane Switch 257
Backplane Ethernet Switch 258
Viewing Module and Interface Card Status on a Router 258
Viewing Backplane Switch Statistics 259
Viewing Backplane Switch Port Statistics 259
Viewing Slot Assignments 260
Monitoring and Troubleshooting Modules and Interfaces 260
Configuration Examples 267
CHAPTER 17
SFP Auto-Detect and Auto-Failover 269
Cellular IPv6 Address 269
IPv6 Unicast Routing 269
Link-Lock Address 270
Global Address 270
Configuring Cellular IPv6 Address 270
CHAPTER 18
Cellular IPv6 Address 275
CHAPTER 19
Configuring Voice Functionality 277
Call Waiting 277
Call Transfers 277
E1 R2 Signaling Configuration 278
Feature Group D Configuration 283
Media and Signaling Authentication and Encryption 285
Cisco 4000 Series ISRs Software Configuration Guide
xii OL-29328-03
Contents
Multicast Music-on-Hold 285
CHAPTER 20
Configuration Examples 287
Copying the Consolidated Package from the TFTP Server to the Router 287
Configuring the Router to Boot Using the Consolidated Package Stored on the Router 288
Extracting the Subpackages from a Consolidated Package into the Same File System 290
Extracting the Subpackages from a Consolidated Package into a Different File System 291
Configuring the Router to Boot Using Subpackages 292
Backing Up Configuration Files 298
Copying a Startup Configuration File to BootFlash 298
Copying a Startup Configuration File to a USB Flash Drive 299
Copying a Startup Configuration File to a TFTP Server 299
Displaying Digitally Signed Cisco Software Signature Information 299
Obtaining the Description of a Module or Consolidated Package 302
APPENDIX A
Unsupported Commands 305
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 xiii
Contents
Cisco 4000 Series ISRs Software Configuration Guide
xiv OL-29328-03
Contents
Preface
This section briefly describes the objectives of this document and provides links to additional information
on related products and services:
•
Objectives, page xv
•
Important Information on Features and Commands, page xv
•
Related Documentation, page xvi
•
Document Conventions, page xvi
•
Obtaining Documentation and Submitting a Service Request, page xviii
Objectives
This guide provides an overview of the Cisco 4000 Series Integrated Services Routers (ISRs) and explains
how to configure the various features on these routers.
The structure of this document is explained in Overview, on page 3.
Important Information on Features and Commands
For more information about Cisco IOS XE software, including features available on the router (described in
configuration guides), see the Cisco IOS XE 3S Software Documentation set. In addition to the features
described in the Cisco IOS XE 3S Configuration Guides, there also separate configuration guides for features
such as No Service Password Recovery, Multilink PPP Support, and Network Synchronization. See the
Configuration Guides for the Cisco ISR 4400 Series.
To verify support for specific features, use Cisco Feature Navigator. For more information about this, see
Using Cisco Feature Navigator, on page 23.
To find reference information for a specific Cisco IOS XE command, see the Cisco IOS Master Command
List, All Releases.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 xv
Related Documentation
•
Documentation Roadmap for the Cisco 4400 Series Integrated Services Routers
•
Release Notes for the Cisco 4400 Series Integrated Services Routers
Commands
Cisco IOS XE commands are identical in look, feel, and usage to Cisco IOS commands on most platforms.
To find reference information for a specific Cisco IOS XE command, see the Cisco IOS Master Command
List, All Releases document.
Features
The router runs Cisco IOS XE software which is used on multiple platforms. For more information on the
available software features, see the configuration guides on the Cisco IOS XE 3S Software Documentation
page.
In addition to the features in the Cisco IOS XE 3S Configuration Guides, there are also separate configuration
guides for the features listed in the following table.
URLFeature
http://www.cisco.com/c/en/us/td/docs/routers/access/
4400/feature/guide/isr4451nspr.html
No Service Password Recovery
http://www.cisco.com/c/en/us/td/docs/routers/access/
4400/feature/guide/isr4451mlpp.html
Multilink PPP Support
http://www.cisco.com/c/en/us/td/docs/routers/access/
4400/feature/guide/isr4400netclock.html
Network Synchronization
http://www.cisco.com/c/en/us/td/docs/routers/access/
4400/appnav/isr/isr_appnav.html
Integrated AppNav/AppNav-XE and ISR-WAAS
To verify support for specific features, use the Cisco Feature Navigator tool. For more information, see Using
Cisco Feature Navigator, on page 23.
Document Conventions
This documentation uses the following conventions:
DescriptionConvention
The ^ and Ctrl symbols represent the Control key.
For example, the key combination ^D or Ctrl-D
means hold down the Control key while you press
the D key. Keys are indicated in capital letters but are
not case sensitive.
^ or Ctrl
Cisco 4000 Series ISRs Software Configuration Guide
xvi OL-29328-03
Preface
Related Documentation
DescriptionConvention
A string is a nonquoted set of characters shown in
italics. For example, when setting an SNMP
community string to public, do not use quotation
marks around the string or the string will include the
quotation marks.
string
Command syntax descriptions use the following conventions:
DescriptionConvention
Bold text indicates commands and keywords that you
enter exactly as shown.
bold
Italic text indicates arguments for which you supply
values.
italics
Square brackets enclose an optional element (keyword
or argument).
[x]
A vertical line indicates a choice within an optional
or required set of keywords or arguments.
|
Square brackets enclosing keywords or arguments
separated by a vertical line indicate an optional
choice.
[x | y]
Braces enclosing keywords or arguments separated
by a vertical line indicate a required choice.
{x | y}
Nested sets of square brackets or braces indicate optional or required choices within optional or required
elements. For example:
DescriptionConvention
Braces and a vertical line within square brackets
indicate a required choice within an optional element.
[x {y | z}]
Examples use the following conventions:
DescriptionConvention
Examples of information displayed on the screen are
set in Courier font.
screen
Examples of text that you must enter are set in Courier
bold font.
bold screen
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 xvii
Preface
Document Conventions
DescriptionConvention
Angle brackets enclose text that is not printed to the
screen, such as passwords.
< >
An exclamation point at the beginning of a line
indicates a comment line. (Exclamation points are
also displayed by the Cisco IOS XE software for
certain processes.)
!
Square brackets enclose default responses to system
prompts.
[ ]
Means reader be careful. In this situation, you might do something that could result in equipment damage
or loss of data.
Caution
Means reader take note. Notes contain helpful suggestions or references to materials that may not be
contained in this manual.
Note
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional information,
see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco
technical documentation at: http://www.cisco.com/c/en/us/td/docs/general/whatsnew/whatsnew.html.
Cisco 4000 Series ISRs Software Configuration Guide
xviii OL-29328-03
Preface
Obtaining Documentation and Submitting a Service Request
CHAPTER 1
Read Me First
Important Information about Cisco IOS XE 16
Effective Cisco IOS XE Release 3.7.0E (for Catalyst Switching) and Cisco IOS XE Release 3.17S (for
Access and Edge Routing) the two releases evolve (merge) into a single version of converged release—the
Cisco IOS XE 16—providing one release covering the extensive range of access and edge products in the
Switching and Routing portfolio.
The Feature Information table in the technology configuration guide mentions when a feature was
introduced. It might or might not mention when other platforms were supported for that feature. To
determine if a particular feature is supported on your platform, look at the technology configuration guides
posted on your product landing page. When a technology configuration guide is displayed on your product
landing page, it indicates that the feature is supported on that platform.
Note
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 1
Cisco 4000 Series ISRs Software Configuration Guide
2 OL-29328-03
Read Me First
CHAPTER 2
Overview
This document is a summary of software functionality that is specific to the Cisco 4000 Series Integrated
Services Routers (ISRs).
The following table lists the router models that belong to the Cisco 4000 Series ISRs.
Table 1: Cisco 4000 Series Router Models
Cisco ISR 4300 SeriesCisco ISR 4400 Series
•
Cisco ISR 4321
•
Cisco ISR 4331
•
Cisco ISR 4351
•
Cisco ISR 4431
•
Cisco ISR 4451
Unless otherwise specified, the information in this document is applicable to both Cisco 4400 series and
Cisco 4300 series routers.
Note
The following sections are included in this chapter:
•
Introduction, page 3
•
Sections in this Document, page 4
•
Processes, page 5
Introduction
The Cisco 4000 series ISRs are modular routers with LAN and WAN connections that can be configured by
means of interface modules, including Cisco Enhanced Service Modules (SM-Xs), and Network Interface
Modules (NIMs). NIM slots also support removable storage for hosted applications.
The following features are provided for enterprise and service provider applications:
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 3
•
Enterprise Applications
◦
High-end branch gateway
◦
Regional site aggregation
◦
Key server or PfR master controller
◦
Device consolidation or "Rack in a Box"
•
Service Provider Applications
◦
High-end managed services in Customer-Premises Equipment (CPE)
◦
Services consolidation platform
◦
Route reflector or shadow router
◦
Flexible customer edge router
The router runs Cisco IOS XE software, and uses software components in many separate processes. This
modular architecture increases network resiliency, compared to standard Cisco IOS software.
Sections in this Document
Table 2: Sections in this Document
DescriptionSection
Provides a high-level description of the router and
describes the main internal processes of the router.
Overview, on page 3
Describes the basics of using Cisco IOS XE software
with the router.
Using Cisco IOS XE Software, on page 9
Describes the uses of a Gigabit Ethernet management
interface and a web user interface.
Using the Management Interfaces, on page 35
Describes software features that are common across
Cisco IOS XE platforms.
Console Port, Telnet, and SSH Handling, on page
51
Contains important information about filesystems,
packages, licensing, and installing software.
Installing the Software, on page 67
Describes the basic tasks required to configure a
router.
Basic Router Configuration, on page 107
Provides information about the chassis slot numbers
and subslots where the service modules are installed.
Slot and Subslot Configuration, on page 121
Provides information about managing and monitoring
the health of various components of the router.
Process Health Monitoring, on page 125
Cisco 4000 Series ISRs Software Configuration Guide
4 OL-29328-03
Overview
Sections in this Document
DescriptionSection
Provides information about syslog messages.System Messages, on page 133
Describes the tracing function where logs of internal
events on a router are recorded.
Trace Management, on page 141
Describes the environmental monitoring features on
a router.
Environmental Monitoring and PoE Management,
on page 147
Provides information about high availability features
on a router to ensure network-wide protection.
Configuring High Availability, on page 173
Lists examples that include software installation and
packaging.
Configuration Examples, on page 287
Includes information about modules that can be
attached to the router and provides related links to
further documentation. For further details on
configuring the modules (NIMs and SMs), also see
the Documentation Roadmap.
Managing Cisco Enhanced Services and Network
Interface Modules, on page 245
Processes
The list of background processes in the following table may be useful for checking router state and
troubleshooting. However, you do not need to understand these processes to understand most router operations.
Table 3: Individual Processes
Sub Package MappingAffected FRUsPurposeProcess
RPControl
SIPBase
ESPBase
RP
SIP
ESP
Controls chassis
management functions,
including management of
the High Availability
(HA) state, environmental
monitoring, and FRU
state control.
Chassis Manager
RPControl
SIPBase
ESPBase
RP
SIP
ESP
Provides an interface
between the IOS process
and many of the
information gathering
functions of the
underlying platform
kernel and operating
system.
Host Manager
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 5
Overview
Processes
Sub Package MappingAffected FRUsPurposeProcess
RPControl
SIPBase
ESPBase
RP
SIP
ESP
Provides IOS logging
services to processes
running on each FRU.
Logger
RPIOSRPImplements all
forwarding and routing
features for the router.
IOS
RPControl
ESPBase
RP
ESP
Manages downloading of
configuration details to
the ESP and the
communication of
forwarding plane
information, such as
statistics, to the IOS
process.
Forwarding Manager
RPControlRPProvide integration
between platform policy
applications, such as
authentication and the
IOS process.
Pluggable Services
RPControlRPProvides user interface
(UI) features relating to
non-IOS components of
the consolidated package.
These features are also
available for use in
diagnostic mode when the
IOS process fails.
Shell Manager
SIPSPAIO ModuleExchanges configuration
and other control
messages with a NIM, or
Enhanced Service Module
(SM-X).
IO Module process
ESPBaseESPManages CPP hardware
forwarding engine on the
ESP.
CPP driver process
ESPBaseESPManages HA state for the
CPP hardware forwarding
engine.
CPP HA process
Cisco 4000 Series ISRs Software Configuration Guide
6 OL-29328-03
Overview
Processes
Sub Package MappingAffected FRUsPurposeProcess
ESPBaseESPPerforms high-latency
tasks for the CPP-facing
functionality in the ESP
instance of the
Forwarding Manager
process.
CPP SP process
For further details of router capabilities and models, see the Hardware Installation Guide for the Cisco 4000
Series Integrated Services Routers.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 7
Overview
Processes
Cisco 4000 Series ISRs Software Configuration Guide
8 OL-29328-03
Overview
Processes
CHAPTER 3
Using Cisco IOS XE Software
This chapter describes the basics of using the Cisco IOS XE software and includes the following section:
•
Accessing the CLI Using a Router Console, page 9
Accessing the CLI Using a Router Console
Before You Begin
There are two serial ports: a console (CON) port and an auxiliary (AUX) port. Use the CON port to access
the command-line interface (CLI) directly or when using Telnet.
The following sections describe the main methods of accessing the router:
•
Accessing the CLI Using a Directly-Connected Console, on page 9
•
Using SSH to Access Console, on page 11
•
Accessing the CLI from a Remote Console Using Telnet, on page 11
•
Accessing the CLI from a USB Serial Console Port, on page 13
Accessing the CLI Using a Directly-Connected Console
The CON port is an EIA/TIA-232 asynchronous, serial connection with no-flow control and an RJ-45 connector.
The CON port is located on the front panel of the chassis.
The following sections describe the procedure to access the control interface:
•
Connecting to the Console Port, on page 10
•
Using the Console Interface, on page 10
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 9
Connecting to the Console Port
Step 1
Configure your terminal emulation software with the following settings:
•
9600 bits per second (bps)
•
8 data bits
•
No parity
•
No flow control
Step 2
Connect to the CON port using the RJ-45-to-RJ-45 cable and the RJ-45-to-DB-25 DTE adapter or the RJ-45-to-DB-9
DTE adapter (labeled Terminal).
Using the Console Interface
Step 1
Enter the following command:
Router> enable
Step 2
(Go to Step 3 if the enable password has not been configured.) At the password prompt, enter your system password:
Password: enablepass
When your password is accepted, the privileged EXEC mode prompt is displayed.
Router#
You now have access to the CLI in privileged EXEC mode and you can enter the necessary commands to complete your
desired tasks.
Step 3
If you enter the setup command, see “Using Cisco Setup Command Facility” in the “Initial Configuration” section of the
Hardware Installation Guide for the Cisco 4000 Series Integrated Services Routers.
Step 4
To exit the console session, enter the quit command:
Router# quit
Cisco 4000 Series ISRs Software Configuration Guide
10 OL-29328-03
Using Cisco IOS XE Software
Accessing the CLI Using a Directly-Connected Console
Using SSH to Access Console
Secure Shell (SSH) is a protocol which provides a secure remote access connection to network devices. To
enable SSH support on the device:
Step 1
Configure the hostname:
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname xxx_lab
Here, host name is the router hostname or IP address.
Step 2
Configure the DNS domain of the router:
xxx_lab(config)# xxx.cisco.com
Step 3
Generate an SSH key to be used with SSH:
xxx_lab(config)# crypto key generate rsa
The name for the keys will be: xxx_lab.xxx.cisco.com Choose the size of the key modulus in the range
of 360 to 4096 for your General Purpose Keys. Choosing a key modulus greater than 512 may take a few
minutes.
How many bits in the modulus [512]: 1024 % Generating 1024 bit RSA keys, keys will be non-exportable...
[OK] (elapsed time was 0 seconds)
xxx_lab(config)#
Step 4
By default, the vtys? transport is Telnet. In this case, Telnet is disabled and only SSH is supported:
xxx_lab(config)#line vty 0 4
xxx_lab(config-line)#transport input SSH
Step 5
Create a username for SSH authentication and enable login authentication:
xxx_lab(config)# username jsmith privilege 15 secret 0 p@ss3456
xxx_lab(config)#line vty 0 4
xxx_lab(config-line)# login local
Step 6
Verify remote connection to the device using SSH.
Accessing the CLI from a Remote Console Using Telnet
The following topics describe the procedure to access the CLI from a remote console using Telnet:
•
Preparing to Connect to the Router Console Using Telnet, on page 11
•
Using Telnet to Access a Console Interface, on page 12
Preparing to Connect to the Router Console Using Telnet
To access the router remotely using Telnet from a TCP/IP network, configure the router to support virtual
terminal lines using the line vty global configuration command. Configure the virtual terminal lines to require
users to log in and specify a password.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 11
Using Cisco IOS XE Software
Using SSH to Access Console
See the Cisco IOS Terminal Services Command Reference document for more information about the line vty
global configuration command.
To prevent disabling login on a line, specify a password with the password command when you configure
the login command.
If you are using authentication, authorization, and accounting (AAA), configure the login authentication
command. To prevent disabling login on a line for AAA authentication when you configure a list with the
login authentication command, you must also configure that list using the aaa authentication login global
configuration command.
For more information about AAA services, see the Cisco IOS XE Security Configuration Guide: Secure
Connectivity and the Cisco IOS Security Command Reference documents. For more information about the
login line-configuration command, see the Cisco IOS Terminal Services Command Reference document.
In addition, before you make a Telnet connection to the router, you must have a valid hostname for the router
or have an IP address configured on the router. For more information about the requirements for connecting
to the router using Telnet, information about customizing your Telnet services, and using Telnet key sequences,
see the Cisco IOS Configuration Fundamentals Configuration Guide.
Using Telnet to Access a Console Interface
Step 1
From your terminal or PC, enter one of the following commands:
•
connect host [port] [keyword]
•
telnet host [port] [keyword]
Here, host is the router hostname or IP address, port is a decimal port number (23 is the default), and keyword is a
supported keyword. For more information about these commands, see the Cisco IOS Terminal Services Command
Reference document.
If you are using an access server, specify a valid port number, such as telnet 172.20.52.40 2004, in addition to
the hostname or IP address.
Note
The following example shows how to use the telnet command to connect to a router named router:
unix_host% telnet router
Trying 172.20.52.40...
Connected to 172.20.52.40.
Escape character is '^]'.
unix_host% connect
Step 2
Enter your login password:
User Access Verification
Password: mypassword
If no password has been configured, press
Return.
Note
Step 3
From user EXEC mode, enter the enable command:
Router> enable
Step 4
At the password prompt, enter your system password:
Password: enablepass
Step 5
When the enable password is accepted, the privileged EXEC mode prompt is displayed:
Cisco 4000 Series ISRs Software Configuration Guide
12 OL-29328-03
Using Cisco IOS XE Software
Accessing the CLI from a Remote Console Using Telnet
Router#
Step 6
You now have access to the CLI in privileged EXEC mode and you can enter the necessary commands to complete your
desired tasks.
Step 7
To exit the Telnet session, use the exit or logout command.
Router# logout
Accessing the CLI from a USB Serial Console Port
The router provides an additional mechanism for configuring the system: a type B miniport USB serial console
that supports remote administration of the router using a type B USB-compliant cable. See the “Connecting
to a Console Terminal or Modem” section in the Hardware Installation Guide for the Cisco 4000 Series
Integrated Services Routers.
Using Keyboard Shortcuts
Commands are not case sensitive. You can abbreviate commands and parameters if the abbreviations contain
enough letters to be different from any other currently available commands or parameters.
The following table lists the keyboard shortcuts for entering and editing commands.
Table 4: Keyboard Shortcuts
PurposeKey Name
Move the cursor back one character.Ctrl-B or the Left Arrow key
1
Move the cursor forward one character.Ctrl-F or the Right Arrow key
1
Move the cursor to the beginning of the command
line.
Ctrl-A
Move the cursor to the end of the command line.Ctrl-E
Move the cursor back one word.Esc B
Move the cursor forward one word.Esc F
Using the History Buffer to Recall Commands
The history buffer stores the last 20 commands you entered. History substitution allows you to access these
commands without retyping them, by using special abbreviated commands.
The following table lists the history substitution commands.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 13
Using Cisco IOS XE Software
Accessing the CLI from a USB Serial Console Port
Table 5: History Substitution Commands
PurposeCommand
Recalls commands in the history buffer, beginning
with the most recent command. Repeat the key
sequence to recall successively older commands.
Ctrl-P or the Up Arrow key
1
Returns to more recent commands in the history
buffer after recalling commands with Ctrl-P or the
Up Arrow key.
Ctrl-N or the Down Arrow key
1
While in EXEC mode, lists the last few commands
you entered.
Router# show history
1
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Understanding Command Modes
The command modes available in Cisco IOS XE are the same as those available in traditional Cisco IOS. Use
the CLI to access Cisco IOS XE software. Because the CLI is divided into many different modes, the commands
available to you at any given time depend on the mode that you are currently in. Entering a question mark (?)
at the CLI prompt allows you to obtain a list of commands available for each command mode.
When you log in to the CLI, you are in user EXEC mode. User EXEC mode contains only a limited subset
of commands. To have access to all commands, you must enter privileged EXEC mode, normally by using a
password. From privileged EXEC mode, you can issue any EXEC command—user or privileged mode—or
you can enter global configuration mode. Most EXEC commands are one-time commands. For example, show
commands show important status information, and clear commands clear counters or interfaces. The EXEC
commands are not saved when the software reboots.
Configuration modes allow you to make changes to the running configuration. If you later save the running
configuration to the startup configuration, these changed commands are stored when the software is rebooted.
To enter specific configuration modes, you must start at global configuration mode. From global configuration
mode, you can enter interface configuration mode and a variety of other modes, such as protocol-specific
modes.
ROM monitor mode is a separate mode used when the Cisco IOS XE software cannot load properly. If a valid
software image is not found when the software boots or if the configuration file is corrupted at startup, the
software might enter ROM monitor mode.
The following table describes how to access and exit various common command modes of the Cisco IOS XE
software. It also shows examples of the prompts displayed for each mode.
Table 6: Accessing and Exiting Command Modes
Exit MethodPromptAccess MethodCommand Mode
Use the logout command.Router>Log in.User EXEC
Cisco 4000 Series ISRs Software Configuration Guide
14 OL-29328-03
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
Exit MethodPromptAccess MethodCommand Mode
To return to user EXEC
mode, use the disable
command.
Router#From user EXEC mode,
use the enable command.
Privileged EXEC
To return to privileged
EXEC mode from global
configuration mode, use
the exit or end command.
Router(config)#From privileged EXEC
mode, use the configure
terminal command.
Global configuration
To return to global
configuration mode, use
the exit command.
To return to privileged
EXEC mode, use the end
command.
Router(config-if)#From global configuration
mode, specify an interface
using an interface
command.
Interface configuration
If failure of the Cisco IOS
process is the reason for
entering diagnostic mode,
the Cisco IOS problem
must be resolved and the
router rebooted to get out
of diagnostic mode.
If the router is in
diagnostic mode because
of a transport-map
configuration, access the
router through another
port or by using a method
that is configured to
connect to the Cisco IOS
CLI.
Router(diag)#The router boots up or
accesses diagnostic mode
in the following
scenarios:
•
In some cases,
diagnostic mode
will be reached
when the Cisco IOS
process or processes
fail. In most
scenarios, however,
the router will
reload.
•
A user-configured
access policy is
configured using the
transport-map
command that
directs a user into
diagnostic mode.
•
A break signal
(Ctrl-C,
Ctrl-Shift-6, or the
send break
command) is
entered and the
router is configured
to go to diagnostic
mode when the
break signal is
received.
Diagnostic
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 15
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
Exit MethodPromptAccess MethodCommand Mode
To exit ROM monitor
mode, manually boot a
valid image or perform a
reset with autoboot set so
that a valid image is
loaded.
rommon#>From privileged EXEC
mode, use the reload
EXEC command. Press
the Break key during the
first 60 seconds while the
system is booting.
ROM monitor
Understanding Diagnostic Mode
The router boots up or accesses diagnostic mode in the following scenarios:
•
The IOS process or processes fail, in some scenarios. In other scenarios, the system resets when the IOS
process or processes fail.
•
A user-configured access policy was configured using the transport-map command that directs the
user into the diagnostic mode.
•
A send break signal (Ctrl-C or Ctrl-Shift-6) was entered while accessing the router, and the router was
configured to enter diagnostic mode when a break signal was sent.
In the diagnostic mode, a subset of the commands that are available in user EXEC mode are made available
to the users. Among other things, these commands can be used to:
•
Inspect various states on the router, including the IOS state.
•
Replace or roll back the configuration.
•
Provide methods of restarting the IOS or other processes.
•
Reboot hardware, such as the entire router, a module, or possibly other hardware components.
•
Transfer files into or off of the router using remote access methods such as FTP, TFTP, and SCP.
The diagnostic mode provides a more comprehensive user interface for troubleshooting than previous routers,
which relied on limited access methods during failures, such as ROMMON, to diagnose and troubleshoot
Cisco IOS problems. The diagnostic mode commands can work when the Cisco IOS process is not working
properly. These commands are also available in privileged EXEC mode on the router when the router is
working normally.
Getting Help
Entering a question mark (?) at the CLI prompt displays a list of commands available for each command
mode. You can also get a list of keywords and arguments associated with any command by using the
context-sensitive help feature.
To get help that is specific to a command mode, a command, a keyword, or an argument, use one of the
following commands.
Cisco 4000 Series ISRs Software Configuration Guide
16 OL-29328-03
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
PurposeCommand
Provides a brief description of the help system in any
command mode.
help
Provides a list of commands that begin with a
particular character string.
There is no space between the command and
the question mark.
Note
abbreviated-command-entry?
Completes a partial command name.abbreviated-command-entry<Tab>
Lists all the commands that are available for a
particular command mode.
?
Lists the keywords or arguments that you must enter
next on the command line.
There is a space between the command and
the question mark.
Note
command ?
Finding Command Options: Example
This section provides information about how to display the syntax for a command. The syntax can consist of
optional or required keywords and arguments. To display keywords and arguments for a command, enter a
question mark (?) at the configuration prompt or after entering a part of a command followed by a space. The
Cisco IOS XE software displays a list and brief descriptions of the available keywords and arguments. For
example, if you are in global configuration mode and want to see all the keywords and arguments for the arap
command, you should type arap ?.
The <cr> symbol in command help output stands for carriage return. On older keyboards, the carriage return
key is the Return key. On most modern keyboards, the carriage return key is the Enter key. The <cr> symbol
at the end of command help output indicates that you have the option to press Enter to complete the command
and that the arguments and keywords in the list preceding the <cr> symbol are optional. The <cr> symbol by
itself indicates that no more arguments or keywords are available, and that you must press Enter to complete
the command.
The following table shows examples of using the question mark (?) to assist you in entering commands.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 17
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
Table 7: Finding Command Options
CommentCommand
Enter the enable command and password to access
privileged EXEC commands. You are in privileged
EXEC mode when the prompt changes to a “ # ”
from the “ > ”, for example, Router> to Router#
Router> enable
Password: <password>
Router#
Enter the configure terminal privileged EXEC
command to enter global configuration mode. You
are in global configuration mode when the prompt
changes to Router (config)#
Router# configure terminal
Enter configuration commands, one per line. End
with CNTL/Z.
Router(config)#
Enter interface configuration mode by specifying
the interface that you want to configure, using the
interface GigabitEthernet global configuration
command.
Enter ? to display what you must enter next on the
command line.
When the <cr> symbol is displayed, you can press
Enter to complete the command.
You are in interface configuration mode when the
prompt changes to Router(config-if)#
Router(config)# interface GigabitEthernet ?
<0-0> GigabitEthernet interface number
<0-2> GigabitEthernet interface number
Router(config)# interface GigabitEthernet 1/?
<0-4> Port Adapter number
Router (config)# interface GigabitEthernet
1/3/?
<0-15> GigabitEthernet interface number
Router (config)# interface GigabitEthernet
1/3/8?
. <0-3>
Router (config)# interface GigabitEthernet
1/3/8.0
Router(config-if)#
Enter ? to display a list of all the interface
configuration commands available for the interface.
This example shows only some of the available
interface configuration commands.
Cisco 4000 Series ISRs Software Configuration Guide
18 OL-29328-03
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
CommentCommand
Router(config-if)# ?
Interface configuration commands:
.
.
.
ip Interface Internet
Protocol
config commands
keepalive Enable keepalive
lan-name LAN Name command
llc2 LLC2 Interface
Subcommands
load-interval Specify interval for load
calculation
for an interface
locaddr-priority Assign a priority group
logging Configure logging for
interface
loopback Configure internal
loopback on an
interface
mac-address Manually set interface
MAC address
mls mls router sub/interface
commands
mpoa MPOA interface
configuration commands
mtu Set the interface
Maximum Transmission Unit
(MTU)
netbios Use a defined NETBIOS
access list
or enable
name-caching
no Negate a command or set
its defaults
nrzi-encoding Enable use of NRZI
encoding
ntp Configure NTP
.
.
.
Router(config-if)#
Enter the command that you want to configure for
the interface. This example uses the ip command.
Enter ? to display what you must enter next on the
command line. This example shows only some of
the available interface IP configuration commands.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 19
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
CommentCommand
Router(config-if)# ip ?
Interface IP configuration subcommands:
access-group Specify access control
for packets
accounting Enable IP accounting on
this interface
address Set the IP address of an
interface
authentication authentication
subcommands
bandwidth-percent Set EIGRP bandwidth limit
broadcast-address Set the broadcast address
of an interface
cgmp Enable/disable CGMP
directed-broadcast Enable forwarding of
directed broadcasts
dvmrp DVMRP interface commands
hello-interval Configures IP-EIGRP hello
interval
helper-address Specify a destination
address for UDP broadcasts
hold-time Configures IP-EIGRP hold
time
.
.
.
Router(config-if)# ip
Enter the command that you want to configure for
the interface. This example uses the ip address
command.
Enter ? to display what you must enter next on the
command line. In this example, you must enter an
IP address or the negotiated keyword.
A carriage return (<cr>) is not displayed.
Therefore, you must enter additional keywords or
arguments to complete the command.
Router(config-if)# ip address ?
A.B.C.D IP address
negotiated IP Address negotiated
over PPP
Router(config-if)# ip address
Enter the keyword or argument that you want to
use. This example uses the 172.16.0.1 IP address.
Enter ? to display what you must enter next on the
command line. In this example, you must enter an
IP subnet mask.
<cr> is not displayed. Therefore, you must enter
additional keywords or arguments to complete the
command.
Router(config-if)# ip address 172.16.0.1 ?
A.B.C.D IP subnet mask
Router(config-if)# ip address 172.16.0.1
Router(config-if)# ip address 172.16.0.1
255.255.255.0 ?
secondary Make this IP address a
secondary address
<cr>
Router(config-if)# ip address 172.16.0.1
255.255.255.0
Cisco 4000 Series ISRs Software Configuration Guide
20 OL-29328-03
Using Cisco IOS XE Software
Using the History Buffer to Recall Commands
CommentCommand
Enter the IP subnet mask. This example uses the
255.255.255.0 IP subnet mask.
Enter ? to display what you must enter next on the
command line. In this example, you can enter the
secondary keyword, or you can press Enter.
<cr> is displayed. Press Enter to complete the
command, or enter another keyword.
Press Enter to complete the command.
Router(config-if)# ip address 172.16.0.1
255.255.255.0
Router(config-if)#
Using the no and default Forms of Commands
Almost every configuration command has a no form. In general, use the no form to disable a function. Use
the command without the no keyword to re-enable a disabled function or to enable a function that is disabled
by default. For example, IP routing is enabled by default. To disable IP routing, use the no ip routing command;
to re-enable IP routing, use the ip routing command. The Cisco IOS software command reference publications
provide the complete syntax for the configuration commands and describe what the no form of a command
does.
Many CLI commands also have a default form. By issuing the <command> default command-name, you
can configure the command to its default setting. The Cisco IOS software command reference publications
describe the function from a default form of the command when the default form performs a different function
than the plain and no forms of the command. To see what default commands are available on your system,
enter default ? in the appropriate command mode.
Saving Configuration Changes
Use the copy running-config startup-config command to save your configuration changes to the startup
configuration so that the changes will not be lost if the software reloads or a power outage occurs. For example:
Router# copy running-config startup-config
Building configuration...
It may take a few minutes to save the configuration. After the configuration has been saved, the following
output is displayed:
[OK]
Router#
This task saves the configuration to the NVRAM.
Managing Configuration Files
The startup configuration file is stored in the nvram: file system and the running configuration files are stored
in the system: file system. This configuration file storage setup is also used on several other Cisco router
platforms.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 21
Using Cisco IOS XE Software
Using the no and default Forms of Commands
As a matter of routine maintenance on any Cisco router, users should back up the startup configuration file
by copying the startup configuration file from NVRAM to one of the router’s other file systems and, additionally,
to a network server. Backing up the startup configuration file provides an easy method of recovering the
startup configuration file if the startup configuration file in NVRAM becomes unusable for any reason.
The copy command can be used to back up startup configuration files.
Examples of backing up the startup configuration file in NVRAM are shown in Backing Up Configuration
Files, on page 298.
For more detailed information on managing configuration files, see the “Managing Configuration Files” section
in the Cisco IOS XE Configuration Fundamentals Configuration Guide.
Filtering Output from the show and more Commands
You can search and filter the output of show and more commands. This functionality is useful if you need to
sort through large amounts of output or if you want to exclude output that you need not see.
To use this functionality, enter a show or more command followed by the “pipe” character ( | ); one of the
keywords begin, include, or exclude; and a regular expression on which you want to search or filter (the
expression is case sensitive):
show command | {append | begin | exclude | include | redirect | section | tee} regular-expression
The output matches certain lines of information in the configuration file.
Example
In this example, a modifier of the show interface command (include protocol) is used to provide only the
output lines in which the expression protocol is displayed:
Router# show interface | include protocol
GigabitEthernet0/0/0 is administratively down, line protocol is down
0 unknown protocol drops
GigabitEthernet0/0/1 is administratively down, line protocol is down
0 unknown protocol drops
GigabitEthernet0/0/2 is administratively down, line protocol is down
0 unknown protocol drops
GigabitEthernet0/0/3 is administratively down, line protocol is down
0 unknown protocol drops
GigabitEthernet0 is up, line protocol is up
0 unknown protocol drops
Loopback0 is up, line protocol is up
0 unknown protocol drops
Powering Off a Router
Before You Begin
Before you turn off the power supply, ensure that the chassis is grounded and you perform a soft shutdown.
Cisco 4000 Series ISRs Software Configuration Guide
22 OL-29328-03
Using Cisco IOS XE Software
Filtering Output from the show and more Commands
To perform a soft shutdown and then power off a router, perform the following steps.
Step 1
Ensure that the configuration register is configured to drop to ROMMON. See Configuring the Configuration Register
for Autoboot, on page 70.
Step 2
Enter the reload command to halt the system:
Router# reload
System configuration has been modified. Save? [yes/no]:
Proceed with reload? [confirm]
Step 3
After the ROMMON prompt is displayed, move the router's power supply switch to the Off position.
Finding Support Information for Platforms and Cisco Software Images
The Cisco IOS XE software is packaged in feature sets consisting of software images that support specific
platforms. The group of feature sets that are available for a specific platform depends on which Cisco software
images are included in a release. To identify the set of software images available in a specific release or to
find out if a feature is available in a given Cisco IOS XE software image, you can use Cisco Feature Navigator
or see the Release Notes for Cisco IOS XE.
Using Cisco Feature Navigator
Use Cisco Feature Navigator to find information about platform support and software image support. Cisco
Feature Navigator is a tool that enables you to determine which Cisco IOS XE software images support a
specific software release, feature set, or platform. To use the navigator tool, an account on Cisco.com is not
required.
Using Software Advisor
Cisco maintains the Software Advisor tool. See Tools and Resources. Use the Software Advisor tool to see
if a feature is supported in a Cisco IOS XE release, to locate the software document for that feature, or to
check the minimum software requirements of Cisco IOS XE software with the hardware installed on your
router. You must be a registered user on Cisco.com to access this tool.
Using Software Release Notes
See the Release Notes document for the Cisco 4000 Series for information about the following:
•
Memory recommendations
•
Open and resolved severity 1 and 2 caveats
Release notes are intended to be release-specific for the most current release, and the information provided
in these documents may not be cumulative in providing information about features that first appeared in
previous releases. For cumulative feature information, refer to the Cisco Feature Navigator at: http://
www.cisco.com/go/cfn/.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 23
Using Cisco IOS XE Software
Finding Support Information for Platforms and Cisco Software Images
CLI Session Management
An inactivity timeout is configurable and can be enforced. Session locking provides protection from two users
overwriting changes that the other has made. To prevent an internal process from using all the available
capacity, some spare capacity is reserved for CLI session access. For example, this allows a user to remotely
access a router.
•
Changing the CLI Session Timeout, on page 24
•
Locking a CLI Session, on page 24
Information About CLI Session Management
An inactivity timeout is configurable and can be enforced. Session locking provides protection from two users
overwriting changes that each other has made. To prevent an internal process from using all the available
capacity, some spare capacity is reserved for CLI session access. For example, this allows a user to remotely
access the router.
Changing the CLI Session Timeout
Step 1
configure terminal
Enters global configuration mode
Step 2
line console 0
Step 3
session-timeout minutes
The value of minutes sets the amount of time that the CLI waits before timing out. Setting the CLI session timeout
increases the security of a CLI session. Specify a value of 0 for minutes to disable session timeout.
Step 4
show line console 0
Verifies the value to which the session timeout has been set, which is shown as the value for " Idle Session ".
Locking a CLI Session
Before You Begin
To configure a temporary password on a CLI session, use the lock command in EXEC mode. Before you can
use the lock command, you need to configure the line using the lockable command. In this example the line
is configured as lockable, and then the lock command is used and a temporary password is assigned.
Step 1
Router# configure terminal
Enters global configuration mode.
Step 2
Enter the line upon which you want to be able to use the lock command.
Cisco 4000 Series ISRs Software Configuration Guide
24 OL-29328-03
Using Cisco IOS XE Software
CLI Session Management
Router(config)# line console 0
Step 3
Router(config)# lockable
Enables the line to be locked.
Step 4
Router(config)# exit
Step 5
Router# lock
The system prompts you for a password, which you must enter twice.
Password: <password>
Again: <password>
Locked
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 25
Using Cisco IOS XE Software
CLI Session Management
Cisco 4000 Series ISRs Software Configuration Guide
26 OL-29328-03
Using Cisco IOS XE Software
CLI Session Management
CHAPTER 4
Smart Licensing
This chapter provides an overview of the Cisco Smart Licensing Client feature and describes the several
tools and processes required to complete the products registration and authorization.
This chapter includes this section:
•
Smart Licensing Client, page 27
Smart Licensing Client
Smart Licensing Client feature is a standardized licensing platform that simplifies the Cisco software experience
and helps you to understand how Cisco software is used across your network. Smart Licensing is the next
eneration licensing platform for all Cisco software products.
Prerequisites for Cisco Smart Licensing Client
•
Ensure that Call Home is not disabled before using the Smart Licensing Client feature.
Restrictions for Cisco Smart Licensing Client
•
Cisco 4000 Series ISR platforms support Cisco One Suites License, Technology Package License,
Throughput License, and HSECK9 license in Cisco Smart Licensing from Cisco IOS Release 15.6(1)S.
•
Cisco ISR G2 platforms support only Cisco One Suites in Cisco Smart Licensing from Cisco IOS Release
15.5(1)T.
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 27
Information About Cisco Smart Licensing Client
Cisco Smart Licensing - An Overview
A new licensing model, based on a single technology, has been designed for Cisco called Smart Licensing
that is intended to provide Enterprise Level Agreement-like capabilities for all of Cisco's products.
Smart Licensing is software based licensing end-to-end platform that consists of several tools and processes
to authorize customers the usage and reporting of the Cisco products. The feature has the capability to capture
the customers order and communicates with Cisco Cloud License Service through Smart Call Home transport
media to complete the products registration and authorization on desired performance and technology level.
The Smart Licensing feature is aimed at giving users an experience of a single, standardized licensing solution
for all Cisco products.
To know more about Smart Call Home, please refer to Smart Call Home.
Transitioning from CISL to Smart Licensing
In the Smart Licensing Model, customers can activate licensed objects without the use of a special software
key or upgrade license file. The customers simply activate the new functionality using the appropriate product
commands and configurations and the functionality is activated. A software reboot may or may not be required
depending on the product capabilities and requirements.
Similarly, downgrading or removing an advanced feature, performance, or functionality would require a
removal of the configuration or command.
Once either of these actions has been taken, the change in license state is noted by the Smart Software Manager
upon next synchronization and an appropriate action is then taken.
Cisco One Suites
Cisco ONE Suites is a new way for customers to purchase infrastructure software. Cisco ONE offers a
simplified purchasing model, centered on common customer scenarios in the data center, wide area network,
and local access networks. To know more about Cisco One Suites, please refer to Cisco ONE Suites.
Cisco 4000 Series ISRs Software Configuration Guide
28 OL-29328-03
Smart Licensing
Information About Cisco Smart Licensing Client
How to Activate Cisco Smart Licensing Client
Enable Smart Licensing
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
license smart enable
4.
exit
5.
write memory
6.
show license all
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Activates Smart Licensing on the device.license smart enable
Step 3
Example:
Device# license smart enable
When you enable Smart Licensing, the Cisco Software
License (CSL) and all licensing calls pass through the Smart
Agent.
Note
For the ‘no’ case, if Smart Licensing is already registered, the Smart
Agent performs the ”license smart deregister” operation that
deactivates Smart Licensing. Reload the device to activate the CSL
on the device.
Exits the global configuration mode.exit
Example:
Device# exit
Step 4
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 29
Smart Licensing
How to Activate Cisco Smart Licensing Client
PurposeCommand or Action
Saves the running configuration to NVRAM.write memory
Example:
Device# write memory
Step 5
(Optional) Displays summary information about all licenses.show license all
Example:
Device# show license all
Step 6
Smart License Disable
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
no license smart enable
4.
exit
5.
write memory
6.
reload
7.
show license all
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Deactivates Smart Licensing on the device.no license smart enable
Step 3
Cisco 4000 Series ISRs Software Configuration Guide
30 OL-29328-03
Smart Licensing
How to Activate Cisco Smart Licensing Client
PurposeCommand or Action
Example:
Device(config)# no license smart
enable
When you enable Smart Licensing, the Cisco Software License
(CSL) and all licensing calls pass through the Smart Agent.
For the ‘no’ case, if Smart Licensing is already registered, the
Smart Agent performs the ”license smart deregister” operation
that deactivates Smart Licensing. Reload the device to activate
the CSL on the device.
Note
Exits the global configuration mode.exit
Example:
Device(config)# exit
Step 4
Saves the running configuration to NVRAM.write memory
Example:
Device# write memory
Step 5
(Optional) Restarts the device to enable the new feature set.reload
Step 6
Example:
Device# reload
Reload the device if you have not reloaded the device after
configuring the Cisco One Suites.
Note
(Optional) Displays summary information about all licenses.show license all
Example:
Device# show license all
Step 7
Device Registration
SUMMARY STEPS
1.
enable
2.
license smart register idtoken idtoken [force]
3.
license smart deregister
4.
license smart renew [ID | auth]
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode.enable
Step 1
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 31
Smart Licensing
How to Activate Cisco Smart Licensing Client
PurposeCommand or Action
Example:
Device> enable
•
Enter your password if prompted.
Registers the device with the back-end server. Token id can be
obtained from your virtual a/c in the Smart Licensing server.
license smart register idtoken idtoken [force]
Example:
Device# license smart register idtoken
123
Step 2
•
force: To forcefully register your device irrespective of either
the device is registered or not.
The device supplies the token ID to the Cisco server, which
sends back a “Device Certificate” that is valid for 365 days.
Note
Deregisters the device from the backend server.license smart deregister
Example:
Device# license smart deregister
Step 3
(Optional) Manually renews the ID certification or authorization.license smart renew [ID | auth]
Example:
Device# license smart renew ID
Step 4
Troubleshooting for Cisco Smart Licensing Client
You can troubleshoot Smart Licensing enabling issues using the following commands on the device:
•
show version
•
show running-config
•
show license summary
•
show license all
•
show license tech support
•
debug smart_lic error
•
debug smart_lic trace
Cisco 4000 Series ISRs Software Configuration Guide
32 OL-29328-03
Smart Licensing
Troubleshooting for Cisco Smart Licensing Client
Configuration Examples for Cisco Smart Licensing Client
Example: Displays summary information about all licenses
The following example shows how to use the show license all command to display summary information
about all licenses.
Device#show license all
Smart Licensing Status
======================
Smart Licensing is ENABLED
Registration:
Status: REGISTERED
Smart Account: BU Production Test
Virtual Account: ISR4K
Export-Controlled Functionality: Allowed
Initial Registration: SUCCEEDED on Sep 04 15:40:03 2015 PDT
Last Renewal Attempt: None
Next Renewal Attempt: Mar 02 15:40:02 2016 PDT
Registration Expires: Sep 03 15:34:53 2016 PDT
License Authorization:
Status: AUTHORIZED on Sep 04 15:40:09 2015 PDT
Last Communication Attempt: SUCCEEDED on Sep 04 15:40:09 2015 PDT
Next Communication Attempt: Oct 04 15:40:08 2015 PDT
Communication Deadline: Dec 03 15:35:01 2015 PDT
License Usage
==============
ISR_4400_FoundationSuite (ISR_4400_FoundationSuite):
Description: Cisco ONE Foundation Perpetual License ISR 4400
Count: 1
Version: 1.0
Status: AUTHORIZED
ISR_4400_AdvancedUCSuite (ISR_4400_AdvancedUCSuite):
Description: Cisco ONE Advanced UC Perpetual License ISR 4400
Count: 1
Version: 1.0
Status: AUTHORIZED
ISR_4451_2G_Performance (ISR_4451_2G_Performance):
Description: Performance on Demand License for 4450 Series
Count: 1
Version: 1.0
Status: AUTHORIZED
Product Information
===================
UDI: PID:ISR4451-X/K9,SN:FOC17042FJ9
Agent Version
=============
Smart Agent for Licensing: 1.4.0_rel/16
Component Versions: SA:(1_4_rel)1.0.15, SI:(dev22)1.2.6, CH:(dev5)1.0.32, PK:(dev18)1.0.17
Device#
Cisco 4000 Series ISRs Software Configuration Guide
OL-29328-03 33
Smart Licensing
Configuration Examples for Cisco Smart Licensing Client
Example: Enabling Smart Licensing
The following example shows how to use the license smart enable command to confirm if the Cisco ONE
Suite is enabled.
The warning message that is displayed in the following example applies only for Cisco ISR G2 platform.
For Cisco 4000 Series ISR platform, it does not display warning message when you enable the smart
license.
Note
Device# license smart enable
Currently only Cisco ONE license suites are supported by Smart Licensing.
Please make sure your Cisco ONE suites are enabled before turning on Smart Licensing.
Any other licenses outside of Cisco ONE suites would be disabled and made unusable in Smart
Licensing.
If you have any questions, please get in touch with your Cisco representative before using
this mmode.
Please confirm Cisco ONE suites are enabled? [yes/no]: yes
Cisco 4000 Series ISRs Software Configuration Guide
34 OL-29328-03
Smart Licensing
Configuration Examples for Cisco Smart Licensing Client