首页/网络/网络设备配置速查/保存配置 save / copy run start
设备开局与基础配置61 条

保存配置 save / copy run start

运行配置(running-config / current-configuration)断电即失,必须写入启动配置文件;三厂的保存交互与免交互写法不同,每次变更后都要执行。

网络设备配置速查网络更新于 2026-10-12
场景配置变更后固化、重启前确认
适用全部设备
命令族save / copy running-config startup-config / save force

华为 VRP

华为 VRP
<SW-CORE-01> save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]: y

思科 IOS

思科 IOS
SW-CORE-01# copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

H3C Comware

H3C Comware
<SW-CORE-01> save force
Now saving current configuration to the device.
Configuration is saved to device successfully.
华为 save 为交互确认,较新版本支持 save force 免确认;H3C Comware 7 惯用 save force;思科可简写 wr(write memory 别名)。

易错点

  • 重启前忘 save 是生产事故高频原因,割接窗口核对清单里必须包含保存动作
  • 思科 write memory 与 copy run start 等价,但不同平台的交互提示有差异,脚本里建议用一致写法

数据来源与参考

  • 华为产品文档:配置文件管理
  • Cisco IOS Configuration Management(copy 命令)
  • H3C Comware 7 配置文件管理

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌