•
sysName.0
•
sysLocation.0
The table below shows the built-in variables, in which the values retrieved from the SNMP getID operation
are stored.
Table 162: Built-in Variables for action info type snmp getid Command
DescriptionBuilt-in Variable
The OID value of the sysLocation variable._info_snmp_syslocation_oid
The value string for the sysLocation variable._info_snmp_syslocation_value
The OID value of the sysDescr variable._info_snmp_sysdescr_oid
The value string for the sysDescr variable._info_snmp_sysdescr_value
The OID value of the sysObjectID variable._info_snmp_sysobjectid_oid
The value string for the sysObjectID variable._info_snmp_sysobjectid_value
The OID value of the sysUptime variable._info_snmp_sysuptime_oid
The value string for the sysUptime variable._info_snmp_sysuptime_value
The OID value of the sysContact variable._info_snmp_syscontact_oid
The value string for the sysContact variable._info_snmp_syscontact_value
The get operation requests can be sent to both local and remote hosts.
SNMP Set Operation
All SNMP variables are assigned a default value in the MIB view. The SNMP event manager can modify the
value of these MIB variables through set operation. The set operation can be performed only on the system
that allows read-write access.
To perform a set operation, you must specify the type of the variable and the value associated with it.
The table below shows the valid OID types and values for each OID type.
Table 163: OID Type and Value for Set Operation
DescriptionOID Type
A 32-bit number with a minimum value of 0. When the maximum
value is reached, the counter resets to 0. Integer value in the
range from 0 to 4294967295 is valid.
counter32
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
1725
How to Write EEM Policies Using the Cisco IOS CLI