• 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
Built-in Variable
_info_snmp_syslocation_oid
_info_snmp_syslocation_value
_info_snmp_sysdescr_oid
_info_snmp_sysdescr_value
_info_snmp_sysobjectid_oid
_info_snmp_sysobjectid_value
_info_snmp_sysuptime_oid
_info_snmp_sysuptime_value
_info_snmp_syscontact_oid
_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
OID Type
counter32
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
How to Write EEM Policies Using the Cisco IOS CLI
Description
The OID value of the sysLocation variable.
The value string for the sysLocation variable.
The OID value of the sysDescr variable.
The value string for the sysDescr variable.
The OID value of the sysObjectID variable.
The value string for the sysObjectID variable.
The OID value of the sysUptime variable.
The value string for the sysUptime variable.
The OID value of the sysContact variable.
The value string for the sysContact variable.
Description
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.
1725