Skip to main content

Log

Monitor log in Telnet / SSH

Switch# terminal [no] monitor

Monitor log in Console

Switch(config)# [no] logging console

Display timestamp in log / debug

localtime: Use local time zone

Switch(config)# service timestamps { log | debug } datetime [localtime]

Log to SysLog server

Reference

Switch(config)# logging <ip>

Limit messages logged to the syslog server

Switch(config)# logging trap <level>

Send log

Switch# send log <message>