Description

Generate an internal event, based on a time interval or the time of day.

Symptoms

To provide an example of generating an internel event based on a time interval or the time of day.

Solution

The following configuration generates an internal event, based on a time interval or the time of day.

show configuration event-options
generate-event {
     clear-dhcp-event time-of-day "01:59:00 -0700";
     }
policy clear-dhcp-policy {
     events clear-dhcp-event;
     then {
         execute-commands {
         commands {
             "clear system services dhcp binding";
         }
     }
}


 With the above configuration the command clear system services dhcp binding will be executed every day at 01:59:00.

The actual execute command can be adapted as per requirement.  See links below for additional information.

Related Information