natv2SubscriberInternalPrefixLength
NATV2-MIB ·
.1.3.6.1.2.1.234.1.1.1.5
Object
Length of the prefix assigned to a subscriber's CPE, in bits. If a single address is assigned, this will be 32 for IPv4 and 128 for IPv6.
Context
- MIB
- NATV2-MIB
- OID
.1.3.6.1.2.1.234.1.1.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- natv2SubscriberEntry
- Groups
- 1
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 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATV2-MIB::natv2SubscriberInternalPrefixLength'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NATV2-MIB::natv2SubscriberInternalPrefixLength.<natv2SubscriberIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NATV2-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NATV2-MIB::natv2SubscriberInternalPrefixLength'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040
Conformance
Member of