ntpRestrictMask
MSC5601-MIB ·
.1.3.6.1.4.1.6827.50.78.22.1.1.4
Object
column mandatory
r/w
OctetString
Sets NTP IP mask for restricted addresses. This should be entered in a decimal dot format. Any combination of address and mask that gives an IP of 0.0.0.0 will be ignored.
Context
- MIB
- MSC5601-MIB
- OID
.1.3.6.1.4.1.6827.50.78.22.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- ntpEntry
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 'MSC5601-MIB' -M '/opt/observium/mibs/evertz:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSC5601-MIB::ntpRestrictMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MSC5601-MIB' -M '/opt/observium/mibs/evertz:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MSC5601-MIB::ntpRestrictMask.<ntpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MSC5601-MIB' -M '/opt/observium/mibs/evertz:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MSC5601-MIB::ntpRestrictMask'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 16-16