|
|
This chapter describes the system startup process and describes how to perform a basic configuration of your Cisco 12016 Gigabit Switch Router (GSR).
This chapter contains the following sections:
The primary goal of this chapter is to provide you with the necessary information to configure your system so that it can access the network or enable other hosts in the network to access your system remotely by means of a Telnet connection. Detailed configuration procedures are beyond the scope of this document, but you can find more information in the configuration publications listed in the "If You Need More Information" section. For the Cisco 12000 series line cards, you can refer to the line card documents that shipped with your system.
A default Cisco IOS software image for your system is available through any one of the following internal or external sources:
Before attempting to start up your system, confirm the following conditions:
After you complete the final check, proceed to the following section to start the router.
The following sequence summarizes a typical boot process:
Observe the following conditions the first time you start your router:
Step 1 Switch on all the circuit breakers that control power to the router's power shelf.
Step 2 Observe the power module LEDs:
Step 3 Visually check the two LEDs on the front of each blower module. When the blower module is operating correctly, the green LED labeled OK should be on and the red LED labeled FAIL should be off. Listen for the blowers in the blower modules; you should immediately hear them operating. In a noisy environment, the blowers might be difficult to hear, so you should place your hand in front of the exhaust vents near the top and bottom rear of the chassis to verify that the blowers are operating.
Step 4 During the GRP boot process, observe the GRP alphanumeric LED displays, which are located at one end of the GRP faceplate, near the ejector lever. (Figure 4-1 shows the LED displays in the head-up orientation to clarify the LED display message format.)

Each four-digit display shows part of a two-line system message. During the GRP boot process, the LED displays present a sequence of messages similar to that shown in Table 4-1.
| LED Display | Meaning | Source |
|---|---|---|
MROM | The MBus microcode begins to execute; nnnn is the microcode version number. For example, microcode version 1.17 displays as 0117.1 This display might not be visible because it occurs for only a brief time. | MBus controller |
LMEM | Low memory on the GRP is being tested. | GRP ROM monitor |
MEM | The size of main memory on the GRP is being discovered. | GRP ROM monitor |
RP | The system is operational and ready to execute basic Cisco IOS software commands at the ROM monitor prompt ( | GRP ROM monitor |
RP | A valid Cisco IOS image is running. | GRP IOS software |
MSTR | The GRP is enabled and recognized as the system master. A valid Cisco IOS image is running. | GRP IOS software |
| 1The version of MBus microcode running on your system might be different. |
Step 5 Observe the status of the GRP interfaces using the GRP LEDs.
The remaining LEDs on the GRP (see Figure 4-2) indicate system and GRP status, which Flash memory card slot is active, which Ethernet connection is in use, and what is occurring on the Ethernet interface. (A successful GRP boot is indicated by the alphanumeric LED displays as shown in Table 4-1, but the results shown do not necessarily mean that the system has reached normal operation.)
The GRP faceplate has the following eight device or port activity indicators:

Step 6 During the line card boot process, which occurs immediately after the GRP boot process, observe the alphanumeric LED displays on each line card.
The alphanumeric LED displays on a line card are located in the same place as on the GRP. (See Figure 4-3.) The system attempts to boot identical line cards in parallel. Further, the system boots line cards as soon as they are powered on and become available for bootup. Each line card displays a sequence that is similar to that shown in Table 4-2.

| LED Display1 | Meaning | Source |
|---|---|---|
MROM | The MBus microcode begins to execute; nnnn is the microcode version number. For example, microcode version 1.17 would display as 0117.2 This display might not be visible, because it occurs for only a brief time. | MBus |
LMEM | Low memory on the line card is being tested. | Line card ROM monitor |
MEM | The size of main memory on the line card is being discovered. | Line card ROM monitor |
ROMI | The ROM image is being loaded into line card memory. | GRP IOS software |
FABL | The line card is waiting for the fabric downloader to load.3 | GRP IOS software |
FABL | The fabric downloader is being loaded into line card memory. | GRP IOS software |
FABL | The fabric downloader is being launched. | GRP IOS software |
FABL | The fabric downloader has been launched and is running. | GRP IOS software |
IOS | The Cisco IOS software is being downloaded into line card memory. | GRP IOS software |
IOS | The Cisco IOS software is being launched. | GRP IOS software |
IOS | The Cisco IOS software is running. | GRP IOS software |
IOS | The line card is enabled and ready for use. | GRP IOS software |
| 1The LED sequence shown in Table 4-2 might occur too quickly for you to view; therefore, this sequence is provided in this tabular form as a baseline for how the line cards should function at startup. 2The version of MBus microcode running on your system might be different. 3The fabric downloader loads the Cisco IOS software image onto the line card. |
Step 7 If a Flash memory card containing a valid Cisco IOS software image has been inserted in PCMCIA slot 0 and the software configuration register is set to 0x0102 (the factory default setting), the router automatically boots using this image.
As the router boots the Cisco IOS software image, the console screen displays a system banner similar to the following:
Cisco Internetwork Operating System Software IOS (tm) GS Software (GSR-P-MZ), Released Version 12.0(8)S Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Mon 25-Oct-99 19:41 . . .
Step 8 If the ROM monitor prompt (rommon>) appears, your router did not find a valid system image or the boot sequence was otherwise interrupted, and the system entered read-only memory (ROM) monitor mode.
You must boot a Cisco IOS software image manually by issuing the boot command. For information on locating a valid Cisco IOS software image, refer to the "Locating a Valid Cisco IOS Software Image" section. For information on using one of the various forms of the boot command, refer to the "Booting from the Cisco IOS Software Image" section.
After manually booting the router, continue with Step 9.
Step 9 When you start an unconfigured system for the first time, the system displays the system banner and then automatically starts the System Configuration Dialog, an interactive script that prompts you through the steps to create a router configuration database file defining basic system operation parameters.
--- System Configuration Dialog --- Continue with configuration dialog? [yes/no]:
The router uses the system configuration file to activate network connections to the GRP so that the router can be administered from a remote location, or to activate the line card network interfaces. Once configured, the GRP and line cards can communicate with external networks.
You do not need to configure the network interfaces immediately, but you cannot connect to a network until you configure the interfaces for operation in your networking environment. (For configuration information, refer to the "Configuring the Router" section.
If the system does not complete each of the preceding steps, go to the "Troubleshooting the Installation" chapter, later in this publication, for troubleshooting recommendations and procedures.
To locate a Cisco IOS software image for manually booting the router from the ROM monitor prompt (rommon>), use the ROM monitor mode dir command to examine the contents of the onboard Flash memory SIMM (NVRAM) on the GRP:
rommon 1> dir bootflash: File size Checksum File name 3277967 bytes (0x32048f) 0x6b331e30 gsr-p-mz.120-7.4.5 rommon 2>
If the onboard Flash memory SIMM contains the desired Cisco IOS boot image, proceed to the "Booting from the Cisco IOS Software Image" section; otherwise, continue looking for a valid image by examining the contents of the Flash memory card (if present) in either PCMCIA slot 0 or slot 1 (or both). You can determine the content of the card by issuing the ROM monitor mode dir slotn: command, where n represents either 0 (slot 0) or 1 (slot 1). The following example of the command lists the contents of the Flash memory card in slot 0:
rommon 2> dir slot0: File size Checksum File name 3277967 bytes (0x32048f) 0x6b331e30 gsr-p-mz.120-7.4.5 rommon 3>
After locating a valid Cisco IOS software image, you can boot that image manually by issuing the appropriate ROM monitor mode boot command. Use one of the various forms of the boot command described briefly below.
| Command | Purpose |
|---|---|
(No argument). Boot the default image found in the onboard Flash memory SIMM. This image is loaded into the SIMM at the factory. | |
boot flash | (Does not specify a particular PCMCIA slot.) Attempt to boot the router using the first file found in the Flash memory card inserted in slot 0 of the GRP. |
Boots the router using the specified file from the Flash memory card in slot 0 of the GRP. | |
boot slot1: filename | Boots the router using the specified file from the Flash memory card in slot 1 of the GRP. |
Boots the router using the specified file from the onboard Flash memory SIMM (NVRAM) on the GRP. | |
boot tftp: filename [host] | Boots the router using the specified file from a host TFTP server in the network. |
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 and for GRP spares is 0x0102. This setting causes the system to boot Cisco IOS software from a Flash memory card inserted in PCMCIA slot 0 the next time you boot the router.)
You can perform a basic configuration for your router by using either of the following methods:
Milo#), which invokes the same configuration script that appears automatically during the first startup of an unconfigured router. You can use whichever method suits your operating style and your knowledge of network configuration requirements. The advantage in using the setup facility is that the system uses an interactive script to guide you through the configuration process.
Whether you choose to use the setup command facility or the global configuration mode to configure the router to operate in your networking environment, be sure you know the following:
The Cisco IOS software provides a command line interface that allows you to configure and manage your router. If you are unfamiliar with the Cisco IOS command line interface, you should read the "Using the Command Line Interface" chapter in the Configuration Fundamentals Configuration Guide. This chapter discusses the different command modes, context-sensitive help, and editing features.
The Cisco IOS user interface is organized into many different modes. The commands available to you at any given time depend on which mode you are currently in. Entering a question mark (?) at the system prompt displays a list of commands available for the current command mode.
When you start a session on the router, you begin in user mode, often called EXEC mode. Only a limited subset of the commands are available in EXEC mode. In order to have access to all commands, you must enter privileged EXEC mode. Normally, you must enter a password to enter privileged EXEC mode. From privileged EXEC mode, you can enter any EXEC command or enter global configuration mode. Most of the EXEC commands are one-time commands, such as show commands, which show the current configuration status, and clear commands, which clear counters or interfaces. The EXEC commands are not saved across reboots of the router.
The configuration modes allow you to make changes to the running configuration. If you later save the configuration, these commands are stored and persist across router reboots. In order to access the various configuration modes, you must start at global configuration mode. From global configuration mode, you can enter interface configuration mode, subinterface configuration mode, and a variety of protocol-specific modes.
ROM monitor mode, described earlier in this chapter, is a separate mode used when the router cannot boot properly. If your router does not find a valid system image when it is booting, or if its configuration file is corrupted at startup, the system might enter ROM monitor mode.
After it boots successfully and loads the Cisco IOS software, the system displays the user EXEC mode prompt on the system console. The user EXEC mode prompt consists of the assigned router host name plus the right angle bracket (>). The following example shows the user EXEC mode prompt for a router with the factory default name Router.
Router>
router unless it has been changed during initial configuration using the setup command facility.
Because many of the privileged commands set operating parameters, privileged access should be password protected to prevent unauthorized use.
Router> enable password: <password> Router#
For information about using passwords, refer to the "Configuring Global Parameters Using the Setup Facility" section.
Global configuration commands apply to features that affect the system as a whole, rather than just one protocol or interface. You use the configure terminal privileged EXEC command to enter global configuration mode. Commands to enable a particular routing or bridging function are also global configuration commands. For information on protocol-specific global configuration commands, see the appropriate configuration guide in the Cisco IOS software documentation.
From global configuration mode, you can access a number of other command modes. These command modes are described in the sections that follow.
Many features are enabled on a per-interface basis. Interface configuration commands modify the operation of an interface such as Ethernet, FDDI, or serial port. Interface configuration commands always follow an interface global configuration command, which defines the interface type.
For details on interface configuration commands that affect general interface parameters, such as bandwidth, clock rate, and so on, see the "Interface Commands" chapter in the Configuration Fundamentals Command Reference. For protocol-specific commands, see the appropriate Cisco IOS software command reference.
You can configure multiple virtual interfaces (called subinterfaces) on a single physical interface. Subinterfaces appear to be distinct physical interfaces to the various protocols. For detailed information on how to configure subinterfaces, see the appropriate module for a specific protocol in the Cisco IOS software documentation.
If your router does not find a valid system image, or if you interrupt the boot sequence, the system might enter read-only memory (ROM) monitor mode. From ROM monitor mode, you can boot the system or perform diagnostic tests.
You can also enter ROM monitor mode by entering the reload EXEC command and then pressing the Break key during the first 60 seconds of startup.
The setup command facility is an interactive facility that allows you to perform first-time configuration and other basic configuration procedures on your router. The setup command facility is based on a script that prompts you to enter basic configuration information needed to start a router functioning quick and uneventfully.
During the first-time startup of an unconfigured router, the system automatically starts the setup command facility and begins displaying an interactive dialog called the System Configuration Dialog on the system console screen. The System Configuration Dialog guides you through the configuration process. It prompts you first for global (system-wide) parameters and then for interface (line card) parameters.
You must run through the entire System Configuration Dialog until you come to the item that you intend to change. To accept default settings for items that you do not want to change, press the Return key on the keyboard of the system console device.
To return to the privileged EXEC prompt without making changes and without running through the entire System Configuration Dialog, press Ctrl-C.
The setup command facility also provides help text for each prompt. To access help text, press the question mark (?) at a prompt.
When you complete your changes, the setup command facility displays the configuration command script that was created as a result of the changes you entered during the setup session. It also asks you if you want to use this configuration. If you answer Yes, the configuration is saved to NVRAM. If you answer No, the configuration is not saved and the process begins again. There is no default for this prompt; you must answer either Yes or No.
The following example shows a setup session automatically invoked during the first-time startup of the router. During the first-time startup, the system displays the system banner information, then starts the System Configuration Dialog.
Cisco Internetwork Operating System Software . . . --- System Configuration Dialog --- Continue with configuration dialog? [yes/no]: Yes 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 '[]'. Basic setup only configures enough connectivity for management of the system, extended setup will ask you to configure each interface of the system. Would you like to enter basic management setup? [yes/no]: Yes Configuring global parameters: Enter host name [Router]: Milo 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. Enter enable secret [<Use current secret>]: barney The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images. Enter enable password: wilma The virtual terminal password is used to protect access to the router over a network interface. Enter virtual terminal password: bambam Configure SNMP Network Management? [no]: Current interface summary Interface IP-Address OK? Method Status Protocol Ethernet0 unassigned YES unset administratively down down POS1/0 unassigned YES unset administratively down down SDCC1/0 unassigned YES unset administratively down down POS2/0 unassigned YES unset administratively down down SDCC1/0 unassigned YES unset administratively down down . . . POS15/0 unassigned YES unset administratively down down SDCC15/0 unassigned YES unset administratively down down Enter interface name used to connect to the management network from the above interface summary: Ethernet0 Configuring interface Ethernet0: Configure IP on this interface? Yes IP address for this interface: 172.16.72.2 Subnet mask for this interface: 255.0.0.0 Class B network is 172.16.0.0, 8 subnet bits; mask is /24 The following configuration command script was created: hostname Milo enable secret 5 $1$krIg$emfYm/1OwHVspDuS8Gy0K1 enable password wilma line vty 0 4 password bambam no snmp server ! no ip routing ! interface Ethernet0 no shutdown ip address 172.16.72.2 255.255.255.0 ! interface POS1/0 shutdown no ip address ! interface SDCC1/0 shutdown no ip address . . . interface POS15/0 shutdown no ip address ! interface SDCC15/0 shutdown no ip address ! end [0] Go to the IOS command prompt without saving this script. [1] Return back to the setup without saving this config. [2] Save this configuration to nvram and exit. Enter your selection [2]: Building configuration ... Use the enabled mode `configure' command to modify this configuration. Milo#
As explained earlier, you can set configuration parameters using the setup command facility (as presented to you automatically at initial system startup), or you can enter the setup command at any time at the privileged EXEC prompt to activate the setup facility.
The only observable difference between the configuration script displayed when the setup facility starts automatically on startup and the script displayed when you enter the setup command is that the latter displays any existing (previously entered) system configuration defaults within square brackets [ ].
For example, during the configuration of a POS interface using the setup facility at startup (assuming that the interface has not been configured previously), you will see a display in the following form as you proceed through the script and respond to queries:
Configuring interface POS1/0: Is this interface in use?: yes Configure IP on this interface?: yes
In this example, the script does not display default or current conditions in square brackets [ ], because you entered the setup facility automatically at startup and there is no prior configuration information.
Conversely, when you enter the setup command at the privileged EXEC mode prompt (assuming that the POS interface has been configured previously and you are being queried by the system for changes), you will see a display in the following form:
Configuring interface POS1/0: Is this interface in use?[yes]: Configure IP on this interface?[yes]:
In this example, the script displays the default or current conditions of the interface in square brackets [ ], because you invoked the setup facility using the setup command and there is previous configuration information. When a system prompt contains an existing default value in square brackets, press Return to accept the default value, or type an alternate value and press Return.
When you first enter the setup facility or enter the setup command, the system prompts you to configure global parameters for your router. The global parameters are used for controlling system-wide settings, including the following:
The name you assign the router must follow the rules for ARPANET host names. It must start with a letter, end with a letter or digit, and have as interior characters only letters, digits, and hyphens. The name must consist of 63 or fewer characters. For more information, refer to RFC 1035, Domain Names---Implementation and Specifications.
Also, do not expect case to be preserved. Upper- and lowercase characters look the same to many internet software applications (often under the assumption that the application is doing you a favor). It may seem appropriate to capitalize a name the same way you might do in English, but conventions dictate that computer names appear all lowercase. For more information, refer to RFC 1178, Choosing a Name for Your Computer.
The commands available at the user EXEC level are a subset of those available at the privileged EXEC level. Because many privileged EXEC commands are used to set system parameters, you should password-protect these commands to prevent their unauthorized use. For information on how to establish password protection or configure privilege levels, refer to the "Configuring Passwords and Privileges" chapter in the Security Configuration Guide, which is one of the modular configuration publications in the Cisco IOS software configuration documentation set that corresponds to the Cisco IOS software release installed on your Cisco hardware.
The enable secret password functionality is available for Cisco 12000 series Gigabit Switch Routers. You must enter the correct password to gain access to privileged-level commands. When you are running from the ROM monitor, you can use the enable password, depending on your boot ROM level.
For maximum security, the enable secret and the enable password should be different. If you use the same password for both the enable secret and enable functions during the setup process, the system accepts it but issues a warning 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 either case, you cannot use a number as the first character. Spaces, however, are valid password characters. For example, "two words" is a valid password. Leading spaces are ignored, but trailing spaces are recognized.
Make a note of all passwords you set, and store that information in a secure location for future reference.
For complete information on protocol configuration for your router, refer to the appropriate software configuration publications, which are listed in the "If You Need More Information" section.
This section provides a brief summary of information about configuring the network interfaces for the GRP and the installed line cards by using the setup facility or setup command. Once configured, the GRP and line cards can communicate with external networks.
To configure the interface parameters for the GRP and installed line cards, you need to have the following information available:
To obtain this information, consult your network administrator.
For additional interface configuration information for the GRP and each of the line cards installed in your router, refer to the configuration note that shipped with each card.
The RJ-45 and MII receptacles on the faceplate of the GRP are IEEE 802.3u-compliant interfaces. These IEEE interfaces provide connectivity to Ethernet networks. You can use one interface or the other, but not both at the same time.
The following configuration dialog example shows the system being configured for an Ethernet interface that will use the IP network layer protocol. (The Ethernet interface does not support external routing functions.) The IP address and subnet mask value are examples. The IP address and subnet mask value would be different.
Configuring interface Ethernet0: Is this interface in use?: yes Configure IP on this interface?: yes IP address for this interface: 3.3.1.1 Number of bits in subnet field: 8 Class A network is 3.0.0.0, 8 subnet bits; mask is 255.255.0.0 Configure CLNS on this interface?: yes
Because of the wide variety of line cards supported by the GSR, you should refer to the configuration note that shipped with a particular card for interface configuration information. This section provides several brief examples to show the general way the setup facility handles line card interface configuration.
The following sample excerpt from a System Configuration Dialog session for a Quad OC-3c POS line card, shows settings for a typical configuration.
Configuring interface POS3/0:
Is this interface in use?: yes
Configure IP on this interface?: yes
Configure IP unnumbered on this interface?: no
IP address for this interface: 2.1.1.1
Number of bits in subnet field: 0
Class A network is 2.0.0.0, 0 subnet bits; mask is 255.0.0.0
Configure CLNS on this interface?: yes
The following sample shows the same Quad OC-3c POS line card interface being configured for IP unnumbered.
Configuring interface POS3/0:
Is this interface in use?: yes
Configure IP on this interface?: yes
Configure IP unnumbered on this interface?: yes
Assign to which interface: ethernet0
Configure CLNS on this interface?: yes
In the following sample, an ATM line card is being configured to use IP.
Configuring interface parameters: Configuring interface ATM1/0: Is this interface in use?: yes Configure IP on this interface?: yes IP address for this interface: 1.1.1.2 Number of bits in subnet field: 0 Class A network is 1.0.0.0, 0 subnet bits; mask is 255.0.0.0
After you have manually configured the network interface parameters using the setup facility or the setup command, your GRP and line card interfaces are now available for limited use.
If you want to modify the currently saved configuration information, you can enter the setup command at the privileged EXEC mode prompt (Milo#) at any time to start another System Configuration Dialog session.
To perform more complex configuration tasks, you can enter the configure terminal command at the privileged EXEC mode prompt (Milo#), which invokes the global configuration mode [Milo(config)#]. The "Using Global Configuration Mode" section describes the use of the global configuration mode.
To determine the current version of the Cisco IOS software running on your router, enter the show version command at the user EXEC prompt. The Cisco IOS software version number is displayed, as well as other information, including the hardware installed in the system, the names and sources of system image files, and the contents of the software configuration register.
The following sample display shows typical results from the show version command. Depending on the image version of the Cisco IOS software running on your GSR and the way the GSR is equipped, the results of your show version command might be different.
Milo# show version Cisco Internetwork Operating System Software IOS (tm) GS Software (GSR-P-M), Version 12.0(n)S ... Copyright (c) 1986-1999 by cisco Systems, Inc. . . . Milo uptime is 1 week, 5 days, 19 hours, 33 minutes System returned to ROM by reload System image file is ... cisco 12016/GRP (R5000) processor (revision 0x00) with 262144K bytes
of memory. R5000 CPU at 200 MHz, Implementation 35, Revision 2.1, 512KB L2 Cache Last reset from power-on 1 Route Processor Card 2 Clock Scheduler Cards . . . 5 Packet over SONET network interface(s) 507K bytes of non-volatile configuration memory. 20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K). 20480K bytes of Flash PCMCIA card at slot 1(Sector size 128K). 8192K bytes of Flash internal SIMM (Sector size 256K). Milo#
If you prefer not to use the interactive script of the setup facility, you can manually configure your router using global configuration mode. Global configuration mode enables you to enter configuration commands line by line from the console terminal.
To configure your router using global configuration mode, follow these steps:
Step 1 Connect a console terminal to the console port on the faceplate of the GRP.
Step 2 When you are asked if you want to enter the initial dialog, answer no. This causes the router to enter user EXEC mode. After a few seconds, the user EXEC mode prompt (Milo>) appears:
Would you like to enter the initial dialog? [yes]: no Milo>
Step 3 Enter privileged EXEC mode by issuing the enable command at the user EXEC prompt.
Milo> enable
Depending on the system and the software version, you may be prompted for a password. The prompt will change to the privileged EXEC prompt as follows:
Milo#
Step 4 At the privileged EXEC prompt, enter the configure terminal command to enter global configuration mode:
Milo# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Milo(config)#
In privileged EXEC mode, you can enter most of the configuration commands needed to change the system configuration. Press Ctrl-z to exit this configuration mode.
Step 5 At the privileged EXEC prompt, enter the interface type slot/port command to enter interface configuration mode as follows:
Milo(config)#interface type slot/portMilo(config-if)#
In interface configuration mode, you can enter the interface configuration commands to change the system configuration. Press Ctrl-z to exit interface configuration mode.
Step 6 Save your configuration settings as described in the section "Saving the Running Configuration Settings to NVRAM," later in this chapter.
Your system is now minimally configured and able to boot using the configuration you entered.
To display a list of the configuration commands available to you, enter a question mark (?) at the prompt or press the designated help key on the terminal keyboard while in configuration mode.
You can check the running configuration settings or any changes you made to the settings before you save them. To do so, enter the show running-config command at the privileged EXEC mode prompt.
For example, for a Quad OC-3c/STM-1c POS interface installed in slot 1, the show running-config command typically displays output in the following form. Depending on the image version of the Cisco IOS software running on your GSR and the way the GSR is equipped, the results of your show running-config command might be different.
router# show running-config Building configuration... Current configuration: ! version 12.0 no service pad no service udp-small-servers no service tcp-small-servers ! hostname Milo ! enable secret 5 $1$W6K5$W/p5Bq6IPLGJ/hS9VVP1g. enable password twink interface POS1/0 ip address 10.1.1.1 255.255.255.0 crc 32 clock source internal ! interface POS1/1 no ip address no ip route-cache cef no ip route-cache shutdown crc 32 ! interface POS1/2 no ip address no ip route-cache cef no ip route-cache shutdown crc 32 ! interface POS1/3 no ip address no ip route-cache cef no ip route-cache shutdown crc 32
To save the running configuration changes to NVRAM, enter the copy running-config startup-config command at the privileged EXEC mode prompt as follows:
Milo# copy running-config startup-config
You can also use the following command to save the running configuration settings:
Milo# write memory
Either command saves to NVRAM the configuration settings that you created while in the global configuration mode.
To display the running configuration settings stored in NVRAM, enter the show startup-config command at the privileged EXEC mode prompt. This command displays output in the form shown in the following example:. Depending on the image version of the Cisco IOS software running on your GSR and the way the GSR is equipped, the results of your show startup-config command might be different.
Milo# show startup-config Using 5560 out of 520184 bytes ! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Milo ! enable secret 5 $1$/5HX$OOvyhG2JYhNaCbPa45Wmn/ enable password wilma ip cef distributed switch ip host biff 10.3.3.254 ! interface Ethernet0 ip address 10.3.1.1 255.255.0.0 no ip mroute-cache ! interface POS1/0 ip address 10.1.1.1 255.0.0.0 no keepalive crc 16 no cdp enable . . . interface ATM3/0 ip address 10.0.0.15 255.0.0.0 secondary ip address 10.1.1.2 255.0.0.0 atm pvc 1 0 64 aal5snap atm pvc 2 0 72 aal5mux ip 155000 155000 1 atm pvc 3 1 90 aal5snap 312000 312000 1 atm pvc 4 0 108 aal5snap atm pvc 10 0 144 aal5mux ip 155000 155000 1 atm pvc 11 1 91 aal5snap 310000 310000 1 map-group atm1 ! no ip classless ip route 10.5.4.254 255.255.255.255 Ethernet0 ! map-list atm1 ip 10.1.1.1 atm-vc 1 ip 10.1.1.3 atm-vc 2 ip 10.1.1.4 atm-vc 4 ip 10.0.0.1 atm-vc 3 ip 10.0.0.5 atm-vc 10 ip 10.0.0.6 atm-vc 11 no logging trap ! ! line con 0 exec-timeout 0 0 line aux 0 line vty 0 4 password bambam login ! end Milo#
This section describes how to perform the following additional configuration tasks:
The software configuration register is a 16-bit register in NVRAM that you use to define specific system parameters. You can set or change the contents of this register to accomplish the following tasks:
rommon>)
rommon>). At this prompt, you have access to a limited set of commands that enable you to set values in the software configuration register and to perform a number of other tasks. Table 4-3 defines the bits in the software configuration register.
![]() | Caution To avoid confusion and possibly halting the system, remember that valid software configuration register values may be combinations of settings, rather than the individual settings listed in Table 4-3. For example, the factory default value 0x0102 for the software configuration register is actually a composite of several settings. |
| Bit Number1 | Hexadecimal Value | Meaning/Function |
|---|---|---|
00 to 03 | 0x0000 to 0x000F | Comprises the boot field for defining the source of a default Cisco IOS software image required to run the router (see Table 4-2) |
06 | 0x0040 | Causes system software to ignore the contents of NVRAM |
07 | 0x0080 | Enables the OEM2 bit |
08 | 0x0100 | Disables the Break function |
09 | 0x0200 | Uses a secondary bootstrap |
10 | 0x0400 | Broadcasts Internet Protocol (IP) with all zeros |
11 and 12 | 0x0800 to 0x1000 | Defines the console baud rate (the default setting is 9600 bps) |
13 | 0x2000 | Boots the default Flash memory software if the network boot fails |
14 | 0x4000 | Excludes network numbers from IP broadcasts |
15 | 0x8000 | Enables diagnostic messages and ignores the contents of NVRAM |
| 1The factory default value for the software configuration register is 0x0102. This value is a combination of binary bit 8 = 0x0100 and binary bits 00 through 03 = 0x0002 (see Table 4-2). 2OEM = original equipment manufacturer. |
Table 4-4 specifies the content of the boot field, which defines a source for booting the default Cisco IOS software image required to run the router. The content of the boot field is specified as a binary number.
| Boot Field | Meaning |
|---|---|
00 | On power up, the system remains at the ROM monitor prompt ( |
01 | On power up, the system automatically boots the first system image found in the onboard Flash memory SIMM on the GRP. |
02 to 0F | On power up, the system boots automatically from a default Cisco IOS software image stored on a TFTP server in the network. For this setting, it is assumed that the Ethernet port on the GRP is configured and operational. A default Cisco IOS software image is typically kept on a Cisco "Help Desk" server in the network for ready access by anyone needing a boot image. This setting also enables boot system commands that override the default filename. |
The four low-order bits of the software configuration register (bits 3, 2, 1, and 0) form a boot field that defines the source of a Cisco IOS software image for booting the router.
You can set or change the contents of the boot field by issuing the config-register command at the global configuration mode prompt [Milo(config)#].
When the boot field is set to either 0 or 1 (0000 or 0001), the system ignores any boot instructions in the system configuration file and one of the following occurs, depending on the boot field setting:
rommon>). You can enter the boot command with or without arguments.
If you set the boot field to any bit pattern other than 0 or 1, the router uses the software configuration register settings to compute the filename of a default system image stored on a network TFTP server. It uses that system image to boot the router.
To form this filename, the system starts with cisco and links the octal equivalent of the boot field value and the processor type in the following format:
cisco<bootfieldvalue>-<processorname>
For example, the filename formation process would yield a range of typical filenames like the following:
cisco2-grp . . . cisco17-grp
The system would use one of the filenames in this range to use in booting a default system image stored on a network TFTP server.
However, if the configuration file contains boot instructions, the system uses these instructions to boot the system, rather than using the filename it computed from the software configuration register settings.
Step 1 Enter the enable command and your password at the user EXEC mode prompt to enter privileged EXEC mode:
Milo> enable Password: <password> Milo#
Step 2 Enter the configure terminal command at the privileged EXEC mode prompt to enter global configuration mode, as shown in the following example:
Milo# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Milo(config)#
Step 3 Set the contents of the software configuration register by entering the config-register value command at the global configuration mode prompt, where value is a hexadecimal number preceded by 0x, as in the following:
Milo(config)# config-register 0xvalue
Consult the hexadecimal column in Table 4-3 for the possible settings to enter as the four-bit value parameter.
Step 4 Exit global configuration mode by entering Ctrl-Z.
Milo(config)# config-register 0xvalue Milo(config)# Ctrl-Z Milo#
This command sequence saves the new contents of the software configuration register to NVRAM, but these new settings do not take effect until you reload or reboot the GSR.
Step 5 Enter the show version privileged EXEC command to display the software configuration register value currently in effect. This value will be used the next time the router reloads. The value is displayed on the last line of the screen display, as in the following example:
Milo# show version . . . Configuration register is 0x141 (will be 0x102 at next reload)
Step 6 Save the software configuration register settings as described in the "Saving the Running Configuration Settings to NVRAM" section.
Step 7 Reboot the system.
This completes the procedure for changing the contents of the software configuration register. You can set the boot field to enable a specific manual or automatic boot function.
This section provides more detailed descriptions of the significance of the bits in the software configuration register and how they interact during the boot process.
As described earlier in the "Boot Field Settings and the Use of the Boot Command" section, the boot field setting determines the source of the Cisco IOS software image that is used to boot the router. If you set the boot field value to 0 (0x0000), you must boot the operating system manually by entering the boot command at the ROM monitor prompt (rommon>).
If you set the boot field value to 0x2 through 0xF and a valid boot system command is stored in the configuration file, the router boots the Cisco IOS software image as directed by that value. If no boot system command is present in the configuration file, the router forms a default boot filename and attempts to acquire that file from a network TFTP server.
Milo# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Milo(config)# config-register 0x0102 Milo(config)# boot system flash filename Ctrl-Z Milo#
With the configuration register set to 0x0102, the system computes a default boot filename. In forming this filename, the system starts with cisco and appends the octal equivalent of the boot field number, a hyphen, and the processor type (grp).
Table 4-5 lists the range of possible computed default filenames for booting over the network. Note, however, that a valid boot system configuration command stored in the NVRAM configuration file overrides any computed default filename for booting over the network.
| Action/Filename | Bit 3 | Bit 2 | Bit 1 | Bit 0 |
|---|---|---|---|---|
Bootstrap mode | 0 | 0 | 0 | 0 |
Default software | 0 | 0 | 0 | 1 |
cisco2-grp | 0 | 0 | 1 | 0 |
cisco3-grp | 0 | 0 | 1 | 1 |
cisco4-grp | 0 | 1 | 0 | 0 |
cisco5-grp | 0 | 1 | 0 | 1 |
cisco6-grp | 0 | 1 | 1 | 0 |
cisco7-grp | 0 | 1 | 1 | 1 |
cisco10-grp | 1 | 0 | 0 | 0 |
cisco11-grp | 1 | 0 | 0 | 1 |
cisco12-grp | 1 | 0 | 1 | 0 |
cisco13-grp | 1 | 0 | 1 | 1 |
cisco14-grp | 1 | 1 | 0 | 0 |
cisco15-grp | 1 | 1 | 0 | 1 |
cisco16-grp | 1 | 1 | 1 | 0 |
cisco17-grp | 1 | 1 | 1 | 1 |
The significance of other important bits in the software configuration register is described in the following paragraphs.
Bit 8 of the software configuration register controls the console Break key. Setting bit 8 causes the system to ignore the console Break key. This is the factory default. Conversely, clearing bit 8 causes the system to interpret a Break keystroke as a command to halt normal system operation and force the system into ROM monitor mode. Regardless of the setting of the Break enable bit in the software configuration register, pressing the Break key during approximately the first five seconds of booting causes a return to the ROM monitor.
Bit 9 is not used.
Bit 10 of the software configuration register controls the host portion of the IP broadcast address. Setting bit 10 causes the processor to use all zeros in the host portion of the IP broadcast address; 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 IP broadcast address.
Table 4-6 shows the combined effect of bits 10 and 14.
| 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 of the software configuration register determine the data transmission rate of the console terminal. Table 4-7 shows the bit settings for the four available data transmission rates. The factory-set default data transmission rate is 9600 bps.
| Bit 12 | Bit 11 | Data Transmission Rate (bps) |
|---|---|---|
0 | 0 | 9600 |
0 | 1 | 4800 |
1 | 0 | 1200 |
1 | 1 | 2400 |
Bit 13 of the software configuration register determines the system's response to a bootload failure. Setting bit 13 causes the system to load Cisco IOS software from Flash memory after five unsuccessful attempts to load a boot file from the network TFTP server. Clearing bit 13 causes the system to continue attempting to load a boot file from the network TFTP server indefinitely. Bit 13 in the software configuration register is set to 0 as the default at the factory.
This section provides information on how to recover a lost password. The following is a general summary of the steps in the password recovery process:
1. Enter the show version command to determine the current contents of the software configuration register.
2. Break to the ROM monitor prompt (rommon>).
3. Change the software configuration register setting to 0x0040. This setting causes the system to ignore the contents of NVRAM, enabling you to see your password.
4. Enter privileged EXEC mode.
5. Enter the show startup-config command to display the enable password.
6. Change the software configuration register value back to its original setting.
To recover a lost password, follow these steps
Step 1 Attach an ASCII terminal to the GRP console port.
Step 2 Configure the terminal to operate at 9600 bps, 8 data bits, no parity, 2 stop bits (or to whatever settings the console port is set).
Step 3 Enter the show version command at the privileged EXEC mode prompt to display the existing software configuration register value.
Milo# show version . . .
The current configuration setting appears in the last line of the show version command output. Write this value on paper for use in Step 13.
Step 4 If the Break function is disabled, turn off power to the power supplies, wait 5 seconds, and then restore power.
If the Break function is enabled, press the Break key or send a break by holding down the Control key and pressing the right square bracket key (^]).
Step 5 Within five seconds of turning on the router, press the Break key. This action causes the terminal to display the ROM monitor prompt, as follows:
rommon 1>
Step 6 Set the software configuration register to ignore the configuration file information, as indicated in the following sample display:
rommon 1> config-register Configuration Summary enabled are: console baud: 9600 boot: image specified by the boot system command or default to: cisco2-grp do you wish to change the configuration? y/n [n]: y enable "diagnostic mode"? y/n [n]: enable "use net in IP bcast address"? y/n [n]: enable "load rom after netbootfails"? y/n [n]: enable "use all zero broadcast"? y/n [n]: enable "break/abort has effect?" y/n [n]: enable "ignore system config info?" [n]: y change console baud rate? y/n [n]: change boot characteristics? y/n [n] Configuration Summary enabled are: console baud: 9600 boot: image specified by the boot system command or default to: cisco2-grp do you wish to change the configuration? y/n [n] You must reset or power cycle for the new config to take effect rommon 1>
Step 7 Initialize the router by entering the initialize command at the ROM monitor prompt:
rommon 1> initialize
The router goes through a power cycle. The software configuration register is set to ignore the configuration file. The router boots the system image and displays the system configuration dialog:
--- System Configuration Dialog --- . . .
Step 8 Enter no in response to the system configuration dialog prompts until the following instruction is displayed:
Press RETURN to get started!
Step 9 Press Return.
After some interface configuration information is displayed, the user EXEC mode prompt appears:
Milo>
Step 10 Enter the enable command at the user EXEC mode prompt to enter privileged EXEC mode:
Milo> enable Password: <password> Milo#
Milo> to Milo# to indicate the change in command mode.
Step 11 Enter the show startup-config command at the privileged EXEC mode prompt to display the enable password in the configuration file.
Milo# show startup-config . . .
Step 12 Enter the configure terminal command at the privileged EXEC mode prompt to enter global configuration mode:
Milo# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Milo(config)#
Step 13 Change the software configuration register value back to its original value (noted earlier in Step 3). Alternatively, change this value to 0x0102 (the factory default) by using the config-register 0xvalue command:
Milo(config)# config-register 0xvalue Milo(config)#
Value is a hexadecimal number preceded by 0x, as in the following example:
Milo(config)# config-register 0x0102
Step 14 Exit global configuration mode by entering Ctrl-Z.
Milo(config)# Ctrl-Z Milo#
Step 15 Reboot the router and use the recovered password with the enable command to gain access to the router.
This section describes how to use Flash memory cards in the GRP and includes information on the following topics:
The GRP PCMCIA slots are designated as slot 0 and slot 1. When the GRP is installed in the upper card cage of a Cisco 12016 GSR, PCMCIA slot 0 is the left slot and slot 1 is the right slot. (See Figure 4-4.) In a Cisco 12016 GSR equipped with an optional, redundant GRP installed in slot 8 in the lower card cage, the GRP is installed in the head-down orientation, so PCMCIA slot 0 on the GRP is the right slot, while PCMCIA slot 1 is the left slot. Both Flash memory card slots can be used at the same time.

To install a Flash memory card, follow these steps:
Step 1 Facing the GRP faceplate, hold the Flash memory card with the connector end of the card toward the slot and the label facing right. (See Figure 4-4a.)
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 ejector button pops out toward you. (See Figure 4-4b).
To remove a Flash memory card, follow these steps:
Step 1 Press the appropriate ejector button until the card is free of the connector at the back of the slot. (See Figure 4-4c.)
Step 2 Pull the card from the slot and place it in an antistatic sack to protect it from ESD damage.
The Flash memory card that shipped with your router contains the default Cisco IOS software image you need to boot your router.
To format a new Flash memory card, follow these steps:
Step 1 Insert the Flash memory card into slot 0 or slot 1. (This example uses slot 0.)
Step 2 Enter the format slot0: (or format slot1:) command at the privileged EXEC mode prompt:
Milo# format slot0: All sectors will be erased, proceed? [confirm] Enter volume id (up to 30 characters): MyNewCard Formatting sector n Format device slot0 completed Milo#
The new Flash memory card is now formatted and ready to use.
For complete command descriptions and configuration information, refer to the Configuration Fundamentals Command Reference and the Configuration Fundamentals Configuration Guide in the Cisco IOS documentation set. (For information on obtaining these publications, refer to the "If You Need More Information" section.)
The software configuration register must be set to 0x2102 during this procedure to boot the image from a Flash memory card; accordingly, the config-register command must be included in the command sequence, as shown below:
Milo# configure terminal Milo(config)# no boot system Milo(config)# boot system flash slot0:new.image Milo(config)# config-register 0x2102 Ctrl-Z Milo# copy running-config startup-config Milo# reload
When you enter the reload command, the specified file (new.image) on the Flash memory card inserted in PCMCIA slot 0 is used to boot the system.
If one of the following software configuration register settings were to be specified in the preceding example, the system would behave accordingly:
To determine whether the present working device you are accessing is the onboard Flash SIMM on the GRP or a PCMCIA Flash memory card in a slot on the GRP, enter the pwd command at the privileged EXEC mode prompt as follows:
Milo# pwd slot0: Milo#
In this example, the present working device you are accessing is on a PCMCIA Flash memory card inserted in slot 0 of the GRP.
Sample uses of the change dir command include:
Milo# cd slot1: Milo# pwd slot1:/ Milo# cd slot0: Milo# pwd slot0:/ Milo# cd bootflash: Milo# pwd bootflash:/ Milo#
To list the directory contents of the Flash memory media in use, enter the dir [device-name] command at the privileged EXEC mode prompt, where device-name can be slot0:, slot1:, or bootflash:.
A sample use of the dir command follows:
Milo# dir Directory of slot0:/ 1 -rw- 122015 Sep 30 1999 15:03:55 myfile1 2 -rw- 2054979 Sep 30 1999 15:17:33 gsr-diag-mz.RELEASE28 3 -rw- 6670560 Sep 30 1999 15:22:49 gsr-p-mz.p7 4 -rw- 5560 Oct 08 1999 16:54:53 fun1 20578304 bytes total (9661756 bytes free) Milo#
To delete a file from a Flash memory media, use the cd command to select the Flash memory media and enter the delete filename command at the privileged EXEC mode prompt, where filename is any file within the selected Flash memory media.
An example of deleting the file fun1 from the current Flash memory directory follows:
Milo# delete slot0:fun1 Milo# dir Directory of slot0:/ 1 -rw- 122015 Sep 30 1999 15:03:55 myfile1 2 -rw- 2054979 Sep 30 1999 15:17:33 gsr-diag-mz.RELEASE28 3 -rw- 6670560 Sep 30 1999 15:22:49 gsr-p-mz.p7 20578304 bytes total (9661756 bytes free) Milo#
Files that are deleted from the current Flash memory directory are removed from the directory list, but are not erased (they still occupy space in Flash memory). This feature allows you to recover a deleted file later using the undelete command.
To remove deleted files from a Flash memory directory permanently, but leave undeleted files intact, enter the squeeze device-name command at the privileged EXEC mode prompt, where device-name can be slot0:, slot1:, or bootflash:.
The squeeze command permanently removes deleted files and makes all other undeleted files contiguous, thus conserving storage space.
An example of the squeeze command follows:
Milo# squeeze slot0: All deleted files will be removed, Continue? [confirm]y Squeeze operation may take a while, Continue? [confirm]y Squeeze of slot0 complete Milo# ebESZ
To prevent loss of data due to sudden power loss, the "squeezed" data is temporarily saved to another Flash memory area reserved specifically for system use.
In the preceding command display output, the character "e" in the last line indicates that the special Flash memory area has been erased. This erase operation must be accomplished before any write operation to the special Flash memory area can begin.
The character "b" indicates that the data about to be written to the special Flash memory area has been temporarily copied.
The character "E" indicates that the sector temporarily occupied by the data has been erased.
The character "S" indicates that the data has been written to its permanent location in Flash memory.
The character "Z" indicates that the log has been erased following the successful squeeze operation.
To enable booting from Flash memory, set the boot field in the software configuration register (bits 3 through 0) to a value between 2 and 15. These values are used 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 more information about setting values in the software configuration register, refer to the section "Configuring the Software Configuration Register" earlier in this chapter.
To enter global configuration mode (while the system is running) and specify a Flash filename from which to boot the system, enter the configure terminal command at the privileged EXEC mode prompt, as follows:
Milo# configure terminal Enter configuration commands, one per line. End with CNTL/Z. Milo(config)# boot system flash device:filename
To disable the Break function and enable the boot system flash device:filename command, enter the config-register command at the global configuration mode prompt with the configuration register value, as shown below:
Milo(config)# config-reg 0x0102 Ctrl-Z Milo#
It is a good idea to copy a new Cisco IOS software image to Flash memory when a new image becomes available, or when you want to back up the image.
The information in this section enables you to copy any type of file to the Flash memory SIMM on the GRP or to a PCMCIA Flash memory card inserted in either slot 0 or slot 1.
![]() | Caution You cannot copy a new Cisco IOS software image into the onboard Flash memory SIMM (also referred to as bootflash) while the system is running from onboard Flash memory. |
To copy a file to Flash memory, enter the following command at the privileged EXEC mode prompt:
Milo# copy tftp:filename [bootflash:|slot0:|slot1:] filename
where
tftp:filename | Specifies the source and name of the file to be copied. |
|---|---|
[bootflash: | slot0: | slot1:] filename | Specifies the destination Flash medium and name for the new file. The destination Flash medium can be one of the following: bootflash:---Specifies that the file is to be copied to the onboard Flash memory SIMM on the GRP. slot0:---Specifies that the file is to be copied to the PCMCIA Flash memory card in slot 0. slot 1:---Specifies that the file is to be copied to the PCMCIA Flash memory card in slot 1. |
Typical output generated by a copy tftp:filename command follows:
Milo# 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 Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Milo#
In this example, the exclamation points (!!!) appear as the source file is being downloaded to the destination device. The "C" characters indicate that a cyclic redundancy check (CRC) is being calculated during the downloading process. The CRC verifies that the file has been correctly downloaded to the destination device (the Flash memory card inserted in PCMCIA slot 0).
You can copy a Cisco IOS software image into a Flash memory card at any time for later use, but you must first format the Flash memory card that you intend to use in the copy operation. If you have not already formatted the card, refer to the "Formatting a Flash Memory Card" section.
The process of copying a Cisco IOS software image assumes the following:
Use the following procedure to copy a bootable image into the Flash memory card:
Step 1 Boot the router and allow it to initialize.
Step 2 Enter the enable command at the user EXEC mode prompt to enter privileged EXEC mode:
Milo> enable Password: <password>
Milo#
Step 3 Copy the file named new.image in this example to the Flash memory card inserted in PCMCIA slot 0 by using the following command:
Milo# copy tftp:new.image slot0:new.image 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 Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Milo#
In this example, the exclamation points (!!!) appear as the source file is being downloaded (copied) to the destination device. The "C" characters indicate that a CRC is being calculated during the downloading process. The CRC verifies that the file has been correctly copied to the destination device (the Flash memory card inserted in PCMCIA slot 0).
Step 4 Reboot the system.
This completes the procedure for copying a bootable image into a Flash memory card.
As future releases of Cisco IOS software become available, you will receive these images as a file booted from a network TFTP server, as a file on a floppy disk, or as a file on a Flash memory card.
The procedures in this section tell you how to use a newly released Cisco IOS software image on a Flash memory card in a system that has an older Cisco IOS image residing on a Flash memory card inserted in PCMCIA slot 0 and a default Cisco IOS software boot image stored in the onboard Flash memory SIMM on the GRP.
In this procedure, you will copy an updated Cisco IOS software image from a new Flash memory card onto a Flash memory card containing an old Cisco IOS software image. In this example, the following filenames apply:
To copy a bootable Cisco IOS software image between Flash memory cards, follow these steps:
Step 1 Boot the router.
For this example, the file named image.boot is the default boot image.
Step 2 Enter the enable command to enter privileged EXEC mode as follows:
Milo> enable Password: <password> Milo#
Step 3 Insert the new Flash memory card in slot 1.
Step 4 Enter the following command to copy the file image.new in slot 1 to the Flash memory card in PCMCIA slot 0.
Milo# copy slot1:image.new slot0:image.new
You can also enter this command in the following form to achieve the same result:
Milo# copy slot1:image.new slot0:
In the latter case, the name of the file is carried along with the copied image.
Step 5 Enter the following commands to designate the file named image.new in the Flash memory card in slot 0 as the new default system image for boot purposes:
Milo# configure terminal Milo(config)# no boot system Milo(config)# boot system flash slot0:image.new Ctrl-Z Milo# copy running-config startup-config Milo# reload
When the system reloads, the file image.new is booted from the Flash memory card in slot 0.
This completes the procedure for copying a bootable image between Flash memory cards in the PCMCIA slots.
Use the procedures in the following sections to first copy the configuration file from either NVRAM or DRAM to a Flash memory card, and then to copy the configuration file from a Flash memory card back to NVRAM.
To copy a system configuration file, consult the following sections, as appropriate:
To copy a configuration file named myfile2 from the NVRAM on the GRP to a Flash memory card in slot 0, follow these steps:
Step 1 Enter the show bootvar command at the privileged EXEC mode prompt to display the current setting for the environmental variable CONFIG_FILE, as follows:
Milo# show bootvar . . . CONFIG_FILE variable = Current CONFIG_FILE variable = . . . Milo#
The absence of any notation following the CONFIG_FILE variable statement in this sample display indicates that the environmental variable is pointing to NVRAM (the system default).
Step 2 To begin the copy operation, enter a copy command in the following form at the privileged EXEC mode prompt:
copy startup-config [slot0: | slot1:]filename
where
startup-config | Specifies the source of the file to be copied (NVRAM). |
|---|---|
[slot0: | slot1:]filename | Specifies the destination of the file (the Flash memory card in either slot 0 or slot 1) and the name of the new file. |
An example of the copy startup-config slot0:filename command follows:
Milo# copy startup-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 Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! [OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Milo#
Step 3 To further verify that the configuration file was copied correctly to the Flash memory card in slot 0, enter the dir command:
Milo# dir slot0: -#- -length- -----date/time------ name 1 5200084 May 10 1997 19:24:12 gsr-p-mz.112-8 3 1215 May 10 1997 20:30:52 myfile1 4 6176844 May 10 1997 23:04:10 gsr-p-mz.112-8.1 5 1186 May 10 1997 16:56:50 myfile2 9197156 bytes available (11381148 bytes used) Milo#
This completes the procedure for copying a configuration file between GRP NVRAM and a Flash memory card.
To copy the running configuration file from DRAM to a Flash memory card, follow these steps:
Step 1 Enter the command for copying a running configuration file from DRAM to a Flash memory card. The command takes the following form:
copy running-config [slot0:|slot1:]filename
where
running-config | Specifies the source of the file to be copied from DRAM. |
|---|---|
[slot0: | slot1:]filename | Specifies the destination of the configuration file to be copied (the Flash memory card inserted in either slot 0 or slot 1) and the name of the new file. |
An example of the copy running-config slot0:filename command follows:
Milo# 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 Ethernet0): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!![OK - 7799951/15599616 bytes] CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC Milo#
Step 2 To further verify that the file was copied correctly, enter the dir command at the privileged EXEC mode prompt:
Milo# dir slot0: -#- -length- -----date/time------ name 1 5200084 May 10 1997 19:24:12 gsr-p-mz.112-8 3 1215 May 10 1997 20:30:52 myfile1 4 6176844 May 10 1997 23:04:10 gsr-p-mz.112-8.1 5 1186 May 10 1997 16:56:50 myfile2 9197156 bytes available (11381148 bytes used) Milo#
This completes the procedure for copying a running configuration file from the DRAM on the GRP to a Flash memory card.
Step 1 Enter the command for copying a configuration file from a Flash memory card to NVRAM. This command takes the following form:
copy [slot0:|slot1:]filename startup-config
where
[slot0: | slot1:]filename | Specifies the source of the configuration file to be copied (the Flash memory card inserted in either PCMCIA slot 0 or slot 1) and the name of the new file. |
startup-config | Specifies the destination (NVRAM) of the file to be copied. |
To initiate the copy operation, enter the following command at the privileged EXEC mode prompt:
Milo# copy slot0:myfile startup-config [ok] Milo#
Step 2 Use the following command to ensure that the startup configuration file, now stored in NVRAM, is designated as the default running configuration file for the system:
Milo# copy startup-config running-config Milo# %SYS-5-CONFIG_I: Configured from memory by console Milo#
This completes the procedure for copying a configuration file from the Flash memory card to NVRAM.
When a block of Flash memory is locked, it cannot be written to or erased. Any attempt at such an operation will consistently fail at the blocked location. The only way to recover from locked blocks in a Flash memory card is to reformat the Flash memory card using the format command.
![]() | Caution
Formatting a Flash memory card erases all existing data on the card. |
After you have installed the Cisco 12016 GSR 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 additional configuration tasks.
For more detailed information about configuring the router and its interfaces, refer to the publications listed in the following section.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jun 5 13:39:42 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.