Default Setting
Flash: errors (level 3 - 0)
RAM: debugging (level 7 - 0)
Command Mode
Global Configuration
Command Usage
The message level specified for flash memory must be a higher priority (i.e.,
numerically lower) than that specified for RAM.
Example
Console(config)#logging history ram 0
Console(config)#
logging host
This command adds a syslog server host IP address that will receive logging
messages. Use the no form to remove a syslog server host.
Syntax
logging host host-ip-address [port udp-port]
no logging host host-ip-address
Default Setting
UPD Port: 514
Command Mode
Global Configuration
Table 20: Logging Levels
Level
Severity Name
7
debugging
6
informational
5
notifications
4
warnings
3
errors
2
critical
1
alerts
0
emergencies
host-ip-address - The IPv4 or IPv6 address of a syslog server.
udp-port - UDP port number used by the remote server. (Range: 1-65535)
– 127 –
Chapter 4
| System Management Commands
Description
Debugging messages
Informational messages only
Normal but significant condition, such as cold start
Warning conditions (e.g., return false, unexpected return)
Error conditions (e.g., invalid input, default used)
Critical conditions (e.g., memory allocation, or free memory
error - resource exhausted)
Immediate action needed
System unusable
Event Logging