Cisco - Catalyst Switch Mill Reset (Ios)


The physical care for inward this department applies to the router cards, the modular or fixed configuration switches, in addition to GL-3 Catalyst series switches running Cisco IOS Software:

·    Router cards

o WS-X4232-L3 (Catalyst 4006/4000)

o RSM/RSFC (Catalyst 5500/5000)

o MSFC/MSM (Catalyst 6500/6000)

·    Catalyst modular switches
o Catalyst 6500/6000
o Catalyst 4500/4000

·    Catalyst fixed configuration switches
o Catalyst 2940
o Catalyst 2950/2955
o Catalyst 2970
o Catalyst 3550
o Catalyst 3560
o Catalyst 3750
o Catalyst 2900XL/3500XL

·    GL-3 Catalyst switches
o Catalyst 2948G-L3
o Catalyst 4908G-L3

Switches running Cisco IOS Software convey a running configuration file in addition to a startup configuration file. The RAM stores the running configuration, in addition to the NVRAM stores the startup configuration. When you lot brand a configuration alter to a switch running Cisco IOS Software, the alter becomes usage of the running configuration. You must salve the configuration changes to the startup configuration; otherwise, the configuration is lost during the side past times side reload or ability outage. This is because you lot lose the running configuration stored inward RAM when you lot reload the switch or plough off the power. To salve the configuration into NVRAM, upshot the write memory ascendency or the copy running-config startup-config command. If you lot create non salve your changes to NVRAM, the changes clear from RAM in addition to are no longer usage of the startup configuration when the switch reloads.

On the Catalyst modular or fixed configuration switches running Cisco IOS Software, a split upwardly file stores the VLAN information. The file is called vlan.dat file in addition to is stored inward NVRAM for modular switches or inward Flash for fixed configuration switches. To reset these switches to mill defaults, you lot involve to delete the startup configuration in addition to the vlan.dat file. To restore the Catalyst 2948G-L3/4908G-L3 switches in addition to router cards to the mill defaults, you lot alone involve to delete the startup configuration file. These switches create non comprise VLAN data because they create non participate inward VLAN Trunk Protocol (VTP).


To reset the switch to mill default, upshot the erase startup-config or write erase command. This ascendency does non clear the kicking variables, such every bit config-register in addition to kicking organisation settings. You tin alter the kicking organisation parameters amongst the boot command. In Catalyst 4500/4000 in addition to 6500/6000 series switches running Cisco IOS Software, you lot tin alter the configuration register value amongst the config-register command.

This illustration shows how to reset a switch running Cisco IOS Software to mill defaults amongst the write erase command:

Cat2950# write erase

Erasing the nvram filesystem volition take all files! Continue? [confirm]y[OK]

Erase of nvram: complete

Cat2950#

Cat2950# reload

 

System configuration has been modified. Save? [yes/no]: n   

 

!--- Do non salve the configuration at this prompt. Otherwise, the switch

!--- reloads amongst the electrical flow running configuration in addition to does non reset to default.

 

Proceed amongst reload? [confirm]y                             

 

2w0d: %SYS-5-RELOAD: Reload requested

 

C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)

Compiled Monday 22-Jul-02 18:57 past times antonino

WS-C2950G-12-EI starting...

 
!--- Output suppressed.

 

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

Base ethernet MAC Address: 00:05:DC:C9:79:00

Motherboard assembly number: 73-5781-08

Motherboard series number: FAB0515A069

Model revision number: 02

Model number: WS-C2950-24

System series number: FAB0517Q00B

 
--- System Configuration Dialog ---

Would you lot similar to last inward the initial configuration dialog? [yes/no]:n

00:00:16: %SPANTREE-5-EXTENDED_SYSID: Extended SysId enabled for type vlan

00:00:21: %SYS-5-RESTART: System restarted --

Cisco Internetwork Operating System Software

IOS (tm) C2950 Software(C2950-I6Q4L2-M)Version 12.1(19)EA1, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2003 past times cisco Systems, Inc.

Compiled Tue 09-Dec-03 00:12 past times yenanh

Press RETURN to larn started!

 
00:00:37: %LINK-5-CHANGED: Interface Vlan1, changed patch to administratively down

00:00:38: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed patch to down

Switch>

Switch>

At this stage, the switch configuration has reset to the mill defaults, amongst the exclusion of the VLAN information.


To reset the VLAN data to the mill defaults, delete the vlan.dat file from the Flash or NVRAM in addition to reload the switch. On the 6500/6000 series switches running Cisco IOS Software, the vlan.dat file is stored inward const_nvram. On the 4500/4000 series switches running Cisco IOS Software, the vlan.dat file is stored inward cat4000_flash:. On the 2940, 2950/2955, 2970, 3550, 3550, 3560, 3570, in addition to 2900XL/3500XL fixed configuration switches, the vlan.dat file is stored inward flash:.

To erase the vlan.dat file on the 6500/6000 switches, upshot the erase const_nvram: command. On the 4500/4000 switches, upshot the erase cat4000_flash: command. On the fixed configuration switches, upshot the delete flash:vlan.dat command.

The illustration steps exhibit how to delete the VLAN data on Catalyst fixed configuration switches. You tin usage the same steps, amongst their respective commands, for the 6500/6000 in addition to 4500/4000 running Cisco IOS Software:

1. To verify the VLAN information, upshot the show vlan command, in addition to to verify the vlan.dat file, upshot the dir command.

2.  Cat2950# show vlan

3.   

4.  VLAN Name                             Status    Ports

5.  ---- -------------------------------- --------- -------------------------------

6.  1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4

7.                                                  Fa0/5, Fa0/6, Fa0/7, Fa0/8

8.                                                  Fa0/9, Fa0/10, Fa0/11, Fa0/12

9.                                                  Fa0/13, Fa0/14, Fa0/15, Fa0/16

10.                                                   Fa0/17, Fa0/18, Fa0/19, Fa0/20

11.                                                   Fa0/21, Fa0/22, Fa0/23, Fa0/24

12.    

13.   2    VLAN0002                         active   

14.   3    VLAN0003                         active   

15.   4    VLAN0004                         active

16.           

17.    

18.   !--- Despite the erase of the startup configuration file,

19.   !--- these user-created VLANs remain.

20.    

21.    

22.   600  VLAN0600                         active   

23.   1002 fddi-default                     active   

24.   1003 token-ring-default               active   

25.   1004 fddinet-default                  active   

26.   1005 trnet-default                    active   

27.    

28.   VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

29.   ---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

30.   1    enet  100001     1500  -      -      -        -    -        1002   1003

31.   2    enet  100002     1500  -      -      -        -    -        0      0  

32.   3    enet  100003     1500  -      -      -        -    -        0      0  

33.   4    enet  100004     1500  -      -      -        -    -        0      0  

34.   600  enet  100600     1500  -      -      -        -    -        0      0  

35.   1002 fddi  101002     1500  -      -      -        -    -        1      1003

36.   1003 tr    101003     1500  1005   -      -        -    srb      1      1002

37.   1004 fdnet 101004     1500  -      -      1        ibm  -        0      0  

38.   1005 trnet 101005     1500  -      -      1        IBM  -        0      0  

39.   Switch# 

40.    

41.    

42.   Cat2950# dir flash:

43.    

44.   !--- On the 4500/4000, upshot the dir cat4000_flash: command.

45.   !--- On the 6500/6000, upshot the dir const_nvram: command.

46.    

47.   Directory of flash:/

48.    

49.   2  -rwx     2487439   Mar eleven 1993 01:25:32  c2950-i6q4l2-mz.121-9.EA1d.bin

50.   3  -rwx         840   Mar xx 1993 09:20:09  vlan.dat 

51.    

52.   !--- This vlan.dat file stores user-configured VLANs.

53.    

54.   4  -rwx     2491435   Mar 08 1993 16:14:13  c2950-mvr.bin

55.   6  -rwx          42   Mar 01 1993 00:07:35  env_vars

56.   7  -rwx         109   Mar eleven 1993 01:23:56  info

57.   8  drwx         640   Mar eleven 1993 01:26:35  html

58.   19  -rwx         109   Mar eleven 1993 01:26:35  info.ver

59.    

60.   7741440 bytes full (1088512 bytes free)

Switch#

61.   Delete the VLAN data from Flash or NVRAM, in addition to reload the switch.

Note: On the 6500/6000 in addition to 4500/4000 running early on versions of Cisco IOS Software, the delete ascendency may non work. Instead, you lot must upshot the ascendency erase const_nvram: or the ascendency erase cat4000_flash:. Do non specify the vlan.dat file inward the ascendency syntax. However, on afterwards versions of Cisco IOS Software, the delete const_nvram:vlan.dat ascendency plant for the 6500/6000, in addition to the delete cat4000_flash:vlan.dat ascendency plant on the 4500/4000.

Cat2950# delete flash:vlan.dat

Delete filename [vlan.dat]?

 

!--- Press Enter.

 

Delete flash:vlan.dat? [confirm]y

 

Cat2950# reload

Proceed amongst reload? [confirm]y

4w5d: %SYS-5-RELOAD: Reload requested

62.   After reload, cheque the VLAN data amongst the show vlan command.

The user-configured VLANs no longer look inward the ascendency output. Only factory-default VLAN data is on the switch.

Cat2950# show vlan

 

VLAN Name                             Status    Ports

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

1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4

                                                Fa0/5, Fa0/6, Fa0/7, Fa0/8

                                                Fa0/9, Fa0/10, Fa0/11, Fa0/12

                                                Fa0/13, Fa0/14, Fa0/15, Fa0/16

                                                Fa0/17, Fa0/18, Fa0/19, Fa0/20

                                                Fa0/21, Fa0/22, Fa0/23, Fa0/24

1002 fddi-default                     active   

1003 token-ring-default               active   

1004 fddinet-default                  active   

1005 trnet-default                    active   

 

VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2

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

1    enet  100001     1500  -      -      -        -    -        0      0  

1002 fddi  101002     1500  -      -      -        -    -        0      0  

1003 tr    101003     1500  -      -      -        -    -        0      0  

1004 fdnet 101004     1500  -      -      -        ieee -        0      0  

1005 trnet 101005     1500  -      -      -        IBM  -        0      0
Switch#

Related Posts

0 Response to "Cisco - Catalyst Switch Mill Reset (Ios)"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel