ONIE:/ # ip addr add 10.25.101.199/22 dev eth0
ONIE:/ # ip route add default via 10.25.100.1 dev eth0
PING 10.25.101.61 (10.25.101.61): 56 data bytes 64 bytes from 10.25.101.61: seq=0 ttl=64 time=0.259 ms 64 bytes from 10.25.101.61: seq=1 ttl=64 time=0.252 ms 64 bytes from 10.25.101.61: seq=2 ttl=64 time=0.300 ms 64 bytes from 10.25.101.61: seq=3 ttl=64 time=0.291 ms 64 bytes from 10.25.101.61: seq=4 ttl=64 time=0.247 ms --- 10.25.101.61 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0.247/0.269/0.300 ms
Note
If you plan to use a network-based recovery (such as NFS, FTP, HTTP, or TFTP), ensure that the network is operational and that the host with the software is reachable before proceeding with the rest of this procedure.ONIE:/ # mkdir /slxfs ONIE:/ # mount /dev/sda6 /slxfs EXT4-fs (sda6): couldn't mount as ext3 due to feature incompatibilities ONIE:/ #
ONIE:/ # scp /slxfs/var/config/vcs/scripts/startup-config user@10.25.101.61:~/device.cfg Host 10.25.101.61 is not in the trusted hosts file. Do you want to continue connecting? (y/n) y user@10.25.101.61's password: startup-config 100% 8451 8.3KB/s 00:00 ONIE:/ # cp /slxfs/var/config/vcs/scripts/startup-config /media/brocade/config/device.cfg ONIE:/ #
Note
Steps 7-11 describe the options for recovery. Choose one, depending on whether you configured networking or are using the USB 3.0 device. For SLX 9540 devices, use only the NFS or USB-based recovery. These devices do not support the onie-nos-install command./dev/sdb
is
the USB device, and /dev/sdb1
is
the main partition you are working with.ONIE:/ # fdisk -l Disk /dev/sda: 128.0 GB, 128035676160 bytes 256 heads, 63 sectors/track, 15505 cylinders Units = cylinders of 16128 * 512 = 8257536 bytes Device Boot Start End Blocks Id System /dev/sda1 1 15506 125034839+ ee EFI GPT Disk /dev/sdb: 123.0 GB, 123010547712 bytes 47 heads, 3 sectors/track, 1703936 cylinders Units = cylinders of 141 * 512 = 72192 bytes Device Boot Start End Blocks Id System /dev/sdb1 15 1703936 120126464 83 Linux ONIE:/ #
ONIE:/ # mkdir /media ONIE:/ # mount /dev/sdb1 /media EXT4-fs (sdb1): couldn't mount as ext3 due to feature incompatibilities ONIE:/ #
onie-nos-installer file://
or the
./install_pbr/onie-installer-avalanche command.
Note
For SLX 9640 devices, you must select theSLXOS_SWBD4001-20.1.1-ONIE.bin
file.ONIE:/ # cd /media/brocade/firmware/slxos20.1.1 ONIE:/media/brocade/firmware/slxos20.1.1 # ls SLXOS_SWBD3006-20.1.1-ONIE.bin SLXOS_SWBD4001-20.1.1-ONIE.bin SWBD2500 SWBD2900 SWBD4000 breeze_tools breeze_tools.tgz common install_cr install_pbr libbrcmsdk.a.SWBD3006.tgz libbrcmsdk.a.SWBD4000.tgz libbrcmsdk.a.SWBD4001.tgz oss-binaries-x86_64-ubuntu-14.04-rootfs.tar.gz preinst pubkey.pem release.xlist signature2.tar signature2.tar.sig slx20.1.1_mib.tar.gz slx20.1.1_proto_models.tar.gz slx20.1.1_yang.tar.gz ONIE:/media/brocade/firmware/slxos20.1.1 # onie-nos-install file://SLXOS_SWBD3006-20.1.1-ONIE.bin discover: Rescue mode detected. No discover stopped. <further output omitted>
ONIE:/ # mkdir /media ONIE:/ # mount -o tcp,nolock,rsize=32768,wsize=32768 10.31.2.100:/builds/ /media ONIE:/ #
onie-nos-installer file://
or the
./install_pbr/onie-installer-avalanche command.
Note
For SLX 9640 devices, you must select theSLXOS_SWBD4001-20.1.1-ONIE.bin
file.ONIE:/ # cd /media/slxos/slxos20.1.1/slxos20.1.1/ ONIE:/media/slxos/slxos20.1.1/slxos20.1.1 # ls SLXOS_SWBD3006-20.1.1-ONIE.bin SLXOS_SWBD4001-20.1.1-ONIE.bin SWBD2500 SWBD2900 SWBD4000 breeze_tools breeze_tools.tgz common install_cr install_pbr libbrcmsdk.a.SWBD3006.tgz libbrcmsdk.a.SWBD4000.tgz libbrcmsdk.a.SWBD4001.tgz oss-binaries-x86_64-ubuntu-14.04-rootfs.tar.gz preinst pubkey.pem release.xlist signature2.tar signature2.tar.sig slx20.1.1_mib.tar.gz slx20.1.1_proto_models.tar.gz slx20.1.1_yang.tar.gz ONIE:/media/slxos/slxos20.1.1/slxos20.1.1 # onie-nos-install file://SLXOS_SWBD3006-20.1.1-ONIE.bin discover: Rescue mode detected. No discover stopped. <further output omitted>
ONIE:/ # onie-nos-install http://10.25.101.70/slxos20.1.1/SLXOS_SWBD3006-20.1.1-ONIE.bin discover: Rescue mode detected. No discover stopped. Info: Attempting http://10.25.101.70/slxos20.1.1/SLXOS_SWBD3006-20.1.1 -ONIE.bin... Connecting to 10.25.101.70 (10.25.101.70:21) installer 100% *******************************| 1848M 0:00:00 ETA ONIE: Executing installer: http://10.25.101.70/slxos20.1.1/SLXOS_SWBD3006- 20.1.1-ONIE.bin <further output omitted>
ONIE:/ # onie-nos-install ftp://10.25.101.70/pub/slxos20.1.1/SLXOS_SWBD3006-20.1.1-ONIE.bin discover: Rescue mode detected. No discover stopped. Info: Attempting ftp://10.25.101.70/pub/slxos20.1.1/SLXOS_SWBD3006-20.1.1 -ONIE.bin... Connecting to 10.25.101.70 (10.25.101.70:21) installer 100%|*******************************| 1848M 0:00:00 ETA ONIE: Executing installer: ftp://10.25.101.70/pub/slxos20.1.1/SLXOS_SWBD3006- 20.1.1-ONIE.bin <further output omitted>
ONIE:/ # onie-nos-install tftp://10.25.101.60/slxos20.1.1/SLXOS_SWBD3006- 20.1.1-ONIE.bin discover: Rescue mode detected. No discover stopped. Info: Attempting tftp://10.25.101.60/slxos20.1.1/SLXOS_SWBD3006-20.1.1 -ONIE.bin ... slxos20.1.1/SL 0% | | 873k 0:36:07 ETA <output omitted> ONIE: Executing installer: tftp://10.25.101.60/slxos20.1.1/SLXOS_SWBD3006- 20.1.1-ONIE.bin <further output omitted>