Disabling or re-enabling syslog, Specifying a syslog server, Specifying an additional syslog server – Brocade FastIron Ethernet Switch Administration Guide User Manual
Page 223
Example of Syslog messages on a device wih the onboard clock not set
The example shows the format of messages on a device where the onboard system clock is not set.
Each time stamp shows the amount of time the device had been running when the message was
generated. For example, the most recent message, at the top of the list of messages, was generated
when the device had been running for 21 days, seven hours, two minutes, and 40 seconds.
device#show logging
Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
Buffer logging: level ACDMEINW, 38 messages logged
level code: A=alert C=critical D=debugging M=emergency E=error
I=informational N=notification W=warning
Static Log Buffer:
Dynamic Log Buffer (50 entries):
21d07h02m40s:warning:list 101 denied tcp 10.157.22.191(0)(Ethernet 4/18
0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)
19d07h03m30s:warning:list 101 denied tcp 10.157.22.26(0)(Ethernet 4/18
0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)
17d06h58m30s:warning:list 101 denied tcp 10.157.22.198(0)(Ethernet 4/18
0000.001f.77ed) -> 10.99.4.69(http), 1 event(s)
Disabling or re-enabling Syslog
Syslog is enabled by default. To disable it, enter the logging on command at the global CONFIG level.
device(config)#no logging on
Syntax: [no] logging on [ udp-port ]
The udp-port parameter specifies the application port used for the Syslog facility. The default is 514.
To re-enable logging, re-enter the logging on command.
device(config)#logging on
This command enables local Syslog logging with the following defaults:
• Messages of all severity levels (Emergencies - Debugging) are logged.
• Up to 50 messages are retained in the local Syslog buffer.
• No Syslog server is specified.
Specifying a Syslog server
To specify a Syslog server, enter the logging host command.
device(config)#logging host 10.0.0.99
Syntax: logginghost ip-addr | server-name
Specifying an additional Syslog server
To specify an additional Syslog server, enter the logging host command again. You can specify up to
six Syslog servers.
device(config)#logging host 10.0.0.99
Syntax: logginghost ip-addr | server-name
Disabling or re-enabling Syslog
FastIron Ethernet Switch Administration Guide
223
53-1003075-02