2023年7月20日 星期四

Dell N1548 log 相關設定

no logging on Disable all logging except to the console.
no logging buffer Disable logging to the logging buffer.
no logging monitor Disable logging to terminal lines.
no logging console Disable console logging.

logging buffered <0-7>  Set logging severity level for buffer.  (default = 7)
logging console <0-7>   Set logging level severity for console.  (default = 7)
logging monitor <0-7> Set logging level severity for monitor.  (default = 7)
logging trap <0-7> Set logging level severity for traps.  (default = 6)
logging history <0-7> Set logging level severity for history (default = 4)
logging buffered <40960-524288> Set logging buffer size (default = 40960)
logging history size <0-500> Set logging history size.  (default = 1)

logging [[logserver ip]]

其他相關
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)
informational      Informational messages            (severity=6)
notifications        Normal but significant conditions (severity=5)
warnings             Warning conditions                (severity=4)

clear logging — clears the logging buffer.

show logging — displays the logging setting and system messages in the internal buffer.

沒有留言: