3.4.3.1 Installing the Patch File Automatically
You can install the patch files used during the upgrade procedure either manually or automatically using the
Expect program as described below:
Before you run the automatic patch file installation, check that you have:
• A linux machine with the Expect program installed.
• Telnet or SSH enabled on the WS5000 Series Switch.
There is no need to have a patch update for WS5000 from version 2.0 to 2.1.
Installing the Patch File in 2.1 Switches
To install the patch file for 2.1 switches:
1. Download the files bfly_caller.sh and bfly.exp to the linux machine with the Expect program installed.
Download both bfly_caller.sh and bfly.exp to the same directory.
2. Enter the following command from the directory where you download the files:
./bfly_caller.sh
<telnet/ssh> ftp <service_password>
<file_containing_ip_of_WS5000 Series Switch_switches> <patch_filename>
<ftp_ip> <ftp_user> <ftp_password>
If you are using tftp, enter the command:
./bfly_caller.sh
<telnet/ssh> tftp <service_password>
<file_containing_ip_of_WS5000 Series Switch_switches> <patch_filename>
<tftp_ip>
where:
•
<telnet/ssh>
: Program (telnet or ssh) enabled on the list of WS5000 Series Switches specified by the
<
file_containing_ip_of_WS5000 Series Switch_switches>
•
ftp or tftp
: Method used to download the patch file.
•
service_password
: Service mode CLI password.
•
file_containing_ip_of_WS5000 Series Switch_switches:
IP Addresses of WS5000 Series Switch Switches (one IP Address per line).
•
Name of the patch file downloaded;
patch_filename:
the patch file is in the home directory of the ftp user on the ftp server specified by <ftp_ip>. If you use
TFTP, the patch file is in the tftp server public directory.
•
IP Address of the FTP Server.
ftp_ip:
•
IP Address of the TFTP Server.
tftp_ip:
•
Name of the ftp user
ftp_user:
•
ftp user's password.
ftp_password:
Configuring the WS5000 Series Switch Auto-
.
Filename containing the list of
by default. If you use ftp,
bfly_patch.tar
3-13