[HPE] HPスイッチのOSのversion upとパッチ適用の方法

HPEスイッチのOSのversion upの方法およびパッチ充ての方法を説明します。

◆現在使用しているソフトウェアを確認する

<5900AF-48XG-4QSFP>display version	
HP Comware Software, Version 7.1.045, Release 2311P03	
Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P.	
HP 5900AF-48XG-4QSFP+ Switch uptime is 0 weeks, 0 days, 0 hours,
36 minutes	
Last reboot reason : Power on	
	
Boot image: flash:/5900_5920-cmw710-boot-r2311p03.bin	
Boot image version: 7.1.045P17, Release 2311P03	
  Compiled Sep 12 2016 21:26:38	
System image: flash:/5900_5920-cmw710-system-r2311p03.bin	
System image version: 7.1.045, Release 2311P03	
  Compiled Sep 12 2016 21:26:53	

現在使用しているOSとパッチを確認します。
display version

◆読み込まれるファイルを確認

5900AF-48XG-4QSFP&gt;display boot-loader
Software images on slot 1:
Current software images:
flash:/5900_5920-cmw710-boot-r2311p03.bin
flash:/5900_5920-cmw710-system-r2311p03.bin
Main startup software images:
flash:/5900_5920-cmw710-boot-r2311p03.bin
flash:/5900_5920-cmw710-system-r2311p03.bin
Backup startup software images:
None

display boot-loader

◆アクティブなファイルを確認

<5900AF-48XG-4QSFP>display install active
Active packages on slot 1:
flash:/5900_5920-cmw710-boot-r2311p03.bin
flash:/5900_5920-cmw710-system-r2311p03.bin

display install active

◆フラッシュに入っているファイルを確認

<5900AF-48XG-4QSFP>dir
Directory of flash:
0 -rw- 8504335 Jan 01 2011 09:18:26 5900_5920-cmw710-boot-
r2311p03.bin
1 -rw- 54644375 Jan 01 2011 09:20:36 5900_5920-cmw710-system-
r2311p03.bin
2 drw- - Jan 01 2011 09:00:30 diagfile
3 -rw- 1677 Nov 02 2016 19:38:30 ifindex.dat
4 -rw- 0 Nov 02 2016 19:50:09 lauth.dat
5 drw- - Jan 01 2012 09:00:29 license
6 drw- - Jan 01 2012 09:27:47 logfile
7 drw- - Jan 01 2012 09:05:30 seclog
8 -rw- 5650 Nov 02 2015 19:37:22 startup.cfg
9 -rw- 98882 Nov 02 2015 19:37:23 startup.mdb
10 drw- - Jan 01 2011 09:30:52 versionInfo

524357 KB total (461060 KB free)

Flashに保存されているソフトウェアを確認します。
・ 5900_5920-cmw710-boot-r2311p03.bin
・ 5900_5920-cmw710-system-r2311p03.bin
dir

◆version upに使用するファイルをダウンロードする

<5900AF-48XG-4QSFP>tftp 192.168.1.100 get 5900_5920-CMW710-R2416.ipe
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed


今回version upに使用するファイルをTFTPサーバがダウンロードします。
※192.168.1.100はTFTPサーバのIPアドレス。
tftp 192.168.1.100 get 5900_5920-CMW710-R2416.ipe

◆使用するパッチをダウンロードする

<5900AF-48XG-4QSFP>tftp 192.168.1.100 get 5900_5920-cmw710-system-patch-r2416h01.bin
Press CTRL+C to abort.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed

tftp 192.168.1.100 get 5900_5920-cmw710-system-patch-r2416h01.bin

◆TFTPサーバから対象のファイルを正しくダウンロードできているか確認

<5900AF-48XG-4QSFP>dir
Directory of flash:
0 -rw- 77343744 Jan 01 2011 09:51:22 5900_5920-CMW710-R2416.ipe
1 -rw- 8504320 Jan 01 2011 09:18:26 5900_5920-cmw710-boot-
r2311p03.bin
2 -rw- 890880 Jan 01 2011 09:52:09 5900_5920-cmw710-system-patch-
r2416h01.bin
3 -rw- 54654976 Jan 01 2011 09:20:36 5900_5920-cmw710-system-
r2311p03.bin
4 drw- - Jan 01 2011 09:00:30 diagfile
5 -rw- 1645 Nov 02 2015 19:37:21 ifindex.dat
6 -rw- 0 Nov 02 2015 19:50:09 lauth.dat
7 drw- - Jan 01 2011 09:00:29 license
8 drw- - Jan 01 2011 09:21:47 logfile
9 drw- - Jan 01 2011 09:00:30 seclog
10 -rw- 5648 Nov 02 2015 19:37:22 startup.cfg
11 -rw- 98652 Nov 02 2015 19:37:23 startup.mdb
12 drw- - Jan 01 2011 09:26:52 versionInfo

524288 KB total (384628 KB free)

Flashに新しいVersionのファイルが保存された事を確認します。
dir

◆ダウンロードしたファイルを適用する

<5900AF-48XG-4QSFP>boot-loader file flash:/5900_5920-CMW710-
R2416.ipe slot 1 main
Verifying image file.........Done.
Images in IPE:
5900_5920-cmw710-boot-r2416.bin
5900_5920-cmw710-system-r2416.bin
This command will set the main startup software images. Continue?
[Y/N :y
Add images to target slot.
Decompressing file 5900_5920-cmw710-boot-r2416.bin to
flash:/5900_5920-cmw710-boot-r2416.bin........................Done.
Decompressing file 5900_5920-cmw710-system-r2416.bin to
flash:/5900_5920-cmw710-system-
r2416.bin..........................................Done
The images that have passed all examinations will be used as 
the main startup software images at the next reboot on slot 1..

今回適用する筐体のmember IDが1のため、ここで指定するslotの次の数字は1になります。
boot-loader file flash:/5900_5920-CMW710-R2416.ipe slot 1 main

◆再起動を実行する

<5900AF-48XG-4QSFP>reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
This command will reboot the device. Continue? [Y/N :y
Now rebooting, please wait...

reboot

◆OSのVersion upが成功しているか確認する

<5900AF-48XG-4QSFP>display version
HP Comware Software, Version 7.1.045, Release 2416
Copyright (c) 2010-2014 Hewlett-Packard Development Company, L.P.
HP 5900AF-48XG-4QSFP+ Switch uptime is 0 weeks, 0 days, 0 hours, 4 minutes
Last reboot reason : USER reboot

Boot image: flash:/5900_5920-cmw710-boot-r2416.bin
Boot image version: 7.1.045, Release 2416
Compiled Dec 09 2014 16:05:10
System image: flash:/5900_5920-cmw710-system-r2416.bin
System image version: 7.1.045, Release 2416
Compiled Dec 09 2014 16:05:10

display version

◆読み込まれるファイルを確認

<5900AF-48XG-4QSFP>display boot-loader
Software images on slot 1:
Current software images:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
Main startup software images:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
Backup startup software images:
None

新しいVersionが読み込まれる事を確認
display boot-loader

◆アクティブなファイルを確認

<5900AF-48XG-4QSFP>display install active
Active packages on slot 1:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin

新しいVersionになっている事を確認します。
display install active

◆パッチを適用する

<5900AF-48XG-4QSFP>install activate patch flash:/5900_5920-cmw710-
system-patch-r2416h01.bin slot 1
Verifying the file flash:/5900_5920-cmw710-system-patch-r2416h01.bin 
on slot 1...Done.
This operation maybe take several minutes, please wait.......Done.

install activate patch flash:/5900_5920-cmw710-system-patch-r2416h01.bin slot 1

◆読み込まれるファイルを確認する

<5900AF-48XG-4QSFP>display boot-loader
Software images on slot 1:
Current software images:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
flash:/5900_5920-cmw710-system-patch-r2416h01.bin
Main startup software images:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
Backup startup software images:
None

display boot-loader

◆アクティブなファイルを確認

<5900AF-48XG-4QSFP>display install active
Active packages on slot 1:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
flash:/5900_5920-cmw710-system-patch-r2416h01.bin

display install active

◆パッチが当たった状態で起動するように設定する

<5900AF-48XG-4QSFP>install commit

install commit

◆適用されたファイルを確認する

<5900AF-48XG-4QSFP>display install commited
Committed packages on slot 1:
flash:/5900_5920-cmw710-boot-r2416.bin
flash:/5900_5920-cmw710-system-r2416.bin
flash:/5900_5920-cmw710-system-patch-r2416h01.bin

display install commited

作業はここまでです。

使用するversionによって状況は変わる可能性があります。

スポンサーリンク

シェアする

  • このエントリーをはてなブックマークに追加

フォローする

スポンサーリンク