コンフィグのバックアップとリストア
コンフィグのバックアップ
コンフィグのバックアップ手順
configupload -vf
コマンドを実行し、Virtual Fabric の構成情報を保存する- 仮想スイッチを定義している場合のみ実施
configupload -all
コマンドを実行し、スイッチパラメータなどの設定情報を保存する
■コンフィグ情報を保存
USB デバイスに保存する場合
configupload <-vf | -all> -USB filename
switch:admin> configupload -all -USB config.txt
FTP サーバに保存する場合
configupload <-vf | -all> -ftp ftpserver,username,filename,password
switch:admin> configupload -all -ftp 192.168.38.245,jdoe,config.txt,password
対話的にパラメータを指定する場合
configupload
switch:admin> configupload
Protocol (scp, ftp, sftp, local) [ftp]: sftp
Server Name or IP Address [host]: 10.32.220.100
User Name [user]: jdoe
File Name [<home dir>/config.txt]: config.fid100.txt
Section (all|chassis|FID# [all]): 100
Password: ******
configUpload complete: All config parameters are uploaded
コンフィグのリストア
コンフィグのリストア手順
switchdisable
コマンドを実行し、スイッチを無効化するconfigdownload -vf
コマンドを実行し、論理スイッチの設定を復元する- 仮想スイッチを定義している場合のみ実施
- 実施後、自動的にリブートする
configdownload -all
コマンドを実行し、スイッチパラメータなどの設定情報を復元する- スイッチをリブートする
■コンフィグのリストア
USB デバイスのファイルを使用する場合
configdownload <-vf | -all> -USB filename
switch:admin> configdownload -all -USB config.txt
FTP サーバのファイルを使用する場合
configdownload <-vf | -all> -ftp ftpserver,username,filename,password
switch:admin> configdownload -all -ftp 192.168.38.245,jdoe,config.txt,password
対話的にパラメータを指定する場合
configdownload
switch:admin> configdownload
Protocol (scp, ftp, sftp, local) [ftp]:
Server Name or IP Address [host]: 192.168.163.233
User Name [user]: admin
Path/Filename [<home dir>/config.txt]:
Section (all|chassis|FID# [all]):
*** CAUTION ***
(略)
configDownload operation may take several minutes
to complete for large files.
Do you want to continue [y/n]: y
Password: *******
Activating configDownload: Switch is disabled
configDownload complete: All config parameters are downloaded
■スイッチのリブート
reboot
switch:admin> reboot
Warning: This command would cause the switch to reboot
and result in traffic disruption.
Are you sure you want to reboot the switch [y/n]? y
Broadcast message from root (pts/0) Sun Feb 28 19:49:45 2010...
The system is going down for reboot NOW !!
―――――――――――――