Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

NEXUS log messages

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

4 REPLIES
New Member

Re: NEXUS log messages

Missed attachement

ltd
New Member

Re: NEXUS log messages

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.

New Member

Re: NEXUS log messages

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

ltd
New Member

Re: NEXUS log messages

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

601
Views
8
Helpful
4
Replies
CreatePlease to create content