Firmwareupdate per Commandline

Vorausgesetzt wird hier ein funktionierender FTP-Server, der im Beispiel unter der IP 172.18.0.299 erreichbar ist. VORSICHT: Der Switch rebootet am Ende des Updates selbständig ohne weitere Nachfrage! fcsw22:admin> firmwareshow  
Appl     Primary/Secondary Versions
------------------------------------------
FOS      v6.1.0c
         v6.1.0c

fcsw22:admin> firmwaredownload
Server Name or IP Address: 172.18.0.299
User Name: anonymous
File Name: /v6.2.0g
Network Protocol(1-auto-select, 2-FTP, 3-SCP) [1]: 2
Password:
Checking system settings for firmwaredownload...
Server IP: 172.18.0.299, Protocol IPv4
   
System settings check passed.
   
You can run firmwaredownloadstatus to get the status
of this command.
   
This command will cause a warm/non-disruptive boot on the switch,
but will require that existing telnet, secure telnet or SSH sessions
be restarted.
Do you want to continue [Y]: y
   
Firmware is being downloaded to the switch. This step may take up to 30 minutes.
Preparing for firmwaredownload...
   
Start to install packages...
dir                         ##################################################
ldconfig                    ##################################################
glibc                       ##################################################
glibc-linuxthreads          ##################################################
bash                        ##################################################
readline                    ##################################################
terminfo                    ##################################################
termcap                     ##################################################
vixie-cron                  ##################################################
fileutils                   ##################################################
textutils                   ##################################################
warning: /etc/passwd created as /etc/passwd.rpmnew
setup                       ##################################################
swbd12-setup                ##################################################
which                       ##################################################
findutils                   ##################################################
bzip                        ##################################################
zlib                        ##################################################
chkconfig                   ##################################################
sed                         ##################################################
procps                      ##################################################
psmisc                      ##################################################
modutils ##################################################
sin ##################################################
rcinit ##################################################
misc ##################################################
pam ##################################################
util-linux ##################################################
sh-utils ##################################################
popt ##################################################
grep ##################################################
rpm ##################################################
sysvinit ##################################################
man ##################################################
less ##################################################
gzip ##################################################
tar ##################################################
rsync ##################################################
uuid-libs ##################################################
e2fsprogs ##################################################
cpio ##################################################
dev ##################################################
bootenv ##################################################
wdtd ##################################################
fwdl ##################################################
telnet-server ##################################################
kernel ##################################################
kernel-module-usb ##################################################
swbd21-drivers ##################################################
sysklogd ##################################################
getty ##################################################
net-tools ##################################################
uucp ##################################################
portmap ##################################################
inetd ##################################################
iptables ##################################################
tcpd ##################################################
rsh-server ##################################################
rsh ##################################################
openssl-libs ##################################################
openssh ##################################################
warning: /etc/sshd_config saved as /etc/sshd_config.rpmsave
openssh-server ##################################################
rusers-server ##################################################
rdate ##################################################
logrotate ##################################################
ntp ##################################################
pciutils ##################################################
strace ##################################################
sendmail ##################################################
iproute2 ##################################################
libxml2 ##################################################
fss ##################################################
fabos-setup ##################################################
fabos-drivers ##################################################
fabos-libs ##################################################
nonet-lib ##################################################
fabos-diag ##################################################
fabos ##################################################
fabos-daemons ##################################################
fabos-zoning ##################################################
sqlite ##################################################
dhcpcd ##################################################
fabos-vf ##################################################
fabos-hmon ##################################################
fabos-wwnhs ##################################################
fabos-man ##################################################
fabos-swbd71 ##################################################
apache ##################################################
fastcgi ##################################################
fabos-webtools ##################################################
fabos-webtoolsez ##################################################
tz ##################################################
mtracer-tool ##################################################
sysstat ##################################################
prom-440epx ##################################################
Please avoid powering off the system during prom update.
ipv6 ##################################################
awk ##################################################
ipsec ##################################################
Removing unneeded files, please wait ...
Finished removing unneeded files.

All packages have been downloaded successfully.
Firmware has been downloaded to the secondary partition of the switch.
HA Rebooting ...

Nach dem Reboot kann man den Erfolg der Aktion kontrollieren:

-----------------------------------------------------------------
fcsw22:admin> firmwareshow
Appl Primary/Secondary Versions
------------------------------------------
FOS v6.2.0g
v6.2.0g
fcsw22:admin>

Fertig!