华三指定启动配置文件_华为交换机启动配置命令详解大全

本文详细介绍了华为交换机的启动配置命令,包括自动保存配置、手动保存、查看启动配置、比较配置、备份与恢复配置、清除配置以及配置系统启动文件的操作。此外,还讨论了如何通过FTP等方式备份和恢复配置文件,以及重新启动设备的注意事项。
摘要由CSDN通过智能技术生成
ec4ca043de0314c4dbf7c0926505f68f.png

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

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、比较配置文件

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

系统在比较出不同之处时,将从两者有差异的地方开始显示字符(默认显示150个字符),如

好的,我知道你对华三ospf联动bfd_华为交换机路由器配置OSPF与BFD联动有疑问。下面是一些基本的配置步骤: 对于华为交换机和路由器配置OSPF与BFD联动,你可以按照以下步骤进行操作: 1. 启用OSPF协议。 2. 启用BFD协议。 3. 配置OSPF与BFD的联动,使得当BFD检测到链路故障时,可以快速通知OSPF。 4. 验证配置是否成功。 接下来,我将为你提供一些示例配置,供你参考。 华为交换机配置: 1. 启用OSPF协议: ``` # 配置OSPF进程ID为1 ospf 1 router-id 1.1.1.1 # 添加一个区域,区域ID为0.0.0.0 area 0.0.0.0 # 启用OSPF协议 ospf 1 ``` 2. 启用BFD协议: ``` # 创建BFD检测器 bfd my_bfd # 配置BFD检测器的本地地址 local-address gigabitethernet 0/0/1 # 配置BFD检测器的远端地址 remote-address 2.2.2.2 # 启用BFD协议 bfd ``` 3. 配置OSPF与BFD的联动: ``` # 配置OSPF进程ID为1的BFD检测器,使得BFD检测到链路故障时可以快速通知OSPF ospf 1 bfd all-interfaces ``` 4. 验证配置是否成功: ``` # 查看OSPF邻居状态 display ospf peer # 查看BFD检测器状态 display bfd session ``` 华三路由器配置: 1. 启用OSPF协议: ``` # 配置OSPF进程ID为1 ospf 1 router-id 2.2.2.2 # 添加一个区域,区域ID为0.0.0.0 area 0.0.0.0 # 启用OSPF协议 ospf 1 ``` 2. 启用BFD协议: ``` # 创建BFD检测器 bfd my_bfd # 配置BFD检测器的本地地址 local-address 2.2.2.2 # 配置BFD检测器的远端地址 remote-address 1.1.1.1 # 启用BFD协议 bfd ``` 3. 配置OSPF与BFD的联动: ``` # 配置OSPF进程ID为1的BFD检测器,使得BFD检测到链路故障时可以快速通知OSPF ospf 1 bfd all-interfaces ``` 4. 验证配置是否成功: ``` # 查看OSPF邻居状态 display ospf peer # 查看BFD检测器状态 display bfd session ``` 以上就是基本的配置步骤,如果你有任何疑问,请随时问我。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值