zxAnIfConfLockStatus
ZTE-AN-INTERFACE-BASE-MIB ·
.1.3.6.1.4.1.3902.1082.30.20.2.2.2.1.2
Object
column r/w
Enumeration
Lock/unlock the interface. unlocked -- release the locked status. locked -- disable the service and alarm of this interface.
Context
- MIB
- ZTE-AN-INTERFACE-BASE-MIB
- OID
.1.3.6.1.4.1.3902.1082.30.20.2.2.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
unlocked- Parent
- zxAnIfConfEntry
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-INTERFACE-BASE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-INTERFACE-BASE-MIB::zxAnIfConfLockStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-INTERFACE-BASE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-INTERFACE-BASE-MIB::zxAnIfConfLockStatus.<ifIndex>.<zxAnSubIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-INTERFACE-BASE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-INTERFACE-BASE-MIB::zxAnIfConfLockStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | unlocked |
2 | locked |