华为交换机s5720清空配置方法,在我们项目操作中有时候需要清空交换机之前的数据,那么就需要清空之前的交换机配置数据,这个时候就需要清空交换机原有配置,那么华为交换机s5720如何清空配置呢?接下来小魏为大家将具体操作如下。
1.用户视图下输入:reset saved-configuration 输入:Y,确认清除。
2.输入:reboot;重启系统(第一次提示输入:N 不保存配置;第二次提示输入:Y 确认重启)
3.完成后提示输入密码,可以设置登录密码。
4.进入系统视图后,可以使用sysname host-name 修改主机名,其中host-name为设置的主机名。
具体对应操作命令如下:
<huawei_s5720>re
<huawei_s5720>reset sa
<huawei_s5720>reset saved-configuration
Warning: The action will delete the saved configuration in the device.
The configuration will be erased to reconfigure. Continue? [Y/N]:y
Warning: Now clearing the configuration in the device.
Nov 26 2020 10:03:45 huawei_s5720 %%01CFM/4/RST_CFG(s)[0]:The user chose Y when deciding whether to reset the saved configuration.
Info: Succeeded in clearing the configuration in the device.
<huawei_s5720>
Nov 26 2020 10:03:51 huawei_s5720 %%01EZOP/3/PROCESS_STOP(l)[1]:Easy-operation upgrade process has been stopped(Reason=There is a configuration file in this device).
<huawei_s5720>reb
<huawei_s5720>reboot
Info: The system is now comparing the configuration, please wait…….
Warning: The configuration has been modified, and it will be saved to the next startup saved-configuration file . Continue? [Y/N]:N
Info: If want to reboot with saving diagnostic information, input ‘N’ and then execute ‘reboot save diagnostic-information’.
System will reboot! Continue?[Y/N]:y
Comparing the firmware versions
The latest firmware version is in use.
Info: System is rebooting, please wait…
Nov 26 2020 10:04:21 huawei_s5720 %%01CMD/4/REBOOT(s)[2]:The user chose Y when deciding whether to reboot the system. (Task=co0, Ip=**, VpnName=, User=**)
Nov 26 2020 10:04:22 huawei_s5720 %%01SRM/4/MSTRSCURST(l)[3]:Master SCU is reset.
Nov 26 2020 10:04:22 huawei_s5720 %%01SRM/4/RESETREASON(l)[4]:Board reset by VRP command or net manager, the barcode is: 2102359504DML8000370.
INIT: reboot at 10:04:23
Broadcast message from root@localhost (console) (Thu Nov 26 10:04:24 2020):
The system is going down for rebooBIOS LOADING …
U-Boot 2012.10 (Sep 29 2017 – 19:40:33)
BOARDNAME: LS5D2T52C002
DDR type: DDR3
MEMC 0 DDR speed 533MHz
Press Ctrl+C to run Shmoo: skipped
Enabling DDR ECC reporting
Clear DDR: OK
Enabling DDR ECC correction
DDR Tune Completed
Enabling DDR ECC reporting
Clear DDR: OK
Enabling DDR ECC correctionPress Ctrl+T to Start Memory Test: 0
DRAM: 1.9 GB
NAND: (ONFI), 128 KB blocks, 2 KB pages, 16B OOB, 8bit width
NAND: chipsize 512 MB
PCIe port in RC mode
PCIe port 0 is not active
In: serial
Out: serial
Err: serial
Net: registering eth
Detected spi flash with page size 4 KB, total 4 MBBoot from main : boot num[1]
Starting kernel …
Get log address 0xf1e80050
INIT: version 2.88 booting
Starting udev
Starting Bootlog daemon: bootlogd.
Populating dev cache
INIT: Entering runlevel: 3ge = 5
Starting syslogd/klogd: donereserved 127, need 128, need to format ubifs
Stopping Bootlog daemon: bootlog
Wind River Linux 6.0.0.34 localhost consolelocalhost login: root (automatic login)
Jan 8 2019, 09:35:31
BootLoad version : 020b.0a05
Backup U-Boot ……………………………………………………. done
ifconfig: SIOCSIFHWADDR: Device or resource busyPress Ctrl+B or Ctrl+E to enter BootLoad menu: 0
Now, the current startup file is flash:/s5720ei-v200r011c10spc600.ccInfo: Check signature, please wait…………….
patch load bin,no need to update.
System total memory is 0x5f400000
Start to initialize the LSW …
Initializing the LSW ……………………………………………… done
Initializing netlink ……………………………………………… done
Initializing fast netlink …………………………………………. done
Backup BootLoad ………………………………………………….. done
Backup Kernel ……………………………………………………. done
Backup RamDisk …………………………………………………… doneStack status : enable
ECM Stack status : runStack status : enable
Stack mode : CardInitializing FSP task begin …
Initializing DEV module …………………………………………… done
Initializing hardware system ………………………………………. done
Begin to start the system …Registering IPC and VP callback to platform …………………………. done
Initializing VFS ………………………………. Done
Checking startup system-software …………………………………… done
Reading PAF file …………………………………………………. done
Initializing VOS monitor ……………………….. Done
CFM initialization advance ……………………… done
Initializing PAT ………………………………. Done
Initializing HA ……………………………….. done
VFS registering to HA ………………………….. DoneVRP root begin …
VRP root end
CFG initialization begin ……………………….. done
CFM initialization begin ……………………….. done
CLI initialization begin ……………………….. done
Registering VRP all link command begin …………… Done
Creating task begin …
Creating task end
Task initialization begin …
Task initialization endECMM status : run
Cmd registering begin …
Cmd registering endTask awake begin …
Task awake endRecover configuration begin …
Recover configuration end
Press ENTER to get started.
Login authentication
Username:#
Password:
Error: Authentication failUsername:thernet0/0/39
Password:
Error: Authentication failUsername:
Username:admin
Password:
Warning: The default password poses security risks.
The password needs to be changed. Change now? [Y/N]: y
Please enter old password:
Please enter new password:
Please confirm new password:
The password has been changed successfully.