zxAnMduEnvDeviceId
ZTE-AN-MDU-MIB ·
.1.3.6.1.4.1.3902.1015.1016.10.21.12.1.2
Object
The device id.If this switch can't connect with any device, zxAnMduEnvDeviceId set to 0.
Context
- MIB
- ZTE-AN-MDU-MIB
- OID
.1.3.6.1.4.1.3902.1015.1016.10.21.12.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnMduSwitchEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ZTE-AN-MDU-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-MDU-MIB::zxAnMduEnvDeviceId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-MDU-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-MDU-MIB::zxAnMduEnvDeviceId.<zxAnMduEnvSwitchIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-MDU-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-MDU-MIB::zxAnMduEnvDeviceId'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647