NEXUS log messages

Unanswered Question
Sep 24th, 2009


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.



I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (2 ratings)
ltd Thu, 09/24/2009 - 14:58

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.



vishwancc Thu, 09/24/2009 - 20:40

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.



ltd Thu, 09/24/2009 - 20:45

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).


This Discussion