Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Very Important:how to remove login

help me out in this:

i am doing some testing on router for ISDN caller ID.after testing i want that nobody should see what commands i have given on the router, even if i have removed all commands. is there any command like clear login??

plz help me out

9 REPLIES
Bronze

Re: Very Important:how to remove login

The default command histroy buffer size I believe is 20 commands. I really dont know if it can be erased.

What you can do is execute 20 commands like

ping 1.1.1.1

sh ver

and 18 other not so "confidential" commands and fill up the buffer :)

You can view what is in the buffer using the command "history" or hitting the up arrow key (recall previous command)

The best way to ensure your objective would be reloading the router as this would clear all buffers in memory.

HTH

Please rate posts that help.

Regards

Arvind

Purple

Re: Very Important:how to remove login

Hi,

You can start by doing a 'clear logging'.

Once you log out of the router on any terminal or console line, anyone else logging in will not be able to recall any commands that you have entered.

Just hope that commands are not being loggged to a syslog server !

Hope that helps - pls rate the post if it does.

Paresh

Bronze

Re: Very Important:how to remove login

Hey I dint know that!! :D

10x

Arvind

Purple

Re: Very Important:how to remove login

That, of course, only works as long as you have not forgotten to remove any configuration commands that you had entered during the session :-)

New Member

Re: Very Important:how to remove login

we have syslog server.

is there any way these commands will not be reflected in syslog server???

Bronze

Re: Very Important:how to remove login

You will have to have administrative access to the syslog server to be able to delete logs from it.

HTH

Please rate posts that help

Regards

Arvind

Purple

Re: Very Important:how to remove login

If your config is set up to log commands (which is not default behaviour), then what you can do is remove the config statements that enable that when you start playing with the box and then put them back in once you are done.

Once something is written to a syslog server, it stays written unless you have access to the server and can edit the log files.

Hope that helps - pls rate the post if it does.

Paresh

Silver

Re: Very Important:how to remove login

Hi there Paresh (and the original questioneer),

Just a clarification.. I believe the command history (a somewhat limited, but yet extensive) is logged anyway in the router and will be displayed in a crashinfo file. I'm not entirely sure if it's possible to use the "write core" command to get this info or if the router actually needs to crash on it's own..

Did it help? If so, please rate it.

New Member

Re: Very Important:how to remove login

hi,

when u are playing with the box make sure that u issue no logging comand in the configuration mode so that ur command will not log to any server & once u are done put the logging back to the syslog

regards

Haris

pls rate the post if it helps.......

214
Views
3
Helpful
9
Replies
CreatePlease to create content