常见交换机初始化命令

上传人:桔**** 文档编号:551680885 上传时间:2023-08-09 格式:DOCX 页数:4 大小:22.19KB
返回 下载 相关 举报
常见交换机初始化命令_第1页
第1页 / 共4页
常见交换机初始化命令_第2页
第2页 / 共4页
常见交换机初始化命令_第3页
第3页 / 共4页
常见交换机初始化命令_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
资源描述

《常见交换机初始化命令》由会员分享,可在线阅读,更多相关《常见交换机初始化命令(4页珍藏版)》请在金锄头文库上搜索。

1、交换机初始化命令1:迈普交换机清除配置命令(原始用户名/密码:admin/admin)NXA-WLAN-XAMSXY#dir?dir Displays a list of files and subdirectories in a directory492,912 -SH4,978,852 255 4,537 SNXA-WLAN-XAMSXY#dir boot.rom nos.img boot.conf startup.cfgUsed 5,476,556 bytes in 4 files, Free 1,800,192 bytes. SNXA-WLAN-XAMSXY#delete ?WORD

2、Specifies a fileSNXA-WLAN-XAMSXY#delete startup.cfg (删除配置文件) Delete file, Are you sure? (Y/N)?NyDelete file ok. SNXA-WLAN-XAMSXY#reloadProcess with reboot? Y/N y 如图所示5 NXA-WLAN-XAM SXY d1r?chr Di spl ays a 11 st of fi 1 es and subdi rmttcirrms 1 n a chrectorySNXA-WLAN-XAM SXY# d1r boot.ram492,912-SH

3、nos.img4,978,852boot.conf255startup.cfg4,537Used 5,476 ? 556 bytes in 4 files, Free 1,800,192 bytes. SNXA-WLAN-JtAMSXYdel ete 7word specifies a f11esnxa-wlan-xamsxydelete startup.cfgDelete file, Are you sure? (y/n)?NyDelete file ok.5NXA-WLAN-XAMSXYr ereloadrenamesnxa-wlan-xamsxy#rel oad ?afterReload

4、 after a time intecancel Reload cancelyr asnxa-wlan一xam sxyreloadPro匸ess with reboot? y/n y2:中兴交换机恢复出厂设置(原始用户名/密码 /超级密码:admin/zhongxing/zhongxing)zte(cfg)#config tffs(tffs enter file system config mode 进入文件系统配置模式 )zte(cfg-tffs)#lskernel.zsnmpboots.v3 startcfg.txt1,207,388 bytes36 bytes2,999 bytes735

5、,232 bytes free清楚配置文件)zte(cfg-tffs)#rem zte(cfg-tffs)#remove running.cfgSure to remove ? Yes|No:y zte(cfg-tffs)#exit zte(cfg)#reboot 如图所示zte (cfg)conf t zte(cfg-tffs)fllskernel, z1, 257, 012bytessmrpboots. v335bytesst日Ttcfg. txt4, 909byte 日running, cfg204, 951bytes477, 184 bytes freezte (cfg-tffs)fl

6、remzte(cfg-tffs)remove running, cfgSure tci remove ? Yes |No:注:config tffs进入文件配置模式Is查看文件 里面应该有running.cfg和config.txt这2个文件,用remove命令删除这2个文件,然后退出到文件配置模式重启(reboot)就可以 了注意:新交换机可能配置的cfg文件在文件夹中,则需要通过cd xxxx(xxxx为通过Is查 看到的对应文件夹名称),进入文件夹再删除文件。3:华为交换清除配置的命令1) vhuaweireset save 清空配置vhuaweireboot 重启2) reset sa

7、ved-configuration后用rboot,而且在提示是否保存的时候选no 以下清除配置非专业人士请勿操作3) 在设备重启时按 Ctrl+B 进入 BOOT MENU 之后,Press Ctrl-B to enter Boot Menu. 5 Password :缺省为空,回车即可1. Download application file to flash2. Select application file to boot3. Display al l files in flash4. Delete file from Flash5. Modify bootrom password 0.

8、RebootEnter your choice(0-5): 4 选择4 No. File Name File Size(bytes)1 S3026CGSSI.btm 2572242 wnm2.2.2-0005.zip4478273 snmpboots 44 * R0023P01.app29856915 hostkey4286 serverkey5727 vrpcfg.txt1281Free Space : 3452928 bytesThe current application file is R0023P01.appPlease input the file number to delete

9、: 7 选择 7,删除当前的配置文件Do you want to delete vrpcfg.txt now? Yes or No(Y/N)y Delete filedone!BOOT MENU1. Download application file to flash2. Select application file to boot3. Display all files in flash4. Delete file from Flash5. Modify bootrom password 0. RebootEnter your choice(0-5):0选择 0,重启设备注:删除之后交换机

10、就恢复了出厂配置。4: CISCO交换机清除配置的命令1、首先备份之前的配置信息copy flash:config.text config.oldJ851-O6-C375OG-48TS#dir flash:Di rectory of fl ash:/-rwx drwx -rwx-rwx -rwx -rwx37722128 8764425 14 56 1942 108164Jun 28Sep 4Nov 29Jul 21Apr 14Apr 14201220102008201220142014180401101414c375O-i pservi ces-mz.122- c375O-advi pser

11、vi cesk9-mz vl an datprivate-confi g text confi g.text9 4 5 13 35 2 3 5 118 0 2 8 3 310 5 4 4 48 8 8 8 8 8 o o o o o o + + + + + +25.SEE3.122-35total (23417856 bytesfree)32514048 bytesJ851-O6-C375OG-清除交换机配置命令:write erase当然也可以使用 erase startup-config 就可以实现清除了reload重启查看*注意思科交换机vlan有关的配置保存在vlan dat的文件,要一次 清除所有配置可以执行以下配置:erase startup-configdelete vlan datreload

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 办公文档 > 解决方案

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号