I found myself in a situation today where I wasn’t able to upgrade the XSCF firmware on our new Oracle Enterprise M5000 unless I drove to the datacenter with a USB key. The network on our XSCF is very restricted, we can only SSH to it and the XSCF itself can not initiate any connection over that network. To upgrade an XSCF you can use HTTPS (ports blocked by firewall) or the XSCF can download the firmware over ftp, http or https but as I mentioned, the XSCF itself cannot access anything. so I tried to ftp over the DSCP network but there I ran against the same issue -> only traffic allowed from the domains to the XSCF and not the other way arround. So it was getting me mad and I figured a way around it:
1) upload your firmware to a domain into let’s say /var/tmp/xscf-firmware
2) go to /var/tmp/xscf-firmware and type:
python -m SimpleHTTPServer 8080
3) open another terminal and login to the XSCF over the DSCP network:
ssh -l xscfuser -R 8080:localhost:8080 `/usr/platform/SUNW,SPARC-Enterprise/sbin/prtdscp -s`
4) now just download your firmware:
XSCF> getflashimage http://localhost:8080/FFXCP1101.tar.gz
You should see the following in your terminal where you started the python webserver:
localhost – - [31/Mar/2011 11:50:03] “GET /FFXCP1101.tar.gz HTTP/1.1″ 200 -
PS: now you just downloaded the firmware, please read the documentation how to apply it.

