246
Default
The system provides the variables in
. You cannot create, delete, or modify these
system-defined variables.
Table 57 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 hot swap event occurs.
_subslot
ID of the subslot where a hot swap event occurs. In the current software
version, the device does not suppot 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-Notification:
_oid
OID that is included in the SNMP notification.
Process:
_process_name Process
name.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
var-name
: Specifies an environment variable name, a string of 1 to 63 characters. A user-defined
EAA environment variable name can contain digits, letters, and the underscore sign (_), but its
leading character cannot be the underscore sign.
var-value
: Specifies the variable value.