Logging set syslog – Allied Telesis AT-S97 User Manual
Page 135

AT-S85 and AT-S97 Management Software User’s Guide
135
LOGGING SET SYSLOG
Syntax
logging set syslog [host=
ipaddress
] [facility-code=
value
]
Parameters
host
Specifies the IP address of a syslog server. To remove an
IP address without assigning a new address, specify the
default value of 0.0.0.0.
facility-code
Specifies a facility level to add to the event messages as
they are sent to a syslog server. The range is 0 to 23. The
default value is 0.
Privilege Levels
Administrator and read-write.
Description
This command is used to specify an IP address of a syslog server and a
facility code for the events.
The HOST parameter specifies an IP address of a syslog server. You can
enter only one IP address.
The FACILITY-CODE parameter adds a facility level to the events as they
are sent to a syslog server. A facility level is a numerical code commonly
used to group entries on the syslog server according to the source network
device. You can specify only one facility level. Refer to RFC 3164 for the
facility code definitions.
Examples
This command specifies the IP address of the syslog server as
149.22.22.44 and sets the facility code to 16 (local0):
logging set syslog host=149.22.22.44 facility-code=16
This command designates the IP address of the syslog server as
149.55.66.7:
logging set syslog host=149.55.66.7
This command sets the facility code for the messages to 21 (local5):
logging set syslog facility-code=21