295
_slot
(Centralized devices in standalone mode.) 0.
(Distributed devices.) ID of the slot where card hot-swapping occurs.
(Centralized devices in IRF mode.)
ID of the member device that joins or
leaves the IRF fabric.
_subslot ID of the subslot where a hot swap event 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:
_oid OID that is included in the SNMP notification.
Process:
_process_name Process name.
Views
System view
Predefined user roles
network-admin
Parameters
var-name: Specifies a user-defined EAA environment variable by its name, a case-sensitive string of
1 to 63 characters. The name can contain digits, letters, and the underscore sign (_), but its leading
character cannot be the underscore sign.
var-value: Specifies the variable value.
Usage guidelines
When you define an action, you can enter a variable name with a leading dollar sign
($variable_name) instead of entering a value for an argument. EAA will replace the variable name
with the variable value when it performs the action.
For an action argument, you can specify a list of variable names in the form of
$variable_name1$variable_name2...$variable_nameN.
Examples
# Create an environment variable: set its name to if and set its value to interface.
<Sysname> system-view
[Sysname] rtm environment if interface
rtm scheduler suspend
Use rtm scheduler suspend to suspend monitor policies.
Use undo rtm scheduler suspend to resume monitor policies.
Syntax
rtm scheduler suspend