ethernetInterfaceIPv6StaticIPAddressPrefixLen
IMM-MIB ·
.1.3.6.1.4.1.2.3.51.3.3.4.1.4.5.2.3
Object
scalar mandatory
r/w
Integer32
The IPv6 static IP address prefix length for the ethernet interface.
NOTE: If ethernetInterfaceIPv6Enabled is currently disabled, this
object has the value 0.
Context
- MIB
- IMM-MIB
- OID
.1.3.6.1.4.1.2.3.51.3.3.4.1.4.5.2.3- Type
- scalar
- Access
- readwrite
- Status
- mandatory
- Parent
- ethernetInterfaceIPv6StaticIPConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IMM-MIB::ethernetInterfaceIPv6StaticIPAddressPrefixLen.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IMM-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IMM-MIB::ethernetInterfaceIPv6StaticIPAddressPrefixLen'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-128