hwGponDeviceOntPotsPortPTPAdminState
HUAWEI-XPON-COMMON-MIB ·
.1.3.6.1.4.1.2011.6.145.1.1.1.2.1.3
Object
column Enumeration
ONT POTS port physics admin state.
Options:
1. lock(1) - All user functions of this circuit pack are blocked, and alarm for this managed entity
are no longer generated
2. unlock(2) - Unlock state, all user functions of this circuit pack are normal
3. invalidState(-1) - This value is return when can't query or have some errors in query
Context
- MIB
- HUAWEI-XPON-COMMON-MIB
- OID
.1.3.6.1.4.1.2011.6.145.1.1.1.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwGponDeviceOntPotsPortStateEntry
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 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwGponDeviceOntPotsPortPTPAdminState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-XPON-COMMON-MIB::hwGponDeviceOntPotsPortPTPAdminState.<ifIndex>.<hwGponDeviceOntObjIndex>.<hwGponDeviceOntPotsPortId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-XPON-COMMON-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-XPON-COMMON-MIB::hwGponDeviceOntPotsPortPTPAdminState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalidState |
1 | lock |
2 | unlock |