|
|
This appendix describes procedures to update software on the Workgroup 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 are 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.
There are multiple versions of Kermit you can use to download the software to the concentrator. The following two sections describe:
Refer to the section that most closely matches your installation configuration.
To copy the software to the workstation, log in as root and perform the following procedures:
C:\copy x:*.*
C:\dir con*.rom
To set the Kermit file transfer parameters, perform the following tasks:
Kermit>
prompt, specify the serial port using the following command, where x is the serial port number (1 through 8) that you connected to the concentrator:
Kermit> set port com x
Kermit>
prompt, enter the following command to set the baud rate for the serial port, where n is the port speed of the concentrator:
Kermit> set speed n
Use the following procedure to download the software from the PC.
Kermit>
prompt, enter the following command to connect to the concentrator:
Kermit> connect
Console> enable Console> (enable)
Kermit>
prompt, enter the download command:
Console> (enable) download serial
Concentrator Boot ROM (Ver 2.00)
Waiting for DOWNLOAD!!
Return to your local machine by typing its escape
sequence. Issue kermit send command from there [Send
`Filename']
Kermit>
prompt, enter the following command to send the file to the concentrator (where xx is the software revision number):
Kermit> send c1100_xx.rom
File name: C1100_xx.rom
KBytes transferred:
Percent transferred:
Sending:
Number of Packets:
NUmber of retries:
Last error: None
Last warning: None
File name: C1100_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>
Kermit>
prompt reappears, enter connect to return to the console prompt.
Kermit> connect
Download Not OK
Initializing flash...Erasing Flash....Done
Programming Flash
Base....Code....Length....Time....Done
Cisco Systems Console
Enter password:
Wed Feb 12, 1992, 17:35:08
Enter password:
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.
The most common problem with Kermit file transfers is an incorrect line setting. Make sure that the serial port on the PC connected to the concentrator matches the set line or set port command.
If you cannot communicate at all with the concentrator and you are sure the set line command is correct, check the serial port baud rate. The default baud rate of the concentrator admin. port is 9,600. If the concentrator baud rate was changed to an unknown value, you may have to enter several set speed commands in Kermit before you can make a connection.
The following list identifies the Kermit error codes:
The following screen shows an example of a complete download procedure. Commands you enter appear in
boldface screen
font.
C:\ copy A:\*.*
copying c1100_25.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
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 c1100_25.rom
File name: C1100_25.rom
KBytes transferred: xxxx
Percent transferred: 100%
Sending: Complete
Number of Packets: xxxx
NUmber of retries: None
Last error: None
Last warning: None
Kermit> connect
Cisco Systems Console
Enter password:
Wed Feb 12, 1992, 17:35:08
Console>
To copy the software to the workstation, log in as root and perform the following procedures:
workstation% cd /tmp
workstation% tar -xvfp /dev/rfd0
x c1100_xx.rom, 1156046 bytes, 2258 tape blocks
To set the Kermit file transfer parameters, perform the following tasks:
workstation% kermit
Kermit>
prompt similar to the following:
C-Kermit, 4E(072) 24 Jan 89, SUNOS 4.x
Type ? for help
Kermit>
Kermit>
prompt, specify the serial port connected to the concentrator by entering the following command, where x is port a or b:
Kermit> set line /dev/ttyx
Kermit>
prompt, enter the following command to set the baud rate for the serial port, where n is the port speed of the concentrator:
Kermit> set speed n
Use the following procedure to download the software from the workstation.
Kermit>
prompt, enter the following command to connect to the concentrator and the following information will appear:
Kermit> connect Connecting thru /dev/ttya, speed 9600. The escape character is CTRL-\ (28). Type the escape character followed by C to get back, or followed by ? to see other options. Console>
Console> enable Console> (enable)
Console> (enable) download serial
Concentrator Boot ROM (Ver 2.01)
Waiting for DOWNLOAD!!
Return to your local Machine by typing its escape sequence
Issue Kermit send command from there[ Send `Filename`]
Kermit>
prompt.
Kermit>
prompt, enter the following command to send the file to the concentrator (where xx is the software revision number):
[Back at Local System] C-Kermit> send c1100_26.rom SF c1100_26.rom => C1100_26.ROM, Size: 1156046 CTRL-F to cancel file, CTRL-R to resend current packet CTRL-B to cancel batch, CTRL-A for status report: ........................................................ ........................................................ *** Display Truncated *** ........................................................ .................................... [OK] ZB?
.................................... [OK]
ZB?
Kermit>
Download OK Initializing flash Programming Flash Base....Code....Length....Time....Done
Cisco Systems Console
Enter password:
Wed Feb 12, 1992, 17:35:08
Console>
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.
The most common problem with Kermit file transfers is an incorrect line setting. Make sure that the serial port on the Sun or PC connected to the concentrator matches the set line or set port command.
If you cannot communicate at all with the concentrator and you are sure the set line command is correct, check the serial port baud rate. The default baud rate of the concentrator admin. port is 9600. If the concentrator baud rate was changed to an unknown value, you may have to enter several set speed commands in Kermit before you can make a connection.
On a Sun workstation, make sure that the shell window you are using is a local window (not an rlogin window to a different workstation).
During a successful file transfer, a dot appears on the screen for every four packets transferred. If Kermit has trouble transferring the file, other code letters may appear.
The following list identifies the Kermit error codes:
The following screen shows an example of a complete download procedure. Commands you enter appear in
boldface screen
font.
workstation% cd /tmp workstation% tar -xvfp /dev/rfd0 x c1100_26.rom, 1156046 bytes, 2258 tape blocks workstation% ls -la total 1150 drwxrwsrwt 5 bin 512 Sep 28 04:15 . drwxr-xr-x 18 root 1536 Sep 27 15:41 .. -r--r--r-- 1 60000 1156046 Jul 18 10:32 c1100_26.rom workstation% kermit C-Kermit, 4E(072) 24 Jan 89, SUNOS 4.x Type ? for help C-Kermit>set line /dev/ttya C-Kermit>set speed 9600 /dev/ttya: 9600 baud C-Kermit>connect Connecting thru /dev/ttya, speed 9600. The escape character is CTRL-\ (28). Type the escape character followed by C to get back, or followed by ? to see other options. Console> enable Console> (enable) download serial Concentrator Boot ROM (Ver 2.01) Waiting for DOWNLOAD!! Return to your local Machine by typing its escape sequence Issue Kermit send command from there[ Send `Filename`] [Back at Local System] C-Kermit>send c1100_26.rom SF c1100_26.rom => C1100_26.ROM, Size: 1156046 CTRL-F to cancel file, CTRL-R to resend current packet CTRL-B to cancel batch, CTRL-A for status report: ............................................................... ............................................................... *** Display Truncated *** ............................................................... .................................... [OK] ZB? C-Kermit>connect Connecting thru /dev/ttya, speed 9600. The escape character is CTRL-\ (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 Console Enter password: Wed Feb 12, 1992, 17:35:08 Console>
The following procedure describes how to perform a network download from the concentrator.
tftp dgram udp wait 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 demon, either kill the inetd process and restart it, or do a fastboot on the Sun.
Console> download 190.180.122.40 c1100_xx.net
|
|
Copyright 1988-1995 © Cisco Systems Inc.