交换机清除所有配置命令
1:迈普交换机清除配置命令(原始用户名/密码:admin/admin)
NXA-WLAN-XAMSXY#dir?
dir Displays a list of files and subdirectories in a directory
SNXA-WLAN-XAMSXY#dir
492,912 --SH
nos.img 4,978,852 ----
f 255 ----
startup.cfg 4,537 ----
Used 5,476,556 bytes in 4 files, Free 1,800,192 bytes.
SNXA-WLAN-XAMSXY#delete ?
WORD Specifies a file
SNXA-WLAN-XAMSXY#delete startup.cfg (删除配置文件)
Delete file, Are you sure? (Y/N)?[N]y
Delete file ok.
SNXA-WLAN-XAMSXY#reload
Process with reboot? [Y/N] y
如图所示
2:中兴交换机恢复出厂设置(原始用户名/密码/超级密码:admin/zhongxing/zhongxing)
zte(cfg)#config tffs (tffs enter file system config mode进入文件系统配置模式 )
zte(cfg-tffs)#ls
kernel.z 1,207,388 bytes
snmpboots.v3 36 bytes
2,999 bytes
735,232 bytes free
zte(cfg-tffs)#remdelete in
zte(cfg-tffs)#remove running.cfg (清楚配置文件)
Sure to remove ? [Yes|No]:y
zte(cfg-tffs)#exit
zte(cfg)#reboot
如图所示
注: config tffs 进入文件配置模式 ls查看文件 里面应该有running.cfg和这2个文件 ,用remove命令删除这2个文件,然后退出到文件配置模式重启(reboot)就可以了
3:华为交换清除配置的命令
<huawei>reset save 清空配置
<huawei>reboot 重启
以下清除配置非专业人士请勿操作
在设备重启时按Ctrl+B进入BOOT MENU之后, Press Ctrl-B to enter Boot& 5
Password : 缺省为空,回车即可
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from Flash
5. Modify bootrom password 0. Reboot
Enter your choice(0-5): 4 选择4 No. File Name File Size(bytes)
===========================================================================
1 S3026CGSSI.btm 257224
2 wnm2.2.2-0005.zip 447827
3 snmpboots 4
4 * R0023P01.app 2985691
5 hostkey 428
6 serverkey 572
7 & 1281
Free Space : 3452928 bytes
The current application file is R0023P01.app
Please input the file number to delete: 7 选择7,删除当前的配置文件
Do you want to delete& now? Yes or No(Y/N)y
Delete&done!
BOOT MENU
1. Download application file to flash
2. Select application file to boot
3. Display all files in flash
4. Delete file from Flash
5. Modify bootrom password 0. Reboot
Enter your choice(0-5):0 选择0,重启设备
注:删除之后交换机就恢复了出厂配置。
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论