|
|
This appendix describes the processes for establishing a terminal connection, loading the Cisco 700 IOS software (also known as the software image), and loading and saving the current configuration.
By connecting an ASCII terminal or PC running terminal emulation software, you can configure the router through a serial connection. This might not be necessary for the following reasons:
The example in this section shows how to connect to the router serial communications port from your ASCII terminal or PC by using Hyperterminal. (Hyperterminal is an accessory software application included with the Windows operating system.)
Take the following steps to connect your router to a console through the configuration port:
Step 1 Connect the blue DB-9-to-DB-9 serial cable from your terminal to the rear-panel port labeled CONFIG. (See Figure B-1.)
If your terminal or PC console has a DB-25 connector, use the included DB-25-to-DB-9 adapter. If you are connecting the router to a Macintosh computer, you need a straight-through RS-422-to-DB-9 or RS-422-to-DB-25 cable.
Step 2 Connect the other end of the console cable to the ASCII terminal or PC.
Step 3 Start HyperTerminal. Click Start>Accessories>HyperTerminal. The Connection Description window displays.
Step 4 Enter a name in the Name field of the Connection Description window. When you click OK, the Phone Number window displays.
Step 5 Select the COM port from the Connect using list to which the router is connected. For example, if the router is connected to the COM2 port of your PC, select Direct to COM2. When you click OK, the Port Settings window displays.
Step 6 Set the port as follows:
Step 7 Power on the router.
Step 8 Click OK to connect. You can test the connection by pressing Enter. A command-line interface prompt appears.
It is assumed that this is a new connection. Once it is created, you can save the Connection Description by selecting File>Save As.
Although the balance of the Hyperterminal settings should default to the correct values, if you have problems, select File>Properties, and check the following.
| Setting | Location | Value |
|---|---|---|
Use FIFO buffers | Configure>Advanced | Windows should detect the presence of the 16550 UART chip and set this correctly by default. If there is any doubt about the presence of the chip, deselect the check box. |
Receive Buffer | Configure>Advanced | Low |
Transmit Buffer | Configure>Advanced | Low |
Function, arrow, and control keys act as | Settings | Terminal Keys |
Emulation | Settings | Auto Detect |
Backscroll buffer lines | Settings | 500 |
Send line ends with line feed | Settings>ASCII Setup | Deselected |
Echo typed characters locally | Settings>ASCII Setup | Deselected |
Line delay | Settings>ASCII Setup | 0 |
Character Delay | Settings>ASCII Setup | 0 |
Append line feeds to incoming line ends | Settings>ASCII Setup | Deselected |
Force incoming data to 7-bit ASCII | Settings>ASCII Setup | Deselected |
Wrap lines that exceed terminal width | Settings>ASCII Setup | Selected |
The serial port can be configured as a TPAD port. Communications with the router through the serial port for configuration purposes are not possible when TPAD is enabled. You can continue to enter configuration commands by using Telnet.
The following example sets the serial port as a TPAD port:
Host> set serialport tpad
To switch from TPAD mode to configuration mode, do one of the following:
The current state of the serial port can be displayed by using the show configuration command in a Telnet session.
For complete information on TPAD, see the Cisco 700 Series Command Reference.
The default image for Cisco 761, Cisco 765, Cisco 771, and Cisco 775 routers is NET3, IR. The default image for all other Cisco 700 series routers is US. Usually the software loaded in your router at the factory is the most up-to-date version available. You might want to update the image if
The following example loads the operating system software in the router through a serial connection from the terminal to the configuration port.
Table B-2 shows the approximate software load times.
| Load Rate (Baud) | Approximate Time (Minutes) |
|---|---|
2400 | 48 |
9600 | 12 |
19200 | 6 |
38400 | 3 |
57600 | 2 |
115200 | 1 |
To load new software, follow these steps:
Step 1 Connect to the router as described in the "Establishing a Terminal Connection" section.
Step 2 Enter the swl (software load) command:
Host> swl
You are prompted to verify that you intend to download the software image.
Step 3 Enter y to continue:
Are you sure? y
You are prompted to select the baud rate.
BOOT version 2.0(1) 04-16-96 12:03:06
Copyright (c) 1993-1996. All rights reserved.
Ready to upload new firmware into flash. Select baud rate:
1 - 300 baud
2 - 1200 baud
3 - 2400 baud
4 - 4800 baud
5 - 9600 baud
6 - 19200 baud
7 - 38400 baud
8 - 57600 baud
9 - 115200 baud
Step 4 Enter 5.
Step 5 Select Transfer>Send text file. The system loads the file on the router. (The LINE LED blinks throughout the loading process.)
When the download is complete, the LINE LED turns off, and the RDY LED turns on.
If the download was not successful, use Table B-3, which shows symptoms and possible solutions.
| Symptom | Probable Cause and Solution |
|---|---|
Download takes significantly longer than the approximate time listed in Table B-2. | The terminal emulation program interline and intercharacter delays are not set to zero. If the load was successful, no further action is necessary. If the load was terminated prematurely, reset the interline and intercharacter delays to zero, and reload the software. |
The terminal displays unrecognizable text after the download is completed. | The terminal has not been reset to 9600 baud. Reset the terminal any time after loading the new software. After changing the terminal baud rate, press Return to display the prompt (>). |
Two or more LEDs are blinking. | Incorrect configuration of the PC COM port or a defective console cable. Press Esc and try to load the software again. |
Table B-4 lists the combination of blinking LEDs that indicate an error, along with the error code and a description of the error.
| Blinking LED | Error Code | Description of Error |
|---|---|---|
Line CH 2 | E-1 | A framing, parity, or overflow error occurred during software download, usually because of an incorrect data rate or configuration port setting. Check the data rate and configuration port settings. |
CH 1 | E-2 | A colon was not at the beginning of a line in the new software image file. Either the software image file is corrupted or some characters were entered before the download started. Start the software load process again. If the same error occurs, replace the software image file. |
Line CH 1 | E-3 | One line in the software image file has a bad checksum, usually because of a temporary line error. Start the software download process again. |
Line CH 1 CH 2 | E-5 | The software image file has a bad or missing checksum. Start the software load process again. If the same error occurs, replace the software image file. |
We advise that you store a copy of your router configuration in a safe place. If your configuration is corrupted, it can be restored using the download process described in the "Loading a Configuration" section.
The following example appends the configuration to a file by using HyperTerminal for Windows, a common terminal emulation software program.
To save a configuration, complete the following steps:
Step 1 Connect to the router as described in the "Establishing a Terminal Connection" section.
Step 2 Enter the upload command at the command-line prompt, but do not press Return after you enter the command:
Host> Upload
Step 3 Select Transfer>Capture Text.
Step 4 Select the file and directory in which you want to save the file.
Step 5 Click OK.
Step 6 Press Return to execute the command. The configuration is saved to the file specified in Step 3.
Step 7 Select Transfer>Capture Text>Stop when the configuration has finished uploading.
A configuration can be downloaded to the router through the terminal. The following example loads a configuration using Hyperterminal:
Step 1 Connect to the router as described in the "Establishing a Terminal Connection" section.
Step 2 Select Text Transfer>Send Text File. The Send Text dialog box appears.
Step 3 Select the file containing the configuration.
Step 4 Click OK.
Step 5 Select Transfer>Send Text File.
Step 6 Select the file to be loaded.
Step 7 Click OK. The parameters are transferred to your router.
Step 8 If errors occur during the transfer, enter the set default command to reset the configuration, and repeat the procedure for loading the configuration beginning with Step 2.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Tue Feb 23 15:06:03 PST 1999
Copyright 1989-1999©Cisco Systems Inc.