|
|
This chapter describes basic maintenance procedures for the Cisco 7204. The procedures are presented in the following sections:
You can use the show version and the show diag commands to view information specific to the hardware configuration of your Cisco 7204.
Use the show version (or show hardware) command to display the system hardware (the network processing engine and number of interfaces installed), the software version, the names and sources of configuration files, and the boot images. The following example shows the output from the show version command:
router> sh version
Cisco Internetwork Operating System Software IOS (tm) 7200 Software (C7200-J-M), Released Version 11.1(17)CA Copyright (c) 1986-1996 by cisco Systems, Inc. Compiled Sun 21-Apr-96 04:10 by Image text-base: 0x60010890, data-base: 0x605F0000 ROM: System Bootstrap, Version 11.1(17)CA, RELEASED SOFTWARE ROM: 7200 Software (C7200-J-M), Released Version 11.1(17)CA router uptime is 8 minutes System restarted by reload System image file is "c7200-j-mz", booted via tftp from 1.1.10 cisco 7204 (NPE 150) processor with 12288K/4096K bytes of memory. R4700 processor, Implementation 33, Revision 1.0 (Level 2 Cache) Last reset from power-on Bridging software. SuperLAT software copyright 1990 by Meridian Technology Corp). X.25 software, Version 2.0, NET2, BFE and GOSIP compliant. TN3270 Emulation software (copyright 1994 by TGV Inc). 4 Ethernet/IEEE 802.3 interfaces. 2 FastEthernet/IEEE 802.3 interfaces. 4 Token Ring/IEEE 802.5 interfaces. 4 Serial network interfaces 125K bytes of non-volatile configuration memory. 1024K bytes of packet SRAM memory. 20480K bytes of Flash PCMCIA card at slot 0 (Sector size 128K). 4096K bytes of Flash internal SIMM (Sector size 256K). Configuration register is 0x0
Use the show diag command to determine what type of port adapters and I/O controller (with or without the Fast Ethernet port) are installed in slot 0 through slot 4 of your Cisco 7204. You can also use the show diag slot command to display information about a specific port adapter slot.
The following example shows the output from the show diag command. The I/O controller listed in slot 0 has the Fast Ethernet port that is equipped with an MII receptacle and RJ-45 receptacle:
router> sh diag
Slot 0:
Fast-ethernet on C7200 I/O with MII or RJ45 port adapter, 1 port
Port adapter is analyzed
Port adapter insertion time 1d18h ago
Hardware revision 2.0 Board revision A0
Serial number 3511336 Part number 73-1537-03
Test history 0x0 RMA number 00-00-00
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 14 02 00 00 35 94 28 49 06 01 03 00 00 00 00
0x30: 50 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
Slot 1:
Token-ring port adapter, 4 ports
Port adapter is analyzed
Port adapter insertion time 1d18h ago
Hardware revision 1.1 Board revision B0
Serial number 2825629 Part number 73-1390-04
Test history 0x0 RMA number 00-00-00
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 05 01 01 00 2B 1D 9D 49 05 6E 04 00 00 00 00
0x30: 58 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
Slot 2:
Fast-ethernet (TX-ISL) port adapter, 1 port
Port adapter is analyzed
Port adapter insertion time 1d18h ago
Hardware revision 1.0 Board revision A0
Serial number 3536481 Part number 73-1688-03
Test history 0x0 RMA number 00-00-00
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 11 01 00 00 35 F6 61 49 06 98 03 00 00 00 00
0x30: 50 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
Slot 3:
Serial port adapter, 4 ports
Port adapter is analyzed
Port adapter insertion time 1d18h ago
Hardware revision 1.0 Board revision UNKNOWN
Serial number 2824732 Part number 73-1389-04
Test history 0xFF RMA number 255-255-255
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 04 01 00 00 2B 1A 1C 49 05 6D 04 FF FF FF FF
0x30: 02 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Slot 4:
Ethernet port adapter, 4 ports
Port adapter is analyzed
Port adapter insertion time 1d18h ago
Hardware revision 1.1 Board revision A0
Serial number 4294967295 Part number 73-1556-04
Test history 0x0 RMA number 00-00-00
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 02 01 01 FF FF FF FF 49 06 14 04 00 00 00 00
0x30: 50 00 00 00 FF FF FF FF FF FF FF FF FF FF FF FF
For specific information on the show version, show diag, and other software commands, refer to the publications listed in the section "If You Need More Information" in the chapter "Performing a Basic Configuration of the Cisco 7204."
At some point, you might want or need to replace a port or service adapter in your Cisco 7204. The following procedures explain how to remove and install a port or service adapter. For software commands that display information about a specific port or service adapter, or for all port and service adapters installed in your Cisco 7204, refer to the section "Port Adapter Slot and Logical Interface Numbering" in the chapter "Product Overview."
Complete the following steps to remove a port adapter from the Cisco 7204 router:
Step 1 Attach an ESD-preventative wrist strap between you and an unfinished chassis surface.
![]() | Warning During this procedure, wear grounding wrist straps to avoid ESD damage to the card. Do not directly touch the backplane with your hand or any metal tool, or you could shock yourself. |
Step 2 Place the port adapter lever for the desired port adapter slot in the unlocked position. The lever remains in the unlocked position. (Refer to .)

Step 3 Grasp the handle on the port or service adapter and carefully pull the adapter from the midplane, about half way out of its slot. If you are removing a blank adapter or a service adapter, pull the blank or service adapter all the way out of the chassis slot and continue from Step 6.
Step 4 With the port adapter half way out of the slot, disconnect all cables from the port adapter. (This step does not apply to service adapters.)
Step 5 After disconnecting the cables, pull the port adapter from its chassis slot.
![]() | Caution Always handle the port or service adapter by the carrier edges and handle; never touch the adapter's components or connector pins. (Refer to Figure 6-2.) |

Step 6 Place the adapter on an antistatic surface with its components facing upward, or in a static shielding bag. If the adapter will be returned to the factory, immediately place it in a static shielding bag.
This completes the procedure for removing a port or service adapter from the Cisco 7204 router.
Complete the following steps to install a port or service adapter in the Cisco 7204 router:
Step 1 Attach an ESD-preventative wrist strap between you and an unfinished chassis surface.
![]() | Warning During this procedure, wear grounding wrist straps to avoid ESD damage to the card. Do not directly touch the backplane with your hand or any metal tool, or you could shock yourself. |
Step 2 Use both hands to grasp the adapter by its metal carrier edges and position the adapter so that its components are downward. (Refer to Figure 6-2.)
Step 3 Align the left and right edge of the adapter's metal carrier between the guides in the port adapter slot. (Refer to Figure 6-3.)

Step 4 With the metal carrier aligned in the slot guides, gently slide the port adapter half way into the port adapter slot. If you are installing a service adapter, carefully slide the service adapter all the way into the slot until the adapter is seated in the router midplane and continue from Step 7.
![]() | Caution Do not slide the port adapter all the way into the slot until you have connected all required cables. Trying to do so will disrupt normal operation of the router. |
Step 5 With the port adapter half way in the slot, connect all required cables to the port adapter.
Step 6 After connecting the cables, carefully slide the port adapter all the way into the slot until the port adapter is seated in the router midplane.
Step 7 Move the port adapter lever to the locked position. (Refer to Figure 6-4.)

This completes the procedure for installing a port or service adapter in the Cisco 7204 router.
The I/O controller has two PCMCIA slots for Flash memory cards: slot 0 (lower) and slot 1 (upper). Complete the following steps to insert a Flash memory card in either PCMCIA slot:
Step 1 Orient the Flash memory card so that its connector end faces the appropriate slot. (Refer to Figure 6-5a.)
Step 2 Carefully guide the card into the slot until the card seats in the slot's connector and the eject button for the slot pops out toward you. (Refer to Figure 6-5b.)
Complete the following steps to remove a Flash memory card from either PCMCIA slot:
Step 1 Press the ejector button on the slot. (Refer to Figure 6-2c.)
Step 2 Grasp the card and pull it from the slot.
Step 3 Place the card in an antistatic bag.
This completes the steps for inserting and removing a Flash memory card.

The Flash memory card that shipped with your Cisco 7204 contains the Cisco IOS software image you need to boot your router. In some cases, you might need to insert a new Flash memory card and copy images or backup configuration files onto it. Before you can use a new Flash memory card, you must format it. (Use only Intel Series 2+ Flash memory cards.)
Use the following procedure to format a new Flash memory card:
Step 1 Using the procedure in the section "Installing and Removing a Flash Memory Card," insert the Flash memory card into slot 0. (If slot 0 is not available, use slot 1.)
Step 2 Format the Flash memory card using the format slot0: (or format slot1:) command as follows:
The new Flash memory card is now formatted and ready to use.
Once you have formatted a new Flash memory card, you can copy a bootable image onto it. The copying procedure assumes the following:
Following is the procedure for copying a bootable file (called new.image in the examples) onto the Flash memory card:
Step 1 Boot the Cisco 7204 and allow it to initialize.
Step 2 Insert an unformatted Flash memory card into slot 0 (use slot 1 f slot 0 is not available) and format the card using the procedure in the section "Formatting a New Flash Memory Card"earlier in this chapter. Then proceed to Step 3.
Step 3 Copy the new image (new.image in the following example) to the Flash memory card and make this image the default boot image. Then reboot the router using the following series of commands:
Step 4 Use the following series of commands to designate the file new.image (in the Flash memory card in slot 0) as the default boot image:
When the system reloads, it will boot the new.image file from the Flash memory card.
This completes the procedure for copying a bootable image onto a Flash memory card.
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 SIMM.
For this scenario, the file names 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.
Step 1 Boot the Cisco 7204. By default, the file boot.image is 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 new.image 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.
Step 5 Use the following series of commands to designate the file new.image (which is on the Flash memory card in slot 0) as the default boot image:
When the system reloads, it will boot the file new.image from the Flash memory card in slot 0.
This completes the procedure for copying bootable images between Flash memory cards.
Depending on the circumstances, you might need to use a Flash memory card from another system to copy images or backup configuration files; however, you cannot boot from a Flash memory card that was formatted on another type of system. You must reformat the card before you can use it as a boot source. (Use only Intel Series 2+ Flash memory cards.)
The reformatting procedure assumes the following:
Use the following procedure to reformat a Flash memory card:
Step 1 Insert the Flash memory card into slot 0. (If slot 0 is not available, use slot 1.) (Refer to the earlier section "Installing and Removing a Flash Memory Card.")
Step 2 Copy all the files on the Flash memory card to a TFTP server or a secondary Flash memory card. The following example is for copying files to a TFTP server. Refer to the earlier section "Copying a Bootable Image onto a Flash Memory Card" for Flash memory card examples.
Router# copy slot0:image.name tftpEnter destination file name [image.name]: image.name CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCAddress or name of remote host [tftp.server.name]? tftp.server.name !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!Router#Step 3 Reformat the Flash memory card using the format slot0: (or format slot1:) command as follows.
Step 4 Copy the files you saved to the TFTP server back to the Flash memory card as follows.
The Flash memory card is now reformatted and ready to use.
This section describes how to recover a lost enable or console login password, and how to replace a lost enable secret password on your Cisco 7204 router.
Following is an overview of the steps in the password recovery procedure:
Complete the following steps to recover or replace a lost enable, enable secret, or console login password:
Step 1 Attach an ASCII terminal to the console port on your Cisco 7204.
Step 2 Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and 2 stop bits.
Step 3 If you can log in to the router as a nonprivileged user, enter the show version command to display the existing configuration register value. Note the value for use later and proceed to Step 6. If you cannot log in to the router at all, go to the next step.
Step 4 Press the Break key or send a Break from the console terminal. If Break is enabled, the router enters the ROM monitor, indicated by the ROM monitor prompt (rommon1>). Proceed to Step 6. If Break is disabled, power cycle the router (turn the router off or unplug the power cord, and then restore power). Then proceed to Step 5.
Step 5 Within 60 seconds of restoring the power to the router, press the Break key or send a Break. This action causes the router to enter the ROM monitor and display the ROM monitor prompt (rommon1>).
Step 6 Set the configuration register using the configuration register utility---enter the confreg command at the ROM monitor prompt as follows:
rommon1> confreg
Answer yes to the enable "ignore system config info"? question and note the current configuration register settings.
Step 7 Initialize the router by entering the reset command as follows:
rommon2> reset
The router will initialize, the configuration register will be set to 0x142, and the router will boot the system image from Flash memory and enter the system configuration dialog (setup) as follows:
--- System Configuration Dialog --
Step 8 Enter no in response to the system configuration dialog prompts until the following message is displayed:
Press RETURN to get started!
Step 9 Press Return. The user EXEC prompt is displayed as follows:
Router>
Step 10 Enter the enable command to enter privileged EXEC mode. Then enter the show startup-config command to display the passwords in the configuration file as follows:
Router# show startup-config
Step 11 Scan the configuration file display looking for the passwords (the enable passwords are usually near the beginning of the file, and the console login or user EXEC password is near the end). The passwords displayed will look something like this:
enable secret 5 $1$ORPP$s9syZt4uKn3SnpuLDrhuei
enable password 23skiddoo
.
.
line con 0
password onramp
The enable secret password is encrypted and cannot be recovered; it must be replaced. The enable and console passwords may be encrypted or clear text. Proceed to the next step to replace an enable secret, console login, or enable password. If there is no enable secret password, note the enable and console login passwords, if they are not encrypted, and proceed to Step 16.
![]() | Caution Do not execute the next step unless you have determined you must change or replace the enable, enable secret, or console login passwords. Failure to follow the steps as shown may cause you to erase your router configuration. |
Step 12 Enter the configure memory command to load the startup configuration file into running memory. This action allows you to modify or replace passwords in the configuration.
Router# configure memoryStep 13 Enter the privileged EXEC command configure terminal to enter configuration mode:
Hostname# configure terminalStep 14 Change all three passwords using the following commands:
Hostname(config)# enable secret newpassword1Hostname(config)# enable password newpassword2Hostname(config)# line con 0Hostname(config-line)# password newpassword3
Change only the passwords necessary for your configuration. You can remove individual passwords by using the no form of the above commands. For example, entering the no enable secret command removes the enable secret password.
Step 15 You must configure all interfaces to be not administratively shutdown as follows:
Hostname(config)# interface fastethernet 0/0Hostname(config-int)# no shutdown
Enter the equivalent commands for all interfaces that were originally configured. If you omit this step, all interfaces will be administratively shutdown and unavailable when the router is restarted.
Step 16 Use the config-register command to set the configuration register to the original value noted in Step 3 or Step 7, or to the factory default value 0x2102 as follows:
Hostname(config)# config-register 0x2102
Step 17 Press Ctrl-Z (hold down the Control key while you press Z) or enter end to exit configuration mode and return to the EXEC command interpreter.
![]() | Caution Do not execute the next step unless you have changed or replaced a password. If you skipped Step 12 through Step 15, skip to Step 19. Failure to observe this caution will cause you to erase your router configuration file. |
Step 18 Enter the copy running-config startup-config command to save the new configuration to nonvolatile memory.
Step 19 Enter the reload command to reboot the router.
Step 20 Log in to the router with the new or recovered passwords.
This completes the steps for recovering or replacing a lost enable, enable secret, or console login password.
|
|