The Purpose and Use of the Configuration Register on All Cisco Routers



Similar documents
Password Recovery Procedure for the Cisco 806, 826, 827, 828, 831, 836, 837 and 881 Series Routers

Password Recovery Procedure for the Cisco 3600 and 3800 Series Routers

Password Recovery Procedure for the Cisco Catalyst 2948G L3, 4840G, and 4908G L3 Switch Routers

Xmodem Console Download Procedure Using ROMmon

Password Recovery Procedure for the Cisco 2900 Series Integrated Services Router

ROM Monitor. Entering the ROM Monitor APPENDIX

Loading IOS Image with Xmodem when TFTP is unavailable

Objectives Understand Cisco IOS system architecture components. Work with the Cisco IOS Command Line Interface (CLI) and common commands.

3.1 Connecting to a Router and Basic Configuration

Telnet, Console and AUX Port Passwords on Cisco Routers Configuration Example

Recover a Router from Corrupted or Missing Software Image

Lab 8.4.3b Managing Cisco IOS images with ROMMON and TFTP

CCNA 2 Chapter 5. Managing Cisco IOS Software

USB Disable for Cisco ISRs Feature Module

Basic Router and Switch Instructions (Cisco Devices)

Table of Contents. Cisco How to Download a Software Image to a Cisco 2600 through TFTP Using the tftpdnld ROMmon Command

Digitally Signed Cisco Software

Configuring a Gateway of Last Resort Using IP Commands

Managing vlan.dat in Cisco Catalyst Switches Running Cisco IOS Software

Basic Configuration of the Cisco Series Internet Router

How To Install Cisco Asr 9000 Series Router Software On A Mini Mini Mini (Cisco Ios) Router

Unity Error Message: Your voic box is almost full

Syslog Server Configuration on Wireless LAN Controllers (WLCs)

Backup and Recovery Procedures

Router Recovery with ROM Monitor

Table of Contents. Cisco How to Download a Software Image to a Cisco 2600 via TFTP Using the tftpdnld ROMmon Command

- Advanced IOS Functions -

Angelos Stavrou. OF COURSE there is no Magic so lets see show things work in practice...

Lab Review of Basic Router Configuration with RIP. Objective. Background / Preparation. General Configuration Tips

PIX/ASA: Upgrade a Software Image using ASDM or CLI Configuration Example

Cisco - Standard Break Key Sequence Combinations During Password Recovery

Web Authentication Proxy on a Wireless LAN Controller Configuration Example

System Components PBX Model. Configuration Tasks


Note: This case study utilizes Packet Tracer. Please see the Chapter 5 Packet Tracer file located in Supplemental Materials.

Database Replication Error in Cisco Unified Communication Manager

Configuring the Cisco Secure PIX Firewall with a Single Intern

Lab Advanced Telnet Operations

Checking SQL Server or MSDE Version and Service Pack Level

Configuring the Switch with the CLI-Based Setup Program

Configuring a Cisco 2509-RJ Terminal Router

Router Security Audit Logs

ACS 5.x and later: Integration with Microsoft Active Directory Configuration Example

1 Basic Configuration of Cisco 2600 Router. Basic Configuration Cisco 2600 Router

Applicazioni Telematiche

Procedure: You can find the problem sheet on Drive D: of the lab PCs. Part 1: Router & Switch

CRS 4.x: Automatic Work and Wrap up Time Configuration Example

Configuring DNS on Cisco Routers

Cisco Router Configuration Basics. Scalable Infrastructure Workshop

Lab 3 Routing Information Protocol (RIPv1) on a Cisco Router Network

Table of Contents. Cisco Using the Cisco IOS Firewall to Allow Java Applets From Known Sites while Denying Others

Lab Configure Basic AP Security through IOS CLI

Using Cisco IOS Software

Lab Load Balancing Across Multiple Paths

Configuring the Switch with the CLI Setup Program

ASA/PIX: Allow Split Tunneling for VPN Clients on the ASA Configuration Example

Lab 2 - Basic Router Configuration

Programming Flash Microcontrollers through the Controller Area Network (CAN) Interface

BRI to PRI Connection Using Data Over Voice

PT Activity: Configure Cisco Routers for Syslog, NTP, and SSH Operations

Configuring EtherChannel and 802.1Q Trunking Between Catalyst L2 Fixed Configuration Switches and Catalyst Switches Running CatOS

Table of Contents. Cisco Configuring IPSec Cisco Secure VPN Client to Central Router Controlling Access

Document ID: Introduction

Configuring Cisco CallManager IP Phones to Work With IP Phone Agent

Microsoft Windows 2003 DNS Server for Wireless LAN Controller (WLC) Discovery Configuration Example

Lab Introductory Lab 1 - Getting Started and Building Start.txt

Password Recovery Procedure for the Cisco Catalyst Fixed Configuration Layer 2 and Layer 3 Switches

File Transfers. Contents

Configuring TACACS+, RADIUS, and Kerberos on Cisco Catalyst Switches

Lab Introductory Lab 1 Getting Started and Building Start.txt

File Transfers. Contents

Configuring the Cisco IOS In-Service Software Upgrade Process

Objectives. Router as a Computer. Router components and their functions. Router components and their functions

Lab Configure IOS Firewall IDS

System Components PBX Model. Configuration Tasks

Lab Creating a Network Map using CDP Instructor Version 2500

How To Configure InterVLAN Routing on Layer 3 Switches

Fixing Problems with IP Phone Services

Configuring System Message Logging

Configuration Professional: Site to Site IPsec VPN Between Two IOS Routers Configuration Example

Administering the Network Analysis Module. Cisco IOS Software. Logging In to the NAM with Cisco IOS Software CHAPTER

Backing Up and Restoring Data

Management Software. User s Guide AT-S84. For the AT-9000/24 Layer 2 Gigabit Ethernet Switch. Version Rev. B

Unity Express Voice Mail Transfer Behavior

Trend Micro Incorporated reserves the right to make changes to this document and to the products described herein without notice.

Secure Shell (SSH) FAQ

Basic Software Configuration Using the Cisco IOS Command-Line Interface

Generate CSR for Third Party Certificates and Download Unchained Certificates to the WLC

Configuring Static and Dynamic NAT Simultaneously

Cisco ISE Command-Line Interface

Lab 5.3.9b Managing Router Configuration Files Using TFTP

BIOS Update Release Notes

Lab Configuring OSPF with Loopback Addresses

Image Refresh Using the Archive and Restore Feature

Sample Configuration Using the ip nat outside source list C

Connecting to the Firewall Services Module and Managing the Configuration

ASA 8.X: Routing SSL VPN Traffic through Tunneled Default Gateway Configuration Example

Managing Storage Services Modules

Transcription:

The Purpose and Use of the Configuration Register on All Cisco Routers Document ID: 50421 Contents Introduction Prerequisites Requirements Components Used Conventions The Purpose of the Configuration Register Configuration Register Values and their Meaning configreg Troubleshoot Configuration Register Issues Troubleshooting when the Configuration Register Value is Not Known Troubleshooting when the Configuration Register Value is Known Set the Configuration Register Set the Configuration Register from Configuration Mode Set the Configuration Register from ROMmon Related Information Introduction This document provides a description of the configuration register (config register). Prerequisites Requirements There are no specific requirements for this document. Components Used This document is not restricted to specific software and hardware versions. The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command. Conventions Refer to Cisco Technical Tips Conventions for more information on document conventions. The Purpose of the Configuration Register The configuration register can be used to change router behavior in several ways, such as: how the router boots (into ROMmon, NetBoot)

options while booting (ignore configuration, disable boot messages) console speed (baud rate for a terminal emulation session) Note: If the baud rate is set different than the default rate, odd characters are seen on CLI. Check table1 to set baud rates for different Confreg values. The configuration register can be set from configuration mode using the config register command. From ROMmon, use the confreg command. Issue the show version command to view the current setting of the configuration register: Router#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500 JS L), Version 12.1(5), RELEASE SOFTWARE (fc1) Copyright (c) 1986 2000 by cisco Systems, Inc. Compiled Wed 25 Oct 00 05:18 by cmong Image text base: 0x03071DB0, data base: 0x00001000 ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1) Router uptime is 7 minutes System returned to ROM by reload System image file is "flash:c2500 js l_121 5.bin" cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory. Processor board ID 03867477, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Token Ring/IEEE 802.5 interface(s) 2 Serial network interface(s) 32K bytes of non volatile configuration memory. 16384K bytes of processor board System flash (Read ONLY) Configuration register is 0x2102 The factory default setting for the configuration register is 0x2102. This indicates that the router should attempt to load a Cisco IOS software image from Flash memory and load the startup configuration with a console speed of 9600 baud. Configuration Register Values and their Meaning configreg If you know the value of your configuration register, you can determine its meaning. For information on the meaning of your configuration register setting, including potential issues and fixes, collect the output of the show version command, or the show tech support command, and input into the Output Interpreter (registered customers only) tool. In order to use Output Interpreter (registered customers only), you must be a registered customer, be logged in, and have JavaScript enabled. This table contains some common settings which are valid on most platforms. Note: Check the appropriate hardware installation guide to verify that the configuration register can be used before you change the configuration register on your router to one of the values in this table. Configuration Register Setting 0x102 Router Behavior

0x1202 9600 console baud 1200 baud rate 0x2101 Boots into bootstrap 9600 console baud rate 0x2102 0x2120 9600 console baud rate default value for most platforms Boots into ROMmon 19200 console speed 0x2122 19200 console baud rate 0x2124 NetBoot 19200 console speed 0x2142 9600 console baud rate Ignores the contents of Non Volatile RAM (NVRAM) (ignores configuration) 0x2902 4800 console baud rate 0x2922 0x3122 38400 console baud rate

57600 console baud rate 0x3902 2400 console baud rate 0x3922 115200 console baud rate If the value you have for the configuration register is not in the table, then determine which bits are set in order to compute the value: Bit Number 00 03 06 07 08 Hex 0x0000 0x000F 0x0040 0x0080 0x0100 Meaning Boots Field Parameters: 0x0000 Stays at the system bootstrap prompt. 0x0001 Boots the first system image in onboard Flash memory (EPROM). 0x0002 0x000F Specifies a default netboot filename. Enables boot system commands that override the default netboot filename. Ignore NVRAM contents Disable boot messages Break disabled 10 0x0400 5,11,12 0x0020, 0x0800, 0x1000 13 0x2000 IP broadcast with all zeros Console line speed

14 0x4000 Boots default ROM software if network boot IP broadcasts do not have net numbers 15 0x8000 Enables diagnostic messages Ignores NVRAM contents Troubleshoot Configuration Register Issues An inappropriately set configuration register can cause many problems, such as: The configuration file is ignored. There is no output or garbage output from the console. Booting into ROMmon. Change the configuration register to an appropriate setting, such as the factory default 0x2102, in order to solve these problems. Troubleshooting when the Configuration Register Value is Not Known If the configuration register value is not known, try to establish a Telnet or console session with the router. You can then check the show version output to determine the value of the configuration register: Router#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500 JS L), Version 12.1(5), RELEASE SOFTWARE (fc1) Copyright (c) 1986 2000 by cisco Systems, Inc. Compiled Wed 25 Oct 00 05:18 by cmong Image text base: 0x03071DB0, data base: 0x00001000 ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1) Router uptime is 7 minutes System returned to ROM by reload System image file is "flash:c2500 js l_121 5.bin" cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory. Processor board ID 03867477, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Token Ring/IEEE 802.5 interface(s) 2 Serial network interface(s) 32K bytes of non volatile configuration memory. 16384K bytes of processor board System flash (Read ONLY) Configuration register is 0x2142 If you cannot establish a console session, or if you see only garbage characters, a speed mismatch between the router and the terminal emulation software could be the cause. Try to change the baud rate of your terminal emulation software. Possible settings include 1200, 2400, 4800, 9600, 19200, 38400, 57600, and 115200. Once you establish a session, you can issue the show version command to determine the setting. If the router is in ROMmon mode, you can try to issue the boot command to boot the operating system manually. For

information on the meaning of your configuration register setting, including potential issues and fixes, collect the output of the show version command, or the show tech support command, and input into the Output Interpreter (registered customers only) tool. In order to use Output Interpreter (registered customers only), you must be a registered customer, be logged in, and have JavaScript enabled. Troubleshooting when the Configuration Register Value is Known If you know the value of your configuration register, use the table in Configuration Register Settings and their Meaning to determine the behavior. For information on the meaning of your configuration register setting, including potential issues and fixes, collect the output of the show version command, or the show tech support command, and input into the Output Interpreter (registered customers only) tool. In order to use Output Interpreter (registered customers only), you must be a registered customer, be logged in, and have JavaScript enabled. If you can access the router through Telnet, establish a session with the router. If not, set your terminal emulation program to the baud rate indicated by the configuration register setting to establish a console session. Set the Configuration Register Use the table in Configuration Register Settings and their Meaning to determine the desired configuration register setting (usually 0x2102). Set the Configuration Register from Configuration Mode Issue the config register command to set the configuration register: Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#config Router(config)#config register 0x2102 Router(config)#end Router#show version Cisco Internetwork Operating System Software IOS (tm) 2500 Software (C2500 JS L), Version 12.1(5), RELEASE SOFTWARE (fc1) Copyright (c) 1986 2000 by cisco Systems, Inc. Compiled Wed 25 Oct 00 05:18 by cmong Image text base: 0x03071DB0, data base: 0x00001000 ROM: System Bootstrap, Version 5.2(8a), RELEASE SOFTWARE BOOTFLASH: 3000 Bootstrap Software (IGS RXBOOT), Version 10.2(8a), RELEASE SOFTWARE (fc1) Router uptime is 11 minutes System returned to ROM by reload System image file is "flash:c2500 js l_121 5.bin" cisco 2500 (68030) processor (revision D) with 16384K/2048K bytes of memory. Processor board ID 03867477, with hardware revision 00000000 Bridging software. X.25 software, Version 3.0.0. SuperLAT software (copyright 1990 by Meridian Technology Corp). TN3270 Emulation software. 1 Token Ring/IEEE 802.5 interface(s) 2 Serial network interface(s) 32K bytes of non volatile configuration memory. 16384K bytes of processor board System flash (Read ONLY) Configuration register is 0x2142 (will be 0x2102 at next reload) The new configuration register setting becomes active once the router reloads. Router#reload System configuration has been modified. Save? [yes/no]: n Proceed with reload? [confirm]

Set the Configuration Register from ROMmon Set the configuration register with the confreg command if the router is in ROMmon mode: rommon 1 >confreg 0x2102 You must reset or power cycle for the new configuration register to take effect. Related Information Why Does My Router Lose Its Configuration During Reboot? Password Recovery Procedures Software Configuration Register Technical Support & Documentation Cisco Systems Contacts & Feedback Help Site Map 2012 2013 Cisco Systems, Inc. All rights reserved. Terms & Conditions Privacy Statement Cookie Policy Trademarks of Cisco Systems, Inc. Updated: Apr 03, 2006 Document ID: 50421