Setting syslog parameters – Enterasys Networks 8000/8600 User Manual
Page 107
Enterasys X-Pedition 8000/8600 Getting Started Guide
95
Setting SYSLOG Parameters
Setting SYSLOG Parameters
The CLI can use SYSLOG messages to communicate the following types of messages to a
SYSLOG server:
•
Fatal – Provide information about events that caused the X-Pedition to crash and reset.
•
Error – Provide information about errors.
•
Warning – Warns against invalid configuration information and other conditions that are not
necessarily errors. This is the default.
•
Audit – Audit messages are used as an audit trail to aid in keeping the router secure by reporting
events as they occur and information about the user who caused each event.
•
Informational – Provide informational messages such as status messages (e.g., the SYSLOG
messages that the X-Pedition displays while booting the software and reading the startup
configuration file).
The X-Pedition writes the SYSLOG messages to a SYSLOG daemon on UDP port 514. You can
set the CLI to send all or only messages of specific types. By default the CLI sends warning, error,
and fatal messages (not informational messages) to the specified SYSLOG server.
To specify the SYSLOG server and the types of messages you want the CLI to log on the server,
use the following procedure:
1.
Enter the enable command in the CLI to enter Enable mode.
2.
Use the ping command to verify that the X-Pedition can reach the SYSLOG server.
3.
Enter the configure command in the CLI to enter Configure mode.
4.
If you have not already done so, use the interface add ip command to set the IP address and
netmask for the en0 Ethernet interface.
Note:
The en0 interface is automatically created by the system and is reserved for the
X-Pedition’s management port.
5.
Use the system set syslog command to “add” the SYSLOG server to the X-Pedition, set the
message level, and set the SYSLOG facility.
6.
Enter the show command to verify that the command you entered is listed in the scratchpad
section of the output.
Note:
The other configuration changes made during this CLI session are also listed. Active
changes are listed in the “Running system configuration section” and unactivated changes
are listed in the “Non-committed changes in Scratchpad” section.
7.
To activate the SYSLOG commands, enter the save active command.
system set syslog [server <hostname-or-IPaddr>] [local] [level <level-type>]
[facility <syslog-facility-type>] [source <source-IPaddr>] [buffer-size <size>]