Example of Syslog messages on a device whose onboard clock is not set
The example shows the format of messages on a device whose 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.
BigIron RX(config)# show log
Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns)
Static Log Buffer:
Dynamic Log Buffer (50 entries):
21d07h02m40s:warning:list 101 denied tcp 209.157.22.191(0)(Ethernet 4/18
0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s)
19d07h03m30s:warning:list 101 denied tcp 209.157.22.26(0)(Ethernet 4/18
0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s)
17d06h58m30s:warning:list 101 denied tcp 209.157.22.198(0)(Ethernet 4/18
0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s)
Disabling or re-enabling Syslog
Syslog is enabled by default. To disable it, enter the following command at the global CONFIG level.
BigIron RX(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, enter the following command.
BigIron RX(config)# logging on
This command enables local Syslog logging with the following defaults:
•
•
•
Specifying a Syslog server
To specify a Syslog server, enter a command such as the following.
BigIron RX(config)# logging host 10.0.0.99
For backward compatibility, the software reads the old command syntax from the startup
configuration, and converts it to the new command syntax in the running configuration.
Syntax: logging host <ip-addr> | <server-name>
BigIron RX Series Configuration Guide
53-1001810-01
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
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.
Configuring the Syslog service
A
1277