1、查看交换机的原来的型号以及系统配置文件重要不然导进入不生效可能 1.1、dis ver
1.2、dir /all
2、用con线插进新的交换机确认型号以及系统在配置管理vlan接口划入vlan;PC配置跟vlan同一段保证连通性
2.1、Switch配置
vlan
inter vlan 2
ip
inter g1/0/1
port acc vlan 2
2.2、配置PC的IP、gateway
3、导入配置文件导入之前定义好tftp的目录
<H3C>tftpstartup.cfg
...
File will be transferred in binary mode
Downloading file from remote TFTP server;
TFTP: 8348 bytes received in 0 seconds
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.cfgflash:/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 SHELL/4/LOGIN: Console login from aux0
<3F-S5528C>
<3F-S5528C>