srcNetmask
MOXA-ICSG7826A-MIB ·
.1.3.6.1.4.1.8691.7.99.1.52.1.1.12
Object
The source IP address's mask of the ACL rule.
Context
- MIB
- MOXA-ICSG7826A-MIB
- OID
.1.3.6.1.4.1.8691.7.99.1.52.1.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- accessControlEntry
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 'MOXA-ICSG7826A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-ICSG7826A-MIB::srcNetmask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-ICSG7826A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-ICSG7826A-MIB::srcNetmask.<aclRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-ICSG7826A-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-ICSG7826A-MIB::srcNetmask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4