hwGponDeviceOntPotsPortCTPSrvState

HUAWEI-XPON-COMMON-MIB · .1.3.6.1.4.1.2011.6.145.1.1.1.2.1.5

Object

column Enumeration
ONT POTS port service running state.
Options:
1. noneOrinitial(1)      - None or initial state
2. registered(2)         - Registered state
3. inSession(3)          - In session
4. failedRegistration(4) - Failed in registration
5. failedInvite(5)       - Failed in invite
6. portNotconfigured(6)  - Port doesn't configure
7. configDone(7)         - Config has been done
8. invalidState(-1)      - Returned in case of query failure or error

Context

MIB
HUAWEI-XPON-COMMON-MIB
OID
.1.3.6.1.4.1.2011.6.145.1.1.1.2.1.5
Type
column
Access
readonly
Status
current
Parent
hwGponDeviceOntPotsPortStateEntry

Walk 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::hwGponDeviceOntPotsPortCTPSrvState'
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::hwGponDeviceOntPotsPortCTPSrvState.<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::hwGponDeviceOntPotsPortCTPSrvState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
-1invalidState
1noneOrinitial
2registered
3inSession
4failedRegistration
5failedInvite
6portNotconfigured
7configDone