cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1640
Views
0
Helpful
10
Replies

write erase doesn't erase sh run

robertkwild
Spotlight
Spotlight

Hi all,

I've done a

wr erase

After that did a

reload

Asks me to reload so press enter and then it reloads all stacks

Initial configuration dialog - I press no

Auto install - I press no

Then I run command "sh run" and I expect to see no configs but I do

also when running command "sh switch" the switches in the stack still hold the same priority

Am I missing something

Thanks,

Rob

10 Replies 10

pman
Spotlight
Spotlight

Is the stack cable still connected? check it.

also use this:

no switch <stack-member-number> provision

If you remove a provisioned switch from the switch stack, the configuration associated with the removed stack member remains in the running configuration as provisioned information. To completely remove the configuration

 

 

Reza Sharifi
Hall of Fame
Hall of Fame

Hi,

Make sure your config register is 0x2102 before reloading.

HTH

So I reload to config 2102 and then if I do wr erase it will work, even if all switches still in stack

Before you do anything, make sure your config register is 0x2102

If it is not, change it to 0x2102, erase the config for the whole stack from the master switch and then reload the entire stack.

 

HTH

how do i go into 0x2102

show version should show you the current config register.

If you need to change it follow this:

config t

config-register 0x2102

exit

wr

Verify with "show version" It should say that after the next reboot the config register will be 2102

Now you can erase the config and reload the stack.

HTH

 

ok cool thanks @Reza Sharifi and after im in2102 do i need to go back into the other config register i was in before or not?

ok i did what you said @Reza Sharifi and when it reloads and comes back the config reg is still 0x102

In the original post Rob says " I run command "sh run" and I expect to see no configs" Am I correct in assuming that this means that he expects an absolutely empty config? That is not how it works. Even with no user configuration there are certain things (like interface names and default configurations) that show up in the "empty" config.

 

HTH

Rick

Leo Laohoo
Hall of Fame
Hall of Fame

@robertkwild wrote:

Then I run command "sh run" and I expect to see no configs but I do


Yes, there is. 
Even a switch, fresh from the box, will have default config.  I believe this is what you are seeing, the default config.

Review Cisco Networking for a $25 gift card