supperbc 发表于 2010-05-12 15:14

SAN光纤交换机命令导出及导入

1、如果需要将博科交换机的配置保存到本地电脑,可以通过configupload命令将博科交换机的配置以文本格式存到本地。

switch:admin> configupload
Protocol (scp or ftp) : ftp
Server Name or IP Address : 192.168.1.48
User Name : jdoe
File Name : config.txt
Password: ********
configUpload complete: All config parameters except AD Headers,SFOS, and
Security parameters are uploaded from AD0
2、可以通过configdownload命令将博科交换机的配置从本地恢复到交换机。
switch:admin> configdownload
Protocol (scp or ftp) : ftp
Server Name or IP Address : 192.168.1.48
User Name : jdoe
File Name : config.txt
*** CAUTION ***
This command is used to download a backed-up configuration
for a specific switch. If using a file from a different
switch, this file's configuration settings will override
any current switch settings. Downloading a configuration
file, which was uploaded from a different type of switch,
may cause this switch to fail. A switch reboot might be
required for some parameter changes to take effect.
configDownload operation may take several minutes
to complete for large files.
Do you want to continue : y
Password: ********
Activating configDownload without disabling switch:
configDownload complete: All config parameters except AD Headers,
SFOS and Security parameters are downloaded to AD0
To download a configuration file interactively, on a non-AD aware switch running Fabric OS v5.1.0:
switch:admin> configdownload
configDownload: This command may not be executed on an operational switch.
You must first disable the switch using the "switchDisable" command.
switch:admin> switchdisable
switch:admin> configdownload
Protocol (scp or ftp) : ftp
Server Name or IP Address : 192.168.38.152
User Name : jdoe
File Name : config51x_onSW3900
Password:
*** CAUTION ***
This command is used to download a backed-up configuration
for a specific switch. If using a file from a different
switch, this file's configuration settings will override
any current switch settings. Downloading a configuration
file, which was uploaded from a different type of switch,
may cause this switch to fail. A switch reboot might be
required for some parameter changes to take effect.
Do you want to continue : y
configDownload completed successfully. All parameters are downloaded.
switch:admin> switchenable
switch:admin>
3、博科交换机目前只支持scp和ftp两种方式保存及恢复配置,一般情况下还是使用ftp的方式比较多,注意这里是ftp而不是tftp。需要在本地计算机上开启ftp服务,或者交换机可达的某个ftp服务器上,保存博科交换机配置时需要可写权限。

欲知更多的产品采购及技术支持信息,请访问公司网站:www.smartion.net,
电话:0755-25884800.刘先生。
博科之家
页: [1]
查看完整版本: SAN光纤交换机命令导出及导入