Falls man bei Allied WarePlus™-Switch aus Versehen oder sonst irgendweie die Firmware löscht, gibt es noch folgende Möglichkeit die Firmware wieder herzustellen.
Um den ganzen Vorgang erfolgreich abzuschliessen sollten folgende Vorarbeiten gemacht werden:
enablecopy current-software flash:/firmware.relconfigure terminalboot system firmware.relwritereboot
Bootloader 5.1.6 loaded
Press <Ctrl+B> for the Boot Menu
Reading filesystem...
Restarting...
Bootloader 5.1.6 loaded
Press <Ctrl+B> for the Boot Menu
Boot Menu:
WARNING: The bootloader is not currently password protected.
------------------------------------------------------
S. Security Level
------------------------------------------------------
0. Restart
1. Perform one-off boot from alternate source
2. Change the default boot source (for advanced users)
3. Update Bootloader
4. Adjust the console baud rate
5. Special boot options
6. System information
7. Restore Bootloader factory settings
------------------------------------------------------
9. Quit and continue booting
Enter selection ==> 1
Select device:
0. Return to previous menu
------------------------------------------------------
1. Flash (flash:)
2. SD Card (card:)
3. TFTP (tftp://)
4. YMODEM (ymodem:)
6. USB (usb:)
Enter selection ==> 3
Enter physical download port (1-8)... []: 7
Enter IP version [4|6]................ [4]:
Enter IP address for this device ..... [0.0.0.0]: 192.168.0.200
Enter subnet mask .................... [0.0.0.0]: 255.255.255.0
Enter gateway IP ..................... [0.0.0.0]: 192.168.0.1
Enter TFTP server IP ................. [0.0.0.0]: 192.168.0.24
Enter filename ....................... []: AR3050S-5.4.8-0.2.rel
Loading tftp://192.168.0.24/AR3050S-5.4.8-0.2.rel...
Downloading from port 7
Verifying release... OK
Booting...
Starting base/first... [ OK ]
Mounting virtual filesystems... [ OK ]
______________ ____
/\ \ / /______\
/ \ \_ __/ /| ______ |
/ \ | | / | ______ |
/ \ \ / / \ ____ /
/______/\____\ \/ /____________/
Allied Telesis Inc.
AlliedWare Plus (TM) v5.4.8
Current release filename: AR3050S-5.4.8-0.2.rel
Built: Fri Apr 13 00:33:33 UTC 2018
Mounting static filesystems... [ OK ]
Checking flash filesystem... [FAILED]
Formatting flash filesystem...
Mounting flash filesystem...
Checking for last gasp debug output... [ OK ]
Checking NVS filesystem... [ OK ]
Mounting NVS filesystem... [ OK ]
Initializing random number generator... [ OK ]
Starting base/hwrandom... [ OK ]
Starting base/dbus... [ OK ]
Starting base/linux... [ OK ]
Starting base/syslog... [ OK ]
Starting base/loopback... [ OK ]
Received event syslog.done
Starting base/modules... [ OK ]
Received event modules.done
Starting base/reboot-stability... [ OK ]
Checking system reboot stability... [ OK ]
Starting base/apteryx... [ OK ]
Starting base/crond... [ OK ]
Starting base/appmond... [ OK ]
Starting base/clockcheck... [ OK ]
Starting base/inet... [ OK ]
Received event apteryx.done
Starting network/streamd... [ OK ]
Starting hardware/early_host_info... [ OK ]
Starting network/ddnsd... [ OK ]
Starting network/dpi... [ OK ]
Starting base/eventwatch... [ OK ]
Starting base/alfred... [ OK ]
Starting network/firewalld... [ OK ]
Starting network/tunneld... [ OK ]
Starting network/statmond... [ OK ]
Starting network/ike... [ OK ]
Starting network/kermond... [ OK ]
Starting network/recorder... [ OK ]
Starting network/tcontrold... [ OK ]
Starting network/prol2tp... [ OK ]
Starting base/logconf... [ OK ]
Starting network/linkmond... [ OK ]
Starting network/offload-manager... [ OK ]
Starting network/pbrd... [ OK ]
Received event prol2tp.done
Starting network/l2tpd... [ OK ]
Starting hardware/plugman... [ OK ]
Starting hardware/openhpi... [ OK ]
Starting hardware/timeout... [ OK ]
Received event board.inserted
Starting hardware/hardware-done... [ OK ]
Received event hardware.done
Starting network/startup... [ OK ]
Starting base/external-media... [ OK ]
Received event hostcfg.done
Starting network/licd... [ OK ]
Received event network.enabled
Initializing HA processes:
atmf_agentd, cwmd, ddnsd, hostd, statmond, atmfd, auth
bgpd, cntrd, hsl, lacp, mstp, nsm, ospf6d
ospfd, pdmd, pim6d, pimd, ripd, ripngd, rmon
vrrpd, imi
Received event network.initialized
Assigning Active Workload to HA processes:
hsl, lacpd, nsm, ospfd, pdmd, authd, bgpd
imi, mstpd, ospf6d, pim6d, pimd, ripd, ripngd
rmond, vrrpd
Received event network.activated
Loading default configuration
Warning: flash:/default.cfg does not exist, loading factory defaults.
...
done!
Received event network.configured
awplus login: manager
Password:
AlliedWare Plus (TM) 5.4.8 04/13/18 00:33:33
The system has been booted using the one off boot/recovery mechanism.
Bootup has successfully completed.
Use the "copy current-software" and "boot system" commands to save this
release file for future use.
awplus>en
awplus#copy current-software flash
Enter destination file name[]:AR3050S-5.4.8-0.2.rel
Copying...
Successful operation
awplus#con t
Enter configuration commands, one per line. End with CNTL/Z.
awplus(config)#boot
config-file system
awplus(config)#boot system AR4050S-5.4.8-0.2.rel
awplus(config)#
awplus#wr
Building configuration...
[OK]
awplus#reboot