erpPortType
RAD-EthIf-MIB ·
.1.3.6.1.4.1.164.3.1.6.1.4.2.2.1.26
Object
column r/w
Enumeration
This Object is used only in ERPv2 (not in use in ERPv1).
rpl(2) if the port is RPL owner.
neighbor(3) if the port is RPL Neighbor.
nextNeighbor(4) if the port is RPL Next-Neighbor.
nodePort (1) if the port is none of the above.
DEFVAL{ nodePort }
Context
- MIB
- RAD-EthIf-MIB
- OID
.1.3.6.1.4.1.164.3.1.6.1.4.2.2.1.26- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- erpPortEntry
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 'RAD-EthIf-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-EthIf-MIB::erpPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-EthIf-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-EthIf-MIB::erpPortType.<erpIdx>.<erpPortIdx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-EthIf-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-EthIf-MIB::erpPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | nodePort |
2 | rpl |
3 | neighbor |
4 | nextNeighbor |