Log Command Reference
286 7705 SAR OS System Management Guide
to session
Syntax to session
Context config>log>log-id
Description This command is one of the commands used to specify the log ID destination. This parameter is
mandatory when configuring a log destination.
This command instructs the events selected for the log ID to be directed to the current console or telnet
session. This command is only valid for the duration of the session. When the session is terminated,
the log ID is removed. A log ID with a session destination is not saved in the configuration file.
The source of the data stream must be specified in the from command prior to configuring the
destination with the to command.
The to command cannot be modified or re-entered. If the log destination needs to be changed or if the
maximum size of an SNMP log or memory log needs to be modified, the log ID must be removed then
recreated.
Default No destination is specified.
to snmp
Syntax to snmp [size]
Context config>log>log-id
Description This command is one of the commands used to specify the log ID destination. This parameter is
mandatory when configuring a log destination.
This command instructs the alarms and traps to be directed to the snmp-trap-group associated with
the log-id.
A local circular memory log is always maintained for SNMP notifications sent to the specified
snmp-trap-group for the log-id.
The source of the data stream must be specified in the from command prior to configuring the
destination with the to command.
The to command cannot be modified or re-entered. If the log destination needs to be changed or if the
maximum size of an SNMP log or memory log needs to be modified, the log ID must be removed then
recreated.
Default No destination is specified.
Parameters size — defines the number of events stored in this memory log
Values 50 to 1024
Default 100