для Cisco Cisco ASR 5700
Exec Mode Commands (D-S)
▀ logs checkpoint
▄ Command Line Interface Reference, StarOS Release 17
4098
logs checkpoint
Performs check pointing operations on log data. Check pointing identifies logged data as previously viewed or marked.
Check pointing results in only the log information since the last check point being displayed; check pointed log data is
not available for viewing.
Check pointing results in only the log information since the last check point being displayed; check pointed log data is
not available for viewing.
Individual logs may have up to 50,000 events in the active log. Check pointing the logs will then result in at most
50,000 events being in the inactive log files. This gives a maximum of 100,000 events in total which are available for
each facility logged.
50,000 events being in the inactive log files. This gives a maximum of 100,000 events in total which are available for
each facility logged.
Product
All
Privilege
Security Administrator, Administrator, Operator
Mode
Exec
The following prompt is displayed in the Exec mode:
[local]host_name#
Syntax
logs checkpoint
Usage
Check point log data to a set the log contents to a well know point prior to special activities taking place. This
command may also be a part of periodic regular maintenance to manage log data.
The check pointing of logs moves the current log data to the inactive logs. Only the most recently check
pointed data is retained in the inactive logs. A subsequent check pointing of the logs will result in the prior
check pointed inactive log data being cleared and replaced with the newly check pointed data.
The check pointing of log data moves the active log data to be retained as the inactive log data. This results in
the active log data, if displayed, having no data earlier than the point in time when the check pointing
occurred.
command may also be a part of periodic regular maintenance to manage log data.
The check pointing of logs moves the current log data to the inactive logs. Only the most recently check
pointed data is retained in the inactive logs. A subsequent check pointing of the logs will result in the prior
check pointed inactive log data being cleared and replaced with the newly check pointed data.
The check pointing of log data moves the active log data to be retained as the inactive log data. This results in
the active log data, if displayed, having no data earlier than the point in time when the check pointing
occurred.
Important:
Check pointing of logs should be done periodically to avoid the logs becoming full. Logs which have
50,000 events logged will discard the oldest events first when new events are to be logged.
Example
logs checkpoint