Setting up syslog export on Brocade FC-Switches
Browsing through logs of many different devices can be a cumbersome duty. It is much better to aggregate logs from different devices on a dedicated syslog server. To make this possible, a syslog server needs to be registered on the device.
I will show here how to configure a Brocade FibeChannel switch that it will send logs to a syslog server.
Requirements
- FOS 7.4 or higher
- Access to CLI (serial or SSH)
Procedure
Register IP address of syslog server on switch.
syslogadmin --set -ip <syslogserver>
To check status, use the show command.
syslogadmin --show -ip
To revert settings and deregister syslog server from switch use command:
syslogadmin --remove -ip <syslogserver>
Timesync
Timesync with a NTP source is crucial in order to correlate events precisely. Therefore we need to register a NTP server on the (principal) switch.
tsclockserver <IP>
Choosing the local timezone is best in interactive mode.
tstimezone --interactive
Thanks
I have a brocade and I set the syslog but I just recieve login/logout events in my syslog server
I changed facility Item all the way from 0 to 7 but no change
can you help me ?
Firmware version is v7.4.2d
Have you tried setting facility level?
syslogadmin –set -facility level
I haven’t touched FOS for a while.
Depending on FOS version there’s syslogadmin or syslogd commands. Maybe have a look at the reference guide:
https://jp.fujitsu.com/platform/server/primergy/products/note/other/fos-741-messageref.pdf