255
Examples
# Create a CLI-defined policy and enter its view.
<Sysname> system-view
[Sysname] rtm cli-policy test
Related commands
commit
rtm environment
Use rtm environment to configure an EAA environment variable.
Use undo rtm environment to delete a user-defined EAA environment variable.
Syntax
rtm environment var-name var-value
undo rtm environment var-name
Default
No user-defined EAA environment variables exist.
The system provides the variables in Table 60. Y
ou cann
ot create, delete, or modify these
system-defined variables.
Table 60 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 member device that joins or leaves the IRF fabric.
_subslot ID of the subslot where subcard hot-swapping occurs.
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: