Cisco 2600 Router Command Reference
Cisco 2600 Router Command Reference
Corporate 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 526-4100
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 UCBs 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. CCIP, the Cisco Powered Network mark, the Cisco Systems Verified logo, Cisco Unity, Fast Step, Follow Me Browsing, FormShare, Internet Quotient, iQ Breakthrough, iQ Expertise, iQ FastTrack, the iQ Logo, iQ Net Readiness Scorecard, Networking Academy, ScriptShare, SMARTnet, TransPath, and Voice LAN are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Discover All Thats Possible, The Fastest Way to Increase Your Internet Quotient, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, GigaStack, IOS, IP/TV, LightStream, MGX, MICA, the Networkers logo, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other countries. All other trademarks mentioned in this document or Web site 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. (0201R)
Software Configuration Guide for the Cisco 2600 series, Cisco 3600 Series, and Cisco 3700 Series Routers Copyright 2002, Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface
xi xi xi xii xii xiii
Related and Referenced Documents xiii To Access Online User Documentation (PDF and HTML Formats): xiv Access User Documentation on the Documentation CD-ROM (HTML format only): Obtaining Documentation xvi World Wide Web xvi Documentation CD-ROM xvii Ordering Documentation xvii Documentation Feedback xvii Obtaining Technical Assistance xvii Cisco.com xviii Technical Assistance Center xviii Contacting TAC by Using the Cisco TAC Website Contacting TAC by Telephone xviii
CHAPTER
xiv
xviii
Understanding Interface Numbering and Cisco IOS Software Basics 1-1 Understanding Interface Numbering 1-1 Cisco 2600 Series Interface Numbering 1-1 WAN and LAN Interface Numbering 1-2 Voice Interface Numbering in Cisco 2600 Series Routers 1-4 Cisco 3600 Series Interface Numbering 1-4 Cisco 3600 Series Router Slot Numbering 1-4 Cisco 3600 Series Router Unit Numbering 1-8 Cisco 3600 Series Routers Voice Interface Numbering 1-8 Cisco 3700 Series Interface Numbering 1-9 Cisco 3725 Router Slot Numbering 1-9 Cisco 3745 Router Slot Numbering 1-11 Cisco 3700 Series Routers Voice Interface Numbering 1-12
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
iii
Contents
Understanding Cisco IOS Software Basics 1-13 Getting Help 1-13 Understanding Command Modes 1-13 Undoing a Command or Feature 1-14 Saving Configuration Changes 1-15 Upgrading to a New Cisco IOS Release Where to Go Next
CHAPTER
1-15
1-15
Using the Setup Command Facility 2-1 Before Starting Your Router 2-1 Using the setup Command Facility Configuring Global Parameters
2-2 2-2
Configuring Interface Parameters 2-5 Ethernet Interface Configuration 2-6 FastEthernet Interface Configuration 2-6 Token Ring Interface Configuration 2-7 Serial Interface Configuration 2-7 Frame Relay Encapsulation 2-8 LAPB Encapsulation 2-8 X.25 Encapsulation 2-8 ATM-DXI Encapsulation 2-9 SMDS Encapsulation 2-9 Serial Cisco IOS Commands Generated 2-9 Asynchronous/Synchronous Serial Interface Configuration 2-9 Synchronous Configuration 2-9 Asynchronous Configuration 2-11 ISDN BRI Interface Configuration 2-12 ISDN BRI Line Configuration 2-15 ISDN BRI Provisioning by Switch Type 2-15 Defining ISDN Service Profile Identifiers 2-17 E1/T1 ISDN PRI Configuration 2-17 E1/T1 PRI Mode 2-17 E1 Channelized Mode 2-18 T1 Channelized Mode 2-20 1-Port, 4-Wire 56-kbps DSU/CSU Configuration Setup 2-22 Choosing Circuit-Switched or Dedicated-Line Service 2-22 Switched Mode 2-22 Dedicated Mode 2-23 Completing the Configuration
2-23
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
iv
OL-1957-04
Contents
Where to Go Next
CHAPTER
2-24
Configuring with the Command-Line Interface Configuring the Host Name and Password 3-2 Verifying the Host Name and Password 3-2 Configuring 1-Port and 2-Port Ethernet Interfaces Configuring Fast Ethernet Interfaces
3-4
3-1
3-3
Configuring Asynchronous/Synchronous Serial Network Modules or WAN Interface Cards Configuring 16-Port and 32-Port Asynchronous Network Modules Configuring ISDN BRI WAN Interface Cards 3-10 Configuring ISDN BRI Lines 3-12 ISDN BRI Provisioning by Switch Type 3-12 Defining ISDN Service Profile Identifiers 3-14 Configuring T1 and E1 Interfaces 3-14 Configuring T1 Interfaces 3-15 Configuring E1 Interfaces 3-16 Configuring TDM Connect (Data Pass-Through) Configuring Codec Complexity 3-17 Configuring T1 (FT1) WAN Interface Cards Default Configuration 3-18 Configuring ATM Interfaces 3-20 Configuring PVCs 3-20 Configuring SVCs 3-21 Configuring Inverse Multiplexing for ATM Interfaces Configuring the ATM T1/E1 Interface 3-23 Configuring the IMA Interface 3-24 Checking the IMA Configuration 3-26 Configuring Analog Modem Interfaces 3-26 Checking the Modem Configuration 3-28 Configuring Wireless Multipoint Interfaces Checking the Interface Configuration
3-29 3-28 3-22 3-18 3-9
3-5
3-16
Configuring 1-Port ADSL WAN Interface Card 3-29 Benefits 3-30 Restrictions 3-30 Prerequisites 3-31 Configuration Tasks 3-31 Configuring the ADSL Port on the ADSL WAN Interface Card Verifying ATM Configuration 3-32
3-31
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
Contents
Configuration Examples
3-33
Configuring the NM-AIC-64, Contact Closure Network Module 3-34 Serial Communication Channels 3-35 Serial Data Channel 3-35 Asynchronous Craft Port 3-36 Configuring the AIC 3-36 Configuration Tasks 3-37 Configuring the AIC 3-37 Accessing the AIC 3-40 Configuring the NOC IP Address 3-40 Configuring Alarms 3-41 Programming the Analog Contact Points 3-41 Programming the Discrete Contact Points 3-43 Verifying the IP Address 3-43 Troubleshooting Tips 3-45 Monitoring and Maintaining the NM-AIC-64 Contact Closure Network Module Software Upgrade 3-45 Configuration Backup 3-46 Override 3-46 Configuration Examples 3-46 Configuring the 1-Port HSSI Network Module 3-46 Configuration Tasks 3-47 Specify a HSSI 3-47 Specify HSSI Encapsulation 3-47 Invoke ATM on a HSSI Line 3-47 Convert HSSI to Clock Master 3-48 Disable Fair Queueing 3-48 Configuration Examples 3-48 Configuring the Compression Network Module for the Cisco 3600 Series Routers 3-49 Configuration Task 3-49 Configuration Example 3-50 Configuring the Digital Modem Network Module for the Cisco 3640 Router 3-50 Prerequisites 3-50 Configuration Tasks 3-51 Configure the E1/T1 Network Module for ISDN PRI 3-51 Configure Channelized E1 ISDN PRI 3-51 Configure Channelized T1 ISDN PRI 3-52 Configure the ISDN D-Channel Serial Interfaces 3-53
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-45
vi
OL-1957-04
Contents
Configure the ISDN D-Channel Serial Interface for E1 Modules Configure the ISDN D-Channel Serial Interface for T1 Modules Configure the Loopback Interface 3-54 Configure the LAN Interface 3-55 Create the Group Asynchronous Interface 3-55 Configure the ISDN Dialer Interface 3-56 Configure the Default IP Pool Information 3-57 Configure Modem Lines for Dial-In and Dial-Out 3-57 Configure the Modem for Dial-In 3-57 Configure the Modem for Dial-Out 3-57 Configuration Example 3-58 Configuring 1-Port G.SHDSL WAN Interface Card 3-58 Restrictions 3-59 Prerequisites 3-59 Configuration Tasks 3-59 Configuring G.SHDSL on a Cisco Router 3-60 Configuring ILMI on the DSLAM Connected to the ADSL WAN Verifying ATM Configuration 3-62 Configuration Examples 3-64 Saving Configuration Changes Where to Go Next
CHAPTER
3-53 3-54
3-62
3-64
3-64
4-1 4-2
Voice-over-IP Configuration Examples 4-3 FXS-to-FXS Connection Using RSVP 4-4 Configuration for Router RLB-1 4-4 Configuration for Router RLB-w 4-5 Configuration for Router R12-e 4-5 Configuration for Router RLB-2 4-5 Linking PBX Users with E&M Trunk Lines 4-6 Router SJ Configuration 4-7 Router SLC Configuration 4-7 PSTN Gateway Access Using FXO Connection 4-8 Router SJ Configuration 4-8 Router SLC Configuration 4-9 PSTN Gateway Access Using FXO Connection (PLAR Mode) Router SJ Configuration 4-9
4-9
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
vii
Contents
Router SLC Configuration 4-10 Configuring Direct-Inward Dialing on a BRI Port Router 1 Configuration 4-11 Router 2 Configuration 4-11 Router 3 Configuration 4-11 Where to Go Next
APPENDIX
4-10
4-11
Configuration Examples
A-1 A-1
Cisco 2600 Series Router Configuration Example Cisco 3631 Router Configuration Example Cisco 3725 Router Configuration Example
A-6 A-10
1-Port ADSL WAN Interface Card Configuration Examples A-12 VoATM over AAL2 on the ATM Interface Configuration Example VoATM over AAL5 on the ATM Interface Configuration Example
A-12 A-14
NM-AIC-64, Contact Closure NetworkConfiguration Examples A-16 AIC IP Address Configuration Example A-16 IP Route to the AIC Configuration Examples A-20 With an Unnumbered IP Address A-20 Without an Unnumbered IP Address A-21 AIC CLI Configuration for Alarms A-22 Discrete Alarm A-22 Analog Alarm Monitoring Current A-22 Analog Alarm Monitoring Current Configured as a Discrete A-22 Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls Configuration in CPE Mode Example A-25 Configuration in CO Mode Example A-27
APPENDIX
A-23
B-1
Formatting Procedures for Compact Flash Memory Cards B-1 Formatting Procedures B-1 Determining the File System on a Compact Flash Memory Card B-1 Formatting Compact Flash Memory as a Class B Flash File System B-3 Formatting Compact Flash Memory as a Class C File System B-4 File and Directory Operations B-4 Operations for Use With Class B Flash File System B-4 Operations for Use with Class C Flash File System B-7 File Operations for Class C Flash File System B-7 Directory Operations for Class C Flash File System B-10
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
viii
OL-1957-04
Contents
B-12
APPENDIX
C-1
Entering the ROM Monitor Mode C-1 Configure C-1 Verify C-1 ROM Monitor Commands C-2 ROM Monitor Syntax Conventions C-3 Command Descriptions C-3 Debugging Commands C-5 Configuration Register Commands C-5 Using the show rom-monitor Command C-6 Using the upgrade rom-monitor Command C-7 Procedures for Recovering Boot and System Images Using the xmodem Command C-8 Using the tftpdnld Command C-9
INDEX
C-8
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
ix
Contents
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
Preface
This preface discusses the objectives, audience, organization, and conventions of this software configuration guide, and where to get the latest version of this guide.
Objectives
After installing the router, use this guide to complete a basic router configuration using the setup command facility. It also contains information on using the Cisco IOS software to perform other configuration tasks, such as configuring a Voice-over-IP interface and other features. This guide does not provide complete configuration instructions. Refer to the Cisco IOS configuration guides and command references for detailed configuration instructions. These publications are available on the Documentation CD-ROM that came with your router and on Cisco.com. See the Obtaining Documentation section on page xvi for more information.
Audience
This publication is designed for the person who will be responsible for configuring your router. This guide is intended primarily for the following audiences:
Customers with technical networking background and experience System administrators who are familiar with the fundamentals of router-based internetworking, but who might not be familiar with Cisco IOS software System administrators who are responsible for installing and configuring internetworking equipment, and who are familiar with Cisco IOS software
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
xi
Preface Organization
Organization
The major sections of this software configuration guide include: Chapter Chapter 1 Title Understanding Interface Numbering and Cisco IOS Software Basics Using the Setup Command Facility Configuring with the Command-Line Interface Description Provides an overview of the interface numbering conventions for the Cisco routers. Also provides a basic understanding of the Cisco IOS software. Describes how to use the setup command facility to configure your router. Describes how to use the Cisco IOS software command-line interface (CLI) to configure basic router functionality.
Chapter 2 Chapter 3
Chapter 4
Configuring Voice-over-IP Describes how to configure voice network modules with recEive and transMit (E&M), Foreign Exchange Office (FXO), and Foreign Exchange Station (FXS) interfaces for your router. Configuration Examples Provides configuration examples of the Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
Appendix A Appendix B
Appendix B, Formatting Provides configuration information for the Cisco Flash the Compact Flash Memory memory. Cards Appendix C, Using the ROM Monitor Describer how the ROM Monitor works in the Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
Appendix C
Document Conventions
This publication uses the following conventions to convey instructions and information: Convention boldface font italic font [ ] {x | y | z}
screen font
Description Commands and keywords. Variables for which you supply values. Keywords or arguments that appear within square brackets are optional. A choice of required keywords appears in braces separated by vertical bars. You must select one. Examples of information displayed on the screen. Examples of information you must enter. Nonprinting characters, for example passwords, appear in angle brackets in contexts where italic font is not available. Default responses to system prompts appear in square brackets.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
xii
OL-1957-04
Note
This symbol means reader take note. Notes contain helpful suggestions or references to additional information and material.
Timesaver
This symbol means the described action saves time. You can save time by performing the action described in the paragraph.
Caution
This symbol means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data.
Tip
This symbol means the following information will help you solve a problem. The tips information might not be troubleshooting or even an action, but could be useful information, similar to a Timesaver.
Additional Information
This guide does not contain the following:
Network design information Application case studies Troubleshooting information A comprehensive reference to access services
For l information about any of the above topics, refer to the following resources:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
xiii
To navigate up to the next higher level in the documentation hierarchy, click on CONTENTS in the navigation bar at the top of each page.
Table 1
Document Title
Cisco 2600 Series Routers Hardware Installation Guide Cisco 2600 Series Modular Routers Quick Access Guide Cisco Network Modules Hardware Installation Guide Cisco WAN Interface Cards Hardware Installation Guide Regulatory Compliance and Safety Information Cisco 3600 Series Routers Hardware Installation Guide Cisco 3620 and Cisco 3640 Modular Access Routers Quick Start Guide Cisco 3660 Modular Access Router Quick Start Guide Cisco Network Modules Hardware Installation Guide Cisco WAN Interface Cards Hardware Installation Guide Cisco RPS Hardware Installation Guide Regulatory Compliance and Safety Information
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
xiv
OL-1957-04
Table 1
Document Title
Cisco 3700 Series Routers Hardware Installation Guide Cisco 3725 and Cisco 3745 Modular Access Routers Quick Start Guide Cisco Network Modules Hardware Installation Guide Cisco WAN Interface Cards Hardware Installation Guide Regulatory Compliance and Safety Information Cisco IOS Configuration Fundamentals Configuration Guide Cisco IOS Configuration Fundamentals Command Reference Cisco IOS Dial Technologies Configuration Guide Cisco IOS Wide-Area Networking Configuration Guide Cisco IOS IP Configuration Guide Release 12.2 Cisco IOS Wide-Area Networking Command Reference Debug Command Reference System Error Messages Cisco IOS Software Command Summary Cisco IOS Release notes for your release
Refer to the modular reference publication that corresponds to the Cisco IOS software release installed on your server.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
xv
Table 1
Document Title
Information about TL1 commands can be found in the Telcordia Technology (formerly Bellcore) document Network Maintenance: Network Element and Transport Surveillance Messages, GR-833-CORE, Issue 5, November 1996. For a reference of security-related commands (ACT-USER and CANC-USER) refer to Telcordia Technologys Operations Applications Messages-Network Element and Network System Security Admin Messages, TR-NWT-000835, Issue 2, January 1993. Information about the PRI network module, refer to the 1-Port and 2-Port ISDN-PRI Network Module Configuration Note. For information on how to install an Ethernet module, refer to the 1-Port Ethernet Network Module Configuration Note or the 4-Port Ethernet Network Module Configuration Note. For information on how to correctly install and configure the Digital Network module and the PRI module, refer to the Digital Modem Network Module Configuration Note. To configure the router for voice traffic, refer to the Voice over IP Configuration document To configure DLAMs, refer to the Configuration Guide for DSLAs with NI-2.
Obtaining Documentation
The following sections provide sources for obtaining documentation from Cisco Systems.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
xvi
OL-1957-04
Documentation CD-ROM
Cisco documentation and additional literature are available in a CD-ROM package, which ships with your product. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or as an annual subscription.
Ordering Documentation
Cisco documentation is available in the following ways:
Registered Cisco Direct Customers can order Cisco Product documentation from the Networking Products MarketPlace: http://www.cisco.com/cgi-bin/order/order_root.pl
Registered Cisco.com users can order the Documentation CD-ROM through the online Subscription Store: http://www.cisco.com/go/subscription
Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco corporate headquarters (California, USA) at 408 526-7208 or, in North America, by calling 800 553-NETS(6387).
Documentation Feedback
If you are reading Cisco product documentation on the World Wide Web, you can submit technical comments electronically. Click Feedback in the toolbar and select Documentation. After you complete the form, click Submit to send it to Cisco. You can e-mail your comments to [email protected]. To submit your comments by mail, for your convenience many documents contain a response card behind the front cover. Otherwise, you can mail your comments to the following address: Cisco Systems, Inc. Document Resource Connection 170 West Tasman Drive San Jose, CA 95134-9883 We appreciate your comments.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
xvii
Cisco.com
Cisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information and resources at anytime, from anywhere in the world. This highly integrated Internet application is a powerful, easy-to-use tool for doing business with Cisco. Cisco.com provides a broad range of features and services to help customers and partners streamline business processes and improve productivity. Through Cisco.com, you can find information about Cisco and our networking solutions, services, and programs. In addition, you can resolve technical issues with online technical support, download and test software packages, and order Cisco learning materials and merchandise. Valuable online skill assessment, training, and certification programs are also available. Customers and partners can self-register on Cisco.com to obtain additional personalized information and services. Registered users can order products, check on the status of an order, access technical support, and view benefits specific to their relationships with Cisco. To access Cisco.com, go to the following website: http://www.cisco.com
P3Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue. P4You need information or assistance on Cisco product capabilities, product installation, or basic product configuration.
In each of the above cases, use the Cisco TAC website to quickly find answers to your questions. To register for Cisco.com, go to the following website: http://www.cisco.com/register/ If you cannot resolve your technical issue by using the TAC online resources, Cisco.com registered users can open a case online by using the TAC Case Open tool at the following website: http://www.cisco.com/tac/caseopen
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
xviii
OL-1957-04
P1Your production network is down, causing a critical impact to business operations if service is not restored quickly. No workaround is available. P2Your production network is severely degraded, affecting significant aspects of your business operations. No workaround is available.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
xix
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
xx
OL-1957-04
C H A P T E R
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-1
Table 1-1
Router Models
Model Cisco 2610 Cisco 2610XM Cisco 2611 Cisco 2611XM Cisco 2612 Cisco 2613 Cisco 2620 Cisco 2620XM Cisco 2621 Cisco 2621XM Cisco 2650 Cisco 2650XM Cisco 2651 Cisco 2651XM Cisco 2691
Ethernet (10BASE-T) 1
Token-Ring (RJ-45)
1 1
Note
Built-in LAN interfaces: Ethernet, FastEthernet, Token Ring Two or three slots in which you can install WAN interface cards (WICs) One slot in which you can install a network module
The slot number is 0 for all built-in interfaces and 0 for all WIC interfaces; the slot number is 1 for network module interfaces.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-2
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Interface Numbering
Interface (port) numbers begin at 0 for each interface type, and continue from right to left and (if necessary) from bottom to top. Figure 1-1 below shows a router of 1 RU height with:
A WIC in each WIC slot (containing interface Serial 0/0 in physical slot W0, and interface Serial 0/1 in physical slot W1) A 4-serial-port network module in slot 1 (containing the following ports: Serial 1/0, Serial 1/1, Serial 1/2, and Serial 1/3) First built-in Ethernet interfaceEthernet 0/0 Second built-in Ethernet interfaceEthernet 0/1, or optionally in Cisco 2612 and Cisco 2613 only: Token Ring interface 0/0
Example of 1RU Router
Figure 1-1
A WIC in each WIC slot (containing interfaces Serial 0/0 and Serial 0/1 in physical slot W0, interface Serial 0/2 in physical slot W1, and interface BRI 0/0 in physical slot W2) A 2-port T1 network module in slot 1 (containing the following ports: T1 1/0 and T1 1/1) Two built-in Ethernet 10/100 interfacesFastEthernet 0/0 and FastEthernet 0/1
Example of a 2RU Router
Figure 1-2
Note
The slot number for all WIC interfaces is always 0. (The W0 and W1 slot designations are for physical slot identification only.) Interfaces in the WICs are numbered from right to left, starting with 0/0 for each interface type, regardless of which physical slot the WICs are installed in. Some examples are:
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-3
If physical slot W0 is empty and physical slot W1 contains a 1-port serial WIC, the interface
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered Serial 0/2.
If slot W0 contains a 2-port serial WIC and slot W1 contains a 1-port BRI WIC, the interfaces
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered BRI 0/0.
1/0/0Chassis slot 1/Voice module slot 0/Voice interface 0 1/0/1Chassis slot 1/Voice module slot 0/Voice interface 1 1/1/0Chassis slot 1/Voice module slot 1/Voice interface 0 1/1/1Chassis slot 1/Voice module slot 1/Voice interface 1
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-4
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Interface Numbering
Figure 1-3
Figure 1-4
Figure 1-5
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-5
Figure 1-6
For the Cisco 3660 router (see Figure 1-3), the slots are numbered as follows:
Slot 0 contains fixed FastEthernet ports and is located at the top of the chassis. Slot 1 is at the bottom right (as viewed from the rear of the chassis), near the power supply. Slot 2 is at the bottom left. Slot 3 is at the right, above slot 1. Slot 4 is at the left, above slot 2 Slot 5 is at the right, above slot 3. Slot 6 is at the left, above slot 4.
For the Cisco 3620 and Cisco 3640 routers shown in Figure 1-4 and Figure 1-5, the slots are numbered as follows:
Slot 0 is at the bottom right (as viewed from the rear of the chassis), near the power supply. Slot 1 is at the bottom left. Slot 2 is at the top right, above slot 0. Slot 3 is at the top left, above slot 1.
For the Cisco 3631 router shown in Figure 1-6, the slots are numbered as follows:
Slot 0 for all built-in interfaces like the FastEthernet port at the bottom center near the Console/AUX ports Slot 0 for all WAN interface card (WIC) interfaces Slot 1 for network module interfaces at the bottom left. Slot 2 for network module interfaces at the top left, above slot 1.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-6
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Interface Numbering
Figure 1-7
Figure 1-7 shows an example of the interface numbering where the following interfaces are installed:
A WIC in each WIC slot (containing interfaces serial 0/0 and serial 0/1 in physical slot W0, and interface serial 0/2 in physical slot W1) A 32-port asynchronous network module in slot 1 (containing interfaces serial 1/0 through serial 1/31) An alarm interface controller network module in slot 2 (internally connected to interface serial 2/0) One built-in Ethernet 10/100 interfaceFastEthernet 0/0
Note
The logical slot number for all WIC interfaces is always 0. (The W0 and W1 slot designations are for physical slot identification only.) Interfaces in the WICs are numbered from right to left, starting with 0/0 for each interface type, regardless of which physical slot the WICs are installed in. Some examples are:
If physical slot W0 is empty and physical slot W1 contains a 1-port serial WIC, then the logical
the logical interfaces in physical slot W0 are numbered serial 0/0 and serial 0/1 and the logical interface in physical slot W1 is numbered Serial 0/2.
If physical slot W0 contains a 2-port serial WIC and slot W1 contains a 1-port BRI WIC, then
the logical interfaces in physical slot W0 are numbered serial 0/0 and serial 0/1, and the logical interface in physical slot W1 is numbered BRI 0/0. Some modules have two small slots, labeled W0 and W1, for WAN interface cards. For example, Figure 1-8 shows the W0 and W1 slots of the 2 Ethernet 2 WAN card slot (2E 2-slot) module. You can install WAN interface cards into the small module slots (W0 and W1). Integrated Services Digital Network (ISDN) Basic Rate Interface (BRI) WAN interface cards are keyed so that you can install them into slot W1 only. Serial WAN interface cards can be installed into either slot, W0 or W1.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-7
Figure 1-8
In the Cisco 3660 router, the fixed FastEthernet ports are located in chassis slot 0, and are identified by: interface type chassis slot/ unit number For example: FastEthernet 0/0 Figure 1-9 shows a router with a 2E 2-slot module in slots 0 and 1. Two serial WAN interface cards are installed in the module in slot 0. One serial and one ISDN BRI WAN interface card are installed in the module in slot 1. As shown in Figure 1-9, the unit numbers are as follows:
Slot 0, Ethernet interface 0, referred to as Ethernet 0/0 Slot 0, Ethernet interface 1, referred to as Ethernet 0/1 Slot 0, serial interface 0, referred to as serial 0/0 Slot 0, serial interface 1, referred to as serial 0/1 Slot 1, Ethernet interface 0, referred to as Ethernet 1/0 Slot 1, Ethernet interface 1, referred to as Ethernet 1/1 Slot 1, serial interface 0, referred to as serial 1/0 Slot 1, BRI interface 0, referred to as BRI 1/0
Note
The 2E 2-slot module described in this example provides both an attachment unit interface (AUI) and 10BASE-T port. Only one of these ports can be used at a time. The module automatically detects which port, AUI or 10BASE-T, is in use.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-8
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Interface Numbering
If you have a 4-channel voice network module installed in slot 1 of your router, the voice interfaces will be:
Slot 1, voice network module slot 0, voice interface 0, referred to as voice 1/0/0 (closest to chassis slot 0) Slot 1, voice network module slot 0, voice interface 1, referred to as voice 1/0/1 Slot 1, voice network module slot 1, voice interface 0, referred to as voice 1/1/0 Slot 1, voice network module slot 1, voice interface 1, referred to as voice 1/1/1 (farthest from chassis slot 0)
Cisco 3600 Series Unit Numbers
Figure 1-9
Two built-in FastEthernet LAN interfaces Three slots in which you can install WAN interface cards (WICs) One single-width slot (slot 1) in which you can install one network module One double-width slot (slot 2) in which you can install one single-width or double-width network module
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-9
1 for interfaces in the single-width network module slot 2 for interfaces in the double-width network module slot
Interface (port) numbers begin at 0 for each interface type, and continue from right to left and (if necessary) from bottom to top. Figure 1-10 below shows an example of interface numbering on a Cisco 3725 router with:
A WIC in each WIC slot (containing interfaces Serial 0/0 and Serial 0/1 in physical slot W0, interface Serial 0/2 in physical slot W1, and interface BRI 0/0 in physical slot W2) A 2-port T1 network module in slot 1 (containing the following ports: T1 1/0 and T1 1/1) A 36-port Etherswitch network module in slot 2 (containing the following ports: FastEthernet 2/0 through 2/35, and GigabitEthernet 2/0 and 2/1) Two built-in Ethernet 10/100 interfacesFastEthernet 0/0 and FastEthernet 0/1
Note
The slot number for all WIC interfaces is always 0. (The W0 and W1 slot designations are for physical slot identification only.) Interfaces in the WICs are numbered from right to left, starting with 0/0 for each interface type, regardless of which physical slot the WICs are installed in. Some examples are:
If physical slot W0 is empty and physical slot W1 contains a 1-port serial WIC, the interface in
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered Serial 0/2.
If slot W0 contains a 2-port serial WIC and slot W1 contains a 1-port BRI WIC, the interfaces
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered BRI 0/0.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-10
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Interface Numbering
3 slots in which you can install WAN or voice interface cards 4 network module slots.
0 for all built-in interfaces 0 for all WIC interfaces 1 for the lower right network module slot 2 for the lower left network module slot 3 for the upper right network module slot 4 for the upper left network module slot
If double-wide network modules are installed, the slot numbers are as follows:
2 for the lower double-wide slot 4 for the upper double-wide slot
Interface (port) numbers begin at 0 for each interface type, and continue from right to left and (if necessary) from bottom to top. Figure 1-11 shows the rear panel of the Cisco 3745 with:
A WIC in each of the three WAN interface card slots A single-width network module in each of the four network module slots Two AC power supplies
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-11
1 2 3 4 5
Interface card slots Network modules Power supply Fast Ethernet 0/0 port Fast Ethernet 0/1 port
6 7 8 9
Cisco 3700 compact Flash slot Auxiliary port Console port Power supply
10 Network modules
Note
The slot number for all WIC interfaces is always 0. (The W0, W1, and W2 slot designations are for physical slot identification only.) Interfaces in the WICs are numbered from right to left, starting with 0/0 for each interface type, regardless of which physical slot the WICs are installed in. Some examples are:
If physical slot W0 is empty and physical slot W1 contains a 1-port serial WIC, the interface in
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered Serial 0/2.
If slot W0 contains a 2-port serial WIC and slot W1 contains a 1-port BRI WIC, the interfaces
in physical slot W0 are numbered Serial 0/0 and Serial 0/1, and the interface in physical slot W1 is numbered BRI 0/0.
If a 4-channel voice network module is installed in chassis slot 1, the voice interfaces are:
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-12
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Understanding Cisco IOS Software Basics
1/0/1Chassis slot 1/Voice module slot 0/Voice interface 1 1/1/0Chassis slot 1/Voice module slot 1/Voice interface 0 1/1/1Chassis slot 1/Voice module slot 1/Voice interface 1
Getting Help, page 1-13 Understanding Command Modes, page 1-13 Undoing a Command or Feature, page 1-14 Saving Configuration Changes, page 1-15 Where to Go Next, page 1-15
Understanding these concepts will save time as you begin to use the CLI. If you have never used the Cisco IOS software or need a refresher, take a few minutes to read this chapter before you proceed to the next chapter. If you are already familiar with Cisco IOS software, proceed to Chapter 2, Using the Setup Command Facility.
Getting Help
Use the question mark (?) and arrow keys to help you enter commands:
To complete a command, enter a few known characters followed by a question mark (with no space):
Router> s?
For a list of command variables, enter the command followed by a space and a question mark:
Router> show ?
To redisplay a command you previously entered, press the up arrow key. You can continue to press the up arrow key for more commands.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-13
Table 1-2
Access Method Log in. From user EXEC mode, enter the enable command. From the privileged EXEC mode, enter the configure terminal command. From the global configuration mode, enter the interface type number command, such as interface serial 0/0.
Exit Method Use the logout command. To exit to user EXEC mode, use the disable, exit, or logout command. To exit to privileged EXEC mode, use the exit or end command, or press Ctrl-z. To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-z.
Router#
Global configuration
Router (config)#
Interface configuration
Router (config-if)#
Timesaver
Each command mode restricts you to a subset of commands. If you are having trouble entering a command, check the prompt, and enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax. In the following example, notice how the prompt changes after each command to indicate a new command mode:
Router> enable Password: <enable password> Router# configure terminal Router(config)# interface serial 0/0 Router(config-if)# line 0 Router(config-line)# controller t1 0 Router(config-controller)# exit Router(config)# exit Router# %SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press Return to get the Router# prompt.
Note
You can press Ctrl-z in any mode to immediately return to enable mode ( Router#), instead of entering exit, which returns you to the previous mode.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-14
OL-1957-04
Chapter 1
Understanding Interface Numbering and Cisco IOS Software Basics Upgrading to a New Cisco IOS Release
It might take a minute or two to save the configuration to NVRAM. After the configuration has been saved, the following appears:
[OK] Router#
Where to Go Next
Now that you have learned some Cisco IOS software basics, you can begin to configure the router using the CLI. Remember that:
You can use the question mark (?) and arrow keys to help you enter commands. Each command mode restricts you to a set of commands. If you have difficulty entering a command, check the prompt and then enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax. To disable a feature, enter the keyword no before the command; for example, no ip routing. You need to save your configuration changes to NVRAM so the changes are not lost if there is a system reload or power outage.
Proceed to Chapter 2, Using the Setup Command Facility, to begin configuring the router.
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
1-15
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
1-16
OL-1957-04
C H A P T E R
Before Starting Your Router, page 2-1 Using the setup Command Facility, page 2-2 Configuring Global Parameters, page 2-2 Configuring Interface Parameters, page 2-5 Completing the Configuration, page 2-23 Where to Go Next, page 2-24
If you prefer to configure the router manually or you wish to configure a module or interface that is not included in the setup command facility, proceed to Chapter 3, Configuring with the Command-Line Interface, for step-by-step instructions.
Set up the hardware as described in the documentation appropriate to your router. Configure your PC terminal emulation program for 9600 baud, 8 data bits, no parity, and 1 stop bit. Determine which network protocols you are supporting (for example, AppleTalk, IP, Novell IPX, and so on). Determine the following for each network protocol:
Addressing plan Which WAN protocols you will run on each interface (for example, Frame Relay, HDLC, X.25, and so on)
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-1
Complete the steps in the Configuring Global Parameters section on page 2-2. Complete the steps in the Configuring Interface Parameters section on page 2-5 that apply to your router and network. Complete the steps in the Completing the Configuration section on page 2-23.
Note
If you make a mistake while using the setup command facility, you can exit and run the facility again. Press Ctrl-c, and type setup at the enable mode prompt ( 2600#).
Power on the router. The power switch is on the rear panel of the router, at the lower right corner, near the power cord. Messages will begin to appear in your terminal emulation program window.
Caution
Do not press any keys on the keyboard until the messages stop. Any keys pressed during this time are interpreted as the first command typed when the messages stop, which might cause the router to power off and start over. It takes a few minutes for the messages to stop. The messages look similar to the following:
Note
The messages vary, depending on the Cisco IOS software release, interface modules in place in your router, and feature set you select. The screen displays in this section are for reference only and might not exactly reflect the messages on your console.
System Bootstrap, Version 11.3(1)XA, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1) Copyright (c) 1998 by cisco Systems, Inc. C2600 platform with 32768 Kbytes of main memory rommon 1 b f program load complete, entry point: 0x80008000, size: 0xef4e0 Self decompressing the image : ############################################### [OK] Notice: NVRAM invalid, possibly due to write erase. program load complete, entry point: 0x80008000, size: 0x415b20 Self decompressing the image : ########################################################################################## ########################################################################################## ########################################################################################## ###############[OK]
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-2
OL-1957-04
Chapter 2
Use, duplication, or disclosure by the Government is subject to restrictions as set forth in subparagraph (c) of the Commercial Computer Software - Restricted Rights clause at FAR sec. 52.227-19 and subparagraph (c) (1) (ii) of the Rights in Technical Data and Computer Software clause at DFARS sec. 252.227-7013. Cisco Systems, Inc. 170 West Tasman Drive San Jose, California 95134-1706
Cisco Internetwork Operating System Software IOS (tm) C2600 Software (C2600-JS-M), Version 11.3(2)XA, PLATFORM SPECIFIC RELEASE SOFTWARE (fc1) Copyright (c) 1986-1998 by cisco Systems, Inc. Compiled Tue 10-Mar-98 14:18 by rnapier Image text-base: 0x80008084, data-base: 0x809CD49C cisco 2611 (MPC860) processor (revision 0x100) with 24576K/8192K bytes of memory. Processor board ID 04614954 M860 processor, part number 0 mask 32 Bridging software. X.25 software, Version 3.0.0. 2 Ethernet/IEEE 802.3 interface(s) 3 Serial network interface(s) 32 terminal line(s) DRAM configuration parity is disabled. 32K bytes of non-volatile configuration memory. 8192K bytes of processor board System flash (Read/Write) --- System Configuration Dialog --At any point you may enter a question mark '?' for help. Use ctrl-c to abort configuration dialog at any prompt. Default settings are in square brackets '[]'.
Step 2
When the following message appears, enter yes to begin the initial configuration dialog:
Would you like to enter the initial configuration dialog? [yes/no]:
Note
If you answer no to this message, you are prompted to terminate AutoInstall. AutoInstall is a procedure that configures a new router based on the configuration of an existing router. If you terminate AutoInstall, you enter the Cisco IOS software CLI.
Note
The interface numbering that appears in the next step is dependent on the type of Cisco modular router platform. This example shows a Cisco 2600 series router.
Step 3
When the following message appears, press Return to see the current interface summary:
First, would you like to see the current interface summary? [yes]: Any interface listed with OK? value NO does not have a valid configuration Interface Ethernet0/0 Serial0/0 BRI0/0 IP-Address unassigned unassigned unassigned OK? NO NO NO Method unset unset unset Status up up up Protocol up down up
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-3
Serial0/1 Serial0/2
unassigned unassigned
NO NO
unset unset
up up
down down
Step 4
Enter a host name for the router (this example uses 2600):
Configuring global parameters: Enter host name [Router]: 2600 The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration.
Step 5
Enter an enable secret password. This password is encrypted (more secure) and cannot be seen when viewing the configuration:
Enter enable secret: xxxx The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images.
Step 6
Enter an enable password that is different from the enable secret password. This password is not encrypted (less secure) and can be seen when viewing the configuration:
Enter enable password: guessme The virtual terminal password is used to protect access to the router over a network interface.
Step 7
Enter the virtual terminal password, which prevents unauthenticated access to the router through ports other than the console port:
Enter virtual terminal password: guessagain
Step 8
Note
Step 9
Configure the ISDN switch type used by the Basic Rate Interface (BRI) module:
BRI interface needs isdn switch-type to be configured Valid switch types are : [0] none..........Only if you don't want to configure BRI. [1] basic-1tr6....1TR6 switch type for Germany [2] basic-5ess....AT&T 5ESS switch type for the US/Canada [3] basic-dms100..Northern DMS-100 switch type for US/Canada [4] basic-net3....NET3 switch type for UK and Europe [5] basic-ni......National ISDN switch type
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-4
OL-1957-04
Chapter 2
[6] basic-ts013...TS013 switch type for Australia [7] ntt...........NTT switch type for Japan [8] vn3...........VN3 and VN4 switch types for France Choose ISDN BRI Switch Type [2]:
Step 10
Configure the asynchronous serial lines for the integrated modems on the modules installed in the router. (If you want to allow users to dial in through the integrated modems, you must configure the asynchronous lines.)
Async lines accept incoming modems calls. If you will have users dialing in via modems, configure these lines. Configure Async lines? [yes]: Async line speed [115200]:
Note
Note
If your asynchronous interfaces will be using the same basic configuration parameters, Cisco recommends answering yes to the next prompt. That way, you group the modems so that they can be configured as a group. Otherwise, you will need to configure each interface separately.
Would you like to put all async interfaces in a group and configure them all at one time? [yes]: Allow dial-in users to choose a static IP addresses? [no]: Configure for TCP header compression? [yes]: Configure for routing updates on async links? [no]: Enter the starting address of IP local pool? [X.X.X.X]: 172.20.30.40
Note
Make sure the starting and ending addresses of the IP pool are in the same subnet.
Enter the ending address of IP local pool? [X.X.X.X]: 172.20.30.88
You can configure a test user to verify that your dial-up service is working properly What is the username of the test user? [user]: What is the password of the test user? [passwd]: Will you be using the modems for outbound dialing? [no]: Configuring interface parameters:
Ethernet Interface Configuration, page 2-6 FastEthernet Interface Configuration, page 2-6 Token Ring Interface Configuration, page 2-7
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
OL-1957-04
2-5
Serial Interface Configuration, page 2-7 Asynchronous/Synchronous Serial Interface Configuration, page 2-9 ISDN BRI Interface Configuration, page 2-12 E1/T1 ISDN PRI Configuration, page 2-17
E1/T1 PRI Mode, page 2-17 E1 Channelized Mode, page 2-18 T1 Channelized Mode, page 2-20
When you complete the setup steps for your interface modules, go to the Completing the Configuration section on page 2-23 for directions on saving your configuration.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-6
OL-1957-04
Chapter 2
Note
The following sections describe the prompts for each encapsulation type. For PPP and HDLC encapsulation, no further configuration is needed.
No serial cable seen. Choose mode from (dce/dte) [dte]:
Note
If no cable is plugged in to your router, you need to indicate whether the interface is to be used as DTE or DCE. If a cable is present, the setup command facility determines the DTE/DCE status. If the serial cable is DCE, you see the following prompt:
Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 Choose clock rate from above: [2000000]: Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8 Configure IPX on this interface? [no]: yes IPX network number [8]:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-7
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]: Do you want to map a remote machines IP address to dlci? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map a remote machines IPX address to dlci? [yes]: IPX address for the remote interface: 40.1234.5678 Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 choose speed from above: [2000000]: 1200 Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode. Choose either from (dce/dte) [dte]:
X.25 Encapsulation
x25 circuit can be either in dce/dte mode. Choose from either dce/dte [dte]: Enter local x25 address: 1234 We will need to map the remote x.25 stations x25 address to the remote stations IP/IPX address Enter remote x25 address: 4321 Do you want to map the remote machines x25 address to IP address? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines x25 address to IPX address? [yes]: IPX address for the remote interface: 40.1234.5678
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-8
OL-1957-04
Chapter 2
lowest 2-way channel [1]: highest 2-way channel [64]: frame window (K) [7]: Packet window (W) [2]: Packet size (must be powers of 2) [128]:
ATM-DXI Encapsulation
Enter VPI number [1]: Enter VCI number [1]: Do you want to map the remote machines IP address to vpi and vcis? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines IPX address to vpi and vcis? [yes]: IPX address for the remote interface: 40.1234.5678
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415 We will need to map the remote smds stations address to the remote stations IP/IPX address Enter smds address for the remote interface: c141.5556.1414 Do you want to map the remote machines smds address to IP address? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines smds address to IPX address? [yes]: IPX address for the remote interface: 40.1234.5678
Synchronous Configuration
If you select synchronous, you see screen displays similar to the following:
Do you want to configure Serial1/0 interface? [yes]: Enter mode (async/sync) [sync]: Some supported encapsulations are ppp/hdlc/frame-relay/lapb/x25/atm-dxi/smds Choose encapsulation type [hdlc]:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-9
Note
The following sections describe the prompts for each encapsulation type. For PPP and HDLC encapsulation, no further configuration is needed.
No serial cable seen. Choose mode from (dce/dte) [dte]:
Note
If no cable is plugged in to your router, you need to indicate whether the interface is to be used as DTE or DCE. If a cable is present, the setup command facility determines the DTE/DCE status. If the serial cable is DCE, you see the following prompt:
Configure IP on this interface? [no]: yes Configure IP unnumbered on this interface? [no]: IP address for this interface: 2.0.0.0 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 0 subnet bits; mask is /8 Configure LAT on this interface? [no]:
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]: Do you want to map a remote machines IP address to dlci? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map a remote machines IPX address to dlci? [yes]: IPX address for the remote interface: 40.1234.5678 Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 choose speed from above: [2000000]: 1200 Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8
Note
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-10
OL-1957-04
Chapter 2
LAPB Encapsulation
lapb circuit can be either in dce/dte mode. Choose either from (dce/dte) [dte]:
X.25 Encapsulation
x25 circuit can be either in dce/dte mode. Choose from either dce/dte [dte]: Enter local x25 address: 1234 We will need to map the remote x.25 stations x25 address to the remote stations IP/IPX address Enter remote x25 address: 4321 Do you want to map the remote machines x25 address to IP address? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines x25 address to IPX address? [yes]: IPX address for the remote interface: 40.1234.5678 Enter Enter Enter Enter Enter lowest 2-way channel [1]: highest 2-way channel [64]: frame window (K) [7]: Packet window (W) [2]: Packet size (must be powers of 2) [128]:
ATM-DXI Encapsulation
Enter VPI number [1]: Enter VCI number [1]: Do you want to map the remote machines IP address to vpi and vcis? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines IPX address to vpi and vcis? [yes]: IPX address for the remote interface: 40.1234.5678
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415 We will need to map the remote smds stations address to the remote stations IP/IPX address Enter smds address for the remote interface: c141.5556.1414 Do you want to map the remote machines smds address to IP address? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map the remote machines smds address to IPX address? [yes]: IPX address for the remote interface: 40.1234.5678
Asynchronous Configuration
If you select asynchronous, you see screen displays similar to the following:
Do you want to configure Serial1/1 interface? [yes]: Enter mode (async/sync) [sync]: async Configure IP on this interface? [yes]: Configure IP unnumbered on this interface? [no]: IP address for this interface: 2.0.0.0 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 0 subnet bits; mask is /8 Configure LAT on this interface? [no]:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-11
Configure AppleTalk on this interface? [no]: Configure DECnet on this interface? [no]: Configure CLNS on this interface? [no]: Configure IPX on this interface? [no]: yes IPX network number [8]: Configure Vines on this interface? [no]: Configure XNS on this interface? [no]: Configure Apollo on this interface? [no]:
ISDN Switch Type basic-ts013 basic-1tr6 basic-nwnet3 basic-net3 basic-net5 vn2 vn3
Description Australian TS013 switches German 1TR6 ISDN switches Norwegian NET3 ISDN switches (phase 1) NET3 ISDN switches (UK and others) NET5 switches (UK and others) French VN2 ISDN switches French VN3 ISDN switches Japanese NTT ISDN switches New Zealand NET3 switches AT&T basic rate switches NT DMS-100 basic rate switches National ISDN-1 switches
When you reach the following prompt on the System Configuration Dialog, enter an ISDN switch type from Table 2-1:
BRI interface needs isdn switch-type to be configured Valid switch types are: [0] none..........Only if you don't want to configure BRI. [1] basic-1tr6....1TR6 switch type for Germany [2] basic-5ess....AT&T 5ESS switch type for the US/Canada [3] basic-dms100..Northern DMS-100 switch type for US/Canada [4] basic-net3....NET3 switch type for UK and Europe [5] basic-ni......National ISDN switch type [6] basic-ts013...TS013 switch type for Australia [7] ntt...........NTT switch type for Japan [8] vn3...........VN3 and VN4 switch types for France Choose ISDN BRI Switch Type [2]: Do you want to configure BRI0/0 interface? [yes]: Some encapsulations supported are ppp/hdlc/frame-relay/lapb/x25
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-12
OL-1957-04
Chapter 2
[ppp]:
Note
The following sections describe the prompts for each encapsulation type. No further configuration is needed for HDLC encapsulation.
Do you have a service profile identifiers (SPIDs) assigned? [no]: y Enter SPID1: 12345 Enter SPID2: 12345
Note
The setup command facility only prompts for the SPID number if you specify basic-5ess, basic-ni1, or basic-dms100 for the switch type.
Do you want to map the remote machine's IP address for the remote interface: Do you want to map the remote machine's IPX address of the remote interface: IP address in dialer map? [yes]: 2.0.0.1 IP address in dialer map? [yes]: 40.0060.34c6.90ed
To get to 2.0.0.1 we will need to make a phone call. Please enter the phone number to call: 1234567890 Configure IP on this interface? [yes]:
Note
If your router has at least one configured LAN interface, you can choose to use an unnumbered IP address on the interface.
Configure IP unnumbered on this interface? [no]: y Assign to which interface [Ethernet0/0]:
Note
If your router does not have a configured LAN interface, you must use a numbered IP address.
IP address for this interface: 2.0.0.0.1 Enter the subnet mask [255.0.0.0]:
PPP Encapsulation
Would you like to enable multilink PPP [yes]: Enter a remote hostname for PPP authentication [Router]: Enter a password for PPP authentication:
Note
The password, which is used by the Challenge Handshake Authentication Protocol (CHAP) authentication process, is case sensitive and must match the remote routers password exactly.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-13
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]: Do you want to map a remote machines IP address to dlci? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map a remote machines IPX address to dlci? [yes]: IPX address for the remote interface: 40.1234.5678 Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 choose speed from above: [2000000]: 1200 Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8
Note
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode Choose either from (dce/dte) [dte]:
ATM-DXI Encapsulation
Enter VPI number [1]: Enter VCI number [1]: Do you want to map the remote machine's IP address to vpi and vci's? [yes]: IP address for the remote interface: 6.0.0.1 Do you want to map the remote machine's IPX address to vpi and vci's? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415 We will need to map the remote smds station's address to the remote stations IP address Enter smds address for the remote interface: c141.5556.1414 Do you want to map the remote machine's smds address to IP address? [yes]: IP address for the remote interface: 2.0.0.1 Do you want to map the remote machine's smds address to IP address? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-14
OL-1957-04
Chapter 2
X.25 Encapsulation
x25 circuit can be either in dce/dte mode. Choose from either dce/dte [dte]: Enter local x25 address: 1234 We will need to map the remote x.25 station's x25 address to the remote stations IP/IPX address Do you want to map the remote machine's x25 address to IP address? [yes]: IP address for the remote interface: 6.0.0.1 Do you want to map the remote machine's x25 address to IPX address? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed Enter remote x25 address: 4321 Enter lowest 2-way channel [1]: Enter highest 2-way channel [64]: Enter frame window (K) [7]: Enter Packet window (W) [2]: Enter Packet size (must be powers of 2) [128]:
Ask for two channels to be called by one number. Ask for delivery of calling line identification, also known as caller ID or Automatic Number Identification (ANI). If the router will be the only device attached to the ISDN BRI line, ask for point-to-point service and a data-only line. If you plan to connect another ISDN device (such as an ISDN telephone) to the ISDN BRI line through the router, ask for point-to-multipoint service (subaddressing is required) and a voice-and-data line.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-15
Table 2-2
Provisioning
For data only
2 B channels for data Point to point Terminal type = E 1 directory number (DN) assigned by service provider MTERM = 1 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange 5ESS Custom BRI
For voice and data
(Use these values only if you have an ISDN telephone connected.) 2 B channels for voice or data MultiPoint Terminal type = D 2 directory numbers assigned by service provider 2 service profile identifiers (SPIDs) required, assigned by service provider MTERM = 2 Number of call appearances = 1 Display = No Ringing/idle call appearances = idle Autohold= no Onetouch = no Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 5ESS National ISDN (NI-1) BRI Terminal type = A 2 B channels for voice and data 2 directory numbers assigned by service provider 2 SPIDs required; assigned by service provider Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 2 B channels for voice and data 2 directory numbers assigned by service provider 2 SPIDs required; assigned by service provider Functional signaling Dynamic terminal endpoint identifier (TEI) assignment Maximum number of keys = 64 Release key = no, or key number = no Ringing indicator = no EKTS = no PVC = 2 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2
DMS-100 BRI
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-16
OL-1957-04
Chapter 2
Note
Although the LDN is an optional parameter in the command, you may need to enter it so the router can answer calls made to the second directory number.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-17
Configuring the PRI D-channel Would you like to enable multilink PPP? [yes]: Configure IP on this interface? [no]: y Configure IP unnumbered on this interface? [no]: y Assign to which interface [Ethernet0/0]: All users dialing in through the PRI will need to be authenticated using CHAP. The username and password are case sensitive. Enter more username and passwords for PPP authentication? [no]: y Enter the username used for dial-in CHAP authentication [Router]: of the user dialling in on PRI: Enter more username and passwords for PPP authentication? [no]:
E1 Channelized Mode
The following is an example of an E1 channelized mode configuration using the setup command facility:
The following framing types are available: no-crc4 | crc4 Enter the framing type [crc4]: The following linecode types are available: ami | hdb3 Enter the line code type [hdb3]: Do you want to configure Serial1/1:0 interface?: [Yes]: Configuring the Channelized E1/T1 serial channels Some encapsulations supported are ppp/hdlc/frame-relay/lapb/atm-dxi/smds/x25 Choose encapsulation type [ppp]: Configure IP on this interface? [no]: y Configure IP unnumbered on this interface? [no]: IP address for this interface: 3.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 3.0.0.0, 8 subnet bits; mask is /8
Note
The following sections describe the prompts for each encapsulation type. No further configuration is needed for HDLC encapsulation.
PPP Encapsulation
Would you like to enable multilink PPP [yes]: Enter a remote hostname for PPP authentication [Router]: Enter a password for PPP authentication:
Note
The password, which is used by the Challenge Handshake Authentication Protocol (CHAP) authentication process, is case sensitive and must match the remote routers password exactly.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-18
OL-1957-04
Chapter 2
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]: Do you want to map a remote machines IP address to dlci? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map a remote machines IPX address to dlci? [yes]: IPX address for the remote interface: 40.1234.5678 Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 choose speed from above: [2000000]: 1200 Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8
Note
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode Choose either from (dce/dte) [dte]:
ATM-DXI Encapsulation
Enter VPI number [1]: Enter VCI number [1]: Do you want to map the remote machine's IP address to vpi and vci's? [yes]: IP address for the remote interface: 6.0.0.1 Do you want to map the remote machine's IPX address to vpi and vci's? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415 We will need to map the remote smds station's address to the remote stations IP address Enter smds address for the remote interface: c141.5556.1414 Do you want to map the remote machine's smds address to IP address? [yes]: IP address for the remote interface: 2.0.0.1 Do you want to map the remote machine's smds address to IP address? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-19
X.25 Encapsulation
x25 circuit can be either in dce/dte mode. Choose from either dce/dte [dte]: Enter local x25 address: 1234 We will need to map the remote x.25 station's x25 address to the remote stations IP/IPX address Do you want to map the remote machine's x25 address to IP address? [yes]: IP address for the remote interface: 6.0.0.1 Do you want to map the remote machine's x25 address to IPX address? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed Enter remote x25 address: 4321 Enter lowest 2-way channel [1]: Enter highest 2-way channel [64]: Enter frame window (K) [7]: Enter Packet window (W) [2]: Enter Packet size (must be powers of 2) [128]:
T1 Channelized Mode
The following is an example of a T1 channelized mode configuration using the setup command facility:
The following framing types are available: esf | sf Enter the framing type [esf]: The following linecode types are available: ami | b8zs Enter the line code type [b8zs]: T1 is capable of being configured for channel 1-24 Enter number of time slots [24]: 3 Configure more channel groups? [no]: y Enter number of time slots [21]: 3 Configure more channel groups? [no]: y Enter number of time slots [18]: 3 Configure more channel groups? [no]: y Enter number of time slots [15]: Configure more channel groups? [no]:
Note
The following sections describe the prompts for each encapsulation type. No further configuration is needed for HDLC encapsulation.
PPP Encapsulation
Would you like to enable multilink PPP [yes]: Enter a remote hostname for PPP authentication [Router]: Enter a password for PPP authentication:
Note
The password, which is used by the Challenge Handshake Authentication Protocol (CHAP) authentication process, is case sensitive and must match the remote routers password exactly.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-20
OL-1957-04
Chapter 2
when connected to a frame relay switch [0] none [1] ansi [2] cisco [3] q933a Enter lmi-type [2]:
Note
The setup command facility only prompts for the data-link connection identifier (DLCI) number if you specify none for the Local Management Interface (LMI) type. If you accept the default or specify another LMI type, the DLCI number is provided by the specified protocol.
Enter the DLCI number for this interface [16]: Do you want to map a remote machines IP address to dlci? [yes]: IP address for the remote interface: 2.0.0.2 Do you want to map a remote machines IPX address to dlci? [yes]: IPX address for the remote interface: 40.1234.5678 Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. 0 1200, 2400, 4800, 9600, 19200, 38400 56000, 64000, 72000, 125000, 148000, 500000 800000, 1000000, 1300000, 2000000, 4000000, 8000000 choose speed from above: [2000000]: 1200 Configure IP on this interface? [yes]: IP address for this interface: 2.0.0.1 Subnet mask for this interface [255.0.0.0]: Class A network is 2.0.0.0, 8 subnet bits; mask is /8
If IPX is configured on the router, the setup command facility prompts for the IPX map:
Do you want to map a remote machine's IPX address to dlci? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
LAPB Encapsulation
lapb circuit can be either in dce/dte mode Choose either from (dce/dte) [dte]:
ATM-DXI Encapsulation
Enter VPI number [1]: Enter VCI number [1]: Do you want to map the remote machine's IP address to vpi and vci's? [yes]: IP address for the remote interface: 6.0.0.1 Do you want to map the remote machine's IPX address to vpi and vci's? [yes]: IPX address for the remote interface: 40.0060.34c6.90ed
SMDS Encapsulation
Enter smds address for the local interface: c141.5556.1415 We will need to map the remote smds station's address to the remote stations IP address Enter smds address for the remote interface: c141.5556.1414 Do you want to map the remote machine's smds address to IP address? [yes]: IP address for the remote interface: 2.0.0.1 Do you want to map the remote machine's smds address to IP address? [yes]:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-21
Switched Mode
The following is an example of a 1-port, 4-wire 56-kbps DSU/CSU switched-mode configuration using the setup command facility:
Do you want to configure Serial0/0 interface? [yes]: Some encapsulations supported are ppp/hdlc/frame-relay/lapb/atm-dxi/smds/x25 Choose encapsulation type [ppp]: Switched 56k interface may either be in switched/Dedicated mode Choose from either (switched/dedicated) [switched]: The following switched carrier types are to be set when in switched mode (at&t, sprint or other) Choose carrier (at&t/sprint/other) [other]: Do you want to map the remote machine's ip address in dialer map? [yes]: IP address for the remote interface : 1.0.0.2 Do you want to map the remote machine's ipx address in dialer map? [yes]: IPX address for the remote interface : 40.0060.34c6.90ed
Note
The setup command facility will ask for only one telephone number for both IP and IPX (if enabled).
Please enter the phone number to call : 1234567890 Configure IP on this interface? [yes]: IP address for this interface: 1.0.0.1 Subnet mask for this interface [255.0.0.0] : Class A network is 1.0.0.0, 8 subnet bits; mask is /8
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-22
OL-1957-04
Chapter 2
Dedicated Mode
The following is an example of a 1-port, 4-wire 56-kbps DSU/CSU dedicated-mode configuration using the setup command facility:
Do you want to configure Serial0/0 interface? [yes]: Some encapsulations supported are ppp/hdlc/frame-relay/lapb/atm-dxi/smds/x25 Choose encapsulation type [ppp]: Switched 56k interface may either be in switched/Dedicated mode Choose from either (switched/dedicated) [switched]: dedi When in dds mode, the clock for sw56 module can either from line/internal. Choose clock from (line/internal) [line]:
Note
If internal is selected, speed cannot be set to auto. Auto-sensing is only allowed when the clock source is line.
When in dds mode, the clock for sw56 module can either from line/internal. Choose clock from (line/internal) [line]: internal Warning: internal can be choose only when connected back to back. Serial interface needs clock rate to be set in dce mode. The following clock rates are supported on the serial interface. auto, 2.4, 4.8, 9.6, 19.2, 38.4 56, 64 choose clock rate from above [56]: Configure IP on this interface? [yes]: IP address for this interface: 1.0.0.1 Subnet mask for this interface [255.0.0.0] : Class A network is 1.0.0.0, 8 subnet bits; mask is /8
A setup command facility prompt asks if you want to save this configuration. If you answer no, the configuration information you entered is not saved, and you return to the router enable prompt (2600#). Type setup to return to the System Configuration Dialog. If you answer yes, the configuration is saved and your are returned to the EXEC prompt(2600>).
Use this configuration? {yes/no} : yes Building configuration... Use the enabled mode 'configure' command to modify this configuration.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
2-23
Ethernet0/0, changed state to up Ethernet0/1, changed state to up Serial0/0, changed state to up Serial0/1, changed state to down Serial0/2, changed state to down Serial1/0, changed state to up Serial1/1, changed state to down Serial1/2, changed state to down
Step 2
When the messages stop displaying on your screen, press Return to get the 2600> prompt.
Note
If you see the next message, it means that no other AppleTalk routers were found on the network attached to the port.
Step 3
The 2600> prompt indicates that you are now at the command-line interface (CLI) and you have just completed a basic router configuration. However, this is not a complete configuration. At this point you have two choices:
Run the setup command facility again and create another configuration. Enter the following:
Modify the existing configuration or configure additional features with the CLI as described in Chapter 3, Configuring with the Command-Line Interface.
Where to Go Next
At this point you can proceed to the following:
Chapter 3, Configuring with the Command-Line Interface, to learn how to use the CLI to configure additional features. The Cisco IOS software configuration guide and command reference publications for more advanced configuration topics. These publications are available on Cisco.com, the Documentation CD-ROM that came with your router, or you can order printed copies. For more information, refer to Obtaining Documentation.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
2-24
OL-1957-04
C H A P T E R
Configuring the Host Name and Password, page 3-2 Configuring 1-Port and 2-Port Ethernet Interfaces, page 3-3 Configuring Fast Ethernet Interfaces, page 3-4 Configuring Asynchronous/Synchronous Serial Network Modules or WAN Interface Cards, page 3-5 Configuring 16-Port and 32-Port Asynchronous Network Modules, page 3-9 Configuring ISDN BRI WAN Interface Cards, page 3-10 Configuring T1 and E1 Interfaces, page 3-14 Configuring T1 (FT1) WAN Interface Cards, page 3-18 Configuring ATM Interfaces, page 3-20 Configuring Inverse Multiplexing for ATM Interfaces, page 3-22 Configuring Analog Modem Interfaces, page 3-26 Configuring Wireless Multipoint Interfaces, page 3-28 Configuring 1-Port ADSL WAN Interface Card, page 3-29 Configuring the NM-AIC-64, Contact Closure Network Module, page 3-34 Configuring the 1-Port HSSI Network Module, page 3-46 Configuring the Compression Network Module for the Cisco 3600 Series Routers, page 3-49 Configuring the Digital Modem Network Module for the Cisco 3640 Router, page 3-50 Configuring G.SHDSL on a Cisco Router, page 3-60 Where to Go Next, page 3-64
Follow the procedures in this chapter to configure the router manually, or if you want to change the configuration after you have run the setup command facility Using the Setup Command Facility, page 2-1. This chapter does not describe every configuration possibleonly a small portion of the most commonly used configuration procedures. For advanced configuration topics, refer to the Cisco IOS configuration guide and command reference publications. These publications are available on the Documentation CD-ROM that came with your router, on the World Wide Web from Ciscos home page, or you can order printed copies separately.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-1
Note
If you skipped the previous chapter, Chapter 2, Using the Setup Command Facility, and you have never configured a Cisco router, go back to that chapter and read it now. The chapter contains important information you need to successfully configure your router.
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Change the name of the router to a meaningful name. Substitute your host name for Router. Enter an enable secret password. This password provides access to privileged EXEC mode. When a user types enable at the EXEC prompt (Router> ), they must enter the enable secret password to gain access to configuration mode. Substitute your enable secret for guessme. Enter line configuration mode to configure the console port. When you enter line configuration mode, the prompt changes to Router(config-line)#. Prevent the routers EXEC facility from timing out if you do not type any information on the console screen for an extended period. Exit back to global configuration mode.
Router(config-line)# exec-timeout 0 0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-2
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port and 2-Port Ethernet Interfaces
Using 1888 out of 126968 bytes ! version XX.X . . . ! hostname Router ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ . . .
Check the host name and encrypted password displayed near the top of the command output.
Step 2
Exit global configuration mode and attempt to re-enter it using the new enable password:
Router# exit . . . Router con0 is now available Press RETURN to get started. Router> enable Password: guessme Router#
Tip
Caps Lock is off. You entered the correct passwords. Passwords are case sensitive.
Timesaver
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. Before you begin configuring the Ethernet interface, make sure you:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-3
Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Exit back to global configuration mode. Repeat Step 4 through Step 6 if your router has more that one LAN interface that you need to configure.
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the router does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands. Before you begin configuring the interfaces, make sure you:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-4
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring Asynchronous/Synchronous Serial Network Modules or WAN Interface Cards
Connect a console to the router. Power on the router. Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. entered interface configuration mode when the prompt changes to Router(config-if)#. Assign an IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Exit back to global configuration mode. Repeat Step 4 through Step 6 if your router has more than one interface that you need to configure.
Command
Step 1 Router> enable
Password: password Router#
Step 4 Router(config)# interface fastethernet 0/0 Enter interface configuration mode. You have
Router(config-if)#
Timesaver
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-5
memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. Before you begin configuring the asynchronous/synchronous serial interface, make sure you:
Connect a console to the router. Power on the router. Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. All serial ports are initially configured as synchronous. Enter this command if you want to configure the port as asynchronous. Configure asynchronous parameters according to your needs. Configure the asynchronous line setting. Specify the time that the interface waits in controlled carrier mode. See Table 3-1 for a list of half-duplex timer commands. To use a port in DCE mode, connect a DCE cable and set the internal transmit clock signal (TXC) speed in bits per second. See Table 3-2 through Table 3-5 for a list of clock rate settings for your specific interface. (For ports used in DTE mode, the router automatically uses the external timing signal.)
Command
Step 1 Router> enable
Password: password Router#
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-6
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring Asynchronous/Synchronous Serial Network Modules or WAN Interface Cards
Command
Step 12 Router(config-if)#
dce-terminal-timing-enable
Purpose When a port is operating in DCE mode, the default operation is for the DCE to send serial clock transmit (SCT) and serial clock receive (SCR) clock signals to the DTE, and for the DTE to return a serial clock transmit external (SCTE) signal to the DCE. If the DTE does not return SCTE, enter this command to configure the DCE port to use its own clock signal.
Routers that use long cables might experience high error rates when operating at higher transmission speeds, because the clock and data signals can shift out of phase. If a DCE port is reporting a high number of error packets, inverting the clock using this command can often correct the shift.
All serial interfaces support both nonreturn to zero (NRZ) and nonreturn to zero inverted (NRZI) formats. NRZ is the default; NRZI is commonly used with EIA/TIA-232 connections in IBM environments. To enable NRZI encoding on an interface, enter this command. Exit back to global configuration mode. Repeat Step 4 through Step 14 if your router has more that one serial interface that you need to configure.
Table 3-1
Timer CTS delay1 CTS drop timeout DCD drop delay DCD transmission start delay RTS2 drop delay RTS timeout Transmit delay
Syntax half-duplex timer cts-delay half-duplex timer cts-drop-timeout half-duplex timer dcd-drop-delay half-duplex timer dcd-txstart-delay half-duplex timer rts-drop-delay half-duplex timer rts-timeout half-duplex timer transmit-delay
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-7
Table 3-2
Clock Rate Settings for 1-Port/2-Port Serial WAN Interface Card in Synchronous Mode
Timer (bits per second) 1200 2400 4800 9600 14400 19200 28800 32000
Syntax (bits per second) 38400 56000 57600 64000 72000 115200 125000 128000
Default Setting (bits per second) 148000 500000 800000 1000000 1300000 2000000 4000000 148000
Table 3-3
Clock Rate Settings for 1-Port/2-Port Serial WAN Interface Card in Asynchronous Mode
Timer (bits per second) 1200 2400 4800 9600 14400 19200
Syntax (bits per second) 28800 32000 38400 56000 57600 64000
Table 3-4
Clock Rate Settings for 2-Port Asynchronous/Synchronous Serial WAN Interface Card
Timer (bits per second) 1200 2400 4800 9600 14400 19200
Syntax (bits per second) 28800 32000 38400 56000 57600 64000
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-8
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 16-Port and 32-Port Asynchronous Network Modules
Table 3-5
Timer (bits per second) 300 1200 2400 4800 9600 14400
Syntax (bits per second) 19200 28800 32000 38400 56000 57600
Timesaver
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. Before you begin configuring the asynchronous interface, make sure you:
Connect a console to the router. Power on the router. Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing.
Command
Step 1 Router> enable
Password: password Router#
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-9
Command
Step 4 Router(config)# interface async 45
Router(config-if)#
Purpose Enter the interface configuration mode and specify the asynchronous interface to configure. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Configure asynchronous parameters according to your needs.
Return to the global configuration mode and repeat Step 4 through Step 7 if your router has more than one interface that you need to configure. Return to enable mode.
Timesaver
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. Before you begin configuring the BRI interface, make sure you:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-10
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring ISDN BRI WAN Interface Cards
Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enter an ISDN switch type. See Table 3-5 for a list of ISDN switch types.
Note
Switch types configured in interface configuration mode override this setting for the configured interface.
Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the IP address and subnet mask to the interface. If you are configuring this interface for voice, enter the switch type instead of an IP address. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. If you are configuring this router for voice, use the isdn incoming-voice modem command. Exit back to global configuration mode. Repeat Step 5 through Step 7 if your router has more than one BRI interface that you need to configure.
By default, the router allocates 25 percent of DRAM to shared memory (used for data transmitted or received by network modules and WAN interface cards). If your router includes 16 or more ISDN BRI interfaces, you must increase the amount of shared memory by entering the memory-size iomem command. This example increases shared memory from 25 percent to 40 percent. When you finish configuring interfaces, return to enable mode.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-11
Table 3-6
Description Australian TS013 switches German 1TR6 ISDN switches Norwegian NET3 ISDN switches (phase 1) NET3 ISDN switches (UK and others) French VN2 ISDN switches French VN3 ISDN switches Japanese NTT ISDN switches New Zealand NET3 switches AT&T basic rate switches NT DMS-100 basic rate switches National ISDN-1 switches
Ask for two channels to be called by one number. Ask for delivery of calling line identification, also known as caller ID or Automatic Number Identification (ANI). If the router will be the only device attached to the ISDN BRI line, ask for point-to-point service and a data-only line. If you plan to connect another ISDN device (such as an ISDN telephone) to the ISDN BRI line through the router, ask for point-to-multipoint service (subaddressing is required) and a voice-and-data line.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-12
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring ISDN BRI WAN Interface Cards
Table 3-7
Provisioning For data only: 2 B channels for data Point to point Terminal type = E 1 directory number (DN) assigned by service provider MTERM = 1 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange
For voice and data: (Use these values only if you have an ISDN telephone connected.)| 2 B channels for voice or data Multipoint Terminal type = D 2 directory numbers assigned by service provider 2 service profile (SPIDs) required, assigned by service provider MTERM = 2 Number of cal appearances = 1 Display = No Ringing/idle call appearances = 1 Autohold = no Onetouch = no Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2
5ESS National ISDN (NI-1) BRI Terminal type = A 2 B channels for voice or data 2 directory numbers assigned by service provider 2 SPIDs required, assigned by service provider Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2 DMS-100 BRI 2 B channels for voice or data 2 directory numbers assigned by service provider 2 SPIDs required, assigned by service provider Functional signaling Dynamic terminal endpoint identifier (TEI) assignment Maximum number of keys = 64 Release key = no, or key number = no Ringing indicator = no EKTS = no PVC = 2 Request delivery of calling line ID on Centrex lines Set speed for ISDN calls to 56 kbps outside local exchange Directory number 1 can hunt to directory number 2
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-13
Note
Although the LDN is an optional parameter in the command, you might need to enter it so the router can answer calls made to the second directory number. For further information on configuring ISDN, see the chapters Configuring ISDN and Configuring DDR in the Wide-Area Networking Configuration Guide publication, for your Cisco IOS software release.
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the router does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands. Before you begin configuring the interfaces, make sure you:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-14
OL-1957-04
Chapter 3
Configuring T1 Interfaces
Use the following procedure to configure a new T1, CT1/PRI or CT1/PRI-CSU interface or to change the configuration of an existing interface. Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Select the CT1/PRI interface to configure. This example configures a T1 interface in slot 1 and unit 0. Specify which end of the circuit provides clocking. The clock source should be set to use internal clocking only for testing the network or if the full T1 line is used as the channel group. Only one end of the T1 line should be set to internal. Specify the framing type. Specify the line code format. Specify the channel group and time slots to be mapped. For multiflex trunk interfaces, only channel 0 can be configured. Configure each channel group as a virtual serial interface. Specify the T1 interface, unit number, and channel group to modify. Assign an IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Exit back to global configuration mode. Return to Step 4 if your router has more than one CT1/PRI interface that you need to configure.
Step 6 Router(config-controller)# framing esf Step 7 Router(config-controller)# linecode b8zs Step 8 Router(config-controller)# channel-group 0
timeslots 1,3-5,7
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-15
Configuring E1 Interfaces
Use the following procedure to configure a new E1 or CE1/PRI interface (balanced or unbalanced) or to change the configuration of an existing interface. Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Select the CE1/PRI interface to configure. This example configures an E1 interface in slot 1 and unit 0. Specify the framing type. Specify the line code format. mapped. For multiflex trunk interfaces, only channel 0 can be configured. Configure each channel group as a virtual serial interface. Specify the E1 interface, unit number, and channel group to modify. Assign an IP address and subnet mask to the interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Exit back to global configuration mode. Return to Step 4 if your router has more than one CE1/PRI interface that you need to configure.
Step 7 Router(config-controller)# channel-group 0 Specify the channel group and time slots to be
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-16
OL-1957-04
Chapter 3
To configure TDM connect, complete the following steps in controller configuration mode: Command
Step 1 To configure a TDM channel group for T1: a
Router(config-controller)# tdm-group tdm-group-no timeslot timeslot-list [type {e&m | fxs [loop-start | ground-start] | fxo [loop-start | ground-start]}]
Purpose Configure a TDM channel group for T1. If configuring cross-connect for data traffic only, do not specify the type option. The type option only applies if the mode cas command is enabled.
Configure a TDM channel group for E1. The melcas options are supported only on E1 and apply to the Mercury Exchange Limited (MEL) Channel Associated Signaling (CAS) standard, used primarily in the United Kingdom. The MEL options help preserve CAS integrity on the line. If configuring cross-connect for data traffic only, do not specify the type option. The type option only applies if the mode cas command is enabled. Exit controller configuration mode. Configure cross-connect pass-through between two controllers.
Up to 6 channels per PVDM (up to 30 channels for cards with 5 PVDMs installed) for high complexity codecs (vocoders) that support the following services: G.711, G.726, G.729, G.723.1, G.728, and fax relay Up to 12 channels per PVDM (up to 60 channels for cards with 5 PVDMs installed) for medium complexity codecs (vocoders) that support the following services: G.711, G.726, G.729a, and fax relay
Each HDV network module can support only one type of compression complexity (either high or medium), although HDV network modules with different compression complexity types can be installed in the same router. Use the following procedure to configure the codec (vocoder) complexity on your HDV network module.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-17
Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Select the voice card to configure. card.One complexity type is allowed per router. Exit back to global configuration mode. Return to Step 3 if your router has more than one voice card that you need to configure.
Step 4 Router(config-voicecard)# codec complexity Specify the compression complexity for the voice Step 5 Router(config-voicecard)# exit
Timesaver
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it ON, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. Before you begin configuring the BRI interface, make sure you:
Default Configuration
The Cisco IOS software provides the following default configuration for CSU/DSU- and T1-specific parameters:
service-module service-module service-module service-module t1 t1 t1 t1 clock source line data-coding normal timeslots all speed 64 framing esf
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-18
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring T1 (FT1) WAN Interface Cards
To change this configuration, enter commands in configuration mode, as described in the next section. To view the current configuration, enter the show service-module serial slot/port command. For further information about these commands, refer to the Cisco IOS configuration guides and command references. Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter the interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the IP address and subnet mask to the interface Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Enter the framing type and linecode type. In this example, the framing type specified is sf (Superframe) and the linecode specified is ami.
If you are using fractional T1 service, enter the time slot range and speed. In this example, the time slot range specified is from 1 to 20, and the speed specified is 64 kbps. Exit back to global configuration mode. Repeat Step 4 through Step 8 if your router has more than one interface that you need to configure.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-19
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.
Configuring PVCs
To configure the ATM interface with PVCs, follow this procedure: Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. interface. Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface.
Step 5 Router(config-if)# ip address 192.168.74.3 Assign an IP address and subnet mask to the
255.255.255.0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-20
OL-1957-04
Chapter 3
Command
Step 7 Router(config-if)# pvc 0/100
Purpose Configure a new ATM PVC. Enter interface-ATM-VC configuration mode. The PVC command has the format pvc [name] vpi/vci [ilmi|qsaal] You have entered interface-ATM-VC configuration mode when the prompt changes to
Router(config-if-atm-vc).
Map the PVC to an address. Exit back to global configuration mode. Repeat Step 4 through Step 8 if your router has more than one interface that you need to configure.
Configuring SVCs
To configure the ATM interface with switched virtual circuits (SVCs), follow this procedure: Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Configure a signaling channel for the SVC. Exit back to interface configuration mode. Configure additional signaling channels for the SVC. Exit back to interface configuration mode. Assign an IP address and subnet mask to the interface.
Step 5 Router(config-if)# pvc 0/5 qsaal Step 6 Router(config-if-atm-vc)# exit Step 7 Router(config-if)# pvc 0/6 ilmi Step 8 Router(config-if-atm-vc)# exit Step 9 Router(config-if)# ip address 192.168.74.3 255.255.255.0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-21
Command
Step 10 Router(config-if)# appletalk static
cable-range 3-3 Router(config-if)# appletalk zone ZZEth Router(config-if)# ipx network B005
Purpose Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Configure the signaling PVC and the ATM network service access point (NSAP) address. The signaling PVC command has the format svc [name] nasp <20-byte address>. You have entered interface-ATM-VC configuration mode when the prompt changes to
Router(config-if-atm-vc).
Map the PVC to an address. Exit back to global configuration mode. Repeat Step 4 through Step 12 if your router has more than one interface that you need to configure.
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on, if there is a WAN connection on both ends and the router does not have a valid configuration file stored in nonvolatile random-access memory (NVRAM) (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.
Note
interface atm.
The ATM interfaces (representing the individual T1/E1 interfaces) are automatically created depending on the configuration of the individual T1/E1 interfaces. You cannot directly add or delete these interfaces. Each port can be used as an independent T1/E1 ATM port with all the properties and functionality of ATM interfaces. When the port becomes part of an IMA group, its ATM functionality ceases. At the same time, the IMA group can use ATM commands.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-22
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring Inverse Multiplexing for ATM Interfaces
Note
On the 8-port E1 or T1 network module, only four ATM layer interfaces can be operational at the same time. All the interfaces can be activated (configured as no shutdown) but only four at a time can be operational and pass network traffic.
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Enter the transmit clock mode for the selected ATM interface. The choices are internal, line, or loop. The default is line. For T1 interfaces only, specify the cable length (short or long) followed by the length in feet. You can view the acceptable cable lengths by including the ? option after the long or short commands. Specify the loopback type for this ATM interface by entering the loopback command followed by one of the following: line, local, payload, remote. You can view command descriptions by including the ? option after the loopback command .
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-23
Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Enter the transmit clock mode for the selected ATM interface. The choices are internal, line, or loop. The default is line. For T1 interfaces only, specify the cable length (short or long) followed by the length in feet. You can view the acceptable cable lengths by including the ? option after the long or short commands. Specify the loopback type for this ATM interface by entering the loopback command followed by one of the following: line, local, payload, remote. You can view command descriptions by including the ? option after the loopback command .
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-24
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring Inverse Multiplexing for ATM Interfaces
Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. Enter interface configuration mode. You have entered interface configuration mode when the prompt changes to Router(config-if)#. Assign the ATM interface to an IMA group (numbered from 0 to 3). The interface is now assigned to a group and ATM functionality is no longer available for the individual link. Enable the individual link by canceling the shutdown state.
Note
The no shutdown command at this point activates the individual ATM link. If this command is omitted, the ATM link is added to the group but is inhibited at the IMA protocol level. This would prevent it from carrying network traffic.
Repeat Step 4 through Step 6 if your router has more than one interface that you need to configure.
Step 7 Router(config-if)# interface atm2/ima3
The group interface is deleted with the no interface atm 2/ima 3 command.
Select the transmit clock mode for the selected IMA group. The choices are common or independent. Enter the maximum differential delay in milliseconds for the selected IMA group. Enter the minimum number of links that need to be operational for the selected IMA group. Select the test port for the selected IMA group. The link number is one of the physcial ports on the network module. Assign an IP address and subnet mask to the interface.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-25
Command
Step 13 Router(config-if)# appletalk static
cable-range 3-3 Router(config-if)# appletalk zone ZZEth Router(config-if)# ipx network B005
Purpose Configure routing protocols on the interface. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Enable the IMA group by canceling the shutdown state. When you finish configuring interfaces, return to enable mode.
Enter the show ima interface atm1/3 command to verify information for the specified IMA group. Enter the show controllers atm0/ima2 command to display IMA diagnostic information for the specified group.
If an interface is down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, make sure that the new interface is properly connected and configured.
Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends and the router does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. This section describes basic configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.
Note
This section does not describe modem AT commands. For information about these commands, see the AT Command Set and Register Summary for Analog Modem Network Modules publication on Cisco.com, or Documentation CD-ROM. Before you begin configuring the interfaces, make sure you:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-26
OL-1957-04
Chapter 3
Command
Step 1 Router> enable
Password: password Router#
Purpose Enter enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. Enter global configuration mode. You have entered global configuration mode when the prompt changes to Router(config)#. Enable routing protocols as required for your global configuration. This example uses IP routing, AppleTalk routing, and Internetwork Packet Exchange (IPX) routing. You can configure asynchronous interfaces either individually or as a group. This command selects an individual interface to configure. The prompt changes to Router(config-if)#. Assign an IP address and subnet mask to the interface. Assign asynchronous interfaces to a group so you can configure them together. Configure the asynchronous interface group as unnumbered and assign the IP address of the Ethernet interface to the group. Define the pool of addresses at the global level. Define the group range of the interface. This command defines the range as all modems in slot 0. Configure routing protocols on the interface or group. You must have previously enabled these protocols as part of global configuration. In this example, AppleTalk and IPX are being configured on the interface. Configure asynchronous parameters according to your needs.
Exit back to global configuration mode. Return to Step 4 if your router has more than one interface that you need to configure.
Set modem parameters (including encoding) to the correct country. Table 3-8 shows country codes. The default is usa. Enter the modem line or range of modem lines to configure.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-27
Command
Step 15 Router(config-line)# transport input all Step 16 Router(config-line)# autoselect ppp
Purpose Allow all protocols to be used when connecting to the line. Enable remote IP users running a PPP application to dial in, bypass the EXEC facility, and connect directly to the network. Enable incoming and outgoing calls. When you finish configuring interfaces, return to enable mode.
Table 3-8
Country Codes
argentina australia austria belgium brazil canada chile china columbia czech-republic Denmark Finland France Germany Greece hong-kong hungary india indonesia ireland israel italy japan korea malaysia mexico netherlands new-zealand norway peru philippines poland portugal saudi-arabia singapore south-africa spain sweden switzerland taiwan thailand united-kingdom usa
To verify your group interface configuration, enter the show interface async command. To display a summary for all modem lines, enter the show line command. To display a summary for a single modem line, enter the show line number command.
If an interface is down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, make sure that the new interface is properly connected and configured.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-28
OL-1957-04
Chapter 3
Configuring RF loopback
Display the router hardware configuration with the show version command. Check that the list includes the new interface. Display all network modules and their interfaces with the show controllers command. Specify an interface with the show interfaces [type slot/port] command and verify that the first line of the display shows the interface with the correct slot and port number, and that the interface and line protocol are in the correct state, up or down. Display the protocols configured for the entire router and for individual interfaces with the show protocols command. If necessary, return to configuration mode to add or remove protocol routing on the router or its interfaces. Display the running configuration with the show running-config command, and the configuration stored in NVRAM using the show startup-config command. Use the ping command to send an echo request to a specified IP address. Each returned signal is displayed as an exclamation point (!) on the console; each signal that is not returned before the timeout is displayed as a period (.). A series of exclamation points (!!!!!) indicates a good connection; a series of periods (.....) or the message timed out or failed indicate that the connection failed.
If an interface is down and you configured it as up, or if the displays indicate that the hardware is not functioning properly, make sure that the new interface is properly connected and configured.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-29
Note
ADSL is a last-mile access technology, which has an asymmetrical data rate running over a single copper wire pair.
Benefits
Enables business class broadband service with voice integration, scalable performance, flexibility, and security. Aggregates both ADSL and other transport options into a single box. Provides both POTS and ADSL high-speed digital data transmissions between the customer premises equipment (CPE) and the central office (CO). Supports ITU G.992.1 (or G.DMT, which specifies full-rate ADSL). Supports and complies with ANSI T1.413 issue 2, and ITU G.992.1 (G.DMT for full-rate ADSL). Supports ATM AAL2 and AAL5 services on the Cisco 2600 series and Cisco 3600 series platforms. Supports applications (including VoATM voice), ATM class of service, variable bit rate-nonreal time [VBR-NRT], variable bit rate-real time [VBR-rt], and unspecified bit rate [UBR]) and up to 23 virtual circuits on a WIC. Provides ATM traffic management to enable service providers to manage their core ATM network infrastructures.
Restrictions
The ADSL WAN interface card does not support dual latency. When the ADSL link is intended to support both voice and data traffic simultaneously, the link should be configured for either all fast-path data or all interleave data with an interleave depth of zero to insure that latency is minimized. In addition, the total supported data rate must be reduced to adjust for the reduced coding gain, which is usually present with high-latency traffic. The ADSL WAN interface card does not support available bit rate (ABR) class of service (CoS). For the Cisco 2600 series routers, the ADSL WAN interface card should be inserted only into on-board WIC slots or 2W network modules. This card does not function properly in older network modules. For the Cisco 3600 series routers, the ADSL WAN interface card should be inserted only into onboard WIC slots or 2W, 1FE2W, 2FE2W, or 1FE1R2W network modules. This card does not function properly in older network modules. When using AAL2, analog voice is not supported. Voice calls should come through a digital voice card, such as the NM-HDV. VoATM is supported in both AAL2 and AAL5 modes on the Cisco 2600 series and Cisco 3600 series routers. VoATM AAL2 and AAL5 are supported only if voice and data use separate permanent virtual circuits (PVCs). VoATM AAL2 supports digital voice (T1/E1) only, while VoATM AAL5 supports both analog and digital voice. VoIP is not supported unless the ADSL WIC carries only voice traffic (with no data). The QoS features necessary for VoIP and data sharing the same PVC, or different PVCs on the same interface, are not supported yet. These features include LLQ, LFI, and tx-ring tuning.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-30
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port ADSL WAN Interface Card
Prerequisites
A 1-Port ADSL WIC must be installed in the router to match the DSL service to be configured.
Configuration Tasks
See the following sections for configuration tasks for this feature. Each task in the list is identified as either required or optional:
Configuring the ADSL Port on the ADSL WAN Interface Card (required) Verifying ATM Configuration (optional)
Features used on the ADSL WAN interface card must also be configured on the DSLAM. See the documentation for the specific DSLAM for information about configuring features.
Purpose Enter global configuration mode. Enter ATM configuration mode for the ATM interface in the specified slot and port. Assign an IP address to the ADSL ATM interface. Entes atm-virtual-circuit (interface-atm-vc) configuration mode, and configures a new ATM PVC by assigning a name (optional) and virtual path identifier (VPI)/virtual channel identifier (VCI) numbers. The default traffic shaping is UBR; the default encapsulation is AAL5+LLC/SNAP.
Step 5 Step 6
(Optional) Enable IP connectivity and create a point-to-point IP address for the virtual circuit (VC). (Optional) Configure the PVC for real-time variable bit rate (VBR) traffic shaping.
peak ratePeak information rate (PIR) average rateAverage information rate (AIR) burstBurst size in cells
Step 7
(Optional) Configure the ATM adaptation layer (AAL) and encapsulation type.
aal2AAL2 aal5ciscopppCisco PPP over AAL5 aal5muxAAL5+MUX aal5nlpidAAL5+NLPID aal5snapAAL5+LLC/SNAP (the default)
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-31
Command
Step 8 Step 9
Router(config-if-vc)# exit Router(config-if)# dsl operating-mode {ansi-dmt | auto | itu-dmt | splitterless}
Purpose Exit from interface-atm-vc configuration mode. Configure the ADSL interface to operate in a specified mode:
ansi-dmtANSI full rate mode per T1.413 (ITU G.DMT Issue 1) autoAutomatic detection mode itu-dmtITU full rate mode (ITU G.DMT Issue 1) splitterlessG.lite mode per ITU G.992.2
Caution
This command is for testing or lab environments only. Using a configuration other than the default configuration for the DSL operating mode can lead to unpredictable behavior on the ADSL line.
Router(config-if)# no shutdown Router(config-if)# exit Router(config)# exit Router# show interface atm 1/0
Activate the ATM interface. Exit from ATM interface configuration mode. Exit from global configuration mode. Verify the ATM interface configuration.
To verify current configuration and to view the status for all controllers, use the show running-config command. To view ATM controller statistics, use the show controllers atm slot/port command. To verify the PVC status, use the show atm vc command. Make sure that active PVCs are up. To help identify ATM-related events as they are generated, use the debug atm events command. To indicate what interfaces are having trouble, use the debug atm errors command. To identify an entry for the ATM interface you configured and to show an entry for the ATM slot/port you configured, use the show ip route command. To display the configured list of ATM static maps to remote hosts on an ATM network, use the show atm map command. To view the status of ATM interface, use the show interface atm slot/port command. Make sure that ATM slot/port and line protocol is up, as shown in the following example:
Router# show interface atm1/0 ATM 1/0 is up, line protocol is up Hardware is DSLSAR (with Alcatel ADSL Module) MTU 4470 bytes, sub MTU 4470, BW 800 Kbit, DLY 2560 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ATM, loopback not set Keepalive not supported
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-32
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port ADSL WAN Interface Card
Encapsulation(s):AAL5 AAL2, PVC mode 24 maximum active VCs, 256 VCs per VP, 2 current VCCs VC idle disconnect time:300 seconds Last input never, output 00:00:01, output hang never Last clearing of "show interface" counters 03:16:00 Queueing strategy:fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 30 second input rate 0 bits/sec, 0 packets/sec 30 second output rate 0 bits/sec, 0 packets/sec 2527 packets input, 57116 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 10798 packets output, 892801 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out
Router# show atm vc VCD / Interface 1/0.3 1/0.2 Peak Encaps MUX SNAP Avg/Min Burst SC Kbps Kbps UBR 800 UBR 800
Name 2 1
VPI 9 9
VCI 36 37
Cells
Sts UP UP
Router# show controllers atm 1/0 Interface ATM1/0 is up Hardware is DSLSAR (with Alcatel ADSL Module) IDB: 62586758 Instance:6258E054 reg_dslsar:3C810000 wic_regs:3C810080 PHY Inst:62588490 Ser0Inst:62573074 Ser1Inst: 6257CBD8 us_bwidth:800 Slot: 1 Unit: 1 Subunit: 0 pkt Size:4496 VCperVP:256 max_vp: 256 max_vc: 65536 total vc:2 rct_size:65536 vpivcibit:16 connTblVCI:8 vpi_bits:8 vpvc_sel:3 enabled: 0 throttled:0 WIC Register --------------FPGA Dev ID (LB) FPGA Dev ID (UB) FPGA Revision WIC Config Reg Value ---------0x44 0x53 0x99 0x45 Notes ---------'D' 'S' WIC / VIC select = WIC; CTRLE addr bit 8 = 1; OK LED on; LOOPBACK LED off; CD LED on; Gen bus error on bad ADSL access ADSL normal interrupt enabled ADSL error interrupt enabled
0x07 0x03
Configuration Examples
Examples of the following configurations are described in Appendix A, Configuration Examples,on page A-1:
VoATM over AAL2 on the ATM Interface Configuration Example, page A-12 VoATM over AAL5 on the ATM Interface Configuration Example, page A-14
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-33
Network element alarm states Building security (door and window open and close) Fire and smoke indication Building environmentals (temperature and humidity) Utility power readings
When an event occurs, such as a door alarm or an open gate, the AIC maps the simple discrete and analog alarms to preprogrammed intelligent messages and transports the messages to destinations in the IP network, typically to a Network Operations Center (NOC). These messages are generated either in Transaction Language 1 (TL1) or in Simple Network Management Protocol (SNMP), which are used by a NOCs Operations Support System (OSS). When the AIC is incorporated into the Cisco DCN solution platforms, all the AICs contact-closure alarms are routed and reported through the same network and systems as the intelligent network elements (NEs). This facilitates continued use of the existing OSS and its associated networks. A Cisco router with an AIC sends TL1 or SNMP messages to the OSS autonomously or in response to TL1 or SNMP commands from the OSS, as shown in Figure 3-2. TL1 supports two sessions, with the port numbers 5011 and 5012, respectively, and SNMP supports four sessions.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-34
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
Figure 3-2
Figure 3-3
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-35
SNMP
The Cisco IOS software assigns an IP address to the AIC for use by the serial data channel. To route traffic, the serial data channel uses IP over synchronous High-Level Data Link Control (HDLC). All IP packets coming to the Cisco router with a destination IP address that matches the AICs IP address are forwarded to the serial data channel using IP over HDLC.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-36
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
exit
Configuring an Analog Alarm to Act Like a Discrete Alarm (Minimal Configuration Method)
enable config terminal alarm 59 discrete exit
Configuration Tasks
See the following sections for configuration tasks for the AIC feature. Each task in the list is identified as either required or optional:
Configuring the NOC IP Address, page 3-40 (optional) Configuring Alarms, page 3-41 (optional)
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-37
Table 3-9
Command
Step 1
Router# show run
Purpose Determines if the AIC is installed correctly in the router. If the AIC has been installed correctly, then the following appears:
interface serialslot/port
where the slot is the slot in which the AIC is inserted, and the port is 0.
Step 2 Step 3 Step 4
Router# configure terminal Router(config)# alarm-interface slot
Starts the configuration session. Enters the AIC interface mode, specifying the slot number into which the AIC is installed. Enters the IP address of the AIC. Entering a mask is optional, because the IP address does not use a subnet address. Resets the AIC. Changing the IP configuration may not take until the next time the card is started. The reset command restarts the card. Exits the AIC interface mode.
Step 5
Router(config-aic)# reset
Step 6
Router(config-aic)# exit
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-38
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
Command
Step 1
Router(config)# ip route network-number network-mask {IP address | interface} [distance] [name name]
Purpose Establish the discrete IP route and mask on the routers serial interface. The arguments have the following meanings: network-numberIP address of the target network or subnet. network-maskNetwork mask that lets you mask network and subnetwork bits. IP addressInternet address of the next hop that can be used to reach that network in standard IP address notation. Example: 10.1.1.1. interfaceNetwork interface to use. distance(Optional) An administrative distance, which is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. name name(Optional) Name of the user profile. Example:
Router(config)#ip route 10.5.5.2 255.255.255.255 serial2/0
Step 2 Step 3
Enter serial interface mode. Enter the slot in which the AIC is installed and port 0. Enable IP processing on the serial interface to the AIC without assigning an explicit IP address to the interface. The type and interface-number arguments indicate another interface on which the router has an assigned IP address. The other interface cannot be an unnumbered interface, because only an interface that has its own IP address can be used to lend its IP to the serial port. Enter, for example:
Router(config-if)# ip unnumbered FastEthernet 0/0
Step 4
Router(config-if)# exit
Command
Step 1 Step 2
Router(config)# interface serialslot/port
Purpose Enter the serial interface mode. Enter the slot in which the AIC is installed and the port 0. Specifie the IP address and mask of the routers serial interface to the AIC. For example:
Router(config)# ip route 10.5.5.1 255.255.255.0
Step 3
Router(config-if)# exit
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-39
Local-CLI involves accessing the asynchronous craft port by telneting to the IP address of the router and the AICs TCP port number. For example:
telnet 10.2.130.105 2001
where 10.2.130.105 is the routers IP address and 2001 is on slot 0 of the AIC. The AICs TCP port number depends on the slot number in which the AIC is installed. As shown in Table 3-12, the Cisco IOS software reserves the first line of each slot for the asynchronous craft port.
Table 3-12 TCP Port Number Allocation for the AIC on the Cisco 2600 and Cisco 3600 Series
Slot Number 0 1 2 3 4 5 6
Terminal Line Number for the AICs Asynchronous Craft Port 1 33 65 97 129 161 193
TCP Port Number 2001 2033 2065 2097 2129 2161 2193
The aic command-line prompt indicates that either TL1 or AIC CLI commands must be used.
Command
Step 1 Step 2
aic(config)# snmp aic(config)# noc ip-address {number} ip-address
Purpose Enter SNMP configuration mode. Enter an NOC IP address in which the AIC will send SNMP messages. The number argument can be the numbers 1 through 4. Exit the AIC CLI.
Step 3
aic(config)# exit
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-40
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
Configuring Alarms
After the AIC and NOC IP addresses have been configured, you can the configure alarms by programming the AICs discrete and analog contact points. These tasks can be performed on-site or by Telneting as described in the Accessing the AIC section on page 3-40. Alarms are configured using either TL1 or AIC CLI. Information about TL1 commands can be found in the Telcordia Technology (formerly Bellcore) document Network Maintenance: Network Element and Transport Surveillance Messages, GR-833-CORE, Issue 5, November 1996. For a reference of security-related commands (ACT-USER and CANC-USER) refer to Telcordia Technologys Operations Applications Messages-Network Element and Network System Security Admin Messages, TR-NWT-000835, Issue 2, January 1993. The following TL1 messages and commands are supported by the AIC:
TL1 Messages
REPT-ALM-ENV REPT-ALM-EQPT REPT-EVT
TL1 Commands
ACT-USER CANC-USER OPR-EXT-CONT RLS-EXT-CONT RTRV-ALM RTRV-ALM-ENV RTRV-ATTR RTRV-ATTR-CONT RTRV-ATTR-ENV RTRV-ATTR-LOG RTRV-HDR RTRV-LOG RTRV-EXT-CONT SET-ATTR-ENV SET-ATTR-EQPT SET-ATTR-LOG STA-LOG STP-LOG
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-41
define the range of possible values. (Valid values are from 9999999.9 to 9999999.9.) For voltage-monitoring alarms, the range of possible values is always 60V to 60V. The other four values must be within the defined range, and they partition the range into low-low, low, high, and high-high ranges. Except for the normal range, each range is associated with an alarm condition. Analog points have four unique alarm states. Each alarm state has its own alarm description string. Only one alarm state per point may be active at any given time. In other words, when a threshold is crossed, the previous alarm state is cleared and the new alarm state is active. When an analog input is configured as discrete, the user must select whether the point is monitoring voltage or current. Similar to the analog configuration, the user must also select the range of acceptable values for a current-monitoring alarm. (Valid values are from 9999999.9 to 9999999.9.) The voltage range is always 60V to 60V. The user must define the threshold that will cause the alarm condition and whether the normal state of the alarm is the higher or lower range.
Note
For the current analog point, the lower boundary is 4 mA and the upper boundary is 20 mA. For example,
analog current-loop 10 13 16 17 20 26
has 16 units between 10 and 26. If the AIC measures 4 mA, then it will factor that the point is registering at the lower boundary. The AIC will interpret 13 as 7 mA, 16 as 10 mA, 17 as 11 mA, 20 as 14 mA, and 26 as the upper boundary, which is 20 mA. Following are examples: Point 57 is monitoring the ambient temperature of a building and the sensor range is 20 to 75 degrees Celsius. Below 0 degrees is a critical alarm, 0 to 10 degrees is a major alarm, 10 to 35 degrees is the normal range, 35 to 45 degrees is a minor alarm, and above 45 degrees is a major alarm. The configuration for this point follows:
alarm 57 analog current-loop 20 0 10 35 45 75 level low-low 1 level low 2 level high 3 level high-high 2
Point 58 is monitoring a fuel tank level with a resistive sensor. Below 46 volts is a critical alarm, 46 to 40 volts is a minor alarm, and above 40 volts is the normal range. This is a unidirectional alarm, so the high thresholds are set equal to the high bound (since this threshold cannot be crossed). The configuration for this point follows:
alarm 58 analog voltage 46 40 60 60 level low-low 1 level low 3
Point 59 is monitoring a battery bank. Below 42 volts is a critical alarm and above 42 volts is the normal range. The configuration for this point follows:
alarm 59 discrete voltage 42 high level 1
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-42
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
level
********Before Configuration show run Output******* version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname uut2-3660 ! logging rate-limit console 10 except errors ! ip subnet-zero ! ! no ip finger no ip domain-lookup ! call rsvp-sync cns event-service server ! ! interface FastEthernet0/0 ip address 10.2.130.2 255.255.0.0 duplex auto speed auto no cdp enable
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-43
! interface Serial5/0 no ip address ! ip kerberos source-interface any ip classless ip route 0.0.0.0 0.0.0.0 10.2.0.1 ip http server ! no cdp run ! ! dial-peer cor custom ! ! line con 0 exec-timeout 0 0 transport input none line 161 no exec transport preferred none transport input telnet transport output none stopbits 1 line aux 0 line vty 0 4 password lab login ! end
*****After Configuration show run Output******* version 12.1 no service single-slot-reload-enable service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname uut2-3660 ! logging rate-limit console 10 except errors no logging console ! ip subnet-zero
! !
no ip finger no ip domain-lookup ! call rsvp-sync cns event-service server ! interface FastEthernet0/0 ip address 10.2.130.2 255.255.0.0 duplex auto speed auto no cdp enable ! interface Serial5/0 ip unnumbered FastEthernet0/0 !
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-44
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the NM-AIC-64, Contact Closure Network Module
ip kerberos source-interface any ip classless ip route 0.0.0.0 0.0.0.0 10.2.0.1 ip route 10.2.130.102 255.255.255.255 Serial5/0 ip http server ! no cdp run ! ! alarm-interface 5 ip address 10.2.130.102 ! dial-peer cor custom ! ! ! line con 0 exec-timeout 0 0 transport input none line 161 no exec transport preferred none transport input telnet transport output none stopbits 1 line aux 0 line vty 0 4 password lab login ! end
Troubleshooting Tips
If no alarm messages are sent for an unusually long period of time, ping the AIC address to check for connectivity.
Software Upgrade
When upgrading software, the AIC must be reset to run the new software. The AIC provides a protected (login required) command for software download. When the user invokes this command with the TFTP server address as a parameter, the AIC connects to the IP address and, via TFTP, retrieves the software image file. After verifying that the software has been transferred successfully, the AIC replaces its running software with the newly downloaded software. In the case of incompatible versions of Cisco IOS and AIC software, the Cisco IOS software recognizes the difference and displays this information to the user. The user makes the decision whether to upgrade or downgrade either the Cisco IOS or AIC software or to take no corrective action.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-45
Configuration Backup
The AIC CLI provides commands for storing and restoring configurations. Users can transfer the current configuration of the AIC to or from the TFTP server whose address is given as a parameter to the get config command. When a configuration file is transferred from the server to the AIC, the AIC takes on the new configuration. The configuration is stored as a list of commands (script) that can be applied to the CLI of an AIC for configuration. Two other useful commands are the get image and put config commands. Use the get image command to get a new image, and the put config command to back up the configuration to the TFTP server. Backup is not automatic, but the AIC reminds the user, on logout, to back up the configuration.
Override
In the case that bad software is resident on the AIC or that the configured administrator password is lost, the AIC provides a method for recovering the card. Upon booting, the AIC begins a countdown, visible at the AIC local CLI (Craft Port). If an ASCII character is received on that local CLI channel (DSCC4 channel 2) during this countdown, the AIC enters a mode in which a limited CLI is available. At this limited CLI, available over the Craft Port only, no login is necessary. The user may enter commands for software upgrade and configuration transfer. The new configuration takes effect upon a reset of the AIC card. After interrupting the countdown, the user will see an AIC Boot]: prompt. From this prompt, the user can enter ? to see the available commands, g to get a new application image, or d to delete the current configuration and return to the defaults. (All commands require a carriage return.) In the case of the get command, the user will be prompted for the name of the file, the IP address of the TFTP server, and a confirmation.
Configuration Examples
The following configuration examples are shown in Appendix A, Configuration Examples:
AIC IP Address Configuration Example, page A-16 IP Route to the AIC Configuration Examples, page A-20
With an Unnumbered IP Address, page A-20 Without an Unnumbered IP Address, page A-21
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-46
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the 1-Port HSSI Network Module
Supports speeds up to 52 Mbps Supports a range of connectivity options: ATM, Frame Relay, PPP, and SMDS Supports EIA/TIA-612 and EIA/TIA-613 specifications at T3, E3, SONET OC1/STS-1 and NXT1 subrates
Configuration Tasks
Perform the tasks in the following sections to configure a HSSI interface. The first task is required; the remaining tasks are optional.
Specify a HSSI, page 3-47 Specify HSSI Encapsulation, page 3-47 Invoke ATM on a HSSI Line, page 3-47 Convert HSSI to Clock Master, page 3-48 Disable Fair Queueing, page 3-48
Specify a HSSI
To specify a HSSI and enter interface configuration mode, perform the following tasks in global configuration mode: Task Begin interface configuration. Command
interface hssi slot/port
For information about PPP, see the Configure SLIP and PPP chapter of the Cisco IOS Release 11.3 Access Services Configuration Guide and the Configure PPP for Wide-Area Networking chapter of the Cisco IOS Release 11.3 Wide-Area Networking Configuration Guide.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-47
To invoke ATM over a serial line, perform the following tasks in interface configuration mode: Task Specify the encapsulation method. Map a given VPI and VCI to a DXI frame address. Command
encapsulation atm-dxi dxi map protocol address vpi vci [broadcast]
For more information about configuring HSSI interfaces, refer to the Configuring Serial Interfaces chapter in the Cisco IOS Release 11.3 Configuration Fundamentals Configuration Guide.
Configuration Examples
The following example shows how to configure a 1-port HSSI network module on a Cisco 3600 series router. Both sides of the network connection need to be configured:
interface hssi 0/0 ip address 10.1.1.1 255.255.255.0 hssi internal-clock no fair-queue no shutdown interface hssi 1/0 ip address 10.1.1.2 255.255.255.0 hssi internal-clock no fair-queue no shutdown
In this example:
The interface hssi command specifies a HSSI interface and changes the configuration mode from global to interface. The ip address command assigns an IP address to this interface. The hssi internal-clock command sets the HSSI clock source.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-48
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the Compression Network Module for the Cisco 3600 Series Routers
The no fair-queue command disables fair queuing, which is enabled by default. This optimizes HSSI performance. The no shutdown command enables the port.
Configuring the Compression Network Module for the Cisco 3600 Series Routers
Cisco 3640 and Cisco 3620 routers now support a compression port module that provides high-performance, hardware-based data compression using simultaneous Stacker compression algorithms. Independent full-duplex compression and decompression capabilities are used on point-to-point (PPP) encapsulated packets. A routers central processing unit is generally reserved for tasks such as creating and maintaining routing tables, not performing compression duties. When a hardware compression port module is used in a router, all compression activity is offloaded from the routers central processing unit. This kind of hardware configuration is needed for routers that require B-channel compression for multiple WAN connections, such as two ISDN PRI interfaces carrying 46 B channels. Signaling over the D channel is not compressed. One compression port module supports up to 128 WAN interfaces. WAN or serial connections have limited bandwidth and greatly benefit from compressed data. For example, a hardware compression card that achieves 2:1 compression can compress 500 bytes of data down to 250 bytes. Transmission time is reduced by 50 percent. A line that transmits at 56 kbps without compress transmits at 112 kbps with compression. An achieved compression ratio or rate is dependent on the type of file being compressed. Graphics files, sound files, and text files all have different compression requirements and results. A hardware card can compress and decompress outgoing and incoming data. For negotiated compression configured between two routers, the incoming compressed data sent by the remote router is decompressed by the receiving or local compression card.
Configuration Task
You can configure point-to-point compression on interfaces that use PPP encapsulation. Compression reduces the size of a PPP frame via lossless data compression. PPP encapsulations support Stacker and Predictor compression algorithms, but the compression port module installed in Cisco 3600 series routers support only Stacker compression over PPP encapsulations. If the majority of your traffic is already compressed files, do not use compression. A hardware compression card should be used if the routers main processor CPU load exceeds 40 percent. To display the CPU load, use the show process cpu EXEC command. To configure compression over PPP, perform the following tasks in interface configuration mode: Command
Step 1 Step 2 Step 3
interface serial number encapsulation ppp
Task Specify a serial interface. Enable encapsulation of a single protocol on the serial line. Enable compression on a specified WAN interface.
compress stac
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-49
Chapter 3 Configuring the Digital Modem Network Module for the Cisco 3640 Router
Configuration Example
The following example enables hardware compression and PPP encapsulation on serial interface 3/1. Although the Serial interface in slot 3/1 is configured with the compress stac command, the actual data compression takes place in the hardware compression card inserted in a different slot.
Router(config)# interface serial 3/1 Router(config-if)# encapsulate ppp Router(config-if)# compress stac Router(config-if)# exit Router(config)#
Configuring the Digital Modem Network Module for the Cisco 3640 Router
The Digital Modem Network Module for the Cisco 3640 is a high-density digital network module containing 6, 12, 18, 24, or 30 digital (MICA) modems. These modems provide a direct digital connection to an Integrated Services Digital Network (ISDN) Primary Rate Interface (PRI) channel. This digital modem network module allows the access server to support a mix of both digital data calls (ISDN) and analog modem calls over a single digital network interface. Depending on the modem license you purchase with your Cisco 3640, the modems on the Digital Modem Network Module are either manageable or not manageable by Cisco IOS software commands. If the license you purchase includes this modem management capability, you can use the modem management commands to gather call and performance statistics at any time, even if there is an active call on the modem. The Digital Modem Network Module for the Cisco 3640 provides the following benefits:
Enables you, as the Enterprise customer, to support a mix of digital (ISDN) and POTS analog modem calls over a single digital network interface. Modem management commands enable you to gather call and performance statistics. Supports 56 kbps modem connections via the K56 Flex and V.90 standards when the portware for these standards becomes available.
Prerequisites
Before you can configure a modem interface, complete the following prerequisite tasks:
Install a PRI network module and another module (such as Ethernet) to provide connectivity to the LAN. Digital modem network modules do not provide physical network interfaces of their own, but instead handle analog calls passing through the PRI network module. The PRI module is capable of concurrently handling digital ISDN data and remote voice-channel (analog) modem connections. The digital modem module provides a pool of available modems that can be used for both incoming and outgoing calls. For information on how to correctly install a PRI network module, refer to the 1-Port and 2-Port ISDN-PRI Network Module Configuration Note. For information on how to install an Ethernet module, refer to the 1-Port Ethernet Network Module Configuration Note or the 4-Port Ethernet Network Module Configuration Note. For other modules, refer to the specific configuration notes pertaining to them.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-50
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the Digital Modem Network Module for the Cisco 3640 Router
Note
The PRI module must be hardware revision -03; earlier revisions are incompatible with digital modem modules. For more information, refer to the Software and Hardware Requirements section in the Digital Modem Network Module Configuration Notes. Install the Digital Modem Network Module in a chassis slot. For information on how to correctly install this network module, refer to the Installing a Digital Modem Network Module in a Chassis Slot section in the Digital Modem Network Module Configuration Note. Complete basic device configuration, including host name, username, protocol, and security configuration. Make sure that you have the following information:
ISDN PRI Switch type T1 (or E1) information, such as line code and framing type Channel-group information and time-slot mapping
Configuration Tasks
Complete the following tasks to configure the digital modem module interfaces:
Configure the E1/T1 Network Module for ISDN PRI, page 3-51 Configure the ISDN D-Channel Serial Interfaces, page 3-53 Configure the Loopback Interface, page 3-54 Configure the LAN Interface, page 3-55 Create the Group Asynchronous Interface, page 3-55 Configure the ISDN Dialer Interface, page 3-56 Configure the Default IP Pool Information, page 3-57 Configure Modem Lines for Dial-In and Dial-Out, page 3-57
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-51
Chapter 3 Configuring the Digital Modem Network Module for the Cisco 3640 Router
Select a service provider switch type that accommodates PRI. Table 3-12 shows a list of supported switch types. Specify a controller type and define its location in the Cisco 3640. Define the framing characteristics as cyclic redundancy check 4 (CRC4). Define the line code as high-density bipolar 3 (HDB3). Configure ISDN PRI. This command specifies the time slots on the T1 line to be allocated to PRI service.
controller e1 slot/unit
framing crc4
linecode hdb3
Note
The values used in this procedure for the framing and linecode commands are examples only. Use the framing type and line encoding specified by your E1 service provider.
For more information about configuring ISDN PRI on a channelized E1 controller, refer to the Configure ISDN PRI section of the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Description Select a service provider switch type that accommodates PRI. Table 3-12 shows a list of supported switch types. Specify a controller type and define its location in the Cisco 3640. Specify the clock source for the selected module. Define the framing characteristics as extended superframe format (ESF).
controller t1 slot/unit
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-52
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the Digital Modem Network Module for the Cisco 3640 Router
linecode b8zs
Define the line code as binary 8 zero substitution (B8ZS) Configure ISDN PRI. This command specifies the time slots on the T1 line to be allocated to PRI service.
Note
The values used in this procedure for the framing and linecode commands are examples only. Use the framing type and line encoding specified by your E1 service provider. For more information about configuring ISDN PRI on a channelized T1 controller, refer to the Configure ISDN PRI section of the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Note
Any router configured for ISDN support must be connected to the same switch type on all of its ISDN interfaces.
Description Specify the D-channel of the first PRI line and switch to the interface configuration mode. Disable IP processing on this interface. Set the Point-to-Point Protocol (PPP) as the encapsulation method used by this interface. Configure all incoming voice calls to go to the modems. Create a rotary dialer group. Assign the D-channel interface(s) to the defined rotary dialer group. Disable fair weighted queuing for this interface.
no fair-queue
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-53
Chapter 3 Configuring the Digital Modem Network Module for the Cisco 3640 Router
no cdp enable
For more information about configuring E1 ISDN D-channel serial interfaces, refer to the Configure ISDN PRI section in the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Description Specify the D-channel of the first PRI line and switch to the interface configuration mode. Disable IP processing on this interface. Set the Point-to-Point Protocol (PPP) as the encapsulation method used by this interface. Configure all incoming voice calls to go to the modems. Create a rotary dialer group. Assign the D-channel interface(s) to the defined rotary dialer group. Disable fair weighted queuing for this interface. Disable CDP on this interface.
For more information about configuring T1 ISDN D-channel serial interfaces, refer to the Configure ISDN PRI section in the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Description Select the loopback 0 interface. Assign an IP address and subnet mask to the loopback 0 interface.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-54
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the Digital Modem Network Module for the Cisco 3640 Router
Description Select the Ethernet interface. Assign an IP address and subnet mask to the Ethernet interface. Enable this interface
Note
Description Create a group asynchronous interface. Enable IP processing on the loopback interface without assigning an explicit IP address to the interface. Set the Point-to-Point Protocol (PPP) as the encapsulation method used by this interface. Enable SLIP and PPP EXEC commands on this interface. Specify an IP address from the defined IP address pool to be returned to a remote peer connecting to this interface. Disable CDP on this interface.
Step 3
encapsulation ppp
Step 4 Step 5
Step 6
no cdp enable
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-55
Chapter 3 Configuring the Digital Modem Network Module for the Cisco 3640 Router
Step 7
Associate one or more interfaces to the group interface so that all associated interfaces can be configured through the group interface.
For more information about group asynchronous interfaces, refer to the Asynchronous Configuration Task List section of the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Description Define a dialer rotary group leader. Enable IP processing on the loopback interface without assigning an explicit IP address to the interface. Disable IP multicast fast switching. Set the PPP as the encapsulation method used by this interface. Specify an IP address from the defined IP address pool to be returned to a remote peer connecting to this interface. Specify that dial-on-demand routing (DDR) be supported. Assign this interface to the rotary dialer group. Disable fair weighted queuing for this interface. Disable CDP on this interface. Enable Multilink PPP on this interface. Configure the enhanced IGRP routing process. Enable Enhanced IGRP. Disable sending routing updates on this interface. Transmit subprefix routing information across classful network boundaries.
dialer in-band
dialer-group number no fair-queue no cdp enable ppp multilink router eigrp autonomous-system-number network network-number passive-interface Dialer number no auto-summary
For more information about configuring ISDN dialer interfaces, refer to the Cisco IOS Release 11.3 Dial Solutions Configuration Guide.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-56
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring the Digital Modem Network Module for the Cisco 3640 Router
Description Set the range of addresses in the default IP pool to be assigned to inbound callers. Define a default gateway (router) when IP routing is disabled. Forward packets destined for a subnet of a network that has no network default route.
Step 2 Step 3
ip classless
For more information about defining IP pool information, refer to the Cisco IOS Release 11.3 Network Protocols Configuration Guide, Part 1.
Description Select the modem lines for dial-in and switch to the line configuration mode. Set the router to display a login prompt to modem callers. Set the router to shift automatically to PPP mode if it detects an incoming PPP packet. Configure the line for both incoming and outgoing calls.
autoseect during-login
autoselect ppp
modem inout
Description Select the modem lines for dial-out and switch to the line configuration mode.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-57
Step 2 Step 3
rotary number
Set the router to use previously-defined rotary group. Configure the router to accept inbound Telnet connections.
This configuration procedure ensures that a user trying to dial out using Telnet is connected to the first free line in the rotary group.
Configuration Example
Refer to theAppendix A, Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls for an example of the configuration.
Restrictions, page 3-59 Prerequisites, page 3-59 Configuration Tasks, page 3-59 Configuration Examples, page 3-64
G.SHDSL is ATM-based, multirate, high-speed (up to 2.3 MB), symmetrical digital subscriber line digital data transfer between a single customer premises equipment (CPE) subscriber and a central office. G.SHDSL is supported on the G.SHDSL WAN interface card, a 1-port WAN interface card (WIC) for Cisco 2600 series and Cisco 3600 series routers. The G.SHDSL WIC is compatible with the Cisco 6015, Cisco 6130, Cisco 6160, and Cisco 6260 Digital Subscriber Line Access Multiplexers (DSLAMs). The DSLAM must be equipped with G.SHDSL line cards that are compatible with the DSL service to be configured. The G.SHDSL WIC supports ATM Adaptation Layer 2 (AAL2), ATM Adaptation Layer 5 (AAL5), and various classes of quality of service (QoS) for both voice and data service. Listed below are some benefits of this feature:
Enables business-class broadband service with voice integration, scalable performance, flexibility, and security. Aggregates G.SHDSL and other transport options into a single box. Provides G.SHDSL high-speed digital data transmissions between customer premises equipment (CPE) and the central office (CO), or between routers located within a customer site. Supports ITU G.991.2 (SHDSL). Supports ANSI T1.601 (BRI), ANSI T1.410 (DDS), and ANSI T1.403 (T1 carrier).
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-58
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port G.SHDSL WAN Interface Card
Supports AAL2 and AAL5 services and applications (including voice), ATM class of service (constant bit rate [CBR], variable bit rate-nonreal time [VBR-nrt], variable bit rate-real time [VBR-rt], and unspecified bit rate [UBR and UBR+]), and up to 23 virtual circuits on a WIC in Cisco 2600 series and Cisco 3600 series routers. Provides ATM traffic management and quality of service (QoS) features to enable service providers to manage their core ATM network infrastructures.
Cisco 2610 Cisco 2611 Cisco 2612 Cisco 2613 Cisco 2620 Cisco 2621 Cisco 2650 Cisco 2651 Cisco 3620 Cisco 3640 Cisco 3661 Cisco 3662
Restrictions
The ADSL WAN does not support dual latency. When the DSL link is intended to support both voice and data traffic simultaneously, the total supported data rate must be reduced to adjust for the reduced coding gain, which is usually present with high-latency traffic. The ADSL WAN does not support Dying Gasp in ANSI T1.413 Issue 2. The ADSL WAN does not support available bit rate (ABR) class of service (CoS). The ADSL WAN should be insertedonly into onboard WIC slots or 1FE2W, 2W, 1FE1R, 2FE2W network modules. This WIC is not supported in old combination network modules.
Prerequisites
A G.SHDSL WIC must be installed in the router to match the DSL service to be configured. A compatible G.SHDSL line card must be installed in the DSLAM.
Configuration Tasks
See the following sections for configuration tasks for this feature. Each task in the list is identified as either required or optional:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-59
Configuring ILMI on the DSLAM Connected to the ADSL WAN, page 3-62 (optional) Verifying ATM Configuration, page 3-62 (optional)
If a slot has two subslots for WIC modules and no ATM interface is present in subslot 0, the WIC will take ATM x/0 as its interface number even if placed in subslot 1 (ATMx/1). If a two-port ATM module is present in subslot 0, the WIC will use ATM x/2 as its interface number. This subslot number is pertainent to all interface commands such as show interface atm and show dsl interface atm.
Assigns an IP address to the DSL ATM interface. (Optional) Enables Integrated Local Management Interface (ILMI) keepalives. If you enable ILMI keepalives without specifying the seconds, the default time interval is 3 seconds.
Enters atm-virtual-circuit (interface-atm-vc) configuration mode, and configures a new ATM permanent virtual circuit (PVC) by assigning a name (optional) and VPI/VCI numbers. The default traffic shaping is UBR; the default encapsulation is AAL5+LLC/SNAP.
(Optional) Enables IP connectivity and create a point-to-point IP address for the virtual circuit (VC). (Optional) Configures the PVC for real-time variable bit rate (VBR) traffic shaping.
Peak ratePeak information rate (PIR) Average rateAverage information rate (AIR) BurstBurst size in cells
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-60
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port G.SHDSL WAN Interface Card
Command
Step 7 Router(config-if-vc)#
encapsulation {aal1 | aal2 | aal5ciscoppp | aal5mux | aal5nlpid | aal5snap}
Purpose (Optional) Configures the ATM adaptation layer (AAL) and encapsulation type.
aal1AAL1 aal2AAL2 aal5ciscopppCisco PPP over AAL5 aal5muxAAL5+MUX aal5nlpidAAL5+NLPID aal5snapAAL5+LLC/SNAP (the default)
Exits from interface-atm-vc configuration mode. Configures the DSL interface to operate in a specified DSL mode:
gshdslConfigures multirate, high-speed DSL per ITU G.991.2 symmetricConfigures symmetrical mode per ITU G.992.1. annexConfigures the regional operating parameters. ASets the operating parameters for North America. This value is the default. BSets the operating parameters for Europe.
Configures the DSL interface to function as central office equipment or customer premises equipment:
coThe WIC functions as central office equipment and can interface with another G.SHDSL WIC configured as cpe. cpeThe WIC functions as customer premises equipment and can interface with a DSLAM or with another G.SHDSL WIC configured as co.
kbpsLine rate (data transfer rate) in kilobits per second. Allowable entries are 72, 136, 200, 264, 392, 520, 776, 1032, 1160, 1544, 2056, and 2312. autoThe WIC automatically trains for an optimal line rate by negotiating with the far-end DSLAM or WIC.
Exits from ATM interface configuration mode. Exits from global configuration mode.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-61
Command
Step 14 Router# show interface atm 1/0
Step 15 Router# clear interface atm 1/0 Permits the configuration changes to take effect.
To verify current configuration and to view the status for all controllers, use the show running-config command. To view ATM controller statistics, use the show controllers atm slot/port command. To verify the PVC status, use the show atm vc command. Make sure that active PVCs are up. To help identify ATM related events as they are generated, use the debug atm events command. To indicate which interfaces are having trouble, use the debug atm errors command. To identify an entry for the ATM interface you configured and to show an entry for the ATM slot/port you configured, use the show ip route command. To view the status of an ATM interface, use the show interface atm command. Make sure that the ATM slot/port and the line protocol are up, as shown in the following examples:
Router# show interface atm 1/0 ATM1/0 is up, line protocol is up Hardware is DSLSAR (with Globespan G.SHDSL Module) MTU 4470 bytes, sub MTU 4470, BW 800 Kbit, DLY 2560 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ATM, loopback not set Keepalive not supported Encapsulation(s):AAL5 AAL2, PVC mode 24 maximum active VCs, 256 VCs per VP, 2 current VCCs VC idle disconnect time:300 seconds Last input never, output 00:00:01, output hang never Last clearing of "show interface" counters 03:16:00 Queueing strategy:fifo Output queue 0/40, 0 drops; input queue 0/75, 0 drops 30 second input rate 0 bits/sec, 0 packets/sec 30 second output rate 0 bits/sec, 0 packets/sec 2527 packets input, 57116 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 10798 packets output, 892801 bytes, 0 underruns 0 output errors, 0 collisions, 0 interface resets 0 output buffer failures, 0 output buffers swapped out Router# show atm vc VCD /
Peak
Avg/Min Burst
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-62
OL-1957-04
Chapter 3
Configuring with the Command-Line Interface Configuring 1-Port G.SHDSL WAN Interface Card
Name 2 1
VPI 9 9
VCI 36 37
SC UBR UBR
Cells
Sts UP UP
Router# show controllers atm 1/0 Interface ATM1/0 is up Hardware is DSLSAR (with Globespan IDB: 62586758 Instance:6258E054 PHY Inst:62588490 Ser0Inst:62573074 Slot: 1 Unit: 1 VCperVP:256 max_vp: 256 rct_size:65536 vpivcibit:16 vpvc_sel:3 enabled: 0 WIC Register --------------FPGA Dev ID (LB) FPGA Dev ID (UB) FPGA Revision WIC Config Reg Value ---------0x44 0x53 0x99 0x45
G.SHDSL Module) reg_dslsar:3C810000 wic_regs:3C810080 Ser1Inst: 6257CBD8 us_bwidth:800 Subunit: 0 pkt Size:4496 max_vc: 65536 total vc:2 connTblVCI:8 vpi_bits:8 throttled:0
Notes ---------'D' 'S' WIC / VIC select = WIC; CTRLE addr bit 8 = 1; OK LED on; LOOPBACK LED off; CD LED on; Gen bus error on bad ADSL access ADSL normal interrupt enabled ADSL error interrupt enabled
0x07 0x03
To view the status of the G.SHDSL modem, use the show dsl interface atm command. If the line is down, the following statement appears: Line is not active. Some of the values may not be accurate. You can also verify whether the equipment type and operating mode configuration are correct for your application.
The following sample output shows a WIC configured as central office equipment, and the line is up:
Router# show dsl interface atm 0/0 Globespan G.SHDSL Chipset Information Equipment Type: Central Office Operating Mode: G.SHDSL Clock Rate Mode: Auto rate selection Mode Reset Count: 2 Actual rate: 2320 Kbps Modem Status: Data Noise Margin: 43 dB Loop Attenuation: 0.0 dB Transmit Power: 13.5 dB Receiver Gain: 204.8000 dB Last Activation Status:No Failure CRC Errors: 0 Chipset Version: 1 Firmware Version: R1.0 Farend Statistics since CO boot-time: CRC Errors: Errored Seconds: Severly ES: Un Available S: Loss Of Sync S: 0 0 0 48 0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-63
The following sample output shows a WIC configured as customer premises equipment, and the line is up:
Router# show dsl interface atm 0/0 Globespan G.SHDSL Chipset Information Equipment Type: Customer Premise Operating Mode: G.SHDSL Clock Rate Mode: Auto rate selection Mode Reset Count: 1 Actual rate: 2320 Kbps Modem Status: Data Noise Margin: 42 dB Loop Attenuation: 0.0 dB Transmit Power: 13.5 dB Receiver Gain: 204.8000 dB Last Activation Status:No Failure CRC Errors: 0 Chipset Version: 1 Firmware Version: R1.0
Configuration Examples
Configuration examples are provided in the following sections:
Configuration in CPE Mode Example, page A-25 Configuration in CO Mode Example, page A-27
Purpose Enters enable mode. Enter the password. You have entered enable mode when the prompt changes to Router#. that they are not lost during resets, power cycles, or power outages.
Step 2 Router# copy running-config startup-config Saves the configuration changes to NVRAM so
Returns to enable mode. This message is normal and does not indicate an error.
Where to Go Next
At this point you can proceed to the following:
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-64
OL-1957-04
Chapter 3
The Cisco IOS software configuration guide and command reference publications for more advanced configuration topics. These publications are available on Cisco.com, the Documentation CD-ROM that came with your router, or you can order printed copies. The System Error Messages and Debug Command Reference publications for troubleshooting information. These publications are available on Cisco.com, the Documentation CD-ROM that came with your router, or you can order printed copies.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
3-65
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
3-66
OL-1957-04
C H A P T E R
Configuring Voice-over-IP
This chapter explains how to configure voice network modules with receive and transmit (E&M), Foreign Exchange Office (FXO), and Foreign Exchange Station (FXS) interfaces for your router. Voice network modules convert telephone voice signals into a form that can be transmitted over an IP network. This chapter is divided into the following sections:
Voice-over-IP Prerequisites, page 4-1 Configuring the Voice Interface, page 4-2 Voice-over-IP Configuration Examples, page 4-3 Where to Go Next, page 4-11
You need both a voice network module and a voice interface card for a voice connection. You can install one voice interface card in a 2-channel voice network module, and two voice interface cards in a 4-channel module. At least one other network module or WAN interface card must be installed in the router to provide the connection to the IP LAN or WAN. Voice over IP (VoIP) enables your router to carry live voice traffic (for example, telephone calls and faxes) over an IP network. VoIP offers the following benefits:
Toll bypass Remote PBX presence over WANs Unified voice/data trunking Plain old telephone service (POTS)-Internet telephony gateways
Voice-over-IP Prerequisites
Before you can configure your router to use VoIP, you must first do the following:
Establish a working IP network. For more information about configuring IP, refer to the Configuring IP chapter in the Cisco IOS Release 11.3 Release Network Protocols Configuration Guide, Part 1. Install the voice network module into your router. For more informationabout the voice network modules, refer to the Connecting Voice Network Modules to a Network chapter in the Cisco Network Modules Hardware Installation Guide. Complete your companys dial plan. That is, decide what patterns of dialed numbers will access what telephony endpoints. Establish a working telephony network based on your companys dial plan. Integrate your dial plan and telephony network into your existing IP network topology.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-1
Chapter 4
Configuring Voice-over-IP
Protocols you plan to route on the new interface IP addresses, subnet masks, network numbers, zones, or other information related to the routing protocol
Timesaver
Obtain this information from your system administrator or network plan before you begin router configuration. To configure a voice interface, you must use configuration mode (manual configuration). In this mode, you can enter Cisco IOS commands at the router prompt. Before you begin, disconnect all WAN cables from the router to keep it from trying to run the AutoInstall process. The router tries to run AutoInstall whenever you power it on if there is a WAN connection on both ends, and the router does not have a valid configuration file stored in NVRAM (for instance, when you add a new interface). It can take several minutes for the router to determine that AutoInstall is not connected to a remote Transmission Control Protocol/Internet Protocol (TCP/IP) host. To configure the voice interface configuration mode, follow this procedure:
Step 1 Step 2
Connect a console to the router. If you need instructions for connecting a console, refer to the installation chapter of your router installation and configuration guide. Power onthe router. If the current configuration is no longer valid, after about one minute you see the following prompt:
Would you like to enter the initial dialog? [yes/no]:
Answer no. You now enter the normal operating mode of the router.
Note Step 3
If the current configuration is valid, you enter the normal operating mode automatically.
After a few seconds, you see the user EXEC prompt (Router>). Type enable and the password to enter enable mode:
Router> enable Password: <password>
Configuration changes can be made only in enable mode. The prompt changes to the privileged EXEC (enable) prompt (Router#):
Router#
Step 4
The router enters global configuration mode, indicated by the Router(config)# prompt.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-2
OL-1957-04
Chapter 4
Configuring Voice-over-IP
Step 5
If you have not configured the router before, or want to change the configuration, use Cisco IOS commands to configure global parameters, passwords, network management, and routing protocols. In this example, IP routing is enabled:
Router(config)# ip routing
For complete information about global configuration commands, refer to the Cisco IOS configuration guides and command references.
Step 6
If you have not already done so, configure the network module or WAN interface card that you plan to use for IP traffic. For instructions, see your routers installation and configuration guide or the configuration note for the network module or WAN interface card. To configure another interface, enter the exit command to return to the
Router(config)#
prompt.
To configure the router for voice traffic, refer to the detailed instructions in the Voice over IP Configuration document. When you finish configuring interfaces, exit configuration mode and return to the enable prompt by pressing Ctrl-z. To see the current operating configuration, including any changes you just made, enter the show running-config command:
Router# show running-config
To see the configuration currently stored in NVRAM, enter the show startup-config command at the enable prompt:
Router# show startup-config
Step 10
The results of the show running-config and show startup-config commands differ from each other if you have made changes to the configuration, but have not yet written them to NVRAM. To write your changes to NVRAM, making them permanent, enter the copy running-config startup-config command at the enable prompt:
Router# copy running-config startup-config Building configuration. . . [OK] Router#
FXS-to-FXS Connection Using RSVP, page 4-4 Linking PBX Users with E&M Trunk Lines, page 4-6 PSTN Gateway Access Using FXO Connection, page 4-8 PSTN Gateway Access Using FXO Connection (PLAR Mode), page 4-9 Configuring Direct-Inward Dialing on a BRI Port, page 4-10
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-3
Chapter 4
Configuring Voice-over-IP
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-4
OL-1957-04
Chapter 4
Configuring Voice-over-IP
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-5
Chapter 4
Configuring Voice-over-IP
destination-pattern +4155264000 port 1/0/0 ! Create voip dial-peer 20 dial-peer voice 20 voip !Define its associated telephone number and IP address destination-pattern +4085264000 sess-target ipv4:10.0.0.1 ! Configure serial interface 0/0 interface Serial0/0 ip address 40.0.0.1 255.0.0.0 no ip mroute-cache ! Configure RTP header compression ip rtp header-compression ip rtp compression-connections 25 ! Enable RSVP on this interface ip rsvp bandwidth 96 96 fair-queue 64 256 3 clockrate 64000 ! Configure IGRP router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0
Note
This example assumes that the company already has established a working IP connection between its two remote offices.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-6
OL-1957-04
Chapter 4
Configuring Voice-over-IP
Router SJ Configuration
hostname sanjose !Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +527.... port 1/0/0 !Configure pots dial-peer 2 dial-peer voice 2 pots destination-pattern +527.... port 1/0/1 !Configure voip dial-peer 3 dial-peer voice 3 voip destination-pattern +569.... session target ipv4:172.16.65.182 !Configure the E&M interface voice-port 1/0/0 signal immediate operation 4-wire type 2 voice-port 1/0/1 signal immediate operation 4-wire type 2 !Configure the serial interface interface serial 0/0 description serial interface type dce (provides clock) clock rate 2000000 ip address 172.16.1.123 no shutdown
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-7
Chapter 4
Configuring Voice-over-IP
Note
PBXs should be configured to pass all DTMF signals to the router. Cisco recommends that you do not configure store-and-forward tone.
Note
If you change the gain or the telephony port, make sure that the telephony port still accepts DTMF signals.
Note
This example assumes that the company already has established a working IP connection between its two remote offices.
Router SJ Configuration
! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +14085274000 port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +9........... session target ipv4:172.16.65.182 ! Configure the serial interface interface serial 0/0 clock rate 2000000 ip address 172.16.1.123 no shutdown
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-8
OL-1957-04
Chapter 4
Configuring Voice-over-IP
Note
This example assumes that the company already has established a working IP connection between its two remote offices.
Router SJ Configuration
! Configure pots dial-peer 1 dial-peer voice 1 pots destination-pattern +14085274000 port 1/0/0 ! Configure voip dial-peer 2 dial-peer voice 2 voip destination-pattern +9........... session target ipv4:172.16.65.182 ! Configure the serial interface
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-9
Chapter 4
Configuring Voice-over-IP
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-10
OL-1957-04
Chapter 4
Configuring Voice-over-IP
Router 1 Configuration
dial-peer voice 1 pots port 1/0/0 destination-pattern 1... direct-inward-dial dial-peer voice 2 voip session target ipv4:1.1.1.2 destination-pattern 2... dial-peer voice 3 voip session target ipv4:1.1.1.3 destination-pattern 3...
Router 2 Configuration
dial-peer voice 1 pots port 1/0/0 destination-pattern 2000
Router 3 Configuration
dial-peer voice 1 pots port 1/0/0 destination-pattern 3000
Where to Go Next
At this point you can proceed to the following:
Voice over IP Software Configuration Guide for further information on Voice over IP configuration procedures and commands. Cisco IOS software configuration guide and command reference publications for more advanced configuration topics. These publications are available on Cisco.com, the Documentation CD-ROM that came with your router, or you can order printed copies.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
4-11
Chapter 4
Configuring Voice-over-IP
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
4-12
OL-1957-04
A P P E N D I X
Configuration Examples
This appendix shows some examples of the configuration in the Cisco 2600 series, Cisco 3600 series, and Cisco 3700 series routers.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-1
Configuration Examples
no mop enabled ! interface Serial0/0 encapsulation hdlc clock rate 2000000 ip address 1.0.0.1 255.0.0.0 lat enabled appletalk cable-range 3-3 3.3 appletalk zone myzone ipx network 8 no vines metric mop enabled ! interface Ethernet0/1 ip address 255.255.255.1 255.255.0.0 lat enabled no vines metric mop enabled ! interface Serial0/1 physical-layer sync encapsulation ppp ip address 2.0.0.1 255.0.0.0 lat enabled appletalk cable-range 6-6 6.6 appletalk zone myzone ipx network 6 no vines metric xns network 7 mop enabled ! interface Serial0/2 physical-layer async ip address 3.0.0.1 255.0.0.0 lat enabled appletalk cable-range 8-8 8.8 appletalk zone myzone ipx network 8 no vines metric mop enabled ! interface Serial1/0 physical-layer sync encapsulation frame-relay frame-relay lmi-type cisco clock rate 115200 ip address 4.0.0.1 255.0.0.0 no lat enabled no vines metric no mop enabled ! interface Serial1/1 physical-layer async ip address 5.0.0.1 255.0.0.0 no lat enabled no vines metric no mop enabled ! interface Serial1/2 physical-layer sync encapsulation x25 dte x25 address 1234 x25 map ip 1.0.0.1 4321 x25 map ipx 6.0.0.1 -2132065964
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-2
OL-1957-04
Appendix A
x25 ltc 1 x25 htc 64 x25 win 7 x25 wout 7 x25 threshold 2 x25 ips 128 x25 ops 128 clock rate 115200 ip address 6.0.0.1 255.0.0.0 no lat enabled no vines metric no mop enabled ! interface Serial1/3 physical-layer sync encapsulation smds smds address c141.5556.1415 no keepalive smds static-map ip 2.0.0.1 c141.5556.1414 smds static-map ipx 2.0.0.1 c141.5556.1414 clock rate 115200 ip address 172.22.50.10 255.255.0.0 no lat enabled no vines metric no mop enabled dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! router igrp 1 redistribute connected network 172.21.0.0 ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-3
Configuration Examples
controller T1 1/0 framing esf linecode b8zs ds0-group 1 timeslots 1-24 type e&m-wink-start ! controller T1 1/1 framing sf linecode ami ! ! ! ! interface FastEthernet0/0 ip address 172.18.193.171 255.255.255.0 speed 100 full-duplex ! interface FastEthernet0/1 ip address 50.0.0.4 255.0.0.0 speed 100 full-duplex ! ip classless ip route 172.18.207.0 255.255.255.0 172.18.193.1 ip http server ip pim bidir-enable ! ! ! call rsvp-sync ! voice-port 1/0:1 output attenuation 3 ! ! mgcp profile default ! dial-peer cor custom ! ! ! dial-peer voice 919 pots destination-pattern 919 port 1/0:1 prefix 919 ! dial-peer voice 408 voip destination-pattern 408 session target ipv4:50.0.0.3 dtmf-relay h245-alphanumeric codec g711alaw ! ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 password lab login ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-4
OL-1957-04
Appendix A
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-5
Configuration Examples
Building configuration... 00:45:06: %SYS-5-CONFIG_I: Configured from console by console Current configuration : 3095 bytes ! ! Last configuration change at 12:12:59 PDT Tue Dec 4 2001 ! NVRAM config last updated at 12:12:26 PDT Tue Dec 4 2001 ! version 12.2 service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname cisco3631 ! enable secret 5 $1$6UL.$w0aJJ5oZmIv1zRDl1RMvo/ ! username USER password 7 01030717481C091D25 memory-size iomem 10 clock timezone PDT -8 ip subnet-zero no ip domain-lookup ! x29 profile linemode 2:1 3:2 15:1 x25 routing ! chat-script test "" "ATDT\T" TIMEOUT 120 CONNECT \c ! ! ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 description FAST ETHERNET INTERFACE ip address x.x.x.x x.x.x.x duplex auto speed auto ! interface Serial0/0 description WIC-1DSU-56k4 ip address x.x.x.x x.x.x.x encapsulation ppp ! interface Serial0/1 description WIC-2A/S physical-layer async
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-6
OL-1957-04
Appendix A
no ip address encapsulation ppp dialer in-band dialer rotary-group 3 dialer-group 1 async mode dedicated no fair-queue ! interface Serial0/2 description WIC-2A/S physical-layer async no ip address encapsulation ppp no ip route-cache no ip mroute-cache dialer in-band dialer rotary-group 3 dialer-group 1 async default routing async mode dedicated no fair-queue ! interface Serial1/0 description NM-4A/S no ip address encapsulation x25 x25 htc 8 ! interface Serial1/1 description NM-4A/S no ip address encapsulation x25 dce x25 ips 256 x25 ops 256 clockrate 9600 ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface ATM2/0 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/1 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/2 description ATM T1 ip address x.x.x.x x.x.x.x no ip route-cache no ip mroute-cache no atm ilmi-keepalive pvc atm71 0/71 protocol clns 47.0004.004d.0056.0000.0c00.0003.00 broadcast
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-7
Configuration Examples
protocol ip 12.0.0.2 broadcast encapsulation aal5snap ! scrambling-payload impedance 120-ohm ! interface ATM2/3 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/4 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/5 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/6 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/7 no ip address shutdown no atm ilmi-keepalive no scrambling-payload ! interface ATM2/IMA0 description ATM-IMA GROUP ip address x.x.x.x x.x.x.x no ip route-cache no ip mroute-cache no atm ilmi-keepalive pvc atm71 0/71 protocol clns 47.0004.004d.0056.0000.0c00.0002.00 broadcast protocol ip 12.0.0.1 broadcast encapsulation aal5snap ! interface Dialer3 ip address x.x.x.9 x.x.x.x encapsulation ppp no ip route-cache no ip mroute-cache dialer in-band dialer idle-timeout 500 dialer map ip x.x.x.10 name USER modem-script test broadcast 9,5551122 dialer map ip x.x.x.10 name USER modem-script test broadcast 9,5551123 dialer hold-queue 15 dialer load-threshold 5 either dialer-group 1 no fair-queue no cdp enable ppp authentication chap
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-8
OL-1957-04
Appendix A
ppp multilink group-range 4 5 ! router ospf 1 redistribute connected subnets network X.X.X.X 0.0.0.X area 3 ! ! ip classless no ip http server ip pim bidir-enable ! ! ! ! ! ! ! ! ! ! ! ! snmp-server view cutdown internet included snmp-server view cutdown at excluded snmp-server community public view cutdown RO snmp-server community private view cutdown RW ! call rsvp-sync ! ! mgcp profile default ! dial-peer cor custom ! ! ! ! line con 0 line 3 modem InOut transport input all autohangup stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware line 5 modem InOut transport input all autohangup stopbits 1 rxspeed 115200 txspeed 115200 flowcontrol hardware line 6 line aux 0 password 7 08314D5D1A0E0A0516 login modem InOut transport input all line vty 0 4 password 7 00141215174C04140B login
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-9
Configuration Examples
! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-10
OL-1957-04
Appendix A
ip address 1.1.1.1 255.0.0.0 no keepalive duplex auto speed auto no cdp enable ! interface Serial1/0 no ip address shutdown no fair-queue clockrate 125000 ! interface FastEthernet1/1 ip address 3.3.3.3 255.0.0.0 no keepalive shutdown duplex auto speed auto no cdp enable ! interface Serial1/1 no ip address shutdown clockrate 125000 ! ip kerberos source-interface any ip classless ip route 172.18.0.0 255.255.0.0 FastEthernet0/0 ip http server ! ! ! ! snmp-server packetsize 4096 snmp-server chassis-id snmp-server manager ! ! dial-peer cor custom ! ! ! ! line con 0 exec-timeout 0 0 transport input none line 1 32 line 35 96 line aux 0 line vty 0 4 ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-11
Configuration Examples
VoATM over AAL2 on the ATM Interface Configuration Example, page A-12 VoATM over AAL5 on the ATM Interface Configuration Example, page A-14
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-12
OL-1957-04
Appendix A
! pvc 10/200 protocol ip 10.1.1.2 broadcast encapsulation aal5snap ! dsl operating-mode ansi-dmt no fair-queue ! interface Ethernet0/1 no ip address shutdown ! ip classless ip route 223.255.254.254 255.255.255.224 Ethernet0/0 no ip http server ! ! snmp-server engineID local 000000090200003080477F20 snmp-server manager ! voice-port 1/0:0 local-alerting timeouts wait-release 3 connection trunk 3001 ! voice-port 1/0:1 local-alerting timeouts wait-release 3 connection trunk 3002 . . . voice-port 1/0:23 local-alerting timeouts wait-release 3 connection trunk 3024 shutdown ! dial-peer cor custom ! dial-peer voice 3001 voatm destination-pattern 3001 called-number 4001 session protocol aal2-trunk session target ATM0/1 pvc 10/100 31 codec aal2-profile ITUT 1 g711ulaw no vad ! dial-peer voice 3002 voatm destination-pattern 3002 called-number 4002 session protocol aal2-trunk session target ATM0/1 pvc 10/100 32 codec aal2-profile custom 100 g726r32 no vad ! dial-peer voice 3003 voatm destination-pattern 3003 called-number 4003 session protocol aal2-trunk session target ATM0/1 pvc 10/100 33 codec aal2-profile ITUT 7 g729abr8 no vad .
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-13
Configuration Examples
. . dial-peer voice 3024 voatm destination-pattern 3024 called-number 3024 session protocol aal2-trunk session target ATM0/1 pvc 10/100 54 codec aal2-profile ITUT 7 g729abr8 no vad ! dial-peer voice 1 pots destination-pattern 4001 port 1/0:0 ! dial-peer voice 2 pots destination-pattern 4002 port 1/0:1 . . . dial-peer voice 24 pots destination-pattern 4024 port 1/0:23 ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-14
OL-1957-04
Appendix A
! controller T1 1/0 framing esf linecode b8zs ds0-group 0 timeslots 1-24 type e&m-wink-start ! controller T1 1/1 ! ! interface ATM0/0 ip address 12.0.0.1 255.255.255.224 load-interval 30 atm vc-per-vp 256 no atm ilmi-keepalive dsl operating-mode auto no fair-queue ! ! interface FastEthernet0/0 ip address 1.7.73.1 255.255.255.224 duplex auto speed auto ! ! interface FastEthernet0/1 ip address 192.168.2.1 255.255.255.224 load-interval 30 duplex auto speed auto ! ip classless ip route 223.255.254.0 255.255.255.224 FastEthernet0/0 no ip http server ! ! snmp-server engineID local 0000000902000002163DB260 snmp-server packetsize 4096 snmp-server manager ! voice-port 1/0:0 ! dial-peer cor custom ! ! dial-peer voice 5 pots destination-pattern 777... port 1/0:0 prefix 777 ! ! dial-peer voice 100 voatm destination-pattern 888.... session target atm0/0 pvc 0/72 ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-15
Configuration Examples
AIC IP Address Configuration Example, page A-16 IP Route to the AIC Configuration Examples, page A-20
With an Unnumbered IP Address, page A-20 Without an Unnumbered IP Address, page A-21
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-16
OL-1957-04
Appendix A
! interface Ethernet0/1 no ip address half-duplex no cdp enable ! interface Serial0/1 ip address 10.11.11.1 255.255.255.0 encapsulation frame-relay no ip mroute-cache clockrate 256000 frame-relay class voice-vc frame-relay traffic-shaping frame-relay interface-dlci 991 frame-relay intf-type dce ! interface Serial1/0 ip address negotiated ! router mobile ! ip kerberos source-interface any ip classless ip route 223.255.254.254 255.255.255.255 10.5.0.1 ip route 223.255.254.254 255.255.255.255 Ethernet0/0 no ip http server ! ! map-class frame-relay voice-vc frame-relay cir 800000 frame-relay bc 512000 no frame-relay adaptive-shaping frame-relay fair-queue frame-relay voice bandwidth 500000 frame-relay fragment 100 frame-relay ip rtp priority 16384 16383 512 ! map-class frame-relay fr1 frame-relay cir 1000000 frame-relay bc 1000 no frame-relay adaptive-shaping frame-relay fair-queue frame-relay voice bandwidth 1000000 frame-relay fragment 100 ! map-class frame-relay voice-vc2 frame-relay cir 800000 frame-relay bc 512000 no frame-relay adaptive-shaping frame-relay voice bandwidth 800000 ! map-class frame-relay voice-data access-list 1 deny 192.200.1.20 access-list 2 deny 10.10.1.10 dialer-list 1 protocol ip permit dialer-list 1 protocol ipx permit ! snmp-server packetsize 4096 snmp-server manager ! alarm-interface 1 ip address 10.4.3.2 call rsvp-sync !
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-17
Configuration Examples
mgcp modem passthrough voip mode ca no mgcp timer receive-rtcp ! mgcp profile default ! dial-peer cor custom ! dial-peer voice 1 pots destination-pattern 3 direct-inward-dial forward-digits all ! dial-peer voice 100 voip shutdown destination-pattern 3 session target ipv4:10.2.81.1 playout-delay maximum 300 ! dial-peer voice 2 pots shutdown destination-pattern 3002 ! dial-peer voice 3 pots shutdown destination-pattern 3003 ! dial-peer voice 4 pots shutdown destination-pattern 3004 ! dial-peer voice 2000 voip shutdown destination-pattern 2... session target ipv4:5.5.5.2 playout-delay maximum 300 ! dial-peer voice 110 voip shutdown destination-pattern 1... session target ipv4:10.2.83.30 playout-delay maximum 300 ! dial-peer voice 922 pots shutdown destination-pattern 9.. ! dial-peer voice 22 pots shutdown destination-pattern 22 ! dial-peer voice 6001 pots shutdown destination-pattern 6001 ! dial-peer voice 333 voip shutdown destination-pattern 1 session target ipv4:10.2.79.55 playout-delay maximum 300 ! dial-peer voice 200 vofr shutdown destination-pattern 1 !
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-18
OL-1957-04
Appendix A
dial-peer voice 7001 pots shutdown destination-pattern 7001 ! dial-peer voice 5000 voip shutdown destination-pattern 5... session target ipv4:10.11.11.2 playout-delay maximum 300 ! dial-peer voice 20 voip shutdown destination-pattern 1 session target ipv4:10.11.11.2 playout-delay maximum 300 ! dial-peer voice 2001 voip preference 2 shutdown destination-pattern 2... session target ipv4:10.2.79.7 playout-delay maximum 300 ! dial-peer voice 1000 voip destination-pattern 1... session target ipv4:10.2.81.6 playout-delay maximum 300 no vad ! dial-peer voice 1001 voatm shutdown destination-pattern 1... ! dial-peer voice 1100 vofr shutdown destination-pattern 1... session target Serial0/0 990 no vad ! gateway ! gateway ! gatekeeper shutdown ! ! line con 0 exec-timeout 0 0 transport input none line 33 no exec transport preferred none transport input telnet transport output none stopbits 1 line aux 0 line vty 0 4 login ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-19
Configuration Examples
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-20
OL-1957-04
Appendix A
transport output none stopbits 1 line aux 0 line vty 0 4 password lab login ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-21
Configuration Examples
! dial-peer cor custom ! line con 0 exec-timeout 0 0 transport input none line 33 no exec transport preferred none transport input telnet transport output none stopbits 1 line aux 0 line vty 0 4 password lab login ! no scheduler allocate ! end
Discrete Alarm
description:west door normally closed normal state description:door closed alarm state description:door open SNMP trap:enabled
SNMP trap:enabled
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-22
OL-1957-04
Appendix A
Configuration Examples Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
The following configuration allows remote LANs and standalone remote users with modems to dial in to a central site. The following configuration example shows a Cisco 3640 router with the following hardware configuration:
One 2-port ISDN-PRI network module installed in slot 1 One digital modem network module installed in slot 2 and slot 3 One 1-port Ethernet network module installed in slot 0
Note
Each MICA digital modem card has its own group async configuration. Additionally, a single range of async lines is used for each modem card. For additional interface numbering information, refer to the Digital Modem Network Module Configuration Note.
! version 11.2 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption no service udp-small-servers no service tcp-small-servers ! hostname NAS ! aaa new-model aaa authentication login default local aaa authentication login console enable aaa authentication login vty local aaa authentication login dialin local aaa authentication ppp default local aaa authentication ppp dialin if-needed local enable secret cisco ! username admin password cisco username remotelan1 password dialpass1 username remotelan2 password dialpass2 username PCuser1 password dialpass3 username PCuser2 password dialpass4 async-bootp dns-server 10.1.3.1 10.1.3.2 isdn switch-type primary-5ess ! controller T1 1/0 framing esf clock source line linecode b8zs pri-group timeslots 1-24 ! controller T1 1/1 framing esf clock source line linecode b8zs pri-group timeslots 1-24 ! interface Loopback0 ip address 10.1.2.254 255.255.255.0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-23
Appendix A Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Configuration Examples
! interface Ethernet0/0 ip address 10.1.1.10 255.255.255.0 ip summary address eigrp 10 10.1.2.0 255.255.255.0 ! interface Serial 1/0:23 no ip address encapsulation ppp no keepalive isdn incoming-voice modem dialer rotary-group 0 dialer-group 1 no fair-queue no cdp enable ! interface Serial 1/1:23 no ip address encapsulation ppp no keepalive isdn incoming-voice modem dialer rotary-group 0 dialer-group 1 no fair-queue no cdp enable ! interface Group-Async1 ip unnumbered Loopback0 encapsulation ppp async mode interactive peer default ip address pool dialin_pool no cdp enable ppp authentication chap pap dialin group-range 65 88 ! interface Group-Async2 ip unnumbered Loopback0 encapsulation ppp async mode interactive peer default ip address pool dialin_pool no cdp enable ppp authentication chap pap dialin group-range 97 120 ! interface Dialer0 ip unnumbered Loopback0 no ip mroute-cache encapsulation ppp peer default ip address pool dialin_pool dialer in-band dialer-group 1 no fair-queue no cdp enable ppp authentication chap pap dialin ppp multilink ! router eigrp 10 network 10.0.0.0 passive-interface Dialer0 no auto-summary ! ip local pool dialin_pool 10.1.2.1 10.1.2.50 ip default-gateway 10.1.1.1 ip classless !
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-24
OL-1957-04
Appendix A
Configuration Examples Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
dialer-list 1 protocol ip permit ! line con 0 login authentication console line 65 88 autoselect ppp autoselect during-login login authentication dialin modem DialIn line 97 120 autoselect ppp autoselect during-login login authentication dialin modem DialIn line aux 0 login authentication console line vty 0 4 login authentication vty transport input telnet rlogin ! end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-25
Appendix A Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Configuration Examples
interface Ethernet0/0 ip address 209.165.202.128 255.255.255.224 half-duplex no cdp enable ! interface Serial0/0 no ip address shutdown ! interface ATM0/1 ip address 209.165.201.1 255.255.255.224 dsl operating-mode gshdsl symmetric annex A dsl equipment-type cpe dsl linerate auto load-interval 30 atm vc-per-vp 256 no atm ilmi-keepalive pvc 10/100 vbr-rt 672 672 512 encapsulation aal2 ! pvc 10/200 protocol ip 209.165.202.159 broadcast encapsulation aal5snap ! no fair-queue ! interface Ethernet0/1 no ip address shutdown ! ip classless ip route 209.165.202.128 255.255.255.224 Ethernet0/0 no ip http server ! ! snmp-server engineID local 000000090200003080477F20 snmp-server manager ! voice-port 1/0:0 local-alerting timeouts wait-release 3 connection trunk 3001 ! voice-port 1/0:1 local-alerting timeouts wait-release 3 connection trunk 3002 . . . voice-port 1/0:23 local-alerting timeouts wait-release 3 connection trunk 3024 shutdown ! dial-peer cor custom ! dial-peer voice 3001 voatm destination-pattern 3001 called-number 4001 session protocol aal2-trunk session target ATM0/1 pvc 10/100 31
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-26
OL-1957-04
Appendix A
Configuration Examples Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
codec aal2-profile ITUT 1 g711ulaw no vad ! dial-peer voice 3002 voatm destination-pattern 3002 called-number 4002 session protocol aal2-trunk session target ATM0/1 pvc 10/100 32 codec aal2-profile custom 100 g726r32 no vad ! dial-peer voice 3003 voatm destination-pattern 3003 called-number 4003 session protocol aal2-trunk session target ATM0/1 pvc 10/100 33 codec aal2-profile ITUT 7 g729abr8 no vad . . . dial-peer voice 3024 voatm destination-pattern 3024 called-number 3024 session protocol aal2-trunk session target ATM0/1 pvc 10/100 54 codec aal2-profile ITUT 7 g729abr8 no vad ! dial-peer voice 1 pots destination-pattern 4001 port 1/0:0 ! dial-peer voice 2 pots destination-pattern 4002 port 1/0:1 . . . dial-peer voice 24 pots destination-pattern 4024 port 1/0:23 ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-27
Appendix A Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Configuration Examples
version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname host2 ! memory-size iomem 10 voice-card 1 ! ip subnet-zero ip host host2 225.255.255.224 ! no mgcp timer receive-rtcp call rsvp-sync ! ! controller T1 1/0 framing esf linecode b8zs ds0-group 0 timeslots 1 type e&m-wink-start ds0-group 1 timeslots 2 type e&m-wink-start . . . ds0-group 23 timeslots 24 type e&m-wink-start ! controller T1 1/1 framing esf linecode b8zs ! interface Ethernet0/0 ip address 209.165.202.128 255.255.255.224 half-duplex no cdp enable ! interface Serial0/0 no ip address shutdown ! interface ATM0/1 ip address 209.165.201.1 255.255.255.224 dsl operating-mode gshdsl symmetric annex A dsl equipment-type co dsl linerate auto load-interval 30 atm vc-per-vp 256 no atm ilmi-keepalive pvc 10/100 vbr-rt 672 672 512 encapsulation aal2 ! pvc 10/200 protocol ip 209.165.202.159 broadcast encapsulation aal5snap ! no fair-queue ! interface Ethernet0/1 no ip address shutdown ! ip classless ip route 209.165.202.128 255.255.255.224 Ethernet0/0
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-28
OL-1957-04
Appendix A
Configuration Examples Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
no ip http server ! ! snmp-server engineID local 000000090200003080477F20 snmp-server manager ! voice-port 1/0:0 local-alerting timeouts wait-release 3 connection trunk 3001 ! voice-port 1/0:1 local-alerting timeouts wait-release 3 connection trunk 3002 . . . voice-port 1/0:23 local-alerting timeouts wait-release 3 connection trunk 3024 shutdown ! dial-peer cor custom ! dial-peer voice 3001 voatm destination-pattern 3001 called-number 4001 session protocol aal2-trunk session target ATM0/1 pvc 10/100 31 codec aal2-profile ITUT 1 g711ulaw no vad ! dial-peer voice 3002 voatm destination-pattern 3002 called-number 4002 session protocol aal2-trunk session target ATM0/1 pvc 10/100 32 codec aal2-profile custom 100 g726r32 no vad ! dial-peer voice 3003 voatm destination-pattern 3003 called-number 4003 session protocol aal2-trunk session target ATM0/1 pvc 10/100 33 codec aal2-profile ITUT 7 g729abr8 no vad . . . dial-peer voice 3024 voatm destination-pattern 3024 called-number 3024 session protocol aal2-trunk session target ATM0/1 pvc 10/100 54 codec aal2-profile ITUT 7 g729abr8 no vad ! dial-peer voice 1 pots destination-pattern 4001 port 1/0:0 !
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
A-29
Appendix A Cisco 3640 Central Site Configuration to Support ISDN and Modem Calls
Configuration Examples
dial-peer voice 2 pots destination-pattern 4002 port 1/0:1 . . . dial-peer voice 24 pots destination-pattern 4024 port 1/0:23 ! ! line con 0 exec-timeout 0 0 transport input none line aux 0 line vty 0 4 login ! no scheduler allocate end
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
A-30
OL-1957-04
A P P E N D I X
Formatting Procedures
Cisco recommends that you erase (Class B) or format (Class C) new compact Flash memory cards to initialize them with either a Class B or Class C Flash file system. This ensures proper formatting and enables the ROM monitor to recognize and boot the Flash. The Class B Flash file system is also known as the low end file system (LEFS). The Class C Flash file system is similar to the standard DOS file system.
Note
A compact Flash memory card formatted with the standard DOS file system does not support booting from the ROM monitor.
If geometry and format information is not displayed, the card is formatted with a Class B Flash file system. If geometry and format information is displayed, the card is formatted with a Class C Flash file system.
The following examples show outputs for Class B and Class C Flash file systems:
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-1
The geometry and format information is not displayed for this format.
Router#show slot0: all Partition Mode 1 Size 31360K Used 6502K Free 24857K Bank-Size 0K State Read/Write Copy Direct
Slot0 CompactFlash directory: File Length Name/status addr fcksum ccksum 1 6658376 c3725-i-mz 0x40 0xE0FF 0xE0FF [6658440 bytes used, 25454200 available, 32112640 total] 31360K bytes of ATA Slot0 CompactFlash (Read/Write) Chip information NOT available.
The geometry and format information is not displayed for this format.
Router# show flash: all Partition Mode 1 Direct Size 125184K Used 20390K Free 104793K Bank-Size 0K State Read/Write Copy
System CompactFlash directory: File Length Name/status addr fcksum ccksum 1 6658376 c3725-i-mz 0x40 0xE0FF 0xE0FF 2 14221136 c3631-telcoent-mz
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-2
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards Formatting Procedures for Compact Flash Memory Cards
0x6599C8 0x5C3D 0x5C3D [20879640 bytes used, 107308776 available, 128188416 total] 125184K bytes of ATA System CompactFlash (Read/Write) Chip information NOT available.
Format compact Flash memory cards with a Class B Flash file system (LEFS) Remove the files from a compact Flash memory card previously formatted with a Class B Flash file system
For external compact Flash memory cards, enter the erase slot0: command. For internal compact Flash memory cards, enter the erase flash: command. The following example shows output for formatting an external compact Flash memory card with a Class B Flash file system:
Router# erase slot0: Erasing the slot0 filesystem will remove all files! Continue? [confirm] Current DOS File System flash card in slot0: will be formatted into Low End File System flash card! Continue? [confirm] Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ...erased Erase of slot0: complete
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-3
Format compact Flash memory cards with a Class C Flash file system Remove the files from a compact Flash memory card previously formatted with a Class C Flash file system
For external compact Flash memory cards, enter the format slot0: command. For internal compact Flash memory cards, enter the format flash: command. The following example shows output for formatting an internal compact Flash memory card with a Class C Flash file system:
Router# format flash: Format operation may take a while. Continue? [confirm] Format operation will destroy all data in "flash:". Continue? [confirm] Enter volume ID (up to 64 chars)[default flash]: Current Low End File System flash card in flash will be formatted into DOS File System flash card! Continue? [confirm] Format:Drive communication & 1st Sector Write OK... Writing Monlib sectors ................................................................... Monlib write complete .. Format:All system sectors written. OK... Format:Total sectors in formatted partition:250592 Format:Total bytes in formatted partition:128303104 Format:Operation completed successfully. Format of flash complete
To copy files to another location, enter the copy {flash: | slot0:} command. The following example shows output for copying a Cisco IOS file from an internal compact Flash memory card (flash:) to an external compact Flash memory card (slot0:):
Router# copy flash:c3725-i-mz.tmp slot0: Destination filename [c3725-i-mz.tmp]? Erase slot0:before copying? [confirm]nCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-4
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards File and Directory Operations
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Verifying checksum... OK (0xC68E) 6458584 bytes copied in 67.788 secs (96396 bytes/sec)
The following example shows output for copying a configuration file to the startup configuration in an internal compact Flash memory card (flash:):
Router# copy flash:my-config1 startup-config Destination filename [startup-config]? [OK] 517 bytes copied in 4.188 secs (129 bytes/sec)
The following example shows output for copying a configuration file to the running configuration in an internal compact Flash memory card (flash:):
Router# copy flash:my-config2 running-config Destination filename [running-config]? 709 bytes copied in 0.72 secs
To display the contents (directories and files) of a compact Flash memory card formatted with a Class B Flash file system, enter the dir {flash: | slot0:} command or the show {flash: | slot0:} command. The following example shows output for displaying the contents of an internal compact Flash memory card using the dir flash: command:
Router# dir flash: Directory of flash:/ 1 2 3 -rw-rw-rw5190020 6458584 16535740 <no date> <no date> <no date> c3631-i-mz c3725-i-mz c3631-telcoent-mz
The following example shows output for displaying the contents of an external compact Flash memory card using the show slot0: command:
Router# show slot0: System CompactFlash directory: File Length Name/status 1 5190020 c3631-i-mz 2 6458584 c3725-i-mz 3 16535740 c3631-telcoent-mz [28184536 bytes used, 100266024 available, 128450560 total] 125440K bytes of ATA System CompactFlash (Read/Write)
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-5
To delete a file from compact Flash memory, enter the delete {flash: | slot0:} command, followed by the squeeze {flash: | slot0:} command. When a file is deleted in the Class B Flash file system, the memory space occupied by the deleted file is not released until you enter the squeeze {flash: | slot0:} command. Although the memory space once occupied by the deleted file remains, the deleted file cannot be recovered. To release the memory space occupied by a deleted file, enter the squeeze {flash: | slot0:} command.
Note
The dir {flash: | slot0:} command does not show deleted files; the show {flash: | slot0:} command shows all files, including any deleted files if the squeeze {flash: | slot0:} command has not been entered. The following example shows output for deleting a Cisco IOS file from an external compact Flash memory card, and then releasing the memory space originally occupied by the file:
Router# dir slot0: Directory of slot0:/ 1 2 -rw-rw6458208 6458208 <no date> <no date> c3725-i-mz.tmp c3725-i-mz
16056320 bytes total (3139776 bytes free) Router# delete slot0:c3725-i-mz.tmp Delete filename [c3725-i-mz.tmp]? Delete slot0:c3725-i-mz.tmp? [confirm] Router# dir slot0: Directory of slot0:/ 2 -rw6458208 <no date> c3725-i-mz
16056320 bytes total (3139776 bytes free) Router# show slot0: Slot0 CompactFlash directory: File Length Name/status 1 6458208 c3725-i-mz.tmp [deleted] 2 6458208 c3725-i-mz [12916544 bytes used, 3139776 available, 16056320 total] 15680K bytes of ATA Slot0 CompactFlash (Read/Write) Router# squeeze slot0: Squeeze operation may take a while. Continue? [confirm] squeeze in progress... sssssssssssssssssssssssseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Rebuild file system directory... Squeeze of slot0 complete
To display the content of a file in compact Flash memory, use the more {flash: | slot0:} command. The following example shows output from the more {flash: | slot0:} command on an external Cisco Flash memory card:
Router# more slot0:c3725-i-mz 00000000: 7F454C46 01020100 00000000 00000000 .ELF .... .... ....
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-6
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards File and Directory Operations
00000010: 00020061 00000020: 00000054 00000030: 00050008 00000040: 80008000 00000050: 0000011C 00000060: 80008000 00000070: 00000000 00000080: 00000001 00000090: 00000700 000000A0: 00000000 000000B0: 8000C700 000000C0: 00000000 000000D0: 00000001 000000E0: 00000020 000000F0: 00000000 00000100: 8000CAA0 00000110: 00000000 00000120: 679C4A80 00000130: AC3FC710 00000140: AC25C718 00000150: AC27C720 00000160: AC31C728 --More-- q
00000001 20000001 00000001 00628A44 0000001B 0000011C 00000008 00000002 00000000 00000029 0000481C 00000004 10000003 00000000 0000002F 00004BBC 00000008 3C018001 3C018001 3C018001 3C018001 3C018001
80008000 00340020 0000011C 00650EEC 00000001 00004000 00000000 8000C000 00000000 00000001 00000380 00000000 8000CA80 00000000 00000001 00623FA4 00000000 AC3DC70C AC24C714 AC26C71C AC30C724 AC32C72C
00000034 00010028 80008000 00000007 00000006 00000000 00000021 0000411C 00000004 00000003 00000000 0000002F 00004B9C 00000008 10000003 00000000 3C1C8001 3C018001 3C018001 3C018001 3C018001 3C018001
...a ...T .... .... .... .... .... .... .... .... ..G. .... .... ... .... ..J .... g.J. ,?G. ,%G. ,'G ,1G(
.... ... .... .b.D .... .... .... .... .... ...) ..H. .... .... .... .../ ..K< .... <... <... <... <... <...
.... .4. .... .e.l .... ..@. .... ..@. .... .... .... .... ..J. .... .... .b?$ .... ,=G. ,$G. ,&G. ,0G$ ,2G,
...4 ...( .... .... .... .... ...! ..A. .... .... .... .../ ..K. .... .... .... <... <... <... <... <... <...
To copy files to another location, enter the copy {flash: | slot0:} command. The following example shows output for copying a Cisco IOS file from an external compact Flash memory card to an internal compact Flash memory card:
Router# copy slot0:c3725-i-mz.tmp flash: Destination filename [c3725-i-mz.tmp]? CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 6458584 bytes copied in 202.940 secs (31973 bytes/sec)
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-7
The following example shows output for copying a configuration file to the startup configuration in an internal compact Flash memory card ( flash:):
Router# copy flash:my-config1 startup-config Destination filename [startup-config]? [OK] 517 bytes copied in 4.188 secs (129 bytes/sec)
The following example shows output for copying a configuration file to the running configuration in an internal compact Flash memory card ( flash:):
Router# copy flash:my-config2 running-config Destination filename [running-config]? 709 bytes copied in 0.72 secs
To display the contents (directories and files) of a compact Flash memory card formatted with a Class C Flash file system, use the dir{flash: | slot0:} or show {flash: | slot0:} command. The following examples show outputs for displaying the contents of an external compact Flash memory card with a Class C Flash file system:
Router# show slot0: -#- --length-- -----date/time-----1 6658376 Mar 01 1993 00:29:52 2 2124 Mar 01 1993 00:34:38 3 2622 Mar 01 1993 00:34:44 path c3725-i-mz running-config startup-config
25260032 bytes available (6672384 bytes used) Router# dir slot0: Directory of slot0:/ 3 1579 -rw-rw6455048 6458584 Mar 01 2001 00:04:06 Mar 01 2001 00:24:38 c3725-i-mz c3725-i-mz.new
To display the geometry and format information of a compact Flash memory card formatted with a Class C Flash file system, use the show {flash: | slot0:} filesys command. The following example shows output for displaying the geometry and format information of an external Cisco Flash memory card:
Router# show slot0: filesys ******** ATA Flash Card Geometry/Format Info ******** ATA CARD GEOMETRY Number of Heads: Number of Cylinders Sectors per Cylinder Sector Size Total Sectors ATA CARD FORMAT Number of FAT Sectors
31
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-8
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards File and Directory Operations
Sectors Per Cluster Number of Clusters Number of Data Sectors Base Root Sector Base FAT Sector Base Data Sector
To delete a file from a compact Flash memory card, use the delete {flash: | slot0:} command. The following example shows output for deleting a Cisco IOS file from an internal compact Flash memory card:
Router# delete flash:c3725-i-mz.tmp Delete filename [c3725-i-mz.tmp]? Delete flash:c3725-i-mz.tmp? [confirm] Router# dir flash: Directory of flash:/ No files in directory 128094208 bytes total (128094208 bytes free)
Rename a File
To rename a file in a compact Flash memory card, use the rename {flash: | slot0:} command. The following example shows output for renaming a Cisco IOS file in an internal compact Flash memory card:
Router# dir flash: Directory of flash:/ 3 1580 -rw-rw6458388 6462268 Mar 01 1993 00:00:58 Mar 06 1993 06:14:02 c3725-i-mz.tmp c3725-i-mz.3600ata
63930368 bytes total (51007488 bytes free) Router# rename flash:c3725-i-mz.tmp flash:c3725-i-mz Destination filename [c3725-i-mz]? Router# dir flash: Directory of flash:/ 1580 3 -rw-rw6462268 6458388 Mar 06 1993 06:14:02 Mar 01 1993 00:01:24 c3725-i-mz.3600ata c3725-i-mz
To display the content of a file in a compact Flash memory card, use the more {flash: | slot0:} command. The following example shows output from the more {flash: | slot0:} command on an internal Compact Flash card:
Router# more flash:c3725-i-mz.tmp 00000000: 7F454C46 01020100 00000000 00000000 00000010: 00020061 00000001 80008000 00000034 .ELF .... .... .... ...a .... .... ...4
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-9
00000020: 00000054 00000030: 00050008 00000040: 80008000 00000050: 0000011C 00000060: 80008000 00000070: 00000000 00000080: 00000001 00000090: 00000700 000000A0: 00000000 000000B0: 8000C700 000000C0: 00000000 000000D0: 00000001 000000E0: 00000020 000000F0: 00000000 00000100: 8000CAA0 00000110: 00000000 00000120: 679C4A80 00000130: AC3FC710 00000140: AC25C718 00000150: AC27C720 00000160: AC31C728 --More-- q
20000001 00000001 00628A44 0000001B 0000011C 00000008 00000002 00000000 00000029 0000481C 00000004 10000003 00000000 0000002F 00004BBC 00000008 3C018001 3C018001 3C018001 3C018001 3C018001
00340020 0000011C 00650EEC 00000001 00004000 00000000 8000C000 00000000 00000001 00000380 00000000 8000CA80 00000000 00000001 00623FA4 00000000 AC3DC70C AC24C714 AC26C71C AC30C724 AC32C72C
00010028 80008000 00000007 00000006 00000000 00000021 0000411C 00000004 00000003 00000000 0000002F 00004B9C 00000008 10000003 00000000 3C1C8001 3C018001 3C018001 3C018001 3C018001 3C018001
...T .... .... .... .... .... .... .... .... ..G. .... .... ... .... ..J .... g.J. ,?G. ,%G. ,'G ,1G(
... .... .b.D .... .... .... .... .... ...) ..H. .... .... .... .../ ..K< .... <... <... <... <... <...
.4. .... .e.l .... ..@. .... ..@. .... .... .... .... ..J. .... .... .b?$ .... ,=G. ,$G. ,&G. ,0G$ ,2G,
...( .... .... .... .... ...! ..A. .... .... .... .../ ..K. .... .... .... <... <... <... <... <... <...
To create a directory in compact Flash memory, use the mkdir {flash: | slot0:} command. The following example shows output for first displaying the contents of an internal compact Flash card, and then creating a directory named config and a subdirectory named test-config:
Router# dir flash: Directory of flash:/ 3 -rw6458208 Mar 01 1993 00:04:08 c3725-i-mz.tmp
128094208 bytes total (121634816 bytes free) Router# mkdir flash:/config Create directory filename [config]? Created dir flash:/config Router# mkdir flash:/config/test-config Create directory filename [/config/test-config]? Created dir flash:/config/test-config Router# dir flash: Directory of flash:/ 3 -rw1580 drw6458208 0 Mar 01 1993 00:04:08 c3725-i-mz.tmp Mar 01 1993 23:48:36 config
128094208 bytes total (121626624 bytes free) Router# cd flash:/config Router# dir flash: Directory of flash:/config/ 1581 drw0 Mar 01 1993 23:50:08 test-config
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-10
OL-1957-04
Appendix B
Formatting the Compact Flash Memory Cards File and Directory Operations
Remove a Directory
To remove a directory from compact Flash memory, use the rmdir {flash: | slot0:} command. Before you can remove a directory, all files and subdirectories must be removed from the directory. The following example shows output for displaying the contents of an internal compact Flash card, then removing the subdirectory named test-config:
Router# dir flash: Directory of flash:/config/ 1581 drw0 Mar 01 1993 23:50:08 test-config
128094208 bytes total (121626624 bytes free) Router# rmdir flash:/config/test-config Remove directory filename [/config/test-config]? Delete flash:/config/test-config? [confirm] Removed dir flash:/config/test-config Router# dir flash: Directory of flash:/config/ No files in directory 128094208 bytes total (121630720 bytes free)
To enter a directory in compact Flash memory, use the cd command. To determine which directory you are in, use the pwd command. If you enter only cd, the router will enter the default home directory, which is flash:/. The following example shows output for the following actions:
Entering the home directory of a compact Flash memory card in an internal slot (flash:/) Verifying that you are in the home directory Displaying the contents of the home directory Entering the /config directory Verifying that you are in the /config directory Entering the home directory of a compact Flash memory card in an external slot (slot0:/) Verifying that you are in the slot0:/ directory Returning to the home directory (flash:/) Verifying that you are in the home directory
Router# cd Router# pwd flash: Router# dir Directory of flash:/ 3 1580 -rwdrw6458208 0 Mar 01 1993 00:04:08 Mar 01 1993 23:48:36 c3725-i-mz.tmp config
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
B-11
Appendix B
Router# cd config Router# pwd flash:/config/ Router# cd slot0: Router# pwd slot0:/ Router# cd Router# pwd flash:
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
B-12
OL-1957-04
A P P E N D I X
Entering the ROM Monitor Mode, page C-1 ROM Monitor Commands, page C-2 ROM Monitor Syntax Conventions, page C-3 Command Descriptions, page C-3 Procedures for Recovering Boot and System Images, page C-8
Configure
Command or Action
Step 1 2600> reload Step 2 Press the Break key during the first 60 seconds while
Purpose Restarts the router. Forces the router to stop booting and enter the ROM monitor mode.
Verify
To verify that you are in the ROM monitor mode, check that the prompt displayed on your screen is the ROM monitor mode prompt:
rommon # >
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
C-1
Tip
From the Cisco IOS software, you can configure the router to automatically enter the ROM monitor mode the next time the router boots by setting virtual configuration register bits 3, 2, 1, and 0 to zero. From the console, enter the following configuration command:
configuration-register 0x0
The new configuration register value, 0x0, is effective after the router is rebooted with the reload command. The router remains in the ROM monitor and does not boot the operating system. As long as the configuration register value remains 0x0, you must manually boot the operating system from the console. Refer to the boot command in the section Command Descriptions later in this appendix.
Note
You can abort any command by pressing the Break key at the console.
Note
The command tftpdnld is present in the Cisco 2600 series routers only.
Note
The command upgrade rom-monitor is present in the Cisco 3700 series routers only.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
C-2
OL-1957-04
Appendix C
Square brackets [ ] denote an optional element. In the following example, the element abc is not required, but you can specify it if you choose: command [abc]
If a minus option is followed by a colon (for example, [-s:]) you must provide an argument for the option. A term in italics means that you must fill in the appropriate information. In the following example, you replace the term in italics with the interface type you are using:
command type interface
Command Descriptions
This section lists some useful ROM monitor commands. Refer to the Cisco IOS configuration guides and command references for more information on ROM monitor commands.
Note
The commands show rom-monitor, showmon, upgrade rom-monitor , upgrade rom-monitor preference, rommon-pref are present in the Cisco 3700 series routers only. The command tftpdnld is present in the Cisco 2600 series routers only.
filename boots from the boothelper image, because it does not recognize the device ID. This
The Cisco 2600 series router does not have a dedicated boothelper image ([rx]boot) as used by some other Cisco routers. With the Cisco 2600 series router, the first image in flash memory is invoked as the default boothelper image anytime the ROM monitor does not recognize the device ID in the boot command. You can override the default boothelper image setting by setting the BOOTLDR Monitor environment variable to point to another image. Any system image can be used for this purpose. Options to the boot command are -x, load image but do not execute, and -v, verbose. Use the Cisco IOS commands show version and show hardware to display the source of the currently running image.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
C-3
helpDisplays a summary of ROM monitor commands (equivalent to ?). meminfoDisplays size in bytes, starting address, available range of main memory, the
starting point and size of packet memory, and size of nonvolatile memory (NVRAM). The following example shows the meminfo command:
rommon 9 > meminfo Main memory size: 32 MB. Available main memory starts at 0xa000e000, size 32704KB IO (packet) memory size: 25 percent of main memory. NVRAM size: 32KB
meminfo [-l]The meminfo command with the -l option displays supported DRAM configurations. The following example shows an example of the meminfo -l command:
rommon 10 > meminfo -l Supported memory configurations: DIMM 0 DIMM 1 ------------------4M 8M-DUAL 16M 32M-DUAL 4M 4M 4M 4M 8M-DUAL 4M 16M 4M 32M-DUAL 8M-DUAL 8M-DUAL 4M 8M-DUAL 8M-DUAL 8M-DUAL 16M 8M-DUAL 32M-DUAL 16M 16M 4M 16M 8M-DUAL 16M 16M 16M 32M-DUAL 32M-DUAL 32M-DUAL 4M 32M-DUAL 8M-DUAL 32M-DUAL 16M 32M-DUAL 32M-DUAL
reset or iResets and initializes the router, similar to power on. show rom-monitor Shows version of read-only ROMMON, and if present, the upgrade version of ROMMON. It also shows the current version of ROMMON, which version will be selected for execution when the Cisco IOS software is booted again. This command isavailable in the Cisco IOS exec mode.
showmonAvailable in the ROMMON command mode. Provides the same information as the
upgrade rom-monitor <file<URL>|preference<readonly|upgrade>>Installs and reloads a new version of ROMMON in the Cisco IOS exec mode. URL refers to the path where the new ROMMON image is stored. Prompts the user to save the configuration.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
C-4
OL-1957-04
Appendix C
be loaded the next time the router is reloaded. This command is used in the Cisco IOS exec mode.
rommon-prefUsed in ROMMON command mode. Provides the same information as
Debugging Commands
Most debugging commands are functional only when Cisco IOS software has crashed or is aborted. If you enter a debugging command and Cisco IOS crash information is not available, the following error message appears:
xxx: kernel context state is invalid, can not proceed.
stack or kProduces a stack trace. contextDisplasy processor context. frameDisplays an individual stack frame. sysretDisplays return information from the last booted system image. This information includes the reason for terminating the image, a stack dump of up to eight frames, and, if an exception is involved, the address where the exception occurred. For example:
rommon 8 > sysret System Return Info: count: 19, reason: a SegV exception pc:0x802b1040, error address: 0x802b1040 Stack Trace: FP: 0x80908398, PC: 0x802b102c FP: 0x809083b0, PC: 0x802b0b88 FP: 0x809083d8, PC: 0x8017039c FP: 0x809083e8, PC: 0x8016f764
confreg [hexnum]Changes the virtual configuration register to the value specified. The value is always interpreted as hexadecimal.
Note
Entering confreg without an argument displays the contents of the virtual configuration register and prompts you to alter the contents by describing the meaning of each bit. In either case, the new virtual configuration register value is written into NVRAM, but is not effective until you reset or power-cycle the router. The following display shows an example of the confreg command:
rommon 7 > confreg
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
C-5
break/abort has effect console baud: 9600 boot: the ROM Monitor do you wish to change the configuration? y/n [n]: y enable diagnostic mode? y/n [n]: y enable use net in IP bcast address? y/n [n]: enable load rom after netboot fails? y/n [n]: enable use all zero broadcast? y/n [n]: disable break/abort has effect? y/n [n]: enable ignore system config info? y/n [n]: change console baud rate? y/n [n]: y enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 change the boot characteristics? y/n [n]: y enter to boot: 0 = ROM Monitor 1 = the boot helper image 2-15 = boot system [0]: 0
[0]:
Configuration Summary enabled are: diagnostic mode break/abort has effect console baud: 9600 boot: the ROM Monitor do you wish to change the configuration? y/n [n]:
You must reset or power cycle for new config to take effect
The show rom-monitor command is present in the Cisco 3700 series routers only. The command tftpdnld is present in the Cisco 2600 series routers only. The show rom-monitor command displays the current version of the read-only ROM monitor, and if present displays the upgrade version of the ROM monitor. The upgrade version is selected when the system is rebooted. This command runs in the Cisco IOS exec mode. You get the following output, when the read-only ROM monitor is present:
Router# show rom-monitor ReadOnly ROMMON version: System Bootstrap, Version 12.2(4r)XT2, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2001 by cisco Systems, Inc. No upgrade ROMMON programmed or not yet run Currently running ROMMON from ReadOnly region ROMMON from ReadOnly region is selected for next boot Router#
Following is an example of an output when both the read-only and the upgrade versions of the ROM moinitor are present:
Router# show rom-monitor
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
C-6
OL-1957-04
Appendix C
ReadOnly ROMMON version: System Bootstrap, Version 12.2(4r)XT4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2001 by cisco Systems, Inc. Upgrade ROMMON version: System Bootstrap, Version 12.2(8r)T1, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2002 by cisco Systems, Inc. Currently running ROMMON from Upgrade region ROMMON from Upgrade region is selected for next boot Router#
Note
You can get the same information if you enter the showmon command in the ROMMON command mode.
The command upgrade rom-monitor is present in the Cisco 3700 series routers only. To upgrade the ROM monitor to a new version, use the upgrade rom-monitor command. Depending on where the image is located, use the following commands to upgrade the ROM monitor:
The upgrade rom-monitors file <URL> command installs the new version of ROM monitor on the router by taking the image from the location indicated in the URL. The image is in the form of .srec file. It then reloads the router. Following is an example of the output when the upgrade version of ROM monitor is located at tftp://223.255.254.254/ajayhn/c3745_RM2.srec:, and the system configuration has not been saved:
Router# upgrade rom-monitor file tftp://223.255.254.254/ajayhn/C3745_RM2.srec Loading ajayhn/C3745_RM2.srec from 223.255.254.254 (via FastEthernet0/0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 641719/1283072 bytes] This command will reload the router. Continue? [yes/no]: y System configuration has been modified. Save? [yes/no]: y Building configuration... Erasing boot flash eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee Programming boot flash pppp Now Reloading System Bootstrap, Version 12.2(4r)XT4, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2001 by cisco Systems, Inc. Running new upgrade for first time System Bootstrap, Version 12.2(8r)T1, RELEASE SOFTWARE (fc1) TAC Support: http://www.cisco.com/tac Copyright (c) 2002 by cisco Systems, Inc. c3745 processor with 196608 Kbytes of main memory Main memory is configured to 64 bit mode with parity disabled Upgrade ROMMON initialized rommon 1 >
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
C-7
Note
The rommon-pref command in the ROMMON command mode provides the same information as the upgrade rom-monitor preference command in the Cisco IOS Exec mod.
xmodemUse this if the computer attached to your console has a terminal emulator that has xmodem capability. tftpdnldUse this if you have a TFTP server directly connected to the Ethernet 0 port.
Note
The command tftpdnld is present in the Cisco 2600 series routers only.
-cUses cyclic redundancy check (CRC-16) -yUses Ymodem transfer protocol -rCopies the image to DRAM for launch -xDoes not launch image on completion of download
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
C-8
OL-1957-04
Appendix C
The command tftpdnld is present in the Cisco 2600 series routers only. The tftpdnld command downloads a Cisco IOS software image from a remote server into flash memory using TFTP. tftpdnldBegins the TFTP copy command. The following variables are required:
IP_ADDRESSIP address for the router you are using. IP_SUBNET_MASKSubnet mask for the router you are using. DEFAULT_GATEWAYDefault gateway for the router you are using. TFTP_SERVERIP address of the server from which you want to download the image file. TFTP_FILEName of the file that you want to download. The following variables are optional: TFTP_VERBOSEPrint setting. 0=quiet, 1=progress, 2=verbose. The default is 1. TFTP_RETRY_COUNTRetry count for ARP and TFTP. The default is 7. TFTP_TIMEOUTOverall timeout of the download operation in seconds. The default is 2400
seconds.
TFTP_CHECKSUMPerforms a checksum test on the image. 0=no, 1=yes. The default is 1.
After you specify the variables, you must reenter the tftpdnld command. For example:
rommon rommon rommon rommon rommon rommon rommon rommon 1 2 3 4 5 6 7 8 > > > > > > > > tftpdnld IP_ADDRESS=172.15.19.11 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=172.15.19.1 TFTP_SERVER=172.15.20.10 TFTP_FILE=/tftpboot/c2600-i-mz TFTP_VERBOSE=1 tftpdnld
IP_ADDRESS=172.15.19.11 IP_SUBNET_MASK=255.255.255.0 DEFAULT_GATEWAY=172.15.19.1 TFTP_SERVER=172.15.20.10 TFTP_FILE=/tftpboot/2600-i-mz TFTP_VERBOSE=1 Invoke this command for disaster recovery only. WARNING: all existing data in flash will be lost! Do you wish to continue? y/n: [n]:
Enter y to begin downloading the Cisco IOS software image. When the process is complete, the ROM monitor mode prompt appears on your screen.
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
C-9
Software Configuration Guide for Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
C-10
OL-1957-04
INDEX
Numerics
56-kbps DSU/CSU interface, configuring
2-22
Voice Interface Numbering Cisco 3600 series routers interface numbering unit numbers (figure)
1-4 1-9
1-4
A
analog modem interface configuring
3-26 3-28
Cisco 3700 Series Interface Numbering Cisco 3725 Interface Numbering Cisco IOS about
1-13 1-13 1-14 1-13 1-15 1-14 3-8 3-17 1-13 1-9
1-9 1-10
asynchronous/synchronous serial interface asynchronous interface, configuring atm-dxi map command ATM interface configuring
3-20 3-20 3-21 3-22 3-23 3-48 3-9
saving configuration changes undo command undo feature clock rate settings
1-14
codec complexity configuration command modes, Cisco IOS commands configuration register
C-5 1-15
B
benefits boot ROM monitor
C-3 3-50
context
exec-timeout frame
C
caution symbol, meaning of Cisco 2600 series router WAN Interface Numbering Cisco 2600 series routers interface numbering
1-1 1-2 xiii
C-1
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
IN-1
Index
show controllers
3-52 3-53
show controllers atm show ima interface atm show interface async show interfaces show line
3-28 3-29 3-29
configure the ISDN D-channel serial interface for E1 modules 3-53 configure the ISDN D-channel serial interface for T1 modules 3-54 configure the ISDN dialer interface
3-56
show protocols show version stack sysret tftpdnld undo xmodem compression hardware PPP
3-49 3-49 C-5 C-5 C-4 C-8 1-14
show running-config
3-29
3-29
3-5
3-20
compress command
3-28 3-14 3-3 2-2 3-17 3-23 3-24 2-5 3-10 3-14
global parameters
ATM T1/E1 interface IMA group interface interface parameters ISDN-BRI interface ISDN BRI line E1 interface T1 interface
3-57 2-15 3-16 3-15
voice over IP
voice over IP examples configuration, saving configuration example configuration register changing settings configuration tasks
C-5 3-51
3-14
configure modem lines for dial-in and dial-out configure the modem for dial-in configure the modem for dial-out
3-57 3-57 3-57
3-18
configure the E1/T1 network module for ISDN PRI 3-51 configure channelized E1 ISDN PRI
3-51
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
IN-2
OL-1957-04
Index
conventions
xii xii
command
conventions, document
D
debugging commands dir command document conventions
xii xii C-3 C-5
3-2 3-48
document conventions
E
E1/T1 ISDN PRI interface E1 interface configuring enable mode
3-14 1-14 3-48 3-49 2-6, 3-3 3-15, 3-16 3-15, 3-16
invoking ATM
specifying encapsulation
encapsulation atm-dxi command encapsulation ppp command configuring compression over Ethernet interface, configuring
feature summary
I
IMA interface configuring
3-22 3-23 3-24 1-14
F
feature summary frame command
3-50 C-5
configuring the ATM T1/E1 interface configuring the IMA interface IMA interface configuration
3-24
G
global configuration command mode global parameters configuration
2-2 1-14
interface configuration command mode interface numbering Cisco 2600 series routers Cisco 3600 series routers Cisco 3660 slot 0
1-6, 1-8 1-2 1-1 1-4
H
half-duplex timer commands help
3-7 3-49
WAN and LAN interface cards ISDN BRI switch type, provisioning ISDN BRI line, configuring ISDN PRI interface
2-15
3-10
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
IN-3
Index
configuring
2-2 2-5
E1 configuration T1 configuration
3-2
L
LAN Interface Numbering Cisco 2600 series router
1-2
compression prerequisites
privileged EXEC command mode provisioning ISDN switch types PVC configuration
3-20
1-14 2-15
M
meminfo command
C-4 3-28
R
recovering boot and system images reset command ROM monitor diagnostics router rear view Cisco 3620 (figure) Cisco 3631 (figure) Cisco 3640 (figure) Cisco 3660 (figure)
2-9 2-17 1-5 1-6 1-5 1-5 C-5 C-4 C-8
3-16
N
network modules configuring asynchronous/synchronous interface E1/T1 ISDN PRI interface Ethernet interface ISDN BRI interface serial interface
2-7 2-7 xiii 2-6 2-6 2-12
S
saving configuration changes script, setup See SPID setup command facility setup script, using
2-2 3-2 3-49 1-11 2-2 2-2 1-15
P
parameters
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
IN-4
OL-1957-04
Index
Slot numbering for Cisco 3600 series router slot numbering for Cisco 3725 SPID SPIDs
2-17 2-17 C-5 3-21 1-9
1-4
Voice interface numbering for Cisco 3600 Series Routers 1-8 Voice interface numbering for Cisco 3700 Series Routers 1-12 voice over IP configuration examples configuring
4-2 4-10 4-4 4-6 4-8 4-3
SVC configuration
Timesaver
xiii
xiii C-5
configuring direct-inward dialing on a BRI port FXS-to-FXS connections linking PBX users with E&M trunk lines
sysret command
T
T1 (FT1) WAN interface, configuring T1 interface configuring
3-14 3-16 C-4 3-2 xiii xiii 3-18
W
WAN interface cards Cisco 3600 series slot (figure) WAN Interface Numbering Cisco 2600 series routers
1-2 1-8 1-11
X U
undo feature, Cisco IOS unit numbers Cisco 3600 series (figure) user EXEC command mode
1-9 1-14 1-14
xmodem command
C-8
V
verifying IMA configuration
3-26 3-29 3-28 1-11
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers OL-1957-04
IN-5
Index
Software Configuration Guide For Cisco 2600 Series, Cisco 3600 Series, and Cisco 3700 Series Routers
IN-6
OL-1957-04