cc/td/doc/product/core/cis7505
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Performing a Basic Configuration of the System

Performing a Basic Configuration of the System

This chapter describes the procedures for performing a basic configuration of your Cisco  7500 series router. It guides you through a basic router configuration, which is sufficient for you to access your network. Complex configuration procedures are beyond the scope of this text, and can be found in the configuration publications listed in the section "If You Need More Configuration Information" on page 4-51.


Note This chapter is not model specific. It contains procedures and information that are applied globally to all Cisco 7500 series routers. The included examples might appear differently on your system depending on the Cisco IOS software release in use, and the model router being configured. Refer to the "Cisco 7500 Series Product Overview" for information on Cisco IOS software release requirements. When configuring a Cisco  7576, you will configure router A and then router B.

The following sections provide information for configuring your Cisco 7500 series router:

To configure a Cisco 7500 series router from a console, you need to connect a terminal to the router's console port. Configuration requires access to the console port on each Route Switch Processor (RSP) in your router.


Note You should also use the companion publication Interface Processor Installation and Configuration Guide in conjunction with the basic configuration information in this chapter.

Starting the System and Observing Initial Conditions

This section describes the initial Cisco 7500 series system startup.

When all interfaces are connected, perform a final check of all connections, then power up the router as follows:

Step 1 Check the following components to make sure they are secure:

Step 2 Check the console terminal to make sure it is connected to the console port and turned on.

Step 3 Turn ON the power supply by turning the system power switch to the ON (|) position. The green AC (or DC) OK and fan OK LEDs on each power supply should go on. After a few seconds, the red output fail LED will turn OFF.

Step 4 Listen for the system blower; you should immediately hear it operating. In a noisy environment, it is sometimes difficult to hear the fan or blower; place your hand in front of the exhaust vents to ensure that the fan or blower is on.

Step 5 Observe the normal LED indicator on the RSP. If this indicator is not on after system initialization, an error has occurred. If necessary, refer to the appendix "Troubleshooting the Installation," in this publication, for troubleshooting procedures.

Step 6 Wait until the system boot is complete before attempting to verify the status of interface processor indicators. During the boot process, the LED indicators on most of the interfaces go ON and OFF in irregular sequence. Some may go on, go out, and go on again for a short time. Some will stay on during the entire boot process if an interface is already configured and brought up, such as the EIP receive LED, which stays on as it detects traffic on the line.

Step 7 Observe the LED indicators on the interface processors in your system. When the system boot is complete (a few seconds), the RSP begins to initialize the interface processors. During this initialization, the indicators on each interface processor behave differently (most flash ON and OFF).

The enabled LED on each interface processor goes on when initialization has been completed, and the console screen displays a script and system banner similar to the following:

Step 8 Observe the system startup banner. When you start up the router for the first time, the system automatically enters the setup command facility, which determines which interfaces are installed and prompts you for configuration information for each one. On the console terminal, after the system displays the system banner and hardware configuration, you will see the following System Configuration Dialog prompt:

You have the option of proceeding with the setup command facility to configure the interfaces, or exit from setup and use configuration commands to configure global (system-wide) and interface-specific parameters. You do not have to configure the interfaces immediately; however, you cannot enable the interfaces or connect them to any networks until you have configured them.

Many of the interface processor LEDs will not go on until you have configured the interfaces. To verify correct operation of each interface, complete the first-time startup procedures and configuration, then refer to the LED descriptions in the companion publication Interface Processor Installation and Configuration to check the status of the interfaces.

If the system does not complete each of these steps, proceed to the appendix "Troubleshooting the Installation," in this publication, for troubleshooting recommendations and procedures.

Overview of Software Configuration Register Settings at Startup

Bits 0 through 3 of the software configuration register form the boot field, specified as a binary number. The factory default configuration register setting for systems is 0x102; for RSP spares the default is 0x101.

When the boot field is set to either 0 or 1 (0-0-0-0 or 0-0-0-1), the system ignores any boot instructions in the system configuration file and the following occurs:

You can enter the boot command only, or include additional boot instructions with the command, such as the name of a file stored in Flash memory or a file that you specify for booting from a network server. If you use the boot command without specifying a file or any other boot instructions, the system boots from the default Flash image (the first image in onboard Flash memory). Otherwise, you can instruct the system to boot from a specific Flash image (using the boot system flash filename command), or boot from a network server by sending broadcast TFTP requests (using the boot system filename command), or by sending a direct TFTP request to a specific server (using the boot system filename address command).

You can also use the boot command to boot images stored in the Personal Computer Memory Card International Association (PCMCIA) Flash memory cards in the RSP. If you set the boot field to any bit pattern other than 0 or 1, the system uses the resulting number to form a filename for booting over the network.

The system uses the filename to invoke the system image by booting over the net. However, if the configuration file contains any boot instructions, the system uses those boot instructions instead of the filename it computed from the configuration register settings. You must set the boot field for the boot functions you require.

For more detailed information on the software configuration register features, refer to the section "Configuring the Software Configuration Register." For information on the boot command and function, refer to the section "Booting the Cisco 7500 Series Router for the First Time."

Configuring the Software Configuration Register

Cisco 7500 series routers use a 16-bit software configuration register, which allows you to set specific system parameters. Settings for the software configuration register are written into NVRAM.

Following are some reasons for changing the software configuration register settings:

Table 4-1 lists the meaning of each of the software configuration memory bits, and Table 4-2 defines the boot field.

Caution To avoid confusion and possibly halting the router, remember that valid configuration register settings might be combinations of settings and not just the individual settings listed in Table 4-1. For example, the factory default value of 0x0101 is a combination of settings.

Table 4-1: Software Configuration Register Bit Meanings
Bit Number1 Hexadecimal Meaning

00 to 03

0x0000 to 0x000F

Boot field (see Table 4-2)

06

0x0040

Causes system software to ignore NVRAM contents

07

0x0080

OEM2 bit enabled

08

0x0100

Break disabled

09

0x0200

Use secondary bootstrap

10

0x0400

Internet Protocol (IP) broadcast with all zeros

11 to 12

0x0800 to 0x1000

Console line speed (default is 9600 baud)

13

0x2000

Boot default Flash software if network boot fails

14

0x4000

IP broadcasts do not have network numbers

15

0x8000

Enable diagnostic messages and ignore NVRAM contents

1The factory default value for the configuration register is 0x0101.
This value is a combination of the following: bit  8  =  0x0100 and bits 00 through 03 = 0x0001 (see Table 4-2).
2OEM = original equipment manufacturer.

Table 4-2:
Explanation of Boot Field (Configuration Register Bits 00 to 03)
Boot Field Meaning

00

Stays at the system bootstrap prompt

01

Boots the first system image in onboard Flash memory

02 to 0F

Specifies a default netboot filename Enables  boot  system  commands  that  override  the default netboot filename

Configuration Register Bit Meanings

The lowest four bits of the software configuration register (bits 3, 2, 1, and 0) form the boot field. (See Table 4-2.) The boot field specifies a number in binary form. If you set the boot field value to 0, you must boot the operating system manually by entering the b command at the bootstrap prompt (>), as follows:

> b [tftp] flash filename

Definitions of the various b command options follow:

For more information about the b [tftp | flash ] [filename] command, refer to the set of configuration fundamentals publications listed in the section "If You Need More Configuration Information" later in this chapter.

If you set the boot field value to 0x2 through 0xF and there is a valid boot system command stored in the configuration file, the router boots the system software as directed by that value. If there is no boot system command, the router forms a default boot filename for booting from a network server. (See Table 4-3 for the format of these default filenames.)

In the following example, the software configuration register is set to boot the router from onboard Flash memory and to ignore Break at the next reboot of the router:

Router# conf term
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)# config-register 0x102
Router(config)# boot system flash [filename]
Crtl-z
Router# 

Table 4-3 lists the default boot filenames or actions for the processor.


Note A boot system configuration command in the router configuration in NVRAM overrides the default filename created for booting over the network.

Table 4-3:
Default Boot Filenames
Action/File Name Bit 3 Bit 2 Bit 1 Bit 0

Bootstrap mode

0

0

0

0

Default software

0

0

0

1

cisco2-RSP

0

0

1

0

cisco3-RSP

0

0

1

1

cisco4-RSP

0

1

0

0

cisco5-RSP

0

1

0

1

cisco6-RSP

0

1

1

0

cisco7-RSP

0

1

1

1

cisco10-RSP

1

0

0

0

cisco11-RSP

1

0

0

1

cisco12-RSP

1

0

1

0

cisco13-RSP

1

0

1

1

cisco14-RSP

1

1

0

0

cisco15-RSP

1

1

0

1

cisco16-RSP

1

1

1

0

cisco17-RSP

1

1

1

1

Bit 8 controls the console Break key. Setting bit 8 (the factory default) causes the processor to ignore the console Break key. Clearing bit 8 causes the processor to interpret the Break key as a command to force the system into the bootstrap monitor, thereby halting normal operation. Regardless of the setting of the break enable bit, a break will cause a return to the ROM monitor during the first few seconds (approximately five seconds) of booting.

Bit 9 is unused. Bit 10 controls the host portion of the IP broadcast address. Setting bit 10 causes the processor to use all zeros; clearing bit 10 (the factory default) causes the processor to use all ones. Bit 10 interacts with bit 14, which controls the network and subnet portions of the broadcast address.

Table 4-4 shows the combined effect of bits 10 and 14.


Table 4-4: Configuration Register Settings for Broadcast Address Destination
Bit 14 Bit 10 Address (<net> <host>)

Off

Off

<ones> <ones>

Off

On

<zeros> <zeros>

On

On

<net> <zeros>

On

Off

<net> <ones>

Bits 11 and 12 in the configuration register determine the data transmission rate of the console terminal. Table 4-5 shows the bit settings for the four available rates. (The factory-set default data transmission rate is 9600.)


Table 4-5: System Console Terminal Transmission Rate Settings
Baud Bit 12 Bit 11

9600

0

0

4800

0

1

1200

1

0

2400

1

1

Bit 13 determines the server response to a bootload failure. Setting bit 13 causes the server to load operating software from Flash memory after five unsuccessful attempts to load a boot file from the network. Clearing bit 13 causes the server to continue attempting to load a boot file from the network indefinitely. By factory default, bit 13 is cleared to 0.

Changing Configuration Register Settings

To change the configuration register while running the system software, follow these steps:

Step 1 At the bootstrap prompt (>), enter the enable command and your password to enter privileged level, as follows:

Step 2 At the privileged-level system prompt (router #), enter the configure terminal command to enter configuration mode. You are prompted, as shown in the following example:

Step 3 Set the contents of the configuration register by entering the config-register value configuration command, where value is a hexadecimal number preceded by 0x (see Table 4-1), as in the following example:

Step 4 Enter Ctrl-Z to exit configuration mode.

Step 5 Save the new settings to NVRAM by entering the copy running-config startup-config command. The new settings do not take effect until the system software is reloaded by rebooting the router.

Step 6 Display the configuration register value currently in effect and that will be used at the next reload by entering the show version EXEC command. The value is displayed on the last line of the screen display, as in the following example:

Step 7 Reboot the router. The new value takes effect. Configuration register changes take effect only when the system reloads, such as when you issue a reload command from the console.

Booting the Cisco 7500 Series Router for the First Time

The router is administered using the Cisco command interpreter, called the EXEC. You must boot and log in to the router before you can enter an EXEC command. For security purposes the EXEC has two levels of access to commands: user EXEC mode and privileged EXEC mode.

To enter the privileged mode you must enter the enable secret password (which is optional, but must first have been saved in memory) on systems running Cisco IOS Release 10.2(3) or later, or the enable password on systems running Cisco IOS releases prior to Release 10.2(3) or when using the boot ROM software. At the ROM monitor prompt, view what is in onboard Flash memory using the following command (the Cisco  IOS software image name shown is used as an example only):

rommon 1> dir bootflash:
      File size                         Checksum         File name
   3277967 bytes (0x32048f)   0x6b331e30    rsp-jv-mz.111-8
rommon 2> 

Also, you can view contents of the Flash memory PCMCIA card in slot 0 or slot 1 using the following command (the Cisco  IOS software image name shown is used as an example only):

rommon 2> dir slot0:
      File size                         Checksum         File name
   3054276 bytes (0x2e9ac4)   0x97788495    rsp-jv-mz.111-8
rommon 3> 

Boot from one of the images in Flash memory using the following commands (the Cisco  IOS software image name shown is used as an example only):

rommon 3> boot slot0:rsp-jv-mz.111-8
rommon 3> boot slot1:rsp-jv-mz.111-8
rommon 3> boot bootflash:rsp-jv-mz.111-8

If you did not change the configuration register setting, the next reload will revert to the default configuration register setting. The factory default configuration register setting for systems is 0x102; for RSP spares the default is 0x101.

Using the Enable Secret and the Enable Password

The commands available at the user level are a subset of those available at the privileged level. Because many privileged-level EXEC commands are used to set operating parameters, you should password-protect these commands to prevent unauthorized use.

There are two commands you can use to do this, depending on which release of the Cisco  IOS software you have:

The enable and enable secret password functionality is available in all Cisco IOS releases for the Cisco 7500 series routers. You must enter the correct password to gain access to privileged-level commands. When you are running from the boot ROM, the enable password might be used depending on your ROM level.

The passwords should be different for maximum security. If you enter the same password for both during the setup script, the system will accept it, but you will receive a warning message indicating that you should enter a different password.

An enable secret password can contain from 1  to  25 uppercase and lowercase alphanumeric characters; an enable password can contain any number of uppercase and lowercase alphanumeric characters. In both cases, a number cannot be the first character. Spaces are also valid password characters; for example, "two words" is a valid password. Leading spaces are ignored; trailing spaces are recognized.

Recovering a Lost Password

This section provides information on how to recover a lost password. Following is an overview:


Note A key to recovering a lost password is to set the configuration register so that the contents of NVRAM are ignored (0x0040), allowing you to see your password.

To recover a lost password, use the following procedure.


Note If the enable password is encrypted, the following procedure will not work for password recovery. Instead, you will have to reconfigure the router using the displayed configuration.

Step 1 Attach an ASCII terminal to the router console port, which is located on the rear panel.

Step 2 Configure the terminal to operate at 9600 bps, 8 data bits, no parity, 2 stop bits.

Step 3 Enter the show version command to display the existing configuration register value. Note this value for later use in Step 13.

Step 4 If Break is disabled, power cycle the router. (To power cycle, turn off the router, wait five seconds, and then turn it on again.) If Break is enabled on the router, press the Break key or send a break (^[) and then proceed to Step 5.

Step 5 Within five seconds of turning on the router, press the Break key. This action causes the terminal to display the bootstrap program prompt:

Step 6 Set the configuration register to ignore the configuration file information as follows:

Step 7 Initialize the router by entering the i command as follows:

The router will power cycle, the configuration register will be set to ignore the configuration file, and the router will boot the boot system image and prompt you with the system configuration dialog as follows:

Step 8 Enter no in response to the system configuration dialog prompts until the following system message is displayed:

Step 9 Press Return. After some interface information displays, the prompt appears as follows:

Step 10 Enter the enable command to enter enabled mode. The prompt changes to the following:

Step 11 Enter the show configuration EXEC command to display the enable password in the configuration file.

Step 12 Enter the configure terminal command at the EXEC prompt. You are prompted as follows:

Step 13 Change the configuration register value back to its original value (noted from Step 3) or change it to a value of 0x0101 (factory default) using the config-register 0x value command.

Step 14 Exit configuration mode by entering Ctrl-Z.

Step 15 Reboot the router and enable it using the recovered password.

This completes the procedure for recovering a lost password.

Configuring the Cisco 7500 Series System

You can complete a basic configuration of the Cisco 7500 series system using one of the procedures described in the following sections:

Follow the procedure that best fits the needs of your network configuration.


Note You need to have the correct network addresses before you can complete the router configuration. You can obtain the information from your system administrator or you can consult your network plan to determine the correct addresses

Before continuing the configuration process, check the current state of the router using the show version command. The show version command displays the release of Cisco IOS software that is available on the router.

Performing a Basic Configuration Using AutoInstall

The AutoInstall process is designed to configure the router automatically after connection to your wide-area network (WAN). For AutoInstall to work properly, a Transmission Control Protocol/Internet Protocol (TCP/IP) host on your network must be preconfigured to provide the required configuration files. The TCP/IP host can exist anywhere on the network, as long as the following two conditions are maintained:

    1. The host must be on the remote side of the router's synchronous serial connection to the WAN.

    2. User Datagram Protocol (UDP) broadcasts to and from the router and the TCP/IP host must be enabled.

This functionality is coordinated by your system administrator at the site where the TCP/IP host is located. You should not attempt to use AutoInstall unless the required files have been provided on the TCP/IP host. See the appropriate software configuration publications for information on how AutoInstall works.

Use the following procedure to prepare your router for the AutoInstall process:

Step 1 Attach the appropriate synchronous serial cable to a synchronous serial interface on the router.

Step 2 Turn on power to the router.

The router will load the operating system image from Flash memory. If the remote end of the WAN connection is connected and properly configured, the AutoInstall process will begin.

If the AutoInstall process completes successfully, you might want to write the configuration data to the router's nonvolatile random-access memory (NVRAM). Perform the following step to complete this task:

Step 3 At the # prompt, enter the copy running-config startup-config command if you are running Cisco IOS Release 11.0 or later, or the write memory command if you are running a Cisco IOS release earlier than 11.0:

Taking this step saves the configuration settings that the AutoInstall process created in the router. If you fail to do this, your configuration will be lost the next time you reload the router.

Performing a Basic Manual Configuration Using the Setup Facility

If you do not plan to use AutoInstall, do not connect the router's serial (WAN) cable to the channel service unit/data service unit (CSU/DSU). This prevents the router from attempting to run the AutoInstall process. (The router will attempt to run AutoInstall whenever you start it if the serial [WAN] connection is connected on both ends and the router does not have a configuration stored in NVRAM.) It can take several minutes for the router to determine that AutoInstall is not set up to a remote TCP/IP host.

Once the router has determined that AutoInstall is not configured, it will default to the setup facility. If the serial (WAN) cable is not connected, the router will boot from Flash memory and go into the setup facility.


Note You can run the setup facility any time you are at the enable prompt (#) by entering the
setup command.

Configuring the Global Parameters

When you first start the setup program, you must configure the global parameters, which are used for controlling system-wide settings.

Use the following procedure to enter the global parameters:

Step 1 Connect a console terminal to the console port on the RSP, and then boot the router to the user EXEC prompt (Router>). If you are using the console Y cable that shipped with your router, use either of the two DB-25 male plug ends of the Y  cable.

Step 2 When you have booted from Flash memory, the following information will appear after about 30 seconds. When you see this information displayed, you have successfully booted your router:


Note The first two sections of the preceding configuration script (the banner and the installed hardware) appear only at initial system startup. On subsequent uses of the setup command facility, the script begins with the System Configuration Dialog.

Step 3 Enter yes or press Return when asked if you want to enter the configuration dialog and if you want to see the current interface summary. Press Return to accept the default (yes):

In the following example, the summary shows a router at first-time startup. That is, nothing has been configured, and the summary reflects that fact.

Step 4 Choose which protocols to support on your interfaces. For Internet Protocol (IP)-only installations, you can accept the default values for most of the questions.

A typical minimal configuration using IP, IPX, and AppleTalk follows, and continues through Step 10:

Step 5 Enter the enable secret password and the enable password when the following is displayed:


Note The
Simple Network Management Protocol (SNMP) is the most widely supported open standard for network management. It provides a means to access and set configuration and run-time parameters of routers and communication servers. SNMP defines a set of functions that can be used to monitor and control network elements.

Step 6 Enter yes or no to accept or refuse SNMP management:

Step 7 For the following query, do not enable CLNS:

Step 8 For the following queries, enable routing on AppleTalk and IPX:

Step 9 For the following queries, do not enable Vines, XNS, DECnet, or bridging:

Step 10 In most cases you will use IP routing. If you are using IP routing, you must also select an interior routing protocol. You can specify only one of two interior routing protocols to operate on your system using setup: Interior Gateway Routing Protocol (IGRP) or Routing Information Protocol (RIP).

Enter yes (the default) or press Return to configure IP, and then select an interior routing protocol for IP:


Note The following sample display includes a continuous listing of all configuration parameters selected in Steps 4 through 10.
These parameters are shown in the order in which they appear on your console terminal.

Only IP, IPX, and AppleTalk are the selected protocols for this example.

Step 11 Save your settings to NVRAM. (For more information on saving settings to NVRAM, refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration" later in this chapter.)

Configuring Interfaces

This section provides procedures for configuring interfaces to allow communication over a LAN or WAN. To configure the interface parameters, you will need your interface network addresses and subnet mask information; consult your network administrator for this information.

Configuring an Ethernet Interface

Use the following procedure to configure an Ethernet interface:

Step 1 In the following example, the system is being configured for an Ethernet LAN using IP. Respond as follows, using your own addresses and mask to the setup prompts:

Step 2 Determine if you are going to enable IPX on this interface. If yes, enter the unique IPX network number:

Step 3 Enter yes if you want to use AppleTalk on the interface; enter yes to configure for extended AppleTalk networks, and then enter the cable range number. Enter the zone name and any other additional zones that will be associated with your local zone:

Step 4 Save your settings to NVRAM. (For more information on saving settings to NVRAM, refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration" later in this chapter.) If additional Ethernet interfaces are available in your system, you are prompted for their configurations as well.

Configuring a Synchronous Serial Interface

The synchronous serial interfaces are configured to allow connection to WANs through a CSU/DSU.

Use the following procedure to configure a serial interface:

Step 1 Enter yes to configure serial port 0:

Step 2 Determine which protocols you want to allow on the synchronous serial interface and enter the appropriate responses:

Step 3 Save your settings to NVRAM. (Refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration" later in this chapter.) If additional synchronous serial interfaces are available in your system, you are prompted for their configurations as well.


Note The following sample display includes a continuous listing of all interface configuration parameters selected for Ethernet and synchronous serial interfaces. These parameters are shown in the order in which they appear on your console terminal.

Only one Ethernet and one synchronous serial interface are configured for this example.

Your Cisco 7500 series router is now minimally configured and ready to use. If you want to modify the parameters after the initial configuration, use the setup command. To perform more complex configurations, use the configure command.

For information on additional interface configuration and information on more specific system configurations, refer to the publications listed in the section "If You Need More Configuration Information" later in this chapter

Performing a Basic Configuration Using Configuration Mode

You can configure the Cisco 7500 series router manually (via configuration mode) if you prefer not to use the setup facility or AutoInstall.

Use the following procedure to configure the router manually:

Step 1 Connect a console terminal to the console port of your RSP. If you are using the console Y cable that shipped with your router, use either of the two DB-25 male plug ends of the Y cable.

Step 2 When you are asked if you want to enter the initial dialog, answer no to go into the normal operating mode of the router, as follows:

Step 3 After a few seconds you will see the user EXEC prompt (Router>). Type enable to enter enable mode. Configuration changes can only be made in enable mode.

The prompt will change to the privileged EXEC prompt, as follows:

Step 4 Enter the config terminal command at the enable prompt to enter configuration mode from the terminal, as follows:

At the Router(config)# prompt, enter the interface type slot/port command to enter interface configuration mode, as follows:

When you are in either of these configuration modes, you can enter any changes to the router's configuration.

Step 5 Press Ctrl-Z to exit either configuration mode.

Step 6 Save your settings to NVRAM. (For more information on saving settings to NVRAM, refer to the section "Saving the Settings to NVRAM and Reviewing Your Configuration" later in this chapter.)

Your Cisco 7500 series router is now minimally configured and will boot with the configuration you have entered. To see a list of the configuration commands available to you, enter ? at the prompt or press the help key while in configuration mode.

Checking the Settings

You can check the value of the settings you entered by entering either of the following commands at the # prompt:

Following is an example:

router# show running-config
.
.
.

Saving the Settings to NVRAM and Reviewing Your Configuration

To store the configuration or changes to your startup configuration, enter the following commands at the hostname# prompt:

Following is an example:

Hostname# copy running-config startup-config

Entering these commands will save the configuration settings that you created in the router using configuration mode. If you fail to do this, your configuration will be lost the next time you reload the router.

To display information stored in NVRAM, use the show  startup-config EXEC command if you are running Cisco IOS Release 11.0 or later, or the show config EXEC command if you are running a Cisco IOS release earlier than 11.0.

Implementing Other Configuration Tasks

After you establish the basic startup configuration for your router if you need to make more advanced configuration changes, refer to the section "If You Need More Configuration Information," for a list of the appropriate configuration publications.

These publications contain additional information on using the configure command and provide additional information about the following tasks:

What Do I Do Now?

After you have installed the Cisco 7500 series router hardware, checked all external connections, turned on the system power, allowed the system to boot up, and minimally configured the system, you might need to perform more complete and complex configurations, which are beyond the scope of this text.

For specific information on more complex system and interface configuration, and, if necessary, troubleshooting, refer to the publications listed in the section "If You Need More Configuration Information."


Note For basic configuration information on each of the interface processors available for the Cisco  7500 series routers, refer to the companion publication Interface Processor Installation and Configuration Guide, or to the individual configuration notes that might have shipped with selected interface processors.

Using the Flash Memory Cards in the RSPs

This section describes procedures for using the Flash memory cards in the RSPs in the Cisco 7500 series routers.


Note The Flash memory card can be inserted and removed with the power on. In the following procedures, the term RSP refers to the RSP1, RSP2, and RSP4. Specific differences are clearly noted.

This section includes the following Flash memory card information:

For additional Flash memory-related command descriptions and configuration information, refer to the Configuration Fundamentals Command Reference and the Configuration Fundamentals Configuration Guide. Refer to the section "If You Need More Configuration Information," on page 4-51, for information on obtaining these publications.

You can also refer to the document Flash Memory Card Installation Instructions (Document Number 78-2083-xx). This document ships with Flash memory cards shipped as spare parts.

Installing and Removing a Flash Memory Card in an RSP

The RSP has two PCMCIA slots---slot 0 and slot 1---into which you can install a Flash memory card. The slots are positioned as follows:

A Flash memory card can be inserted and removed with the system power on. Both PCMCIA slots can be used at the same time.

The following procedure is generic, and can be used for a Flash memory card in either slot position.

Use the following procedure to install and remove a Flash memory card:

Step 1 Face the front panel of the RSP, which should appear as shown in Figure 4-1a, Figure 4-2a, or Figure 4-3a, and hold the Flash memory card with the connector end of the card toward the slot.

On an RSP1, the label should face up, with the Flash memory card positioned as shown in Figure 4-1.

In an RSP2 or RSP4, the label should face right, with the Flash memory card positioned as shown in Figure 4-2 and Figure 4-3, respectively.


Note The Flash memory card is keyed and cannot be seated the wrong way. The eject button will not pop out if the card is not properly inserted.

Step 2 Insert the card into the appropriate slot until the card completely seats in the connector at the back of the slot and the eject button pops out toward you (see Figure 4-1b, Figure 4-2b, or Figure 4-3b).

Note that the card does not insert all the way inside the RSP; a portion of the card remains outside of the slot. Do not attempt to force the card past this point.

Step 3 To eject the card, press the appropriate ejector button until the card is free of the connector at the back of the slot. (See Figure 4-1c, Figure 4-2c, or Figure 4-3c.)

Step 4 Remove the card from the slot and place it in an antistatic bag to protect it.


Figure 4-1: Installing and Removing a Flash Memory Card (RSP1)



Figure 4-2:
Installing and Removing a Flash Memory Card (RSP2)

:shortcuttocheckout.lnk


Figure 4-3:
Installing and Removing a Flash Memory Card (RSP4)

:shortcuttocheckout.lnk

The following sections include additional procedures for using Flash memory and Flash memory cards.

The following procedures are required if you do not plan to use the Flash memory card as it was shipped to you:

The following information is included for reference:

Formatting a Flash Memory Card

A Flash memory card that shipped with your chassis contains the Cisco IOS software image you need to boot your router. You do not need to reformat it.

In some cases, you might need to insert a new Flash memory card and copy images or backup configuration files onto it. Flash memory cards shipped as spare parts are shipped unformatted and blank. Before you can use a new, blank Flash memory card, you must format it. Use only Intel Series 2+ Flash memory cards.


Note For a Flash memory card that was formatted on an RSP1, RSP2, or RSP7000 to be compatible in an RSP4, the Flash memory card must be formatted with a boot or Cisco IOS software image that is compatible with the RSP4.

Currently the Cisco IOS release required for Flash memory card compatibility with all RSPs is Cisco IOS Release  11.1(8)CA1 or later.
Caution To prevent system problems, use Flash memory cards in the RSP4 that were formatted on an RSP1, RSP2, RSP7000, or RSP4 running Cisco IOS Release 11.1(8)CA1 or later.
Caution The following formatting procedure erases all information on the Flash memory card. To prevent the loss of important data that might be stored on a Flash memory card, proceed carefully. If you want to save the data on a Flash memory card, copy the data to a server before you format the card.

Use the following procedure to format a new Flash memory card (the procedure assumes you have already booted your router):

Step 1 Using the procedure in the section "Installing and Removing a Flash Memory Card in an RSP" on page 4-33, insert the Flash memory card into slot 0. (If slot  0 is not available, use slot 1.)

Step 2 To format the Flash memory card, use the format slot0: (or format slot1:) command as follows:


Note For this example, an 8-MB Flash memory card was used, and at the line "Formatting sector," the system counted the card's sectors backward from 64 to 1 as it formatted them. For 16-MB Flash memory cards, the system counts backward from 128 to 1, and for 20-MB Flash memory cards, the system counts backward from 160 to 1.

The new Flash memory card is now formatted and ready to use.

Copying Files to Flash Memory

You might need to copy a new image file to Flash memory whenever a new Cisco IOS software release or maintenance release becomes available.

Caution You cannot copy a new image into Flash memory while the system is running from Flash memory.

We recommend that you upgrade Cisco IOS software images in Flash memory one at a time; do not delete all known-good images at one time. Also, upgrade PCMCIA-based Flash memory separately from onboard Flash memory, to avoid losing important Cisco IOS software images that are known to be good. (The onboard Flash memory is referred to as the bootflash.)

Use the command copy tftp:filename [bootflash | slot0 | slot1]: filename for the copy procedure, where tftp:filename is the source of the file and [ bootflash | slot0 |
slot1]: filename is the destination in onboard Flash memory or on either of the Flash memory cards.

An example of the copy  tftp:filename command follows for a file in the Flash memory card in PCMCIA slot 0:

Router# copy tftp:myfile1 slot0:myfile1
20575008 bytes available on device slot0, proceed? [confirm]
Address or name of remote host [1.1.1.1]?
Loading new.image from 1.1.1.1 (via Ethernet1/0): 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#

Note In the preceding example, the exclamation points (!!!) appear as the file is downloaded, and the "C" characters signify calculation of the checksum, which is a verification that the file has been correctly downloaded to the Flash memory card.

Making a Flash Memory Card Image Bootable

Use the following series of commands to make a Flash memory card image bootable. (In this example, the filename is new.image.) Note that the config-register command is part of the sequence because the configuration register must be set to 0x2102 to enable loading an image from Flash memory.

Router# config terminal
Router(config)# no boot system
Router(config)# boot system flash slot0:new.image
Router(config)# config-register 0x2102
Crtl-z
Router# copy running-config startup-config
Router# reload

When the system reloads, it will boot the image new.image from the Flash memory card in slot 0.

Enabling Booting from Flash Memory

To enable booting from Flash memory, set configuration register bits 3, 2, 1, and 0 to a value between 2 and 15 in conjunction with the boot system flash device:filename configuration command, where device is bootflash:, slot0:, or slot1:, and filename is the name of the file from which you want to boot the system. (For a detailed configuration register information, refer to the section "Configuring the Software Configuration Register" in this chapter.)

To enter configuration mode while in the system software image and specify a Flash filename from which to boot, enter the configure terminal command at the enable prompt, as follows:

Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# boot system flash device:filename

To disable Break and enable the boot system flash device:filename command, enter the config-register command with the value shown in the following example:

Router(config)# config-reg 0x0102
Crtl-z
Router#

Additional Commands Associated with Flash Memory

This section describes additional commands related to using the onboard Flash memory (bootflash) on the RSP and the Flash memory cards (slot 0 and slot 1). The following examples assume you have Flash memory cards in PCMCIA slots 0 and 1.

You can determine which memory media you are accessing using the pwd command, as follows:

Router# pwd
slot1

You can move between Flash memory media using the cd [bootflash  |  slot0 | slot1] command, as follows:

Router# cd slot0
slot0
Router# cd slot1
Router# pwd
slot1

You can list the directory of Flash memory media using the dir [bootflash | slot0 | slot1] command, as follows:

Router# dir
-#- -length- -----date/time------ name
1   4601977  May 10 1996 09:42:19 myfile1
6   679      May 10 1996 05:43:56 todays-config
7   1        May 10 1996 09:54:53 fun1

You can delete a file from any Flash memory media using the delete [bootflash | slot0 | slot1]:filename command, as follows:

Router# delete slot0:fun1
Router# dir
-#- -length- -----date/time------ name
1   4601977  May 10 1996 09:42:19 myfile1

Files that are deleted are marked as deleted, but still occupy space in Flash memory. The squeeze command removes them permanently and pushes all other undeleted files together to eliminate spaces between them.

Following is the syntax of the squeeze command:

Router# squeeze slot0:
All deleted files will be removed, proceed? [confirm]
Squeeze operation may take a while, proceed? [confirm]
ebESZ

To prevent loss of data due to sudden power loss, the "squeezed" data is temporarily saved to another location of Flash memory, which is specially used by the system.

In the preceding command display output, the character "e" means this special location has been erased (which must be performed before any write operation). The character "b" means that the data that is about to be written to this special location has been temporarily copied. The character "E" signifies that the sector that was temporarily occupied by the data has been erased. The character "S" signifies that the data was written to its permanent location in Flash memory. The squeeze command operation keeps a log of which of these functions has been performed so in case of a sudden power failure, it can come back to the right place and continue with the process. The character "Z" means this log was erased after the successful squeeze command operation.

The configuration register setting 0x0101 tells the system to boot the default image (the first image) from onboard Flash memory, but not reset the Break disable or check for a default filename to be booted over the network. The configuration register setting 0x0102 tells the system to boot from Flash memory if netboot fails, disable Break, and check for a default filename to boot over the network.

For more information on the copy tftp:filename [flash | slot0 | slot1]:filename command, and other related commands, refer to the set of configuration fundamentals configuration and reference publications listed in the section "If You Need More Configuration Information" on page 4-51.

Additional Procedures Associated with Flash Memory Cards

This section describes additional procedures that can be used with Flash memory cards, but that are not always required.

Copying a Bootable Image into a Flash Memory Card

You can copy a bootable image into Flash memory; however, you must first format the Flash memory card and make the image in the Flash memory card bootable. (If you have not already done this, refer to the sections "Formatting a Flash Memory Card," on page 4-38, and "Making a Flash Memory Card Image Bootable" on page 4-41.)

To copy an image, use the following procedure, which assumes:

To assure access to a TFTP server, you will need to configure at least one interface using the setup command facility. For instructions on using this procedure, refer to the Configuration Fundamentals Configuration Guide publication.

Following is the procedure for copying a bootable file (called new.image) into the Flash memory card:

Step 1 Boot the router and allow it to initialize.


Note If you have already formatted a Flash memory card, you can use it instead; however, with an RSP4, you cannot boot from or use a Flash memory card formatted on another type of system (including RSP7000, RSP1 and RSP2). You must reformat the Flash memory used on one of these systems before you can use it as a boot or storage source with the RSP4.
Caution To prevent system problems, use Flash memory cards in the RSP4 that were formatted on an RSP4, or an RSP1, RSP2, or RSP7000 running Cisco IOS Release 11.1(8) or later. Formatting a Flash memory card will cause existing data to be lost.

Step 2 Enable the router by copying the image new.image to the Flash memory card, making this image in the Flash memory card (in slot 0) the default boot image, and rebooting the router, using the following series of commands:

In the preceding example, the exclamation points (!!!) appear as the file is downloaded, and the "C" characters signify calculation of the cyclic redundancy check (CRC) value, which is a verification that the file has been correctly downloaded to the Flash memory card.

This completes the procedure for copying a bootable image into a Flash memory card.

Copying Bootable Images between Flash Memory Cards

As future releases of Cisco IOS images become available, you will receive these images either as a file booted from a network server, a file on floppy disk, or a file on a Flash memory card.

The following scenario describes how to use a newly released image on a Flash memory card, in a system that has an older image on a Flash memory card in slot 0 and a default boot image in the onboard Flash memory.

For this scenario, the filenames are as follows:

You will copy the new image from the new Flash memory card onto the Flash memory card that contains the old image.


Note The scenario assumes that the new image will fit on the Flash memory card in slot  0, alongside the old image. If there is not enough available space, use the delete command to delete files from the Flash memory card to make sufficient room for the new image; however, do not delete the image.old file. Then use the squeeze command to remove these deleted files from the Flash memory card. If, after you have deleted files and used the squeeze command, the two files cannot coexist on the Flash memory card in slot 0, remove this card (place it in an antistatic bag and store it in a safe place), then insert the new Flash memory card (with the file image.new) in slot 0. Proceed to
Step 5 and use the command boot system flash slot0:image.new to designate the file image.new as the default boot image.

Following is the procedure for copying bootable images between Flash memory cards:

Step 1 Boot the router. By default, the file image.boot will be used.

Step 2 Enable the router as follows:

Step 3 Insert the new Flash memory card in slot 1.

Step 4 Use the following command to copy the file image.new in slot 1 to the Flash memory card in slot 0, only if there is enough memory space for the two images to coexist. If there is not enough memory space, proceed to Step 5.

The previous command can also be entered as copy slot1:image.new slot0:.

Step 5 Use the following series of commands to designate the file image.new (in the Flash memory card in slot 0) as the default boot image:

When the system reloads, it will boot the file image.new from the Flash memory card in slot  0.

This completes the procedure for copying bootable images between Flash memory cards.

Copying Files Between RSP Memory and a Flash Memory Card

Copying a configuration file to a Flash memory card in PCMCIA slot 0 or slot 1 might be required if you do not have access to a TFTP server on which you can temporarily store your configuration file. You can then copy the configuration file back to NVRAM at any time. Use the procedures in the following sections to first copy the configuration file from NVRAM or DRAM to a Flash memory card, and then to copy the configuration from the Flash memory card back to NVRAM.

Copying a Configuration File from RSP NVRAM to a Flash Memory Card on the RSP

You can use the command copy startup-config [slot0: | slot1:]:filename for the copy procedure where startup-config is the file's source (NVRAM) and [slot0: | slot1:]:filename is the file's destination in either of the Flash memory cards; note that the environmental variable CONFIG_FILE must be pointing (set) to NVRAM, which is the system default.

Following is the procedure for copying a configuration file from RSP NVRAM to a Flash memory card on the RSP:

Step 1 Use the show boot command to display the current setting for the environmental variable CONFIG_FILE as follows:

The preceding example shows that the environmental variable CONFIG_FILE is set for NVRAM, by default.

Step 2 Use the copy  startup-config slot0:filename command as follows:


Note In the preceding example, the exclamation points (!!!) appear as the file is copied. The "C" characters signify calculation of the checksum---a verification that the file has been correctly copied.

Step 3 To verify the file was copied correctly, use the dir command as follows:

This completes the procedure for copying files between RSP NVRAM and a Flash memory card.

Copying a Configuration from RSP DRAM to a Flash Memory Card on the RSP

You can use the command copy running-config [slot0: | slot1:]:filename for the copy procedure where running-config is the file's source (the temporary configuration in DRAM) and [slot0: | slot1:]:filename is the file's destination in either of the Flash memory cards.

An example of the copy  startup-config slot0:filename command follows:

Router# copy running-config slot0:myfile2
20575008 bytes available on device slot0, proceed? [confirm]
Address or name of remote host [1.1.1.1]?
Loading new.image from 1.1.1.1 (via Ethernet1/0): 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 
bytes]
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
Router#

In the preceding example, the exclamation points (!!!) appear as the file is copied. The "C" characters signify calculation of the checksum---a verification that the file has been correctly copied.

To verify the file was copied correctly, use the dir command as follows:

Router# dir slot0:
-#- -length- -----date/time------ name
1   5200084  Jul 11 1996 19:24:12 rsp-jv-mz.111-4
3   1215     Jul 11 1996 20:30:52 myfile1
4   6176844  Jul 11 1996 23:04:10 rsp-jv-mz.111-472
5   1186     Jul 12 1996 16:56:50 myfile2
9197156 bytes available (11381148 bytes used)

This completes the procedure for copying a configuration file from RSP DRAM to a Flash memory card.

Copying a Configuration File from a Flash Memory Card to RSP NVRAM

This section describes the procedure for copying your configuration file from the Flash memory card in PCMCIA slot 0 or slot 1 back to NVRAM.

Use the copy [slot0: | slot1:]:filename startup-config command for this copy procedure, where [slot0: | slot1:]:filename is the source of the file (Flash memory card), and startup-config is the destination (NVRAM).

An example of the copy  slot0:filename startup-config command follows:

Router# copy slot0:myfile startup-config 
[ok]
Router#

To ensure that the startup configuration file, now stored in NVRAM, is the default running configuration file used by the system, issue the copy startup-config running-config command as follows:

Router# copy startup-config running-config
Router#
%SYS-5-CONFIG_I: Configured from memory by console
Router#

This completes the procedure for copying a configuration file from the Flash memory card to NVRAM.

Recovering from Locked Blocks in Flash Memory Cards

A locked block in Flash memory cards occurs when power is lost or a Flash memory card is unplugged during a write or erase operation. When a block of Flash memory is locked, it cannot be written to or erased, and the operation will consistently fail at a particular block location. The only way to recover from locked blocks is by reformatting the Flash memory card with the format command.

Caution Formatting a Flash memory card will cause existing data to be lost.

If You Need More Configuration Information

The Cisco IOS software running your Cisco 7500 series router contains extensive features and functionality. The effective use of many of many of these features is easier if you have more information at hand.

For additional information on Cisco IOS software and configuring your router, refer to the following documentation resources:


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1998 © Cisco Systems Inc.