zxAnSwSwapRack

ZTE-AN-SOFTWARE-MIB · .1.3.6.1.4.1.3902.1082.20.30.2.4.1.1

Object

scalar r/w SNMPv2-SMIInteger32
The Rack No. is used for swap version .
The multi-variables binding rule should be complied 
with when swap software. According to this rule, 
all the related mib variables must be included in one 
SNMP set operation. 
          
There are two types of variables: mandatory and optional.
All of the mandatory variables must be included in one 
SNMP set operation. Optional variables may be included 
in one SNMP set operation with the mandatory variables, 
but must not be used alone. 
          
To swap software, the mandatory and optional variables 
are as follows:
mandatoty:zxAnSwSwapRack, zxAnSwSwapShelf, zxAnSwSwapSlot
optional :none

Context

MIB
ZTE-AN-SOFTWARE-MIB
OID
.1.3.6.1.4.1.3902.1082.20.30.2.4.1.1
Type
scalar
Access
readwrite
Status
current
Parent
zxAnSwSwapGlobalObjects
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-SOFTWARE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-SOFTWARE-MIB::zxAnSwSwapRack.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-SOFTWARE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-SOFTWARE-MIB::zxAnSwSwapRack'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647

Conformance