cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1053
Views
8
Helpful
4
Replies

NEXUS log messages

vishwancc
Level 3
Level 3

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 4

vishwancc
Level 3
Level 3

Missed attachement

ltd
Level 1
Level 1

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.

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

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