免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5874 | 回复: 0
打印 上一主题 下一主题

[存储网络] SAN光纤交换机命令导出及导入 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-12 15:14 |只看该作者 |倒序浏览
1、如果需要将博科交换机的配置保存到本地电脑,可以通过configupload命令将博科交换机的配置以文本格式存到本地。

switch:admin> configupload
Protocol (scp or ftp) [ftp]: ftp
Server Name or IP Address [host]: 192.168.1.48
User Name [user]: jdoe
File Name [config.txt]: 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]: ftp
Server Name or IP Address [host]: 192.168.1.48
User Name [user]: jdoe
File Name [config.txt]: 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/n]: 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]: ftp
Server Name or IP Address [host]: 192.168.38.152
User Name [user]: jdoe
File Name [config.txt]: 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/n]: 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.刘先生。
博科之家
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP