
xStack
show syslog
Purpose | Used to display the syslog protocol status as enabled or disabled. |
Syntax | show syslog |
Description | The show syslog command displays the syslog status as |
| enabled or disabled. |
Parameters | None. |
Restrictions | None. |
|
|
Example usage:
To display the current status of the syslog function:
Command: show syslog
| Syslog Global State: Enabled | |
| ||
|
|
|
| ||
create syslog host | ||
|
| |
Purpose | Used to create a new syslog host. | |
Syntax | create syslog host [<index | |
| all] facility [local0 local1 local2 local3 local4 local5 local6 | |
| local7] udp_port <udp_port_number> ipaddress <ipaddr> | |
| state [enabled disabled] |
Description Parameters
The create syslog host command is used to create a new syslog host.
<index
severity − Severity level indicator, as shown below:
Bold font indicates that the corresponding severity level is currently supported on the Switch.
Numerical Severity Code
0Emergency: system is unusable
1Alert: action must be taken immediately
2Critical: critical conditions
3Error: error conditions
4Warning: warning conditions
5Notice: normal but significant condition
6Informational: informational messages
7Debug:
informational − Specifies that informational messages will be sent to the remote host. This corresponds to number 6 from the list above.
warning − Specifies that warning messages will be sent to the remote host. This corresponds to number 4 from the list above.
all − Specifies that all of the currently supported syslog messages that are generated by the Switch will be sent to the remote host.
65