03-27-2011 01:37 PM - edited 03-06-2019 04:17 PM
Hi Folks
when y issue the command sh logging on the core switch
What is the proper tuning of the looging settings to se every thing in ur terminal monitor,also see the time of the events
03-27-2011 02:53 PM
Hi
There is no "proper"! tuning to se everything in a terminal monitor for many reasons.
I normally log as much as I can to a syslog server. but you need to be aware of the problems that if you try to log to a console it will only log 9600 wich in some systems will generate problems in the system since the logging will fill up if to much is logged to the console.
My general view is the more logging the better, you might not need it right now, but you might need it at some point later.
If you want proper timestamps you have to set up NTP.
Good luck
HTH
03-28-2011 01:16 AM
Hello Hobbe
1)if y change the the clock on ur core switch ,did the servers connected to it affect some how?
3)can u post the proper logging commands,in order to see every things clearly?
03-28-2011 01:37 AM
Hi,
The clock change on any switch or router will not effect to the connected devices. If the switch act as a NTP server in the other cisco devices (routers / switches) then the clock will be replicated to the clients.
Here is the link where you can see few of the loggin commands and descriptions of them.
http://www.cisco.com/en/US/docs/ios_xr_sw/iosxr_r3.0/system_management/command/reference/yr3log.html
Hope this helps you...
Please rate the all helpfull posts.
Regards,
Naidu.
03-28-2011 02:09 AM
Hi Latchu
1)can y post me the commands for logging
2)I Didn't see any logging msg,i wanna see the below
Monitor logging: level debugging, 6 messages logged
Buffer logging: level debugging, 23798 messages logged
Exception Logging: size (4096 bytes)
Trap logging: level errors, 12836 message lines logged
03-28-2011 03:00 AM
Hi,
See the below ones may help you...
Router(config)#logging console ?
<0-7> Logging severity level
alerts Immediate action needed (severity=1)
critical Critical conditions (severity=2)
debugging Debugging messages (severity=7)
emergencies System is unusable (severity=0)
errors Error conditions (severity=3)
filtered Enable filtered logging
guaranteed Guarantee console messages
informational Informational messages (severity=6)
notifications Normal but significant conditions (severity=5)
warnings Warning conditions (severity=4)
xml Enable logging in XML
Please rate the helpfull posts.
Regars,
Naidu.
03-28-2011 03:13 AM
Hi
i m using telnet to device not console
03-28-2011 03:39 AM
Hi Johan,
"logging console" is doesn't mean that you connect to the device through console port. It is a just login session however you connected through telnet or ssh or console port.
Hope this helps you...
Please rate the all helpfull posts.
Regards,
Naidu.
03-28-2011 03:59 AM
Hi,
In addition to the above commands use the below command on u r telnet window.
router#terminal monitor
Thanks
03-28-2011 09:24 PM
Try the following.
switch(config)#service timestamps log datetime localtime
switch(config)#logging buffered 4096 informational
I would also set the the timezone (using Pacific as a reference.)
switch(config)#clock timezone PST -8
switch(config)#clock summer-time PDT recurring
If the switch is able to route to the Internet or a local time server set the NTP server.
switch(config)#ntp server
03-28-2011 11:10 PM
Hi
I would like to state that the best you can do for yourself is to use syslog, if you run windows you can use fx kiwi syslog, and if you are using linux you can use the internal syslog server in the machine.
why ?
well if you start logging stuff and you have some traffic on it you will have alot of traffic clogging up your terminal and it makes working like that jsut about impossible.
so start using a syslog server, thats what I would have done.
The syslog will give you time to process the information and to go back and forth in the loggs to check things out.
Good luck
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide