Archive-Length - Cisco XR 1200 series Command Reference Manual

Cisco ios xr system monitoring command reference
Table of Contents

Advertisement

Logging Services Commands

archive-length

To specify the length of time that logs are maintained in the logging archive, use the archive-length command
in logging archive configuration mode. To return to the default, use the no form of this command.
archive-length weeks
no archive-length
Syntax Description
weeks
Command Default
weeks: 4 weeks
Command Modes
Logging archive configuration
Command History
Release
Release 3.2
Usage Guidelines
Use the archive-length command to specify the maximum number of weeks that the archive logs are maintained
in the archive. Any logs older than this number are automatically removed from the archive.
Task ID
Task ID
logging
Examples
This example shows how to set the log archival period to 6 weeks:
RP/0/0/CPU0:router(config)# logging archive
RP/0/0/CPU0:router(config-logging-arch)# archive-length 6
OL-24735-01
Length of time (in weeks) that logs are maintained in the archive. Range is 0 to
4294967295.
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
Modification
This command was introduced.
Operations
read, write
archive-length
301

Advertisement

Table of Contents
loading

Table of Contents