24-Port 10/100Mbps Layer 2 Switch w/ 4 Gigabit Ports and 2 Shared Mini-GBIC Slots
20-1
Chapter 20
System Log Command
System Log Command List
copy logs
logging
mailserver
clear logs
show logging
show email alerts
Backup the system log to a remote tftp server
copy logs tftp://ip-address/filename
tftp://ip-address/filename
The IP address the remote tftp server and
the name of the system log file to be
saved.
Global Configuration Mode
The maximum lengths of filename are 32 characters.
switch(config)# copy logs tftp://172.17.0.100/syslog1
This command was introduced
To configure the syslog server settings, and the no form resets all settings.
logging { <ip-address> | buffered <size (1-200)> | console
|facility {local0 | local1 | local2 | local3 | local4 | local5
| local6 | local7| } |trap [{ <level (0-7)> | alerts | critical
| debugging | emergencies | errors |informational | notification
| warnings }] | on }
no logging { <ip-address> | buffered | console | facility | trap
| on }