As described in Executing Operational Mode Commands, the double dollar sign ($$) notation represents the event that is triggering a policy. Triggering events are those that you configure at the [edit event-options policy policy-name events] hierarchy level.
As described in Correlating Events, you can configure a policy that is executed only if a specified event occurs within a specified time interval after another event. You do this by including the within seconds events statement at the [edit event-options policy policy-name] hierarchy level:
- [edit event-options policy policy-name]
-
events [ events ];
-
within seconds events [ events ];
The policy is executed only if one or more of the events at the [edit event-options policy policy-name events] hierarchy level occur within a configured number of seconds after one or more of the events in the within seconds events statement.
For correlating events, the single dollar sign with the event name ($event) notation represents the most recent event that matches the event name. The dollar sign with the asterisk ($*) notation represents the most recent event that matches any of the correlating events.
For a configuration example, see Representing the Correlating Event in an Event Policy.