3.1.6 System Log Configuration
Configure SysLog Server IP address or domain name. When the mode operation is enabled, the syslog message sends out to syslog server. The syslog protocol is based on UDP communication and is received on UDP port 514 and the SysLog server will not send acknowledgments back sender as UDP is a connectionless protocol and it does not provide acknowledgments. The syslog packet always sends out even if the syslog server does not exist.
System Log configuration commands.
Command Syntax:
logging on
logging host { <ipv4_addr> | <domain_name> }
logging level { informational | notice | warning | error }Argument | Description | |
Parameter |
| The IPv4 address of the log server |
| A valid name consists of a sequence of domain labels separated by period (.), each domain label starting and ending with an alphanumeric character and possibly also containing ‘-’ characters. The length of a domain label must be 63 characters or less. | |
| Severity 6: Informational messages | |
| Severity 5: Normal but significant condition | |
| Severity 4: Warning conditions | |
| Severity 3: Error conditions | |
Default | N.A | |
Mode | Global Configuration mode | |
Usage | Enable SysLog server, specify its address and what level of messages are sent to the SysLog server. To disable the SysLog server, use the | |
Example | Example 1: Enable the SysLog server at 192.168.0.1 with warning level messages. Example 2: Disable the SysLog server. | |
