Logging set syslog – Allied Telesis AT-S97 User Manual
Page 119
AT-S85 and AT-S97 Management Software Command Line Interface User’s Guide
119
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 0.0.0.0.
facility-code
Specifies a facility level for the event messages as they are
sent to a syslog server. The range is 0 to 23. The default is
1.
Privilege Levels
Administrator and read-write.
Description
This command specifies the IP address of a syslog server and a facility
code for the events.
The HOST parameter specifies the IP address of a syslog server.
The FACILITY-CODE parameter adds a facility level to the events as they
are sent to a syslog server. The 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