12-1. Logging

  • Logging is used by the switch to send system messages to a logging facility.

  • Logging messages can be sent to any of four different facilities: the switch console, a file on the switch, Telnet sessions, or a syslog server.

  • Logging history can be maintained in a file to ensure that a record of the messages being sent to Simple Network Management Protocol (SNMP) or syslog servers are kept in case a packet is lost or dropped.

  • Logging displays all error and debug messages by default. The logging level can be set to determine which messages should be sent to each of the facilities.

  • Time stamping logging messages or setting the syslog source address can help in real-time debugging and management. If the time and date are set on a switch, the ...

Get Cisco® Field Manual: Catalyst® Switch Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.