ELS Con®guration Commands (Talk 6)

included in the logged message at the remote ®le 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 pre®x to each ELS message indicating the time of the occurrence during a 24-hour day.

uptime

Adds an HH:MM:SS pre®x 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 off the ELS timestamp pre®x.

trace Use the set trace command to con®gure tracing options. If you con®gure

tracing options from the monitoring environment, the changes take effect

immediately. They return to their previously con®gured 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 speci®ed 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.

 

Chapter 13. Con®guring and Monitoring the Event Logging System (ELS) 179

Page 215
Image 215
IBM SC30-3681-08 Timestamp timeofday or uptime or off, Timeofday, Syntax Set trace, Decode off/on, Max-bytes-per-pkt bytes