09-24-2009 12:26 AM
Hi ALL:
I am new to this switch and having some problem to check if the log messages are configured correctly.
I took the output of the following commands
show logging console
show logging info
show logging internal info
show logging last 40
show logging level 2
show logging module
show logging monitor
show logging nvram 5
show logging pending
show logging pending-diff
show logging server
show logging session
show logging status
show logging timestamp
from the out it seems that console logging is enable but i am not getting the logs,what i have to do.
Chao
Vishwa
09-24-2009 12:28 AM
09-24-2009 02:58 PM
hi Vishwa,
console logging is enabled by default (and the 'sh logging' output you included shows that).
the default howvever is to only log 'critical' messages:
you can change that with "conf t; logging console (level)".
you can also control the level of detail that each 'component' creates log messages at, e.g. if you wanted 'informative' LACP messages then you'd have to also do "conf t; logging level lacp 6" too.
cheers,
lincoln.
09-24-2009 08:40 PM
Hi Lin,
Thanks for the reply.
SO you are saying that i should be able to see log messages (critical)on the console and there is no issue with the configuration of logging.
Regards
Vishwa
09-24-2009 08:45 PM
yes - you got it. by default, only "critical" messages go to the console (serial).
if you wish less critical messages to go to the console, configure that with "logging console (level)". you'll also need to configure the severity of messages 'logged' on a per 'function' basis. (e.g. LACP as i provided in the last email).
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