cpqnAclIPAddrMask
CPQNUNIF-MIB ·
.1.3.6.1.4.1.232.121.4.2.1.3
Object
DURABLE: This mask is applied to the source address of received SNMP/IP messages. If the masked address matches cpqnAclIPAddrMatch and the community in the SNMP packet matches the community name in cpqnAclIPCommunity for the row, then the SNMP request will be serviced by the unit's agent. The transmitting node's access to this unit's MIB tables is determined by the cpqnAclIPRights. For example, assuming cpqnAclIPAddrMask = 255.255.255.000, cpqnAclIPAddrMatch = 198.085.034.000, and cpqnAclCommunity = compaq, then a SNMP request coming from 198.85.34.72 with community compaq will pass whereas a request from 120.1.2.4 with community compaq will fail.
Context
- MIB
- CPQNUNIF-MIB
- OID
.1.3.6.1.4.1.232.121.4.2.1.3- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- cpqnCommAccessIPEntry
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 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnAclIPAddrMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQNUNIF-MIB::cpqnAclIPAddrMask.<cpqnAclIPIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQNUNIF-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQNUNIF-MIB::cpqnAclIPAddrMask'
Syntax
- Source
- RFC1155-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4