life
To specify the length of time to execute, use the life command in IP SLA schedule configuration mode. To
use the default value, use the no form of this command.
life {forever| seconds}
no life
Syntax Description
Schedules the operation to run indefinitely.forever
Determines the number of seconds the operation actively collects information.
Range is 1 to 2147483647. Default value is 3600 seconds (one hour).
seconds
Command Default
The default value is 3600 seconds.
Command Modes
IP SLA schedule configuration
Command History
ModificationRelease
This command was introduced.Release 3.3.0
Usage Guidelines
Task ID
OperationsTask ID
read, writemonitor
Examples
The following example shows how to use the life command:
RP/0/0/CPU0:router# configure
RP/0/0/CPU0:router(config)# ipsla
RP/0/0/CPU0:router(config-ipsla)# schedule operation 1
RP/0/0/CPU0:router(config-ipsla-sched)# life forever
Related Commands
DescriptionCommand
Configures an IP SLA operation.operation, on page 174
Cisco IOS XR System Monitoring Command Reference for the Cisco XR 12000 Series Router, Release 4.1
154 OL-24735-01
IP Service Level Agreement Commands
life