Cisco 1941W, 1941, 2901, 2911, 2951 Configuration Manual

...

Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide

April 10, 2015
Cisco Systems, Inc.
www.cisco.com
Cisco has more than 200 offices worldwide. Addresses, phone numbers, and fax numbers are listed on the Cisco website at www.cisco.com/go/offices.
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
Cisco 3900 Series,Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Software Configuration Guide
© 2009-2014 Cisco Systems, Inc. All rights reserved.
Objectives

Preface

This preface describes the objectives, audience, organization, conventions of this guide, and the references that accompany this document set. The following sections are provided:
Objectives, page iii
Audience, page iii
Organization, page iii
Conventions, page v
Related Documentation, page vi
Searching Cisco Documents, page vii
This guide provides an overview and explains how to configure the various features for the Cisco 1900 series, Cisco 2900 series, and Cisco 3900 series integrated services routers generation 2 (ISR G2). Some information may not apply to your particular router model.
Audience
This document is written for experienced technical workers who install, monitor, and troubleshoot routers under a service contract, or who work for an information technology (IT) department.
Organization
This guide is divided into three parts:
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Part 1—Configuring the Router
Part 2—Configuring the Access Point
Part 3—Appendix
2iii
Organization
Part 1 Configuring the Router Description
Module 1
Overview of Hardware and Software Describes new hardware and software features
in this release, features by platform, new slots, common ports, and getting started tasks.
Module 2
Basic Router Configuration Describes how to perform the basic router
configuration, interface configuration, and routing configuration.
Module 3
Module 4
Configuring Backup Data Lines and Remote Management
Configuring Power Efficiency Management
Describes how to configure backup interfaces, dial backup, and remote management.
Describes the hardware and software power efficiency management features on the router. See Cisco EnergyWise Configuration Guide for information about configuring power efficiency management on modules and interface.
Module 5
Module 6
Module 7
Configuring Security Features Describes how to configure security features.
Unified Communications on Cisco Integrated Services Routers
Configuring Next-Generation High-Density PVDM3 Modules
Describes voice application services that are supported on these routers.
Describes how to configure the new next-generation PVDM3 router.
Module 8
Multi-Gigabit Fabric Communication
Describes how modules and interface cards inter-communicate using the MGF router.
Module 9
Upgrading the Cisco IOS Software Describes how to upgrade the Cisco IOS
software image on the router or the access point.
Part 2 Configuring the Access Point Description
Module 1
Wireless Overview Describes the autonomous image and recovery
image shipped on the Cisco 1941W access point flash. Explains the default autonomous mode and Cisco Unified mode.
Module 2
Configuring the Wireless Device Describes how to configure the autonomous
wireless device, how to upgrade the autonomous software to Cisco Unified software, and how to configure a Unified wireless device.
Module 3
Configuring the Radio Settings Describes how to configure the radio settings
for the wireless device.
Module 4
Administering the Wireless Device Describes many administration tasks for the
wireless device.
Part 3 Appendix Description
Appendix A
Cisco IOS CLI for Initial Configuration
Describes how to perform the initial configuration of the router using the Cisco IOS CLI, and additional configuration procedures for the router.
1
installed on your
2
on the
Preface
2iv
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Preface
Conventions
Conventions
This document uses the following conventions:
Appendix B
Using CompactFlash Memory Cards Describes how to use Advanced Capability CF3
memory cards on the router.
Appendix C
Using ROM Monitor Describes how to use the ROM monitor to
manually load a system image, upgrade the system image when there are no TFTP servers or network connections, or prepare for disaster recovery.
Appendix D
Changing the Configuration Register Settings
Describes the 16-bit configuration register in NVRAM and how to make changes to the register settings using the Cisco IOS CLI.
1. PVDM3 = packet voice/data module
2. MGF = Multi-Gigabit Fabric.
3. CF = CompactFlash.
Convention Indication
bold font Commands and keywords and user-entered text appear in bold font.
italic font Document titles, new or emphasized terms, and arguments for which you supply
values are in italic font.
[ ] Elements in square brackets are optional.
{x | y | z } Required alternative keywords are grouped in braces and separated by
vertical bars.
[ x | y | z ] Optional alternative keywords are grouped in brackets and separated by
vertical bars.
string A nonquoted set of characters. Do not use quotation marks around the string or
the string will include the quotation marks.
courier font Terminal sessions and information the system displays appear in courier font.
< > Non-printing characters such as passwords are in angle brackets.
[ ] Default responses to system prompts are in square brackets.
!, # An exclamation point (!) or a pound sign (#) at the beginning of a line of code
indicates a comment line.
Note Means reader take note.
Tip Means the following information will help you solve a problem.
Caution Means reader be careful. In this situation, you might perform an action that could result in equipment
damage or loss of data.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
2v
Related Documentation
Timesaver Means the described action saves time. You can save time by performing the action described in
the paragraph.
Preface
Warning
Means reader be warned. In this situation, you might perform an action that could result in bodily injury.
Related Documentation
In addition to the Cisco 1900 series, Cisco 2900 series, and Cisco 3900 series ISR Software Configuration Guide (this document), the following reference guides are included:
Type of Document Links
Hardware
Read Me First for the Cisco 1900 Series, 2900 Series, and 3900 Series
Integrated Services Routers.
Regulatory Compliance and Safety Information for Cisco 1900 Series
Integrated Services Routers.
Cisco 2900 Series and 3900 Series Integrated Services Routers
Hardware Installation Guide
Cisco 1900 Series Integrated Services Routers Hardware Installation
Guide.
Cisco Modular Access Router Cable Specifications
Installing, Replacing, and Upgrading Components in Cisco Modular
Access Routers and Integrated Services Routers
2vi
Overview of Cisco Network Modules for Cisco Access Routers
Cisco Interface Cards for Cisco Access Routers
Installing Cisco Network Modules in Cisco Access Routers
Installing Cisco Interface Cards in Cisco Access Routers
Regulatory Compliance
Declarations of Conformity and Regulatory Information for Cisco
Access Products with 802.11a/b/g and 802.11b/g Radios
Regulatory Compliance and Safety Information for Cisco 2900 Series
Integrated Services Routers
Regulatory Compliance and Safety Information for Cisco 3900 Series
Integrated Services Routers
Software Activation
Configuration
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Software Activation for Cisco Integrated Services Routers
Cisco IOS Software Activation Configuration Guide
Cisco CP Express User’s Guide
Chapter Preface
Type of Document Links
Cisco Internet Operating System Software (IOS)
Cisco IOS software release 15.0 is the next IOS release following the Cisco IOS 12.4(24)T release. For information about new features in Cisco IOS software release 15.0, see the Cisco IOS software pages at Cisco.com.
Go here to read a product bulletin that specifies the software feature sets available for Cisco 1900, 2900 and 3900 Series Integrated Services Routers in release 15.0. It also issues recommendations for Flash and DRAM memory configuration.
http://www.cisco.com/en/US/prod/collateral/iosswrel/ps8802/ps5460/ product_bulletin_c25-566278_ps10537_Products_Bulletin.html
Wireless
Vo i c e
Modules
Cisco IOS Command Reference for Cisco Aironet Access Points and
Wireless LAN Controllers
Unified Wireless LAN Access Points
Cisco IOS Voice Port Configuration Guide
SCCP Controlled Analog (FXS) Ports with Supplementary Features in
Cisco SRE Internal Service Modules Configuration Guide.
Cisco Services Ready Engine Configuration Guide.
Searching Cisco Documents
Bridges, versions 12.4(10b) JA and 12.3(8) JEC
Cisco IOS Gateways
Cisco SRE Service Modules Configuration Guide.
Connecting Cisco EtherSwitch Service Modules to the Network.
Cisco EtherSwitch Service Modules Feature Guide.
Searching Cisco Documents
To search a Hyper Text Markup Language (HTML) document using a web browser, press Ctrl-F (Windows) or Cmd-F (Apple). In most browsers, the option to search whole words only, invoke case sensitivity, or search forward and backward is also available.
To search a PDF document in Adobe Reader, use the basic Find toolbar (Ctrl-F) or the Full Reader Search window (Shift-Ctrl-F). Use the Find toolbar to find words or phrases within a specific document. Use the Full Reader Search window to search multiple PDF files simultaneously and to change case sensitivity and other options. Adobe Reader’s online help has more information about how to search PDF documents.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
2vii
Searching Cisco Documents
Preface
2viii
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide

Overview of the Hardware and Software

The Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers (ISRs) offer secure, wire-speed delivery of concurrent data, voice, and video services. The modular design of these routers provides maximum flexibility, allowing you to configure your router to meet evolving needs.
The routers offer features such as hardware-based virtual private network (VPN) encryption acceleration, intrusion-protection and firewall functions, and optional integrated call processing and voice mail. A wide variety of legacy network modules and interfaces, service modules (SMs), internal services modules (ISMs), next-generation packet voice/data modules (PVDM3), Services Performance Engines (SPEs), high-density interfaces for a wide range of connectivity requirements, and sufficient performance and slot density for future network expansion requirements and advanced applications are available.
Power-saving hardware and software features are incorporated throughout the series. These routers provide access to the multi-gigabit fabric, which provides a connection between switch ports without using up external ports. The logical Gigabit Ethernet (GE) interface on the router connects external and internal modules through the backplane for LAN and WAN switching. Software feature upgrades are provided through software licensing.
The following sections describe the Cisco 3900 series, 2900 series, and 1900 series ISRs:
Feature Information, page 2
New Features by Platform, page 4
New Slots, page 4
New Slots and Ports by Platform, page 5
Common Ports, page 6
Licensing, page 6
Getting Started, page 7
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
1

Feature Information

Feature Information
Table 1 Feature Information
Feature Description
Services Performance Engine
Cryptographic Engine Accelerator
USB Console Cisco 3900 series, 2900 series, and 1900 series ISRs provide an additional
Power Management Some modules and interface cards that are inserted in new slots provide
Chapter Overview of the Hardware and Software
1
SPEs
are modular motherboards on Cisco 3900 series ISRs. The SPE houses PVDM3 slots, system memory slots, and the ISM slot. The SPE provides a modular approach to system upgrades. You simply slide out the SPE from the router to replace internal modules, or upgrade the SPE to improve router performance. See Cisco 2900 series and 3900 series
Integrated Services Routers Hardware Installation Guide for instructions.
Cisco 3900 series routers with either Services Performance Engine 200 or Services Performance Engine 250 have an onboard cryptographic accelerator that is shared between SSLVPN and IPSec. By default, acceleration of SSL is disabled so IPSec performance is maximized.
See the “Configuring Security Features” section on page 127 in this guide for information about enabling the SSLVPN feature.
mechanism for configuring the system through a USB
2
serial console port.
The traditional RJ-45 serial console port is also available.
hardware and software power management features described below:
High efficiency AC power supplies
Electrical components with built-in power saving features, such as
RAM select and clock gating
Ability to disable unused clocks to modules and peripherals
Ability to power down unused modules and put peripherals into a
reset state, put front panel ports and unused internal components in a shutdown or reset state
Advanced Capability CompactFlash
Cisco 3900 series, 2900 series, and 1900 series ISRs use Advanced Capability CF
3
memory to store the system image, configuration files, and
some software data files.
SFP/Gigabit Ethernet Port Cisco 2921, Cisco 2951 and Cisco 3900 Series routers have an
SFP/Gigabit Ethernet port that supports copper and fiber concurrent connections. Media can be configured for failover redundancy when the network goes down. For more information, see the “Configuring Backup
Data Lines and Remote Management” section on page 97.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
2
Chapter Overview of the Hardware and Software
Table 1 Feature Information (continued)
Feature Description
New Modules and Interface Cards
Multi-Gigabit Fabric Communication
Integrated Application Services Features
Feature Information
Cisco 3900 series, 2900 series, and 1900 series ISRs introduce the following new modules and interface cards, which are inserted in the following new router slots:
EHWIC
PVDM3
ISM
SM
Note See the router’s product page at Cisco.com for a complete list of
supported modules and interfaces.
Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series ISRs use a
4
MGF
for the new modules and interface cards to inter-communicate on
the router. Legacy modules that support Cisco HIMI
5
also support MGF to inter-communicate on the router. Next generation module drivers integrate with the MGF to perform port configurations, configure packet flow, and control traffic buffering. All configurations are performed from the module-side, which may or may not lead to changes on the MGF. For more information, see the “Configuring Multi-Gigabit Fabric
Communication” section on page 211.
Cisco 3900 series, 2900 series, and 1900 series ISRs offer integrated security features and voice features.
See the “Configuring Security Features” section on page 127
See the “Unified Communications on Cisco Integrated Services
Routers” section on page 169
1. SPE = Services Performance Engine
2. USB = universal serial bus
3. CF = CompactFlash
4. MGF = multi-gigabit fabric
5. HIMI = High-Speed Intrachassis Module Interconnect
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
3
Chapter Overview of the Hardware and Software

New Features by Platform

New Features by Platform
Table 2 shows new feature support by platform.
Table 2 New Features in this Release by Platform
Features 1941 1941W 2901 2911 2921 2951 3925 3925E 3945 3945E
Services Performance Engine N N N N N N Y Y Y Y
Cryptographic Engine
N N N N N N Y
1
Y Y
Acceleration
USB Serial Console Y Y Y Y Y Y Y Y Y Y
Power Management Y Y Y Y Y Y Y Y Y Y
New Module and Interface Card
YY Y Y YYYYYY
Features
Advanced Capability
YY Y Y YYYYYY
CompactFlash
SFP/Gigabit Ethernet Port N N N N Y Y Y Y Y Y
Multi-Gigabit Fabric
YY Y Y YYYYYY
Communication
Integrated Application Services Y
1. Must have Services Performance Engine 200 installed in the router.
2. Must have Services Performance Engine 250 installed in the router.
3. Does not support Voice application services.
4. Does not support Voice application services. Includes embedded wireless access point that supports Cisco Unified Wireless Architecture.
3
4
Y
Y Y YYYYYY
2
Y

New Slots

Cisco 3900 series, 2900 series, and 1900 series ISRs have introduced new slots on the chassis. The first column in Tabl e 3 lists the new slot names. The second column lists the corresponding old slot names. Modules previously inserted in the old slots now insert in the new slots with the help of an adapter card.
For instance, network modules (NMs), enhanced network modules (NMEs), and extension voice modules (EVMs) use an adapter, or carrier card, to insert into the SM slot. See your router’s hardware installation guide for adapter information.
Table 3 New Slot Names and Old Slot Names
New Slot Names Old Slot Names
EHWIC HWIC,HWIC-DW, WIC, VWIC, VIC
ISM AIM
1
PVDM3 PVDM
SM NM, NME, EVM
2
SPE
1. AIM is not supported in this release. See your hardware installation guide for more information.
2. The SPE is available only on the Cisco 3900 series ISRs.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
4
Chapter Overview of the Hardware and Software

New Slots and Ports by Platform

This section provides the type and number of the slots and ports available in the Cisco 3900 series, 2900 series, and 1900 series ISRs.
Cisco 3900 Series ISRs, page 5
Cisco 2900 Series ISRs, page 5
Cisco 1900 Series ISRs, page 6

Cisco 3900 Series ISRs

Table 4 lists the slots and ports available on Cisco 3900 series routers.
To view the installation guide, see the following URL
http://www.cisco.com/en/US/docs/routers/access/2900/hardware/installation/guide/Hardware_Installati on_Guide.html
Table 4 Cisco 3900 Series Routers
New Slots and Ports by Platform
Router EHWIC SM
Cisco 39454 41 14 23
Cisco 3945E 3 4 1 0 3 2 4
Cisco 39254 21 14 23
Cisco 3925E 3 2 1 0 3 2 4
1. One RJ-45 GE + two combo GE/SFPs.
2. Four RJ-45 GE, or three RJ-45 GE + one combo GE/SFP, or two RJ-45 GE + two combo GE/SFP.
3. One RJ-45 GE + two combo GE/SFPs, or three RJ-45 GEs.
4. Four RJ-45 GE, or three RJ-45 GE + one combo GE/SFP, or two RJ-45 GE + two combo GE/SFP.

Cisco 2900 Series ISRs

Table 5 lists the slots and ports available on Cisco 2900 series routers.
To view the installation guide, see the following URL
http://www.cisco.com/en/US/docs/routers/access/2900/hardware/installation/guide/Hardware_Installati on_Guide.html
Table 5 Cisco 2900 Series Routers
Router EHWIC SM
Cisco 29514 22 13 22 1
Cisco 29214 11 13 22 1
Cisco 29114 11 12 23 0
Cisco 29014 00 12 23 0
Dbl-Wide SM ISM PVDM3 CF
Dbl-Wide SM ISM PVDM3 CF
GE (RJ-45)/ SFP ports SPE
1
2
3
4
GE (RJ-45) ports
GE (RJ-45)/ SFP ports
1
1
1
1
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
5

Common Ports

Cisco 1900 Series ISRs

Table 6 lists the slots and ports available on Cisco 1900 series routers.
To view the installation guide, see the following URL
http://www.cisco.com/en/US/docs/routers/access/1900/hardware/installation/guide/1900_HIG.html
Table 6 Cisco 1900 Series ISR Routers
Chapter Overview of the Hardware and Software
Router EHWIC
Cisco 1941 2 1 0 0 1 0 0 2 2
Cisco 1941W 2 1 0 0 0 0 1 2 2
1. One of the two EWHIC slots is adouble-wide EWHIC slot,giving the appearance of three EWHIC slots.
Common Ports
The following ports are common among Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series routers:
Gigabit Ethernet RJ45—Ports available through an RJ45 connector.
Gigabit Ethernet RJ45/SFP—Ports available through RJ45- SFP connectors. Connection supports
fail-over if the secondary connection goes down.
RS232 Aux—Supports modem control lines and remote administration for box-to-box redundancy
applications.
RS232 Serial Console—Supports modem control lines and remote administration of the router with
the proprietary cable shipped in the box.
Type A USB 2.0—Supports USB-based flash memory sticks, security tokens, and USB-compliant
devices.
Type B mini-port USB Serial Console—Supports modem control lines and remote administration of
the router using a type B USB-compliant cable.
Dbl-Wide
1
EHWIC SM
Dbl-Wide SM ISM PVDM3 WLAN CF
GE (RJ-45) ports

Licensing

Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
6
Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series ISRs support Cisco IOS software entitlement. Your router is shipped with the software image and the corresponding permanent licenses for the technology packages and features that you specified preinstalled. You do not need to activate or register the software prior to use. If you need to upgrade or install a new technology package or feature see Software Activation on Integrated Services Router,
http://www.cisco.com/en/US/docs/routers/access/sw_activation/SA_on_ISR.html.
Chapter Overview of the Hardware and Software

Getting Started

See the router-specific hardware installation guide to install the router in an appropriate location. Connect the router with the appropriate cables. Supply power to the router and perform the initial software configuration using Cisco Configuration Professional Express. After the initial configuration is completed, perform the following steps:
Step 1 Follow instructions in the “Basic Router Configuration” section on page 13 to perform additional router
configurations.
Step 2 (Optional) If you are setting up the Cisco 1941W ISR, follow instructions in the “Configuring the
Wireless Device” section on page 247 to configure the embedded wireless device on the router.
Step 3 Follow instructions in the “Configuring Security Features” section on page 127 to configure security
features on the router.
Step 4 Follow instructions in the “Unified Communications on Cisco Integrated Services Routers” section on
page 169 to configure Voice features on the router.
Getting Started
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
7

IOS Commands

IOS Commands
Table 7 lists the Cisco IOS commands and features that can trigger an erase, write, or erase and write
operation on a device's boot flash. The erase or write of an attribute on the boot flash can hold the CPU for a few milliseconds to complete the operation. The CPU hold can result in a functional impact on protocols or applications that are extremely time sensitive, for instance, Bidirectional Forwarding Detection (BFD) or routing protocols which use finely tuned short timers. For example, OSPF with fast hellos and short dead timers.
Table 7 Cisco IOS Commands
Functionality Command Name Description
Write to NV memory.
Changing the configuration register value.
write memory This command
writes the device's configuration in to the Non-Volatile RAM (NVRAM) on the boot flash. Use this command in privileged EXEC mode.
config-register
value
The router has a 16-bit configuration register in NVRAM. Each bit has value 1 (on or set) or value 0 (off or clear), and each bit setting affects the router behavior upon the next reload power cycle. Use this command in Global configuration mode.
Chapter Overview of the Hardware and Software
Configuration Example Impact
Router#write memory
A BFD flap is triggered when one of the following configuration elements are activated or deactivated and configuration is saved to memory:
(config)#warm-reboot (config)#boot config (config)#boot system
Router(config)#
Potential enough to flap bfd.
config-register 0xvalue
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
8
Chapter Overview of the Hardware and Software
Table 7 Cisco IOS Commands
Functionality Command Name Description
Copy running configuration to startup configuration.
copy running-config startup-config
This command copies running configuration to startup configuration.
Changing boot variables.
boot {bootstrap | config |host| netowrk | system}
This command configures bootstrap image file, configuration file, router specific config file, Networkwide config file or system image file.
Setting the system software clock manually.
clock set hh:mm:ss day month year
To manually set the system software clock, use one of the formats of the
clock set
command in privileged EXEC mode.
Configuration Example Impact
Router#copy running-config startup-config
A BFD flap is not triggered for all 'write mem' commands. For instance, when the configuration attributes changes without either a write or an erase+write on the NVRAM, the BFD is not triggered.
In the following example, when one of the configuration elements are activated/deactivated and the configuration is saved using the 'write mem' command, the flap is triggered:
(config)#warm-reboot (config)#boot config (config)#boot system
Router(config)#bo
Potential enough to flap bfd.
ot bootstrap
Router#clock set
Potential enough to flap bfd.
13:32:00 23 July 1997
Note Every time the command is issued.
IOS Commands
clock set hh:mm:ss day month year
clock set hh:mm:ss month day year
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
9
IOS Commands
Table 7 Cisco IOS Commands
Functionality Command Name Description
Random Entropy
No special Command exists for this.
After the system boot up, entropy is collected by accessing the security chip. This is potential enough to flap the BFD session immediately after the router boots up.
Crashing the router on user’s wish.
test crash This is a hidden
Cisco IOS command to crash the Cisco router on a user’s wish.
License EULA license accept
end user agreement
To accept the End-user License Agreement (EULA) for all Cisco IOS software packages and features at one time.
RTC Battery Failure
No CLI Write the event of
losing battery for Real Time Clock.
Chapter Overview of the Hardware and Software
Configuration Example Impact
No command Potential enough to flap bfd.
Router#test crash Potential enough to flap bfd.
Router(config)#lice
Potential enough to flap bfd.
nse accept end user agreement
No CLI Potential enough to flap bfd.
Note This is a one-time event during a
hardware failure.
Erasing NV memory.
Erasing startup-config
Erasing NV memory.
Writing configuration to memory.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
10
erase nvram This command
erases the nvram: file system.
erase startup-config
This command erases startup configurations.
write erase This command
erases the NV memory.
write This command
quickly saves config to memory.
Router#erase
Potential enough to flap bfd.
nvram:
Router#erase
Potential enough to flap bfd.
startup-config
Router#write erase Potential enough to flap bfd.
Router#write Potential enough to flap bfd.
Chapter Overview of the Hardware and Software
Table 7 Cisco IOS Commands
Functionality Command Name Description
Reloading the router.
reload This command
reloads the router. The reload time is written to NV memory.
Enabling warm rebooting.
warm-reboot count value
Enables a router to warm-reboot.
uptime value
New software license boot.
license boot module module-name level license-level
To boot a new software license on routing platforms, use the license boot module command in global configuration mode.
Configuration Example Impact
Router#reload Potential enough to flap bfd.
Router(config)#
Potential enough to flap bfd.
warm-reboot count 10 uptime 10
Router(config)#
Potential enough to flap bfd.
license boot module c2900 technology-packa ge datak9
IOS Commands
Enabling or disabling USB ports.
Disabling access to ROMMON.
config mode : hw-module usb
[no] service password-recove ry
Enable or disable USB ports from IOS config mode.
This command disables all access to ROMMON.
Router(config)#hw
-module usb disable
Router(config)#no hw-module usb disable
Router# no service password-recover y
Will trigger a BFD flap.
Potential enough to flap bfd.
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
11
IOS Commands
Chapter Overview of the Hardware and Software
12
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide

Basic Router Configuration

This module provides configuration procedures for Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers (ISRs). It also includes configuration examples and verification steps whenever possible.
Note See Appendix A, “Cisco IOS CLI for Initial Configuration” for information on how to perform the initial
configuration using the Cisco Internet Operating System (IOS) command line interface on Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers.
Basic Configuration
Default Configuration, page 14
Configuring Global Parameters, page 15
Interface Configuration
Interface Ports, page 17
Configuring Gigabit Ethernet Interfaces, page 18
Configuring Wireless LAN Interfaces, page 19
Configuring Interface Card and Module Interfaces, page 19
Configuring a Loopback Interface, page 19
Routing Configuration
Configuring Command-Line Access, page 21
Configuring Static Routes, page 23
Configuring Dynamic Routes, page 25
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
13

Default Configuration

Default Configuration
When you boot up your Cisco router for the first time, you notice some basic configuration has already been performed. Use the show running-config command to view the initial configuration, as shown in the following example.
Router# show running-config Building configuration... Current configuration : 723 bytes ! version 12.4 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router ! boot-start-marker boot-end-marker ! logging message-counter syslog ! no aaa new-model ! no ipv6 cef ip source-route ip cef ! ! ! ! multilink bundle-name authenticated ! ! archive log config hidekeys ! ! ! ! ! interface GigabitEthernet0/0 no ip address shutdown duplex auto speed auto ! interface GigabitEthernet0/1 no ip address shutdown duplex auto speed auto ! interface GigabitEthernet0/2 no ip address shutdown duplex auto speed auto ! ip forward-protocol nd
Chapter Basic Router Configuration
14
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Basic Router Configuration
! no ip http server ! ! ! ! ! control-plane ! ! line con 0 line aux 0 line vty 0 3 login ! exception data-corruption buffer truncate scheduler allocate 20000 1000 end

Configuring Global Parameters

Configuring Global Parameters
SUMMARY STEPS
DETAILED STEPS
Step 1
Step 2
To configure the global parameters for your router, follow these steps.
1. configure terminal
2. hostname name
3. enable secret password
4. no ip domain-lookup
Command Purpose
configure terminal
Enters global configuration mode, when using the console port.
Example:
Router> enable Router# configure terminal Router(config)#
hostname name
Use the following to connect to the router with a remote terminal:
telnet router name or address Login: login id Password: ********* Router> enable
Specifies the name for the router.
Example:
Router(config)# hostname Router Router(config)#
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
15

Configuring I/O Memory Allocation

Command Purpose
Step 3
enable secret password
Example:
Router(config)# enable secret cr1ny5ho Router(config)#
Step 4
no ip domain-lookup
Example:
Router(config)# no ip domain-lookup Router(config)#
For complete information on global parameter commands, see the Cisco IOS Release configuration guide documentation set.
Configuring I/O Memory Allocation
Chapter Basic Router Configuration
Specifies an encrypted password to prevent unauthorized access to the router.
Disables the router from translating unfamiliar words (typos) into IP addresses.
Example
To reallocate the percentage of DRAM in use for I/O memory and processor memory on Cisco 3925E and Cisco 3945E routers, use the memory-size iomem i/o-memory-percentage command in global configuration mode. To revert to the default memory allocation, use the no form of this command. This procedure enables smartinit.
Syntax Description
i/o-memory-percentage The percentage of DRAM allocated to I/O memory. The values permitted
are 5, 10, 15, 20, 25, 30, 40, and 50. A minimum of 201 MB of memory is required for I/O memory.
Tip We recommend that you configure the memory-size iomem below 25%. Any value above 25% should be
used only for enhancing IPSec performance.
When you specify the percentage of I/O memory in the command line, the processor memory automatically acquires the remaining percentage of DRAM memory.
The following example allocates 25% of the DRAM memory to I/O memory and the remaining 75% to processor memory:
Router#config t Enter configuration commands, one per line. End with CNTL/Z. Router(config)# memory-size iomem 5 IO memory size too small: minimum IO memory size is 201M Router(config)# Router(config)# memory-size iomem ? <5-50> percentage of DRAM to use for I/O memory: 5, 10, 15, 20, 25, 30, 40, 50
16
Router(config)# memory-size iomem 25 Smart-init will be disabled and new I/O memory size will take effect upon reload. Router(config)# end
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Basic Router Configuration
Verifying IOMEM Setting
Router# show run Current configuration : 6590 bytes ! ! Last configuration change at 16:48:41 UTC Tue Feb 23 2010 ! version 15.1 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption service internal ! hostname Router1 ! ! no aaa new-model !
memory-size iomem 25
!

Interface Ports

Interface Ports
Table 1 lists the interfaces that are supported on Cisco 3900 series, Cisco 2900 series, and Cisco 1900
series integrated services routers.
Table 1 Interfaces by Cisco Router
Slots, Ports, Logical Interface, Interfaces 1941 2901
1
2911 & 2921 2951 & 3925 & 3945 3925E & 3945E
Onboard GE ports Gi0/0,Gi0/1 Gi0/0,Gi0/1 Gi0/0,Gi0/1,GI0/2 Gi0/0,Gi0/1,GI0/2 Gi0/0,Gi0/1,GI0/2,
GI0/3
Onboard WLAN Wlan-ap0 not supported not supported not supported not supported
Onboard WLAN GE connection to MGF
Onboard ISM GE interface on the PCIe
Onboard ISM GE connection to MGF
USB usbflash0,
Interfaces on HWIC and VWIC
Interfaces on Double Wide-HWIC
Interfaces on SM not supported not supported interface1/port interface1-2/port
Wlan-Gi0/0 not supported not supported not supported not supported
2
service-module
-name-ISM 0/0
service-module
-name-ISM 0/1
usbflash1
usbtoken0, usbtoken1
interface0/0/ port interface0/1/ port
interface0/1 port
service-module­name-ISM 0/0
service-module­name-ISM 0/1
usbflash0, usbflash1
usbtoken0, usbtoken1
interface0/0/port interface0/1/port interface0/2/port interface 0/3/port
interface0/1/port
interface0/3/port
service-module­name-ISM 0/0
service-module­name-ISM 0/1
usbflash0, usbflash1
usbtoken0, usbtoken1
interface0/0/port interface0/1/port interface0/2/port interface 0/3/port
interface0/1/port
interface0/3/port
service-module­name-ISM 0/0
service-module­name-ISM 0/1
usbflash0, usbflash1
usbtoken0, usbtoken1
interface0/0/port interface0/1/port interface0/2/port interface 0/3/port
interface0/1/port
interface0/3/port
interface1-4/port
not supported
not supported
usbflash0, usbflash1
usbtoken0, usbtoken1
<int>0/0/<port> <int>0/1/<port> <int>0/2/<port>
<int>0/1/<port>
3
interface1-2/port
4
interface1-4/port
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
17

Configuring Gigabit Ethernet Interfaces

Table 1 Interfaces by Cisco Router (continued)
Chapter Basic Router Configuration
Slots, Ports, Logical Interface, Interfaces 1941 2901
Interfaces on Double
not supported not supported not supported interface 2/port5
Wide-SM
Interfaces HWIC on
not supported not supported interface1wic-slot/
SM
Interfaces VWIC on SM
1. On the Cisco 2901 router, the numbering format for configuring an asynchronous interface is 0/slot/port. To configure the line associated with an asynchronous interface, simply use the interface number to specify the asynchronous line. For example, line 0/1/0 specifies the line associated with interface serial 0/1/0 on a WIC-2A/S in slot 1. Similarly, line 0/2/1 specifies the line associated with interface async 0/2/1 on a WIC-2AM in slot 2.
2. MGF = multi-gigabit fabric
3. Applies only to Cisco 2951, Cisco 3925, and Cisco 3925E routers.
4. Applies only to Cisco 3945 and Cisco 3945E routers.
5. Applies only to Cisco 2951, Cisco 3925, and Cisco 3925E routers.
6. Applies only to Cisco 3945 and Cisco 3945E routers.
7. Applies only to Cisco 2951, Cisco 3925, and Cisco 3925E routers.
8. Applies only to Cisco 3945 and Cisco 3945E routers.
1
2911 & 2921 2951 & 3925 & 3945 3925E & 3945E
interface 2/port
6
interface 4/port
interface1-2/wic-
7
slot/port interface1-4/wic-
8
slot/port
port
interface4/port
interface1-2/wic­slot/port
interface1-4/wic­slot/port
Configuring Gigabit Ethernet Interfaces
To manually define onboard Gigabit Ethernet (GE) interfaces, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
DETAILED STEPS
Step 1
Step 2
1. interface gigabitethernet slot/port
2. ip address ip-address mask
3. no shutdown
4. exit
Command Purpose
interface gigabitethernet slot/port
Enters the configuration mode for a Gigabit Ethernet interface on the router.
Example:
Router(config)# interface gigabitethernet 0/1 Router(config-if)#
ip address ip-address mask
Sets the IP address and subnet mask for the specified GE interface.
Example:
Router(config-if)# ip address 192.168.12.2
255.255.255.0 Router(config-if)#
18
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Basic Router Configuration
Command Purpose
Step 3
Step 4
no shutdown
Example:
Router(config-if)# no shutdown Router(config-if)#
exit
Example:
Router(config-if)# exit Router(config)#

Configuring Wireless LAN Interfaces

The wireless LAN interface on the Cisco 1941W router enables connection to the router through interface wlan-ap0. For more information about configuring a wireless connection, see the
“Configuring the Wireless Device” section on page 247.
Configuring Wireless LAN Interfaces
Enables the GE interface, changing its state from administratively down to administratively up.
Exits configuration mode for the GE interface and returns to global configuration mode.

Configuring Interface Card and Module Interfaces

To configure interface cards and modules inserted in internal services module (ISM), enhanced high-speed WAN interface card (EHWIC), Ethernet WAN interface card (EWIC), and service module (SM) slots, see the appropriate interface card or module configuration documents on Cisco.com.

Configuring a Loopback Interface

The loopback interface acts as a placeholder for the static IP address and provides default routing information.
For complete information on the loopback commands, see the Cisco IOS Release configuration guide documentation set.
To configure a loopback interface, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
1. interface type number
2. ip address ip-address mask
3. exit
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
19
Configuring a Loopback Interface
DETAILED STEPS
Step 1
Step 2
Step 3
Command Purpose
interface type number
Enters configuration mode for the loopback interface.
Example:
Router(config)# interface Loopback 0 Router(config-if)#
ip address ip-address mask
Sets the IP address and subnet mask for the loopback interface.
Example:
Router(config-if)# ip address 10.108.1.1
255.255.255.0 Router(config-if)#
exit
Exits configuration mode for the loopback interface and returns to global configuration
Example:
Router(config-if)# exit Router(config)#
mode.
Chapter Basic Router Configuration
Example
The loopback interface in this sample configuration is used to support Network Address Translation (NAT) on the virtual-template interface. This configuration example shows the loopback interface configured on the gigabit ethernet interface with an IP address of 200.200.100.1/24, which acts as a static IP address. The loopback interface points back to virtual-template1, which has a negotiated IP address.
! interface loopback 0 ip address 200.200.100.1 255.255.255.0 (static IP address) ip nat outside ! interface Virtual-Template1 ip unnumbered loopback0 no ip directed-broadcast ip nat outside !
Verifying Configuration
To verify that you have properly configured the loopback interface, enter the show interface loopback command. You should see verification output similar to the following example.
Router# show interface loopback 0 Loopback0 is up, line protocol is up Hardware is Loopback Internet address is 200.200.100.1/24 MTU 1514 bytes, BW 8000000 Kbit, DLY 5000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation LOOPBACK, loopback not set Last input never, output never, output hang never Last clearing of "show interface" counters never Queueing strategy: fifo Output queue 0/0, 0 drops; input queue 0/75, 0 drops
20
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Basic Router Configuration
5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort 0 packets output, 0 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out
Another way to verify the loopback interface is to ping it:
Router# ping 200.200.100.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

Configuring Command-Line Access

To configure parameters to control access to the router, follow these steps, beginning in global configuration mode.
Configuring Command-Line Access
Note The TTY lines are asynchronous lines used for inbound or outbound modem and terminal connections
SUMMARY STEPS
and can be seen in a router or access server configuration as line x. The specific line numbers are a function of the hardware built into or installed on the router or access server. In Cisco ISR G2 series routers, the TTY lines are incremented by 1 and start with line number3 instead of line number 2 in Cisco ISR G1 series routers. In ISR G2 series routers, line number 2 cannot be accessed since it has been used for the second core feature.TTY lines are not static and line numbers can be changed in future when more features are added similar to the second core.
1. line [aux | console | tty | vty] line-number
2. password password
3. login
4. exec-timeout minutes [seconds]
5. line [aux | console | tty | vty] line-number
6. password password
7. login
8. end
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
21
Configuring Command-Line Access
DETAILED STEPS
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
Command Purpose
line [aux | console | tty | vty] line-number
Enters line configuration mode, and specifies the type of line.
Example:
Router(config)# line console 0 Router(config-line)#
password password
This example specifies a console terminal for access.
Specifies a unique password for the console terminal line.
Example:
Router(config-line)# password 5dr4Hepw3 Router(config-line)#
login
Enables password checking at terminal session login.
Example:
Router(config-line)# login Router(config-line)#
exec-timeout minutes [seconds]
Sets the interval that the EXEC command interpreter waits until user input is detected. The
Example:
Router(config-line)# exec-timeout 5 30 Router(config-line)#
default is 10 minutes. Optionally, add seconds to the interval value.
This example shows a timeout of 5 minutes and 30 seconds. Entering a timeout of 0 0 specifies never to time out.
line [aux | console | tty | vty] line-number
Specifies a virtual terminal for remote console access.
Example:
Router(config-line)# line vty 0 4 Router(config-line)#
password password
Specifies a unique password for the virtual terminal line.
Example:
Router(config-line)# password aldf2ad1 Router(config-line)#
login
Enables password checking at the virtual terminal session login.
Example:
Router(config-line)# login Router(config-line)#
end
Exits line configuration mode, and returns to privileged EXEC mode.
Example:
Router(config-line)# end Router#
Chapter Basic Router Configuration
22
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Loading...
+ 378 hidden pages