ntpRestrictEnable
MSC5601-MIB ·
.1.3.6.1.4.1.6827.50.78.22.1.1.2
Object
column mandatory
r/w
Enumeration
enables restrictions. If deny, and the IP mask and IP address match an incomming NTP packet, that packet will be ignored. If permit, this restriction will be ignored. 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.2- 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::ntpRestrictEnable'
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::ntpRestrictEnable.<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::ntpRestrictEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | permit |
2 | deny |