03-07-2006 08:43 PM - edited 03-03-2019 11:58 AM
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
03-07-2006 08:49 PM
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
03-07-2006 08:51 PM
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
03-07-2006 09:06 PM
Hey I dint know that!! :D
10x
Arvind
03-07-2006 09:11 PM
That, of course, only works as long as you have not forgotten to remove any configuration commands that you had entered during the session :-)
03-07-2006 09:40 PM
we have syslog server.
is there any way these commands will not be reflected in syslog server???
03-07-2006 09:45 PM
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
03-07-2006 09:46 PM
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
03-08-2006 02:33 AM
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.
03-07-2006 10:34 PM
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.......
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: