Cat 6500 - Removing Module

Unanswered Question
Nov 28th, 2006
User Badges:

After removing module from 6509 chassis, is there any way to clear the config for that module short of reloading switch (this is IOS, not CatOS, so clear config command doesn't work).? Thanks.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
ankbhasi Tue, 11/28/2006 - 07:57
User Badges:
  • Cisco Employee,

Hi Friend,

The shortcut is run the command "sh run" and copy it on a wordpad.

Remove the configuration which you don't want and again select everything and copy it and then finally paste it on your supervisor config prompt and finally wr mem.

Try this and update if it helps.


j.bryant Tue, 11/28/2006 - 08:25
User Badges:

Thanks for the response, but I can't see how this could possibly clear out this config information.

ankbhasi Tue, 11/28/2006 - 08:42
User Badges:
  • Cisco Employee,

Hi Friend,

This will because when you have the config on wordpad you can manually delete whatever you want on wordpad and when you paste it back and do wr mem it will be back into the nvram also and will display on running config also.

Thats what just give it a try and update the status.


j.bryant Tue, 11/28/2006 - 08:52
User Badges:

That would work if you erase the entire running configuration before pasting it back in. I can't risk doing that on a live switch.


sergey.zelenev@... Tue, 11/28/2006 - 23:39
User Badges:

how about doing

#show run

, copying it to notepad, delete everything that you don't want to remove in notepad and for the rest just negate the commands (put "no " in front of them), then just paste the result to switch

another option would be

#copy run tftp (or #copy start tftp). correct everything in tftp'd file then tftp it back with

#copy tftp start

#copy start run

i prefer using xmodem instead of tftp as it doesn't require the device to have a valid ip, but it is not supported in some versions of IOS

ps. don't forget about vlans.dat if you are changing vlans


This Discussion