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