华为交换机怎么导出里面的文件 比如.cfg .bin 等 华为交换机怎么导出和导入配置文件啊,谢谢

\u534e\u4e3a\u4ea4\u6362\u673a\u600e\u4e48\u7528tftp\u4e0b\u8f7d\u914d\u7f6e\u6587\u4ef6\uff1f

1\u3001\u5148dir\u5217\u51fa\u9700\u8981\u5907\u4efd\u7684\u4ea4\u6362\u673a\u914d\u7f6e\u6587\u4ef6\uff0c\u5982vrpcfg.zip\u6216vrpcfg.cfg
2\u3001\u6253\u5f00tftp\u5ba2\u6237\u7aef\u8f6f\u4ef6\uff0c\u5982\uff1a\u601d\u79d1TFTP\u670d\u52a1\u5668
3\u3001\u5728\u4ea4\u6362\u673a\u7528\u6237\u6a21\u5f0f\u4e0b,\u5982\uff1a
tftp X.x.x.x\uff08\u4e3b\u673aIP\u5730\u5740\uff09 put vrpcfg.zip QW_5700.zip
Info: Transfer file in binary mode.
Uploading the file to the remote TFTP server. Please wait...\
TFTP: Uploading the file successfully.
863 bytes send in 1 second.
4\u3001\u5b8c\u6210\uff0c\u53ef\u4ee5\u5728tftp\u5ba2\u6237\u7aef\u8f6f\u4ef6\u76ee\u5f55\u4e0b\u67e5\u770b\u5907\u4efd\u51fa\u6765\u7684\u6587\u4ef6

\u6062\u590d\u914d\u7f6e\u76f8\u53cd\uff0c\u4e0d\u61c2\uff0c\u6253\uff1f\u3002\u3002

\u4ea4\u6362\u4ec0\u4e48\u578b\u53f7\uff1f
\u652f\u6301WEB\u7ba1\u7406\u4e0d\uff1f
\u8fd9\u4e9b\u8bf4\u6e05\u4e00\u4e0b\u5440\uff1f
\u5565\u90fd\u6ca1\u6709\u600e\u4e48\u544a\u8bc9\u4f60\uff01\uff01\uff01\uff01
WEB\u7684\u5c31\u597d\u529e\u4e86\uff0c\u76f4\u63a5\u5bfc\u51fa

\u5982\u679c\u662f\u547d\u4ee4\u884c\u7ba1\u7406\uff0c\u9700\u8981\u7528\u5230TFTP \u901a\u8fc7\u547d\u4ee4\u5c31\u53ef\u4ee5\u5b9e\u73b0
\u5728\u4ea4\u6362\u7279\u6743\u6a21\u5f0f\u4e0b\u6253TFFP ? \u770b\u4e00\u4e0b\u91cc\u9762\u7684\u8bf4\u660e\u5c31OK\u4e86

倒入PC?
可以在交换机上配置一个FTP账号。
具体操作:
[switch]vlan 10
[switch-vlan10]quit
[switch]interface vlan 10
[switch-vlanif 10]ip address 192.168.1.1 24 //设置一个管理ip,子网掩码24,中间空格隔开
[switch-vlanif 10]quit
[switch]interface ethernet 0/0/1 //如果是53系列即以上的话, 为interface g0/0/1
[switch-interface-ehernet0/0/1]port link-type access
[switch-interface-ehernet0/0/1]port default vlan 10 //将此端口加入管理vlan
[switch-interface-ehernet0/0/1]quit
[switch]aaa //进入aaa视图,创建本地账号
[switch-aaa]local-user FTP password simple FTP //创建登录账号和密码。FTP分别是账号密码可自己定义别的。
[switch-aaa]local-user FTP service-type ftp //设置此本地账号的服务类型为ftp
[switch-aaa]local-user FTP ftp-directory flash:\ //设置ftp的根目录为flash卡的根目录;
[switch-aaa]quit

[switch]user-interface vty 0 4
[switch-user-interface vty0-4]authentication aaa //设置用户登录界面验证方式为aaa
[switch-user-interface vty0-4]quit
[switch]

这个时候你把PC用网线连到交换机的ethernet 0/0/1口上,PC设置IP:192.168.1.2 掩码为255.255.255.0 网关为192.168.1.1
然后你在运行里打cmd,进入cmd界面后,输入ping 192.168.1.1应该是可以ping通的,然后输入ftp 192.168.1.1 然后输入账号和密码,就可以ftp登录到交换机了。
输入dir 看一下根目录里的文件列表,应该是有你说的.cfg .bin 等文件的。
然后输入get abc.cfg d:\abc.cfg敲回车就OK了,其中get表示下载,abc.cfg是你要下载的文件名,d:\abc.cfg是你要保存的本地电脑的文件路径。
另外put d:\12345.cfg 命令可以将你电脑的放在d盘的12345.cfg文件上传到交换机的根目录下,和你用上边说的tftp一样,呵呵,可以自己试下。

1. 路由器上电自检

出现如下的信息:

InitDDR

........

system start booting......Version 2.11

Press CTRL+D to stop auto-boot

Booting Normal Extended BootRom

Decompressing...done!

Ensure the baudrate is set to 9600bps!Starting at 0xa00000...

*******************************************************

* *

* H3C MSR50-40 BOOTROM, Version 2.13 *

* *

*******************************************************

Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.

Compiled date: Jul 31 2007, 14:05:28

CPU type : MPC8541

CPU L1 Cache : 32KB

CPU L2 Cache : 256KB

CPU Clock Speed : 833MHz

Memory Type : DDR SDRAM

Memory Size : 512MB

Memory Speed : 333MHz

BootRom Size : 4096KB

CPLD Version is 2.00

HardWare Version is 3.00

CF Card is Inserted, now is mounting...

cf:/ - Volume is OK

Mount CF Card OK!

CF Card Size:256MB

Press Ctrl+B to enter extended boot menu...

此时键入<Ctrl+B>,系统将进入BOOTROM菜单。

& 说明:

必须在出现“Press Ctrl-B to enter Boot Menu...”的3秒钟之内,键入<Ctrl+B>,系统方可进入BOOTROM菜单;否则系统将进入程序解压过程。若进入程序解压过程后再希望进入BOOTROM菜单,则需要重新启动路由器。

2.进入Bootrom界面

用户键入<Ctrl+B>后,系统提示:

Please input Bootrom password:

此时需要用户要输入BootROM口令(路由器出厂时缺省没有BootROM口令,直接回车即可)。若用户已经修改过BootROM口令,应该输入正确的口令,若三次口令验证未通过,则系统中止。

3. 选择以太网口,进行配置升级

当用户输入了正确的BootROM口令,系统将出现如下提示信息:

===================<EXTEND-BOOTROM MENU>=====================

| <1> Boot From CF Card |

| <2> Enter Serial SubMenu |

| <3> Enter Ethernet SubMenu |

| <4> File Control |

| <5> Modify Bootrom Password |

| <6> Ignore System Configuration |

| <7> Boot Rom Operation Menu |

| <8> Clear Super Password |

| <9> Device Operation |

| <a> Reboot |

=============================================================

Enter your choice(1-a):3

选择3进入串口子菜单: Enter Ethernet SubMenu

====================<ETHERNET SUB-MENU>======================

|Note:the operating device is CF Card |

| <1> Download Application Program To SDRAM And Run |

| <2> Update Main Application File |

| <3> Update Backup Application File |

| <4> Update Secure Application File |

| <5> Change Ethernet Parameter |

| <6> Exit To Main Menu |

| < Ensure The Parameter Be Modified Before Downloading! > |

=============================================================

Enter your choice(1-6):5

选择5对以太网口进行调整

4.对FTP参数进行设置

以太网口配置菜单:

Note: Two protocols for download, tftp & ftp.

You can modify the flags following the menu except the boot device.

tftp--0x80, ftp--0x0.

'.' = clear field; '-' = go to previous field; Ctrl+D = quit

boot device: motfcc1 网络下载设备名字,无需更改

processor number: 0 处理器数,无需更改

host name: host 主机名字,无需更改

file name: MSR50-CMW520-R1508P02-SI.BIN 与服务器文件一致

inet on ethernet (e) : 10.0.0.1 根据实际组网进行设置

inet on backplane (b): 无需设置

host inet (h) : 10.0.0.2 FTP或TFTP服务器的ip地址

gateway inet (g) : 网关ip地址,根据实际情况设置

user (u) : bbxz 下载用户名,TFTP不用此设置

ftp password (pw) (blank = use rsh): 123456 下载密码,TFTP不用此设置

flags (f) : 0x80 下载标识,FTP为0x0,TFTP为0x80

target name (tn) : 设置保存在Flas中的目标文件的名称,无需设置

startup script (s) : 无需设置

other (o) : 无需设置

4.下载文件

选择2将指定文件下载到CF卡中作为主启动文件

====================<ETHERNET SUB-MENU>======================

|Note:the operating device is CF Card |

| <1> Download Application Program To SDRAM And Run |

| <2> Update Main Application File |

| <3> Update Backup Application File |

| <4> Update Secure Application File |

| <5> Change Ethernet Parameter |

| <6> Exit To Main Menu |

| < Ensure The Parameter Be Modified Before Downloading! > |

=============================================================

Enter your choice(1-6):2

boot device : mottsec

unit number : 0

processor number : 0

host name : host

file name : MSR50-CMW520-R1508P02-SI.BIN

inet on ethernet (e) : 10.0.0.1

host inet (h) : 10.0.0.2

user (u) : guest

ftp password (pw) : 123456

flags (f) : 0x80

Attached TCP/IP interface to mottsec0.

Warning: no netmask specified.

Attaching network interface lo0... done.

Loading...

Done!

18339940 bytes downloaded.

Input the File Name:MSR50-CMW520-R1508P02-SI.BIN//

Updating File cf:/msr50-cmw520-r1508p02-si.bin

........

Update Success!

5.重启升级(版本更换)

下载完毕后重启路由器完成版本升级(更换)操作。

【提示】

1、 MSR 20系列路由器只能使用Ethernet0/0端口,MSR 30及MSR 50系列路由器只能使用GigabitEthernet0/0端口。

2、BootROM程序同Comware版本捆绑升级,即用户不需要单独升级BootROM程序,在升级最新的Comware版本的同时,系统将自动为用户升级最新的BootROM程序。

3 进行软件升级前应确认当前的BootROM版本及应用程序版本,以便使用正确的文件,Comware版本和BootROM程序版本配套关系请参见《版本说明书》中的版本配套表。

扩展阅读:华为手机一键迁移 ... 华为怎么互传app ... 华为和荣耀能互传吗 ... 华为自带搬家软件在哪 ... 华为旧手机导入新手机 ... 旧手机一键导入新手机 ... 为什么华为找不到otg ... 华为手机一键换机步骤 ... 华为手机迁移到新手机 ...

本站交流只代表网友个人观点,与本站立场无关
欢迎反馈与建议,请联系电邮
2024© 车视网