Reference Guide

Brocade Fabric OS Command Reference 1099
53-1004112-02
syslogAdmin
syslogAdmin
Configures a syslog server host.
Synopsis syslogadmin --set -ip ip_address | hostname [-secure [-port port_num]]
syslogadmin --set -facility level
syslogadmin --remove -ip ip_address | hostname
syslogadmin --show -ip | -facility
syslogadmin --help
Description Use this command to configure a switch to forward all error log entries to a remote syslog server, to set the syslog
facility to a specified log file, to remove a syslog server, and to display the list of configured syslog servers. Brocade
switches use the syslog daemon, a process available on most UNIX systems that reads and forwards system
messages to the appropriate log files or users, depending on the system configuration. Up to six servers are
supported.
By default, the switch uses UDP protocol to send the error log messages to the syslog server. The default UDP
port is 514. Use the -secure option to configure the switch to send the error log messages securely using the
Transport Layer Security (TLS) protocol. TLS is an encryption protocol over the TCP/IP network protocol and it
can be used only with the TCP-based destinations (tcp() and tcp6()). The default TLS port is 6514. While enabling
secure syslog mode, you must specify a port that is configured to receive the log messages from the switch.
Notes The execution of this command is subject to Virtual Fabric restrictions that may be in place. Refer to "Using Fabric
OS Commands" and "Command Availability" for details.
Operands This command has the following operands:
--set -ip ip_address | hostname
Configures a syslog server with the specified IP address or hostname. IPv4 and IPv6
addresses are supported. Only one syslog server can be specified at any given time. To
configure more than one server, the command must be executed for each server.
-secure [-port port_num]
Enables secure syslog mode to send the error log messages securely using the TLS
protocol to the syslog server. The secure syslog mode is disabled by default. The -port
operand is optional. If secure mode is enabled and port number is not specified, the default
TLS port number (6514) is set.
--set -facility level
Sets the syslog facility. Valid levels are 0 through 7. The default is 7.
0
LOG_LOCAL0
1
LOG_LOCAL1