S3500-EA系列交换机配置文件管理功能的配置
一、 组网需求:
在下面的例子中,将指导用户如何进行配置文件的保存、远程备份,以及指定下次启动时使用的配置文件等相关操作。
二、 组网图:
无
三、 配置步骤:
(1)将现有配置保存并进行远程备份
# 将现有配置进行保存,使用缺省文件名config.cfg并覆盖现有配置文件。
<Sysname> save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):
flash:/config.cfg exists, overwrite? [Y/N]:y
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration flash:/config.cfg. Please wait...
.........
Configuration is saved to flash successfully.
# 将该配置文件备份到TFTP服务器(IP地址为192.168.0.4)上。
<Sysname> backup startup-configuration to 192.168.0.4
Backup next startup-configuration file to 192.168.0.4, please wait...
finished!
(2)在设备上保存多个配置文件并指定下次启动时使用的配置文件
# 在进行一系列配置后,将配置另存为config_new.cfg进行保存,并指定该配置文件的backup属性。
<Sysname> save backup
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/config.cfg]
(To leave the existing filename unchanged, press the enter key):config_new.cfg
Validating file. Please wait...
Now saving current configuration to the device.
Saving configuration flash:/config_new.cfg. Please wait...
.......
Configuration is saved to flash successfully.
# 指定config.cfg作为下次启动时使用的配置文件。
<Sysname> startup saved-configuration config.cfg main
# 如果当前启动的配置文件(config.cfg)出现问题,用户可以从TFTP服务器上将备份的配置文件进行恢复。
<Sysname> restore startup-configuration from 192.168.0.4 config.cfg
Configuration file config.cfg already exists. Overwrite? [Y/N]:y
Restore next startup-configuration file from 192.168.0.4. Please wait........
finished!
四、 配置关键点:
无
该案例暂时没有网友评论
✖
案例意见反馈
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作