Usage procedure
# Check which files are stored and how much space is available on the storage medium of the device.
<boot>dir Directory of flash: 0 -rw- 104833 Jan 01 2011 05:46:24 startup.mdb 1 drw- - Jan 03 2011 03:33:27 versionInfo 2 -rw- 5341 Jan 01 2011 05:46:24 startup.cfg 3 -rw- 11109376 Jan 03 2011 03:26:14 5900_5920-cmw710-boot-r2432p03.bin 4 -rw- 3707 Jan 01 2011 01:26:51 startup.cfg_bak 5 drw- - Jan 01 2011 00:00:24 seclog 6 drw- - Jan 01 2011 00:00:24 diagfile 7 drw- - Jan 01 2011 00:12:20 logfile 8 -rw- 203 Jan 01 2011 05:28:14 lauth.dat 524288 KB total (147072 KB free)
The output shows that the boot image is present but the system image is not. The available space is 147072 KB, enough for saving the system image.
# Identify the boot image version.
<boot>display version
HPE Comware Software
Copyright (c) 2010-201
7
Hewlett Packard Enterprise Development LP
HPE 5900AF-48XG-4QSFP+ uptime is 0 weeks, 2 days, 7 hours, 50 minutes Last reboot reason : Cold reboot Boot image: flash:/5900_5920-cmw710-boot-r2432p03.bin Boot image version: 7.1.045, Release 2432P03 Compiled Sep 16 2014 13:44:42 5900AF-48XG-4QSFP+ with 2 Processors BOARD TYPE: 5900AF-48XG-4QSFP+ DRAM: 2048M bytes FLASH: 512M bytes
# Configure an IP address and a gateway for the management Ethernet port.
<boot> system-view [boot] interface m-eth0 [boot-m-eth0] ip address 1.1.1.1 16 [boot-m-eth0] ip gateway 1.1.1.2
# Test the connectivity between the device and the TFTP server.
<boot> ping 1.2.1.1 PING 1.2.1.1 (1.2.1.1): 56 data bytes 56 bytes from 1.2.1.1: seq=0 ttl=128 time=2.243 ms 56 bytes from 1.2.1.1: seq=1 ttl=128 time=0.717 ms 56 bytes from 1.2.1.1: seq=2 ttl=128 time=0.891 ms 56 bytes from 1.2.1.1: seq=3 ttl=128 time=0.745 ms 56 bytes from 1.2.1.1: seq=4 ttl=128 time=0.911 ms --- 1.2.1.1 ping statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0.717/1.101/2.243 ms
# Download the file system.bin from the TFTP server.
<boot> tftp 1.2.1.1 get system.bin flash:/5900_5920-cmw710-system-r2432p03.bin
# Identify whether the system image matches the boot image.
<boot> display install package flash:/5900_5920-cmw710-system-r2432p03.bin flash:/5900_5920-cmw710-system-r2432p03.bin [Package] Vendor: HPE Product: 5900_5920 Service name: system Platform version: 7.1.045 Product version: Release 2432P03 Supported board: mpu [Component] Component: system Description: system package
# Load the system image to start the Comware system.
<boot> install load flash:/5900_5920-cmw710-system-r2432p03.bin Check package flash:/5900_5920-cmw710-system-r2432p03.bin ... Extracting package ... Loading... Line aux0 is available. Press ENTER to get started.
After you press Enter, the following information appears:
<System> <System>%Sep 23 18:29:59:777 2014 S58.59 SHELL/5/SHELL_LOGIN: TTY logged in from aux0.