gatewaySubnetBits
PERLE-IOLAN-SDS-MIB ·
.1.3.6.1.4.1.1966.12.1.20.1.1.6
Object
column r/w
Integer32
When the gateway is a Network gateway, you must specify the subnet/prefix bits for that network. If the IP address is IPv4, then the Subnet/Prefix Bits range is 0-32. If the IP address is IPv6, then the Subnet/Prefix Bits range is 0-128.
Context
- MIB
- PERLE-IOLAN-SDS-MIB
- OID
.1.3.6.1.4.1.1966.12.1.20.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- gatewayEntry
- 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 'PERLE-IOLAN-SDS-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PERLE-IOLAN-SDS-MIB::gatewaySubnetBits'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PERLE-IOLAN-SDS-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PERLE-IOLAN-SDS-MIB::gatewaySubnetBits.<gatewayIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PERLE-IOLAN-SDS-MIB' -M '/opt/observium/mibs/perle:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PERLE-IOLAN-SDS-MIB::gatewaySubnetBits'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-128
Conformance
Member of