included in the logged message at the remote file and can help
identify which machine logged the message.
timestamp [timeofday or uptime or off]
Allows you to turn on message timestamping so that either the time of day
or uptime (number of hours, minutes, and seconds, but no date, since the
router was last initialized) appears next to each message. Set timestamp
can also be turned off.
Use the set timestamp command to enable one of the following timestamp
options.
timeofday
Adds an HH:MM:SS prefix to each ELS message indicating the
time of the occurrence during a 24-hour day.
uptime Adds an HH:MM:SS prefix to each ELS message indicating the
time of the occurrence during a 100-hour cycle. After 100 hours of
uptime, the uptime counter returns to zero to begin another
100-hour cycle.
off Turns offthe ELS timestamp prefix.
trace Use the set trace command to configure tracing options. If you configure
tracing options from the monitoring environment, the changes take effect
immediately.They return to their previously configured settings when the
device is rebooted.
Note: Tracing should be used only under the direction of trained support
personnel. Tracing, especially when used with disk-shadowing
enabled, uses device resources and can impact overall performance
and throughput.
Syntax:
set trace decode
default-bytes-per-pkt
max-bytes-per-pkt
off
on
reset
stop-event
wrap-mode
decode
off/on
Turns packet decoding on or off. Packet decoding is not supported
by all components.
default-bytes-per-pkt
bytes
Sets the default number of bytes traced. This value is used if a
value is not specified by the component doing the tracing.
max-bytes-per-pkt
bytes
Sets the maximum number of bytes traced for each packet.
off Disables packet tracing.
ELS Configuration Commands (Talk 6)
Chapter13. Configuring and Monitoring the Event Logging System (ELS) 179
|
|
|
|
|
|
|
|
|
||
||
||
||
||
||
||
||
|
|
|
|
|
|
|
|
||