ELS Monitoring Commands (Talk 5)

stop event [subsystem.event# or none]

Speci®es the event subsystem(

.event#) that stops logging. If you have

speci®ed a stop string, the text in the stop string must also match. When

the stop event occurs:

 

1. The next ®ve ELS messages are logged.

2.

Logging stops.

 

3. The system performs the speci®ed ªstop action.º

Logging remains stopped until the next time you issue the set logging on

command or the router reboots.

If you do not specify the stop event when you enter the command, the

system prompts you to enter the stop event. Specifying none disables the

stop event function.

 

Default value: none

 

stop string text or none

 

Speci®es the string to be used in conjunction with the ªstop eventº to stop

logging. If you have not speci®ed a stop event, the system ignores the ªstop

string.º

 

Text can be any ASCII string up to 32 characters in length. If you do not

specify text when you enter the command, the system will prompt you for

the string. Entering none clears the ªstop string.º

Default value: none

 

wrap [on or off]

 

Speci®es whether to stop the log when the buffer is full (off) or to log the

new messages at the beginning of the buffer (on).

Default value: off

 

Tftp

 

 

Use the tftp command to send the ELS message buffer to a remote host as a

formatted ®le. You can also send a ®le that was created with thewrite-buffer

command to a remote host.

 

Syntax:

 

 

tftp

buffer [formatted ] dest_ip_address dest_®lename

buffer [formatted ] dest_ip_address dest_®lename

Speci®es that the ELS message buffer is to be sent to the remote host

indicated by dest_ip_address as ®ledest_®lename.The buffer can be either

formatted. If you do not enter the dest_ip_address and dest_®lename,the

system prompts you for it.

 

View

 

 

Use the view command to view all of the messages or a speci®c number of

messages in the message buffer.

 

Syntax:

 

 

view

all [scroll/noscroll]

 

last [scroll/noscroll number]

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

Page 249
Image 249
IBM SC30-3681-08 manual New messages at the beginning of the buffer on, Command to a remote host, System prompts you for it