Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Configuration Notes
Contents
FastEthernet Restriction, page 2
Network Services Engine 100 Hardware Revision IOS Compatibility Note, page 2
PXF Features, page 2
Password Recovery, page 3
Installing Software Images Using a TFTP or RCP Server Application, page 8
Common Problems Installing Images Using a TFTP or RCP Server, page 12
Debugging PPP Negotiation, page 17
Obtaining Documentation, page 22
Obtaining Technical Assistance, page 23
Obtaining Additional Publications and Information, page 25
Corporate Headquarters:
Cisco Systems, Inc., 170 West Tasman Drive, San Jose, CA 95134-1706 USA
FastEthernet Restriction
The FastEthernet port on the Cisco 7304 is for management purposes only. Any other use of the
FastEthernet port is not supported.
PXF Features
The PXF feature, example, and restriction information, as well as additional information related to PXF
on the Cisco 7304 router, can now be located in the PXF Information for Cisco 7304 Routers document
on cisco.com.
Password Recovery
If you have lost your password, follow this procedure to define a new password.
Step 1 Attach a terminal or PC with terminal emulation to the console port of the router. Use the following
terminal settings:
9600 baud rate
No parity
8 data bits
2 stop bits
No flow control
The required console cable specifications are described in Console and Auxiliary Port Signals and
Pinouts.
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.
rommon 1 > confreg
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C7300
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]:
disable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
enable "break/abort has effect"? y/n [n]:
enable "ignore system config info"? y/n [n]: y
change console baud rate? y/n [n]:
Configuration Summary
enabled are:
load rom after netboot fails
ignore system config info
You must reset or power cycle for new config to take effect
>
Step 7 Enter reset at the rommon 2> prompt. The router reboots but ignores its saved configuration.
Step 8 Enter no when asked if you want to enter the initial configuration dialog or press Ctrl-C to skip the
initial setup procedure.
Step 9 Enter enable at the Router> prompt. You will be in enable mode and see the Router# prompt.
Step 10 Enter config mem or copy start running to copy the startup configuration stored in nonvolatile
random-access memory (NVRAM) into memory.
Step 11 Enter wr term or show running.
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.
Step 18 Enter write mem or copy running startup to commit the changes.
Step 19 Log in to the router with the new password.
Configuration Summary
enabled are:
load rom after netboot fails
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C7300
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]:
disable "load rom after netboot fails"? y/n [n]:
enable "use all zero broadcast"? y/n [n]:
Configuration Summary
enabled are:
load rom after netboot fails
ignore system config info
console baud: 9600
boot: image specified by the boot system commands
or default to: cisco2-C7300
do you wish to change the configuration? y/n [n]:
change the boot characteristics? y/n [n]:
You must reset or power cycle for new config to take effect
rommon 2 > reset
System Bootstrap, Version 12.1(12r)EX1, RELEASE SOFTWARE (fc1)
TAC Support: http://www.cisco.com/tac
Copyright (c) 2002 by cisco Systems, Inc.
C7300 platform with 524288 Kbytes of main memory
Currently running ROMMON from ROM 0
Self decompressing the image : #################################################
################################################################################
################################################################################
################### [OK]
Restricted Rights Legend
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.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, 7300 Software (C7300-JS-M), Version 12.2(nightly_RLS5.S05052
4) NIGHTLY BUILD, synced to flo_isp V122_24_8_S
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Tue 24-May-05 18:55 by
Image text-base: 0x40008CE4, data-base: 0x430EC000
Router(config-if)#end
Router#show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0 21.1.5.135 YES TFTP up up
GigabitEthernet0/0 unassigned YES TFTP administratively down down
GigabitEthernet0/1 unassigned YES TFTP administratively down down
GigabitEthernet5/0/0 unassigned YES TFTP administratively down down
GigabitEthernet5/0/1 unassigned YES TFTP administratively down down
Router#copy run start
Destination filename [startup-config]?
Building configuration...
[OK]
Router#show version
Cisco IOS Software, 7300 Software (C7300-JS-M), Version 12.2(nightly_RLS5.S05052
4) NIGHTLY BUILD, synced to flo_isp V122_24_8_S
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Tue 24-May-05 18:55 by
ROM: System Bootstrap, Version 12.1(12r)EX1, RELEASE SOFTWARE (fc1)
Currently running ROMMON from ROM 0
Router uptime is 3 minutes
Uptime for this control processor is 3 minutes
System returned to ROM by power-on
System image file is "disk0:c7300-js-mz.0524"
cisco 7300 (NSE100) processor (revision E) with 491520K/32768K bytes of memory.
Processor board ID SCA084001C7
R7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache
4 slot midplane, Version 67.49
Last reset from software reset or reload
PXF processor tmc0 'system:pxf/ucode1' is running ( v4.1 ).
PXF processor tmc1 'system:pxf/ucode1' is running ( v4.1 ).
1 FastEthernet interface
4 Gigabit Ethernet interfaces
509K bytes of non-volatile configuration memory.
31360K bytes of ATA compact flash in bootdisk (Sector size 512 bytes).
250368K bytes of ATA compact flash in disk0 (Sector size 512 bytes).
Configuration register is 0x2142
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#config-reg 0x2102
Router(config)#^Z
Router#show version
Cisco IOS Software, 7300 Software (C7300-JS-M), Version 12.2(nightly_RLS5.S05052
4) NIGHTLY BUILD, synced to flo_isp V122_24_8_S
Copyright (c) 1986-2005 by Cisco Systems, Inc.
Compiled Tue 24-May-05 18:55 by
ROM: System Bootstrap, Version 12.1(12r)EX1, RELEASE SOFTWARE (fc1)
Currently running ROMMON from ROM 0
Router uptime is 4 minutes
Uptime for this control processor is 4 minutes
System returned to ROM by power-on
System image file is "disk0:c7300-js-mz.0524"
cisco 7300 (NSE100) processor (revision E) with 491520K/32768K bytes of memory.
Processor board ID SCA084001C7
R7000 CPU at 350Mhz, Implementation 39, Rev 3.3, 256KB L2, 1024KB L3 Cache
4 slot midplane, Version 67.49
Last reset from software reset or reload
PXF processor tmc0 'system:pxf/ucode1' is running ( v4.1 ).
PXF processor tmc1 'system:pxf/ucode1' is running ( v4.1 ).
1 FastEthernet interface
4 Gigabit Ethernet interfaces
509K bytes of non-volatile configuration memory.
31360K bytes of ATA compact flash in bootdisk (Sector size 512 bytes).
250368K bytes of ATA compact flash in disk0 (Sector size 512 bytes).
Configuration register is 0x2142 (will be 0x2102 at next reload)
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.
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.
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.
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#>.
If necessary, you can copy an image from one device to another.
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 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:.
Information about troubleshooting software transfer problems is available in the Common Problems
Installing Images Using a TFTP or RCP Server section on page 12.
Step 7 Before reloading, verify the correct installation and commands.
Verify that the image is properly installed and that the boot system commands point to the proper file to
load. Information about verifying the image and boot commands is available in the Common Problems
Installing Images Using a TFTP or RCP Server section on page 12.
Router# reload
*Mar 1 00:30:49.972: %SYS-5-CONFIG_I: Configured from console by console
System configuration has been modified. Save? [yes/no]: no
Proceed with reload? [confirm] yes
Step 8 Verify that the router is running with the proper image. After the reload is complete, the router should
be running the desired Cisco IOS software image. Use the show version command to verify.
Information about problems with verifying the image is available in the Common Problems Installing
Images Using a TFTP or RCP Server section on page 12.
Directory of disk0:/
Router# reload
Proceed with reload? [confirm]
6d23h: %SYS-5-RELOAD: Reload requested
...
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.
Default Gateway
A default gateway can be set only if the following are true:
The router is running a boot image that has no routing support.
IP routing is disabled.
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.
IP Addresses
Current configuration:
!
version 12.1
service timestamps debug uptime
...................
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.
Verify that the file is in the root directory of the TFTP server, and check to see if you entered the correct
filename. Some easily mistaken letters are I (uppercase i), l (lowercase L), and 1 (the numeral one).
Specifying the Device When Copying a Software Image from One Device to Another
The following table contains a list of command options for specifying the device in certain commands,
for example, the copy tftp, copy rcp, and dir commands. The command options vary depending on the
platform. The options marked with an asterisk (*) are not valid for the Cisco 7304 router.
* Indicates a copy tftp or copy rcp command option that is not valid on the Cisco 7304 router.
Verify that the boot system commands are in the right order in the configuration.
The router stores and executes the boot system commands in the order in which you enter them in
the configuration file. If a boot system command entry in the list specifies an invalid device or
filename, the router skips that entry.
router> en
Password:
Router# conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#boot system flash disk0:c7300-js-mz.121-9.EX
Router(config)#boot system flash disk0:
Incorrect Version
If the version that is appearing in the output of the show version command is not the file that you just
loaded, follow the procedures in the Before Reloading the New Software Image section on page 16.
I CONFACK
Incoming Configuration Acknowledgement is sent from remote router. This ACKs the CONFREQ sent
by the local router. In this packet, the Magic Number must match what was sent in the CONFREQ
packet.
The following example uses the show interface command to display information about the interface
using PPP encapsulation:
Router# sh int s0/1
Serial0/1 is up, line protocol is up
Hardware is PQUICC with Fractional T1 CSU/DSU
Internet address is 172.16.1.2/24
MTU 1500 bytes, BW 384 Kbit, DLY 20000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation PPP, loopback not set
Keepalive set (10 sec)
LCP Open
Open:IPCP, CDPCP
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters 00:09:13
Input queue:0/75/0/0 (size/max/drops/flushes); Total output drops:0
Queueing strategy:weighted fair
Output queue:0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/1/128 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
31 packets input, 1034 bytes, 0 no buffer
Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
123 packets output, 3196 bytes, 0 underruns
0 output errors, 0 collisions, 23 interface resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
In this example, the Magic Number for the O CONFREQ is the same as for I CONFREQ. This implies
that the router is getting the exact same packet back as it is sending out, as indicated in the PPP debug
message.
Obtaining Documentation
Cisco provides several ways to obtain documentation, technical assistance, and other technical
resources. These sections explain how to obtain technical information from Cisco Systems.
Cisco.com
You can access the most current Cisco documentation on the World Wide Web at this URL:
http://www.cisco.com/univercd/home/home.htm
You can access the Cisco website at this URL:
http://www.cisco.com
International Cisco web sites can be accessed from this URL:
http://www.cisco.com/public/countries_languages.shtml
Documentation CD-ROM
Cisco documentation and additional literature are available in a Cisco Documentation CD-ROM
package, which may have shipped with your product. The Documentation CD-ROM is updated monthly
and may be more current than printed documentation. The CD-ROM package is available as a single unit
or through an annual subscription.
Registered Cisco.com users can order the Documentation CD-ROM (product number
DOC-CONDOCCD=) through the online Subscription Store:
http://www.cisco.com/go/subscription
Ordering Documentation
You can find instructions for ordering documentation at this URL:
http://www.cisco.com/univercd/cc/td/doc/es_inpck/pdi.htm
You can order Cisco documentation in these ways:
Registered Cisco.com users (Cisco direct customers) can order Cisco product documentation from
the Networking Products MarketPlace:
http://www.cisco.com/en/US/partner/ordering/index.shtml
Registered Cisco.com users can order the Documentation CD-ROM (Customer Order Number
DOC-CONDOCCD=) through the online Subscription Store:
http://www.cisco.com/go/subscription
Nonregistered Cisco.com users can order documentation through a local account representative by
calling Cisco Systems Corporate Headquarters (California, U.S.A.) at 408 526-7208 or, elsewhere
in North America, by calling 800 553-NETS (6387).
Documentation Feedback
You can submit comments electronically on Cisco.com. On the Cisco Documentation home page, click
Feedback at the top of the page.
You can e-mail your comments to bug-doc@cisco.com.
You can submit your comments by mail by using the response card behind the front cover of your
document or by writing to the following address:
Cisco Systems
Attn: Customer Document Ordering
170 West Tasman Drive
San Jose, CA 95134-9883
We appreciate your comments.
Cisco.com
Cisco.com offers a suite of interactive, networked services that let you access Cisco information,
networking solutions, services, programs, and resources at any time, from anywhere in the world.
Cisco.com provides a broad range of features and services to help you with these tasks:
Streamline business processes and improve productivity
Resolve technical issues with online support
Download and test software packages
Order Cisco learning materials and merchandise
Register for online skill assessment, training, and certification programs
To obtain customized information and service, you can self-register on Cisco.com at this URL:
http://www.cisco.com
CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, Cisco Unity, Follow Me Browsing, FormShare, and StackWise are trademarks
of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet,
ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo,
Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel,
EtherSwitch, Fast Step, GigaStack, Internet Quotient, IOS, IP/TV, iQ Expertise, the iQ logo, iQ Net Readiness Scorecard, LightStream, MGX,
MICA, the Networkers logo, Networking Academy, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, ScriptShare,
SlideCast, SMARTnet, StrataView Plus, Stratm, SwitchProbe, TeleRouter, The Fastest Way to Increase Your Internet Quotient, TransPath, and VCO
are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other countries.
All other trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply
a partnership relationship between Cisco and any other company. (0304R)