0% found this document useful (0 votes)
93 views

CCNPv6 SWITCH Lab1-1 Clearing Switches Instructor

CCNPv6 SWITCH Lab1-1 Clearing Switches Instructor

Uploaded by

jayb5abi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views

CCNPv6 SWITCH Lab1-1 Clearing Switches Instructor

CCNPv6 SWITCH Lab1-1 Clearing Switches Instructor

Uploaded by

jayb5abi
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

All contents are Copyright 19922010 Cisco Systems, Inc. All rights reserved.

This document is Cisco Public Information. Page 1 of 5


CCNPv6 SWITCH

Chapter 1 Lab 1-1, Clearing a Switch Instructor Version
Topology

Objecti ve
Clear the configuration of a standalone switch to prepare it for a new lab.
Background
When working with a switch that has been previously configured, any new commands entered will be merged
with the existing configuration, causing unpredictable results. In this lab you prepare a Catalyst 2960 or 3560
switch for use with a lab. This is accomplished by erasing the startup configuration from NVRAM and deleting
the VLAN database.
Note: This lab uses the Cisco WS-C2960-24TT-L switch with the Cisco IOS image c2960-lanbasek9-mz.122-
46.SE.bin and the Catalyst 3560-24PS switch with the Cisco IOS image c3560-advipservicesk9-mz.122-
46.SE.bin. Other switches (such as a 2950 or a 3550), and Cisco IOS Software versions can be used if they
have comparable capabilities and features. Depending on the switch model and Cisco IOS Software version,
the commands available and output produced might vary from what is shown in this lab.
Required Resources
You may use one of the following switches or a comparable one with this lab:
Cisco 2960 with the Cisco IOS Release 12.2(46)SE C2960-LANBASEK9-M image or comparable
Cisco 3560 with the Cisco IOS Release 12.2(46)SE C3560-ADVIPSERVICESK9-M image or
comparable
Console cable
CCNPv6 SWITCH

All contents are Copyright 19922010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 2 of 5
Step 1: Connect to the switch console port and enter privileged EXEC mode.
From a computer running a terminal emulation program, connect to the console port of the switch that you
want to clear using a console cable. You should see a console prompt that includes the switchs hostname,
followed by a > or #. The default switch hostname is Switch.
Swi t ch>
or
Swi t ch#
If the prompt ends with a >, you are not in privileged EXEC mode. To enter privileged EXEC mode, type
enable. This might require a password. If you are in a configuration mode, type exit or end.
If not enabled:
Swi t ch> enable
Swi t ch#
If in global configuration mode:
Swi t ch( conf i g) # exit
Swi t ch#
Step 2: Delete the VLAN database file.
In privileged EXEC mode, type delete flash:vlan.dat and press Enter. If you are asked to confirm, press
Enter until you are back to the original prompt.
Swi t ch# delete flash:vlan.dat
Del et e f l ash: vl an. dat ? [ conf i r m]
Swi t ch#
Step 3: Erase the startup config from NVRAM.
After deleting the vlan.dat file, you can erase the startup configuration on the switch by typing erase startup-
config. You again have to press Enter to confirm.
Swi t ch# erase startup-config
Er asi ng t he nvr amf i l esyst emwi l l r emove al l conf i gur at i on f i l es! Cont i nue?
[ conf i r m]
[ OK]
Er ase of nvr am: compl et e
Swi t ch#
Step 4: Reload the device, but do not save the system configuration if prompted.
After clearing the switch configuration, reload the switch by typing reload and pressing Enter. If you are asked
whether to save the current configuration, answer no. Press Enter to confirm. The switch starts reloading.
Your output might look different depending on the switch model that you are using. This step might take a few
minutes, because the switch needs time to reload.
Swi t ch# reload

Syst emconf i gur at i on has been modi f i ed. Save? [ yes/ no] : no
Pr oceed wi t h r el oad? [ conf i r m]

%SYS- 5- RELOAD: Rel oad r equest ed by consol e. Rel oad Reason: Rel oad command.
Base et her net MAC Addr ess: 00: 1b: 0c: 6d: 8f : 00
Xmodemf i l e syst emi s avai l abl e.
The passwor d- r ecover y mechani smi s enabl ed.
CCNPv6 SWITCH

All contents are Copyright 19922010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 3 of 5
I ni t i al i zi ng Fl ash. . .
f l ashf s[ 0] : 606 f i l es, 20 di r ect or i es
f l ashf s[ 0] : 0 or phaned f i l es, 0 or phaned di r ect or i es
f l ashf s[ 0] : Tot al byt es: 32514048
f l ashf s[ 0] : Byt es used: 10336256
f l ashf s[ 0] : Byt es avai l abl e: 22177792
f l ashf s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i ct ed Ri ght s Legend

Use, dupl i cat i on, or di scl osur e by t he Gover nment i s
subj ect t o r est r i ct i ons as set f or t h i n subpar agr aph
( c) of t he Commer ci al Comput er Sof t war e - Rest r i ct ed
Ri ght s cl ause at FAR sec. 52. 227- 19 and subpar agr aph
( c) ( 1) ( i i ) of t he Ri ght s i n Techni cal Dat a and Comput er
Sof t war e cl ause at DFARS sec. 252. 227- 7013.

ci sco Syst ems, I nc.
170 West Tasman Dr i ve
San J ose, Cal i f or ni a 95134- 1706



Ci sco I OS Sof t war e, C2960 Sof t war e ( C2960- LANBASEK9- M) , Ver si on 12. 2( 46) SE, RELE
ASE SOFTWARE ( f c2)
Copyr i ght ( c) 1986- 2008 by Ci sco Syst ems, I nc.
Compi l ed Thu 21- Aug- 08 15: 59 by nachen
I mage t ext - base: 0x00003000, dat a- base: 0x01200000
CCNPv6 SWITCH

All contents are Copyright 19922010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 4 of 5

I ni t i al i zi ng f l ashf s. . .

f l ashf s[ 1] : 606 f i l es, 20 di r ect or i es
f l ashf s[ 1] : 0 or phaned f i l es, 0 or phaned di r ect or i es
f l ashf s[ 1] : Tot al byt es: 32514048
f l ashf s[ 1] : Byt es used: 10336256
f l ashf s[ 1] : Byt es avai l abl e: 22177792
f l ashf s[ 1] : f l ashf s f sck t ook 1 seconds.
f l ashf s[ 1] : I ni t i al i zat i on compl et e. . . . done I ni t i al i zi ng f l ashf s.

POST: CPU MI C r egi st er Test s : Begi n
POST: CPU MI C r egi st er Test s : End, St at us Passed

POST: Por t ASI C Memor y Test s : Begi n
POST: Por t ASI C Memor y Test s : End, St at us Passed

POST: CPU MI C i nt er f ace Loopback Test s : Begi n
POST: CPU MI C i nt er f ace Loopback Test s : End, St at us Passed

POST: Por t ASI C Ri ngLoopback Test s : Begi n
POST: Por t ASI C Ri ngLoopback Test s : End, St at us Passed

POST: Por t ASI C CAM Subsyst emTest s : Begi n
POST: Por t ASI C CAM Subsyst emTest s : End, St at us Passed

POST: Por t ASI C Por t Loopback Test s : Begi n
POST: Por t ASI C Por t Loopback Test s : End, St at us Passed

Wai t i ng f or Por t downl oad. . . Compl et e


Thi s pr oduct cont ai ns cr ypt ogr aphi c f eat ur es and i s subj ect t o Uni t ed
St at es and l ocal count r y l aws gover ni ng i mpor t , expor t , t r ansf er and
use. Del i ver y of Ci sco cr ypt ogr aphi c pr oduct s does not i mpl y
t hi r d- par t y aut hor i t y t o i mpor t , expor t , di st r i but e or use encr ypt i on.
I mpor t er s, expor t er s, di st r i but or s and user s ar e r esponsi bl e f or
compl i ance wi t h U. S. and l ocal count r y l aws. By usi ng t hi s pr oduct you
agr ee t o compl y wi t h appl i cabl e l aws and r egul at i ons. I f you ar e unabl e
t o compl y wi t h U. S. and l ocal l aws, r et ur n t hi s pr oduct i mmedi at el y.

A summar y of U. S. l aws gover ni ng Ci sco cr ypt ogr aphi c pr oduct s may be f ound at :
ht t p: / / www. ci sco. com/ wwl / expor t / cr ypt o/ t ool / st qr g. ht ml

I f you r equi r e f ur t her assi st ance pl ease cont act us by sendi ng emai l t o
expor t @ci sco. com.

ci sco WS- C2960- 24TT- L ( Power PC405) pr ocessor ( r evi si on B0) wi t h 61440K/ 4088K byt
es of memor y.
Pr ocessor boar d I D FOC1104W0G0
Last r eset f r ompower - on
1 Vi r t ual Et her net i nt er f ace
24 Fast Et her net i nt er f aces
2 Gi gabi t Et her net i nt er f aces
The passwor d- r ecover y mechani smi s enabl ed.

64K byt es of f l ash- si mul at ed non- vol at i l e conf i gur at i on memor y.
Base et her net MAC Addr ess : 00: 1B: 0C: 6D: 8F: 00
CCNPv6 SWITCH

All contents are Copyright 19922010 Cisco Systems, Inc. All rights reserved. This document is Cisco Public Information. Page 5 of 5
Mot her boar d assembl y number : 73- 10390- 03
Power suppl y par t number : 341- 0097- 02
Mot her boar d ser i al number : FOC11036013
Power suppl y ser i al number : AZS1103015V
Model r evi si on number : B0
Mot her boar d r evi si on number : C0
Model number : WS- C2960- 24TT- L
Syst emser i al number : FOC1104W0G0
Top Assembl y Par t Number : 800- 27221- 02
Top Assembl y Revi si on Number : C0
Ver si on I D : V02
CLEI Code Number : COM3L00BRA
Har dwar e Boar d Revi si on Number : 0x01


Swi t ch Por t s Model SWVer si on SWI mage
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* 1 26 WS- C2960- 24TT- L 12. 2( 46) SE C2960- LANBASEK9- M
Step 5: When the switch restarts, do not enter the initial configuration dialog, but
terminate autoinstall.
The switch might log messages to the console, such as interfaces coming up and down. When you see the
Press RETURN to get started! prompt, press Enter.
If you are asked to enter an initial configuration dialog, type no. This places you at the user EXEC prompt. If
you accidentally type yes, you can break out of the initial configuration dialog at any time by pressing Ctrl-C. If
you are asked whether you want to terminate autoinstall, press Enter for yes.
Pr ess RETURN t o get st ar t ed! Enter

- - - Syst emConf i gur at i on Di al og - - -

Woul d you l i ke t o ent er t he i ni t i al conf i gur at i on di al og? [ yes/ no] : no

Woul d you l i ke t o t er mi nat e aut oi nst al l ? [ yes] : Enter

You might also like