•
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
Description
Built-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
Description
OID 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
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......