Diagnostics
12.6 Syslog Client
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
945
12.6.2
Commands in the Events configuration mode
This section describes commands that you can call up in the EVENTS configuration mode.
In the Global configuration mode, enter the
events
command to change to this mode.
Commands relating to other topics that can be called in the Global configuration mode can
be found in the relevant sections.
●
If you exit the EVENTS configuration mode with the
exit
command, you return to the
Global configuration mode.
●
If you exit the EVENTS configuration mode with the
end
command, you return to the
Privileged EXEC mode.
12.6.2.1
syslogserver
Description
With this command, you configure the Syslog server.
Requirement
You are in the EVENTS configuration mode.
The command prompt is as follows:
cli(config-events)#
Syntax
Call up the command with the following parameters:
syslogserver { ipv4 <ucast_addr> | fqdn-name <FQDN> | ipv6 <ip6_addr>} [<port(1-
65535)>]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ipv4
Keyword for an IPv4 address
-
ucast_addr
IPv4 unicast address of the Syslog
server
Enter a valid IPv4 address.
fqdn-name
Keyword for a domain name
-
FQDN
Domain name (Fully Qualified Domain
Name)
Maximum of 100 characters
ipv6
Keyword for an IPv6 address
-
ip6_addr
IPv6 address of the Syslog server
Enter a valid IPv6 address.
port
Port of the Syslog server on which the
messages are received
0 … 65535
Default: 514
For information on names of addresses and interfaces, refer to the section "Interface
identifiers and addresses (Page 42)".
If you do not select any parameters from the parameter list, the default value is used.