rcNtpRestrictMask
RC-NTP-MIB ·
.1.3.6.1.4.1.2272.1.33.5.1.4
Object
column r/w
Integer32
Prefix length of the IPv4/IPv6 NTP address to restrict. Cannot be changed once the entry is created.
Context
- MIB
- RC-NTP-MIB
- OID
.1.3.6.1.4.1.2272.1.33.5.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcNtpRestrictEntry
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 'RC-NTP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-NTP-MIB::rcNtpRestrictMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RC-NTP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-NTP-MIB::rcNtpRestrictMask.<rcNtpRestrictRowIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RC-NTP-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RC-NTP-MIB::rcNtpRestrictMask'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-128