h3c导入配置文件的方法
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
h3c 导入配置文件的方法一、交换机的配置文件导入
1、查看交换机的原来的型号以及系统配置文件(重要不然导进入不生效可能)
1.1、dis ver
1.2、dir /all
2、用con线插进新的交换机确认型号以及系统在配置管理vlan接口划入vian, PC配置跟vlan 同一段(保证连通性)
2.1、Switch 配置
vlan
inter vlan 2
ip add 172.17.254.53 24
inter g1/0/1
port acc vlan 2
2.2、配置PC的IP、gateway!
3、导入配置文件(导入之前定义好tftp 的目录) <H3C>tftp 172.17.254.1 get 3F-s5528c.cfg startup.cfg
File will be transferred in binary mode Downloading file from remote TFTP server, please wait TFTP: 8348 bytes received in 0 second(s)
File downloaded successfully.
<H3C>
<H3C>startup saved-configuration startup.cfg ma ----- 配置主文件
Please wait ..... Done!
<H3C>startup saved-configuration startup.cfg backup ------- 备份文件下次启动的顺序
Please wait ..... Done!
<H3C>dis startup 看配置主次文件是否生效!
Current startup saved-configuration file: NULL
Next main startup saved-configuration file: flash:/startup.cfg
Next backup startup saved-configuration file: flash:/startup.cfg
<H3C>startup saved-configuration startup.cfg main
Please wait .... Done!
<H3C>sav ------------- 保存以上操作
The current configuration will be written to the device. Are you sure? [Y/N]:y Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key): flash:/startup.cfg exists, overwrite? [Y/N]:n --------------------------------------------------------- 注意
<H3C>
<H3C>reboot ---------- 重新启动
Start to check configuration with next startup configuration file, please wait. DONE!
This command will reboot the device. Current configuration will be lost in next
startup if you continue. Continue? [Y/N]:y
#Apr 26 20:09:47:936 2000 H3C DEV/1/REBOOT: Reboot device by command.
%Apr 26 20:09:48:21 2000 H3C DEV/4/SYSTEM REBOOT:
System is rebooting now.
Press ENTER to get started.
<3F-S5528C>
%Apr 26 20:00:39:607 2000 3F-S5528C SHELL4//LOGIN: Console login from aux0 <3F-S5528C> <3F-S5528C>。