Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Schedules are optional, but a profile may contain only one schedule.
Any change to a schedule causes all stored data for that operation to be deleted.
Changing a schedule is equivalent to deleting an operation and creating a new operation.
Note
The for duration option must be specified if (and only if) the probe is configured to send multiple packets (or
bursts of packets), using the send packet every or send burst every configuration of the send (SLA) command.
If the send (SLA) command is not configured for the probe, or if send burst once is configured, the for
duration option must not be used. If it is used in those cases, an error is returned.
The for duration option must not exceed the schedule every {week | day | number} option.
When the “first at hh:hh[:ss]” option is used, the configured time is used to calculate an offset after midnight
when the first probe should be sent each day. The offset is calculated by taking the configured time plus the
interval. Thus, probes may be sent before the configured time.
For example, if you configure “schedule every 6 hours first at 11:15,” then the offset after midnight will be
5:15 (11:15 plus 6:00) and probes will be sent each day at 05:15, 11:15, 17:15 and 23:15.
Task ID
OperationsTask ID
read, writeethernet-services
Examples
The following examples show how to schedule operation probes in a profile:
Example 1: Weekly Scheduling on a Specified Day at a Specified Time and Duration
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# ethernet sla
RP/0/RSP0/CPU0:router(config-sla)# profile Prof1 type cfm-loopback
RP/0/RSP0/CPU0:router(config-sla-prof)# schedule every week on Monday at 23:30 for 1 hour
Example 2: Daily Scheduling at a Specified Time and Duration
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# ethernet sla
RP/0/RSP0/CPU0:router(config-sla)# profile Prof1 type cfm-loopback
RP/0/RSP0/CPU0:router(config-sla-prof)# schedule every day at 11:30 for 5 minutes
Example 3: Hourly Scheduling Beginning at a Specified Time
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# ethernet sla
RP/0/RSP0/CPU0:router(config-sla)# profile Prof1 type cfm-loopback
RP/0/RSP0/CPU0:router(config-sla-prof)# schedule every 2 hours first at 13:45:01
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
309
Ethernet OAM Commands on the Cisco ASR 9000 Series Router
schedule (SLA)