Cisco 7304 Router Troubleshooting and Configuration Notes

Purpose of This Document

The primary source of troubleshooting information for the Cisco 7304 router is an online and interactive module in the Troubleshooting Assistant. The Troubleshooting Assistant module points to various Cisco documents for solutions.

This document is one of many Cisco documents referred to from the Troubleshooting Assistant module. While this document can be read as a standalone document, its purpose is to provide solutions to problems identified using the online Troubleshooting Assistant module.

FastEthernet Restriction

The FastEthernet port on the Cisco 7304 is for management purposes only. Any other use of the FastEthernet port is not supported.

Network Services Engine 100 Hardware Revision IOS Compatibility Note

If you are using a Network Services Engine 100 (NSE-100) with a hardware revision of 5.0 or later, Cisco IOS Release 12.1(12c)EX1 is required to operate your router.

To check your hardware revision number, enter the show diagslot-number command (where slot-number is the slot containing the NSE-100) and view the hardware revision output. If your hardware revision number is greater than 5.0 and you are not running Cisco IOS Release 12.1(12c)EX1 or later, upgrade your IOS to a supported release.

The output below shows how to view the hardware revision number. When viewing the revision number, ensure that you are viewing the NSE hardware revision and not a revision number for another component.

Step 2 If you still have access to the router EXEC prompt, enter show version and record the setting of the configuration register; it is usually 0x2102 or 0x102.

Step 3 If you do not have access to the router EXEC prompt (because of a lost login or TACACS password), you can safely consider that your configuration register is set to 0x2102.

Step 4 Using the power switch, turn off the router and then turn it back on.

Step 5 Press the Break key within 60 seconds of the power-up to put the router into ROMmon. If the break sequence does not work, see Standard Break Key Sequence Combinations During Password Recovery for other key combinations.

Step 6 Enter confreg at the rommon 1> prompt to change the software configuration register to boot from disk0: without loading the configuration. When prompted to change the configuration, enter y and respond to the dialog as indicated in the sample output.

The show running and wr term commands show the configuration of the router. In this configuration, you see under all the interfaces the shutdown command, which means all interfaces are currently shutdown. Also, you can see the passwords either in encrypted or unencrypted format.

Step 12 Enter config term and make the changes. The prompt is now hostname(config)#.

Step 13 Enter enable secret <password>.

Step 14 Enter the no shutdown command on every interface that is used. If you enter a show ip interface brief command, every interface that you want to use should indicate that the Status and Protocol are up.

Step 15 Enter config-register 0x2102, or the value you recorded in Step 2.

Step 16 Enter End or type Ctrl-Z to leave the configuration mode. The prompt is now hostname#.

Step 17 Enter reload to reboot the router and return it to the state it was in before creating a new password.

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

Installing Software Images Using a TFTP or RCP Server Application

Routers that run an IOS software image by first decompressing the executable code in RAM and then executing that code are "Run from RAM" routers. The Cisco 7304 router is such a router.

Note To use the troubleshooting tools described in this document, you must be a registered user and you must be logged in.

Procedure Overview

Note Some of the documents referred to in this procedure might not contain commands and output specific to the Cisco 7304 router. If you encounter references to slot0: or bootflash:, assume it is disk0: and bootdisk:, respectively, for the Cisco 7304 router.

•Install a TFTP Server.

A TFTP server or an RCP server application must be installed on a TCP/IP-ready workstation or PC. Once the application is installed, a minimal level of configuration must be performed.

–The TFTP application must be configured to operate as a TFTP server as opposed to a TFTP client.

–The outbound file directory must be specified. This is the directory in which the Cisco IOS software images are stored. Most TFTP applications provide a setup routine to assist in these configuration tasks.

Note The TFTP server included on the software feature pack CD-ROM can be used on a PC running Windows 95. For other operating systems, a number of TFTP or RCP applications are available from independent software vendors or as shareware from public sources on the World Wide Web. The TFTP Server application included on the software feature pack CDs is also available on Cisco.com.

You also need to have a valid Cisco IOS software image for your router. Make sure the image supports your hardware and software features, and that your router has enough memory to run it. If you do not yet have a Cisco IOS software image, or if you are not sure the image you have meets all the necessary requirements, see How to Choose a Cisco IOS Software Release.

Software Installation or Upgrade Procedure

Use this procedure to install Cisco IOS software using a TFTP server or RCP server application.

Note For RCP applications, substitute RCP for every occurrence of TFTP. For example, use the copy rcp disk0: command instead of the copy tftp disk0: command. Also note that extra configuration is required on the router for RCP applications, as compared to TFTP.

Step 1 Establish a console session to the router.

This can be done with a direct console connection or a virtual Telnet connection. A direct console connection is preferred over a Telnet connection because a Telnet connection is terminated during the reboot phase of the software installation. The console connection is made with a rolled cable (usually a flat black cable) and connects the console port of the router to the COM port of the PC. Open the Hyperterminal accessory application on the PC, and use the following settings:

Verify that the TFTP server has IP connectivity to the router by confirming that the router IP address and default gateway (if necessary) are set. Ping the router to verify that a network connection exists between it and the TFTP server. More information on IP addresses is available in the "Common Problems Installing Images Using a TFTP or RCP Server" section.

Step 3 Copy the new software image from the TFTP server to the router.

Router> enable

Password: password

Router#

Router# copy tftp disk0:

If you get a > or rommon > prompt after connecting to the router through the console port, your router is in ROM monitor (ROMmon) mode. For a ROMmon recovery procedure, see ROMmon prompt: rommon#>.

Note Keep a copy of the router configuration before upgrading the router software. The upgrade itself does not affect the configuration, which is stored in NVRAM.

Step 4 Specify the IP address of the TFTP server.

Address or name of remote host [255.255.255.255]? 172.17.247.195

Step 5 Specify the filename of the Cisco IOS software image to be installed. The image name varies depending on the filename of the image on the TFTP server.

Source file name? c7300-js-mz.121-9.EX

Step 6 Specify the destination filename. This is the name the new software image will have when it is loaded onto the router. The image can be named anything, but common practice is to enter the UNIX image filename.

Destination file name? c7300-js-mz.121-9.EX

The copying process takes several minutes; the time differs from network to network. During the copy process, messages are displayed to indicate which files have been accessed.

The exclamation point (!) indicates that the copy process is taking place. Each exclamation point indicates that ten packets have been transferred successfully. A checksum verification of the image occurs after the image is written to disk0:.

Common Problems Installing Images Using a TFTP or RCP Server

Note Some of the documents referred to in this procedure might not contain commands and output specific to the Cisco 7304 router. If you encounter references to slot0: or bootflash:, assume it is disk0: and bootdisk:, respectively, for the Cisco 7304 router.

Note For RCP applications, substitute RCP for every occurrence of TFTP. For example, use the copy rcp disk0: command instead of the copy tftp disk0: command.

Saving While in Boot Mode

Do not use the saving commands (write mem or copy running-config startup-config) and answer no to any prompt suggesting that you save your current configuration. If you save while you are in boot mode, your configuration can be partially or completely erased.

Default Gateway

Adding the Default Gateway in the Configuration

After determining the IP address of the default gateway, enter the following command in configuration mode:

ip default-gateway ip address

Verifying the TFTP Server and the Router Are in the Same Network

You need to compare the IP addresses and masks of the TFTP server and the Ethernet interface of the router as described in the following two examples:

•The TFTP server IP address is 172.17.247.195 and the mask is 255.255.0.0. The interface Ethernet 0 of the router IP address is 172.17.3.192 and the mask is 255.255.0.0. In this example, the TFTP server and this interface of the router are in the same network so a default gateway is not required.

•The TFTP server IP address is 172.17.247.195 and the mask is 255.255.0.0. The interface Ethernet 0 of the router IP address is 172.10.3.192 and the mask is 255.255.0.0. In this example, the addresses are on different IP networks so it is necessary to configure a default gateway on the router.

Determining if a Default Gateway Is Configured

The default gateway is always the next hop that any packet has to cross to reach the workstation where you have the TFTP server or Telnet session source, or both. If a default gateway is configured for the router, the show running-config | include default-gateway command shows the IP address of the default gateway.

Router# show running-config | include default-gateway

ip default gateway 172.19.251.37

IP Addresses

Determining the IP Address and Mask on the Router

Look for the IP address command under the interface Ethernet statement in your configuration as shown in the following example:

Router> en

Password:

Router# show run

Building configuration...

Current configuration:

!

version 12.1

service timestamps debug uptime

...................

interface fastEthernet 0/0

ip address 172.17.3.192 255.255.0.0

Determining the IP Address of the TFTP Server on Windows 95

From the toolbar, select Start and then Run. Enter winipcfg and then click OK to display the IP configuration dialog box.

Determining the IP Address of the TFTP Server on a UNIX Workstation

Enter the command netstat -in. The IP addresses of the interfaces on your workstation are displayed. Select the one that goes into the router network.

Troubleshooting Errors During Software Transfer

"Text checksum verification failure" During the Copy Operation

If you have seen many periods (.) instead of exclamation points (!) during the copy operation, you might see a message similar to the following example:

COPY: Text checksum verification failure

TFTP from 172.17.247.195 failed/aborted

Verifying checksum... invalid (expected 0x62B7,

computed 0x60B9)

If you enter a dir disk0: command, you might see something similar to the following example:

router# dir disk0:

Directory of disk0:/

1 -rw- 3437967 c7300-js-mz.121-9.EX

2 -rw- 3489036 c7300-js-mz.121-9.EX

3 -rw- 290304 c7300-js-mz.121-9.EX [invalid checksum]

In both cases, a checksum failure indicates that the file has not been properly copied into the memory and you need to copy it again. First verify that the file you copied to the TFTP server is the same size as the original file. (Be aware that the size is listed in bytes in the router and is sometimes listed in kilobytes in TFTP servers.) If the network is very busy, you may also see this behavior; try the copy again when the network is not so loaded, or establish a direct Ethernet connection between the TFTP server and the router to download the file.