我发现ROMMON模式下有一个reset,命令但是当我使用之后该命令并没有清除nvram:startup-config和flash:config.text两个文件重启交换机任然会加载这些配置所以还是应该用erase startup-config 来清除配置才保险。
相关结果输出
switch: reset
Are you sure you want to reset the system (y/n)?y
System resetting...
Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 28:93:fe:8d:88:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 459 files, 6 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 32514048
flashfs[0]: Bytes used: 21179392
flashfs[0]: Bytes available: 11334656
flashfs[0]: flashfs fsck took 8 seconds.
...done Initializing Flash.
done.
Loading "flash:c3560-ipservicesk9-mz.122-50.SE4.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
File "flash:c3560-ipservicesk9-mz.122-50.SE4.bin" uncompressed and installed, entry point: 0x1000000
executing...
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(50)SE4,> Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2010 by Cisco Systems, Inc.
Compiled Fri 26-Mar-10 07:31 by prod_rel_team
Image text-base: 0x01000000, data-base: 0x02D00000
Initializing flashfs...
flashfs[1]: 459 files, 6 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 32514048
flashfs[1]: Bytes used: 21179392
flashfs[1]: Bytes available: 11334656
flashfs[1]: flashfs fsck took 2 seconds.
flashfs[1]: Initialization complete....done Initializing flashfs.
Checking for Bootloader upgrade.. not needed
POST: CPU MIC register Tests : Begin
POST: CPU MIC register Tests : End, Status Passed
POST: PortASIC Memory Tests : Begin
POST: PortASIC Memory Tests : End, Status Passed
POST: CPU MIC interface Loopback Tests : Begin
POST: CPU MIC interface Loopback Tests : End, Status Passed
POST: PortASIC RingLoopback Tests : Begin
POST: PortASIC RingLoopback Tests : End, Status Passed
front_end/ (directory)
extracting front_end/fe_type_1 (34760 bytes)
extracting front_end/fe_type_2 (78400 bytes)
extracting front_end/front_end_ucode_info (86 bytes)
extracting ucode_info (76 bytes)
POST: PortASIC CAM Subsystem Tests : Begin
POST: PortASIC CAM Subsystem Tests : End, Status Passed
POST: PortASIC Port Loopback Tests : Begin
POST: PortASIC Port Loopback Tests : End, Status Passed
Waiting for Port download...Complete
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C3560G-48PS (PowerPC405) processor (revision H0) with 131072K bytes of memory.
Processor board> Last reset from power-on
1 Virtual Ethernet interface
52 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 28:93:FE:8D:88:80
Motherboard assembly number : 73-10212-05
Power supply part number : 341-0108-04
Motherboard serial number : FOC14123HQ6
Power supply serial number : DCA1408A4KK
Model revision number : H0
Motherboard revision number : C0
Model number : WS-C3560G-48PS-S
System serial number : FOC1412Y4ZS
Top Assembly Part Number : 800-26845-02
Top Assembly Revision Number : C0
Version> CLEI Code Number : COMXA00ARA
Hardware Board Revision Number : 0x09
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C3560G-48PS 12.2(50)SE4 C3560-IPSERVICESK9-M
Press RETURN to get started!
*Mar 1 00:02:32.722: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to down
*Mar 1 00:02:35.046: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan
*Mar 1 00:02:38.678: %SYS-5-CONFIG_I: Configured from memory by console
*Mar 1 00:02:39.802: %SYS-5-RESTART: System restarted --