196
shows all system-defined variables.
Table 14
System-defined EAA environment variables by event type
Variable name
Description
Any event:
_event_id
Event ID.
_event_type
Event type.
_event_type_string
Event type description.
_event_time
Time when the event occurs.
_event_severity
Severity level of an event.
CLI:
_cmd
Commands that are matched.
Syslog:
_syslog_pattern
Log message content.
Hotplug:
_slot
ID of the slot where a card hot-swapping occurs.
_subslot
ID of the subslot where a subcard hot-swaping occurs.The device does not
support this variable.
Interface:
_ifname
Interface name.
SNMP:
_oid
OID of the MIB variable where an SNMP operation is performed.
_oid_value
Value of the MIB variable.
SNMP trap:
_oid
OID that is included in the SNMP notification.
Process:
_process_name
Process name.
User-defined variables
You can use user-defined variables for all types of events.
User-defined variable names can contain digits, characters, and the underscore sign (_), except that
the underscore sign cannot be the leading character.
Configuring a user-defined EAA environment
variable
Configure a user-defined EAA environment variable before you use it in an action.
To configure a user-defined EAA environment variable: