Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Cat 6500 - Removing Module

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.

5 REPLIES
Cisco Employee

Re: Cat 6500 - Removing Module

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.

Ankur

New Member

Re: Cat 6500 - Removing Module

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

Cisco Employee

Re: Cat 6500 - Removing Module

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.

Ankur

New Member

Re: Cat 6500 - Removing Module

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.

Thanks.

New Member

Re: Cat 6500 - Removing Module

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

203
Views
0
Helpful
5
Replies