ontPotsStatus
NGPON-MIB ·
.1.3.6.1.4.1.13464.1.14.2.4.5.1.1.5
Object
column r/w
Integer32
typedef enum tag_M_ONT_POTS_STATUS
{
/* 0 */ POTS_STATUS_INIT = 0, /* None/initial */
/* 1 */ POTS_STATUS_REGISTERED, /* Registered */
/* 2 */ POTS_STATUS_IN_SESSION, /* In session */
/* 3 */ POTS_STATUS_REG_ICMP_ERR, /* Failed registration ?Cicmp error */
/* 4 */ POTS_STATUS_REG_TCP_FAIL, /* Failed registration ?Cfailed tcp */
/* 5 */ POTS_STATUS_REG_TMOUT, /* Failed registration ?Ctimeout */
/* 6 */ POTS_STATUS_REG_AUTH_FAIL, /* Failed registration - failed authentication */
/* 7 */ POTS_STATUS_REG_SRV_FAIL, /* Failed registration - server fail code */
/* 8 */ POTS_STATUS_INV_ICMP_ERR, /* Failed invite ?Cicmp error */
/* 9 */ POTS_STATUS_INV_TCP_FAIL, /* Failed invite ?Cfailed tcp */
/* 10 */ POTS_STATUS_INV_AUTH_FAIL, /* Failed invite ?Cfailed authentication */
/* 11 */ POTS_STATUS_INV_TMOUT, /* Failed invite ?Ctimeout */
/* 12 */ POTS_STATUS_INV_SRV_FAIL, /* Failed invite ?Cserver fail code */
/* 13 */ POTS_STATUS_PORT_NOT_CFG, /* Port not configured */
/* 14 */ POTS_STATUS_CFG_DONE, /* Config done */
POTS_STATUS_SUM
}M_ONT_POTS_STATUS;
Context
- MIB
- NGPON-MIB
- OID
.1.3.6.1.4.1.13464.1.14.2.4.5.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ontPotsInfoEntry
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 'NGPON-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NGPON-MIB::ontPotsStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NGPON-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NGPON-MIB::ontPotsStatus.<soSlotIndexXIV>.<soPportIndexXIV>.<soOntIndexXIV>.<ontPotsIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NGPON-MIB' -M '/opt/observium/mibs/gbn:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NGPON-MIB::ontPotsStatus'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-14