rtrNatIfRealMask
RAD-MIB ·
.1.3.6.1.4.1.164.11.2.5.1.1.5
Object
The subnet Mask of the real subnet. For some devices/cases, it might represent the Real Highest IP Address.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.11.2.5.1.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rtrNatIfConfEntry
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-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::rtrNatIfRealMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::rtrNatIfRealMask.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::rtrNatIfRealMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Enumerated Values
1 | all |
2 | lan1 |
3 | lan2 |
4 | anyLan |
5 | wan |
Type Constraints
range: 4