华为交换机启动配置命令详解大全

  华为交换机启动配置命令详解大全

  1、自动保存配置

  [Huawei]set save-configuration ?

  backup-to-server Back up the configuration to the server on the network #保存配置文件到服务器

  cpu-limit Specify the upper limit of CPU usage when the system automatically backup the current configuration #备份配置时CPU使用上限

  delay Specify the delay time of the automatical backup after the current configuration change #配置变更发生后自动备份配置的延时时间

  interval Specify the interval for backuping the current configuration automatically #自动备份当前配置的时间间隔

  

  [Huawei]set save-configuration backup-to-server ?

  server Server on the network

  [Huawei]set save-configuration backup-to-server server ?

  X.X.X.X Specify the IP address of the server

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 ?

  transport-type Specify the type of the transmission

  user Specify the user accessing the server

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 user ?

  STRING<1-64> Name of the user

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 user ftp ?

  password Specify the password used to access the server

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 user ftp password 023wg.com ?

  path Specify the path on the server

  

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 user ftp password 023wg.com path ?

  STRING<1-64> Name of the path

  [Huawei]set save-configuration backup-to-server server 10.1.1.1 user ftp password 023wg.com path back ?

  

  2、手动保存配置

  save ?

  STRING<5-64> The name of specific file ( *.cfg , *.zip)

  all All configuration including those of unavailable cards or slots

  

  save all

  在第一次保存配置文件时,如果不指定可选参数configuration-file,则设备将提示是否将文件名保存为“vrpcfg.zip”。“vrpcfg.zip”是系统缺省的配置文件,初始状态是空配置。

  3、查看系统当前启动配置文件名

  display startup

  MainBoard:

  Configured startup system software: NULL

  Startup system software: NULL

  Next startup system software: NULL

  Startup saved-configuration file: NULL

  Next startup saved-configuration file: flash:/vrpcfg.zip

  Startup paf file: NULL

  Next startup paf file: NULL

  Startup license file: NULL

  Next startup license file: NULL

  Startup patch package: NULL

  Next startup patch package: NULL

  

  4、比较配置文件

  用户可以通过比较当前配置和下次启动的配置文件,查看哪些配置项是不一致的,决定是否需要将当前配置设置为下次启动时加载的配置文件。

草根站长
草根站长管理员

一个自学成才的网络工程师!

上一篇:返回列表
下一篇:查看已经连接的wifi密码命令

相关文章

取消
扫码支持