(神州数码)交换机配置文件备份,nos备份升级

 神州数码设备之交换机置文件备份,nos备份升级
 
1、配置TFTP服务器
 
这里我们使用 Cisco TFTP Server
 
2、给交换机设置 IP 地址
 
switch#config
switch(Config)#interface vlan 1
switch(Config-If-Vlan1)#ip address 192.168.0.100 255.255.255.0
switch(Config-If-Vlan1)#no shutdown
switch(Config-If-Vlan1)#
 
3、 验证主机(有TFTP服务器) 与交换机是否连通
 
switch#ping 192.168.0.1
Type ^c to abort.
Sending 5 56-byte ICMP Echos to 192.168.0.1, timeout is 2 seconds.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
switch#
4、 switch#copy  running-config  startup-config // 将运行的配置复制到启动配置中
 
5、查看需要备份的文件
 
switch#show flash
file name           file length
nos.img             1971486 bytes     // 系统文件
startup-config      865 bytes        // 该配置文件需要保存
running-config      865 bytes     //正在运行的配置文件
switch#
 
6、备份交换机配置文件
 
switch#copy startup-config tftp://192.168.0.1/startup
                              // 将启动的配置备份在tftp服务器上
Confirm [Y/N]:y
begin to send file,wait...
 
file transfers complete. // 复制成功
close tftp client.
switch#
 
 
7、备份系统文件
 
switch#copy  nos.img  tftp://192.168.1.101/nos.img
 
Confirm [Y/N]:y
nos.img file length = 1971486
read file ok
begin to send file,wait...
################################################################################
################################################################################
################################################################################
################################################################################
#################################################################
file transfers complete.
close tftp client.
switch#
 
TFTP的显示
 
 
 
同理把需要升级的系统文件或者配置文件放进tftp的根目录里面可以还原升级了
 
1、 还原配置文件
switch#copy tftp://192.168.0.1/startup startup-config
2、升级系统文件
switch#copy tftp://192.168.0.1/nosimg nos.img
 

你可能感兴趣的:(路由,休闲,交换,神州数码,nos备份)