|
This appendix describes procedures to update software on the WS-C1400 Concentrator. New software to implement enhancements, such as changes to the emerging SMT standard, will be provided periodically.
Following are two ways you can update the software:
Software updates will be distributed on Sun- and PC-compatible 3.5-inch disks. Use the procedures in this appendix to copy the software from the disks and download the software from the workstation to the concentrator.
This section describes procedures for copying the software to a local workstation or PC then downloading it to the concentrator using Kermit.
To copy the software to the workstation or PC, log in as root and perform the following procedures:
Step 1 Connect a workstation serial port to the concentrator admin. port as described in the chapter "Connecting to the Network." Make sure you know the baud rate of the concentrator so you can set the line speed on the workstation accordingly.
Step 2 Insert the 3.5-inch software update disk into the floppy drive on the workstation.
Step 3 On Sun workstations, enter the following commands:
cd /tmp
tar -xvfp /dev/rfd0
The first command changes your working directory to /tmp, and the second command copies the files from the disk to the /tmp directory. The following message displays while the files are being copied, where xx in the file name is the software revision number:
x conxx.rom 40960 Bytes, 80 tape blocks 1
The number of bytes and tape blocks that display may be different.
On PCs, enter the following commands, where x is the disk drive containing the floppy:
copy x:*.*
dir c1400*.rom
The dir command displays the filename of the new software in the format c1400xx.rom, where xx is the software revision number.
To set the Kermit file transfer parameters, perform the following tasks:
Step 1 Start Kermit on the workstation or PC.
Step 2 At the Kermit> prompt, specify the serial port.
On Sun workstations, log in as root and enter the following command, where x is a or b, depending on which port you connected to the concentrator:
set line /dev/ttyx
On PCs, use the following command, where x is the serial port number (1 through 8) that you connected to the concentrator:
set port com
x
Step 3 At the Kermit> prompt, enter the following command to set the baud rate for the serial port, where n is the port speed of the concentrator:
set speed n
The default port speed for the concentrator is 9600 baud.
Caution To prevent communication problems, do not use a speed greater than 19200 baud. |
Use the following procedure to download the software from the workstation.
Step 1 At the Kermit> prompt, enter the following command to connect to the concentrator:
connect
If your line and speed are set correctly, the console prompt will be displayed.
Step 2 Enter enable to enter privileged mode.
enable
Step 3 At the Kermit prompt, enter the download command:
Step 4 After you press <Return>, the concentrator will wait for the new software to arrive. The following message displays:
Step 5 On Sun workstations, enter the escape sequence Crtl-\-c
To enter this sequence correctly, hold down the Control key while you press \ and press c.
On PCs, enter the escape sequence Esc-Crtl-]-c
To enter this sequence correctly, press Esc, then hold down the Control key while you press ] and then press c.
Step 6 At the Kermit> prompt, enter the following command to send the file to the concentrator (where xx is the software revision number):
send C1400_xx.rom
On Sun workstations, a dot appears on the screen for every four packets transferred. Other letters appear if Kermit has trouble transferring the file. You can monitor the progress of the download by typing a any time during the Kermit download.
When the file transfer is finished, the Kermit> prompt returns, you will hear a beep, and the following message appears on the screen:
ZB [OK]
Step 7 On PCs
, a screen similar to the following, appears displaying the send status information:
Wait while the file is being transferred. The information will change in the display until the following information appears in the send status screen:
Step 8 On PCs, when the Kermit> prompt reappears, enter connect to return to the console prompt.
connect
On Sun workstations, the following message displays at the end of the download if the file transfer was successful:
Download OK
If the file transfer was not successful, the following message displays and you must repeat the procedure:
Download Not OK
Step 9 Reboot the concentrator to initialize Flash memory.
If the file transfer was successful, the concentrator erases Flash memory and reprograms it with the new software. The following messages display during the process:
Initializing flash...Erasing Flash....Done
Programming Flash
Base....Code....Length....Time....Done
Step 10 The switch will automatically reboot the concentrator to initialize Flash memory.
If the concentrator successfully reprograms Flash memory, the new software will execute as follows:
This concludes the download procedure; the concentrator is now executing the new software. You can check the Sw field in the show system command display to verify that the new software is running.
On page B-6 the section, "Example of a Successful Download" has been modified.
The following screen shows an example of a complete download procedure. Commands you enter appear in boldface screen
font.
On Sun workstations, the download procedure is as follows:
workstation% cd /tmp
workstation% tar -xvfp /dev/rfd0
x c1400.xx.rom, 1933 bytes, 4 tape blocks 1
workstation% kermit
C-Kermit, 4C(057) 31 Jul 85, 4.2 BSD
Type ? for help
C-Kermit> set line /dev/ttya
C-Kermit> set speed 19200
C-Kermit> connect
Connecting to /dev/ttya, speed 19200.
The escape character is ^\ (ASCII 28).
Type the escape character followed by C to get back,
or followed by ? to see other options
console> enable
Enter Password:
console> (enable) download serial
Return to your Local Machine by typing its escape sequence
Issue Kermit send command from there [Send 'Filename']
WAITING FOR DOWNLOAD!!
<CONTROL-\ c to return to Local Machine>
C-Kermit> send c1400_xx.rom
SF
c1400_xx.rom => c1400_xx.ROM, Size: 806306
X to cancel file, CR to resend current packet
Z to cancel group, A for status report
E to send error packet, Ctrl-C to quit immediately:.........................
*** Display Truncated ***
...................[OK]
ZB
Kermit> connect
Connecting to /dev/ttya, speed 19200.
The escape character is ^\ (ASCII 28).
Type the escape character followed by C to get back,
or followed by ? to see other options
Download OK
Initializing flash
Programming Flash
Base....Code....Length....Time....Done
Cisco Systems Tue May 10, 1994, 17:35:08
Enter password:
On PCs, the download procedure is as follows:
C:\ copy A:\*.*
copying c1400_xx.rom
C:\ kermit
Kermit, 4C(057) 31 Jul 85, 4.2 BSD
Type ? for help
Kermit> set port com1
Kermit> set speed 9600
Kermit> connect
Connecting to com1,speed 9600.
The escape character is ^\ (ASCII 28).
Type the escape character followed by C to get back,
or followed by ? to see other options
Console> enable
Enter password:
Console> (enable) download serial
Return to your Local Machine by typing its escape sequence
Issue Kermit send command from there [Send 'Filename']
WAITING FOR DOWNLOAD!!
<CONTROL-\ c to return to Local Machine>
Kermit> send c1400_xx.rom
File name: c1400_xx.rom
KBytes transferred: xxxx
Percent transferred: 100%
Sending: Complete
Number of Packets: xxxx
NUmber of retries: None
Last error: None
Last warning: None
Kermit>
Cisco Systems Tue May 10, 1994, 17:35:08
Enter password:
The following procedure describes how to perform a network download from the concentrator.
tftp dgram udp nowait root /usr/etc/in.tftpd in.tftpd -p -s /tftpboot
You must restart the inet daemon after modifying the inetd.conf file. To restart the daemon, either kill the inetd process and restart it, or do a fastboot on the Sun workstation. Then perform the following steps:
Step 1 Copy the new software from the floppy to the tftpboot directory on the workstation. If this directory does not exist, you must create it first. The file you copy is c1400_xx.net, where xx is the software revision number.
Step 2 Log in to the admin. interface on the concentrator.
Step 3 Enter the download command, and specify the IP address or host name of the workstation acting as the download server and the file to download. Following is an example:
download 190.180.122.40 c1400_22.net
During the download, the status LED on the concentrator flashes and the ring remains operational. When the download completes, the concentrator restarts automatically, causing the ring to go down momentarily. When the concentrator is up, use the show system command to check the version number of the software you are running.
|