日期:2015-08-04  浏览次数:4278 次

Cisco 3560交换机在配置为三层交换机后恢复出厂设置方法:

qls207# en     (*****进入特权模式*****)

qls207#write erase     (*****清除配置*****)

Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]回车

[OK]

Erase of nvram: complete

qls207#

*Mar  1 00:02:20.618: %SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram

qls207#

qls207#reload

Proceed with reload? [confirm]回车

 

*Mar  1 00:03:04.272: %SYS-5-RELOAD: Reload requested by console. Reload reason:

 Reload command

Using driver version 1 for media type 1

Base ethernet MAC Address: 08:17:35:7d:96:00

Xmodem file system is available.

The password-recovery mechanism is enabled.

Initializing Flash...

mifs[2]: 0 files, 1 directories

mifs[2]: Total bytes     :    3870720

mifs[2]: Bytes used      :       1024

mifs[2]: Bytes available :    3869696

mifs[2]: mifs fsck took 0 seconds.

mifs[3]: 388 files, 7 directories

mifs[3]: Total bytes     :   27998208

mifs[3]: Bytes used      :   12858368

mifs[3]: Bytes available :   15139840

mifs[3]: mifs fsck took 6 seconds.

...done Initializing Flash.

done.

Loading "flash:/c3560-ipbasek9-mz.122-50.SE1/c3560-ipbasek9-mz.122-50.SE1.bin"..

.@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

@@@@@@@@@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@@

File "flash:/c3560-ipbasek9-mz.122-50.SE1/c3560-ipbasek9-mz.122-50.SE1.bin" unco

mpressed and installed, entry point: 0x3000

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-IPBASEK9-M), Version 12.2(50)SE1, RELE

ASE SOFTWARE (fc2)

Copyright (c) 1986-2009 by Cisco Systems, Inc.

Compiled Mon 06-Apr-09 08:00 by amvarma

Image text-base: 0x00003000, data-base: 0x01900000

 

Initializing flashfs...

Using driver version 1 for media type 1

mifs[3]: 0 files, 1 directories

mifs[3]: Total bytes     : 3870720

mifs[3]: Bytes used      : 1024

mifs[3]: Bytes available : 3869696

mifs[3]: mifs fsck took 0 seconds.

mifs[3]: Initialization complete.

 

mifs[4]: 388 files, 7 directories

mifs[4]: Total bytes     : 27998208

mifs[4]: Bytes used      : 12858368

mifs[4]: Bytes available : 15139840

mifs[4]: mifs fsck took 1 seconds.

mifs[4]: 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

 

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-C3560V2-24TS (PowerPC405) processor (revision F0) with 122880K/8184K by

tes of memory.

Processor board ID FDO1446V11K

Last reset from power-on

1 Virtual Ethernet interface

24 FastEthernet interfaces

2 Gigabit Ethernet interfaces

The password-recovery mechanism is enabled.

 

512K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address       : 08:17:35:7D:96:00

Motherboard assembly number     : 73-11765-08

Power supply part number        : 341-0328-02

Motherboard serial number       : FDO14461EHU

Power supply serial number      : DCA1445M0SR

Model revision number           : F0

Motherboard revision number     : A0

Model number                    : WS-C3560V2-24TS-S

System serial number            : FDO1446V11K

Top Assembly Part Number        : 800-31050-04

Top Assembly Revision Number    : B0

Version ID                      : V04

CLEI Code Number                : COMP900ARA

Hardware Board Revision Number  : 0x03

 

 

Switch Ports Model              SW Version            SW Image

------ ----- -----              ----------            ----------

*    1 26    WS-C3560V2-24TS    12.2(50)SE1           C3560-IPBASEK9-M

 

 

 

 

Press RETURN to get started!

 

 

*Mar  1 00:00:37.664: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha

nged state to down

*Mar  1 00:00:38.956: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for typ

e vlan

*Mar  1 00:01:00.574: %SYS-5-RESTART: System restarted --

Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(50)SE1, RELE

ASE SOFTWARE (fc2)

Copyright (c) 1986-2009 by Cisco Systems, Inc.

Compiled Mon 06-Apr-09 08:00 by amvarma

 

 

         --- System Configuration Dialog ---

 

Enable secret warning

----------------------------------

In order to access the device manager, an enable secret is required

If you enter the initial configuration dialog, you will be prompted for the enab

le secret

If you choose not to enter the intial configuration dialog, or if you exit setup

 without setting the enable secret,

please set an enable secret using the following CLI in configuration mode-

enable secret 0 <cleartext password>

----------------------------------

Would you like to enter the initial configuration dialog? [yes/no]:

% Please answer 'yes' or 'no'.

Would you like to enter the initial configuration dialog? [yes/no]: n

Switch>

Switch>

Switch>

Switch>

Switch>

Switch>

Switch>en

Switch#show run

Building configuration...

 

Current configuration : 1305 bytes

!

version 12.2

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname Switch

!

boot-start-marker

boot-end-marker

!

!

no aaa new-model

system mtu routing 1500

ip subnet-zero

!

!

!

!

!

!

!

!

!

!

spanning-tree mode pvst

spanning-tree etherchannel guard misconfig

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

!

!

interface FastEthernet0/1

!

interface FastEthernet0/2

!

interface FastEthernet0/3

!

interface FastEthernet0/4

!

interface FastEthernet0/5

!

interface FastEthernet0/6

!

interface FastEthernet0/7

!

interface FastEthernet0/8

!

interface FastEthernet0/9

!

interface FastEthernet0/10

!

interface FastEthernet0/11

!

interface FastEthernet0/12

!

interface FastEthernet0/13

!

interface FastEthernet0/14

!

interface FastEthernet0/15

!

interface FastEthernet0/16

!

interface FastEthernet0/17

!

interface FastEthernet0/18

!

interface FastEthernet0/19

!

interface FastEthernet0/20

!

interface FastEthernet0/21

!

interface FastEthernet0/22

!

interface FastEthernet0/23

!

interface FastEthernet0/24

!

interface GigabitEthernet0/1

!

interface GigabitEthernet0/2

!

interface Vlan1

 no ip address

!

ip classless

ip http server

ip http secure-server

!

!

control-plane

!

!

line con 0

line vty 5 15

!

end

 

Switch#