| 场景 | 例行备份、割接前快照 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | tftp put / copy ... tftp: / backup startup-configuration |
华为 VRP
华为 VRP
<SW-CORE-01> tftp 10.10.1.10 put vrpcfg.zip SW-CORE-01-20261012.zip
! 文件名先用 display startup 查询当前启动配置文件思科 IOS
思科 IOS
SW-CORE-01# copy startup-config tftp://10.10.1.10/SW-CORE-01-20261012.cfg
! 交互式写法:copy startup-config tftp: 再输入地址与文件名H3C Comware
H3C Comware
<SW-CORE-01> backup startup-configuration to 10.10.1.10 SW-CORE-01-20261012.cfg
! 备选:tftp 10.10.1.10 put startup.cfg SW-CORE-01-20261012.cfg华为用内置 tftp 客户端 put;H3C 有专用 backup 命令(更省事);思科 copy 支持 tftp:/scp: 一行 URL 完成。