hpnicfPortalFreeRuleSrcPrefix
HPN-ICF-PORTAL-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.99.2.8.1.7
Object
The length of the CIDR Prefix carried in hpnicfPortalFreeRuleSrcAddr. In IPv4 addresses, a length of 0 indicates a match of any address; a length of 32 indicates a match of a single host address, and a length between 0 and 32 indicates the use of a CIDR Prefix. IPv6 is similar, except that prefix lengths range from 0..128.
Context
- MIB
- HPN-ICF-PORTAL-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.99.2.8.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hpnicfPortalFreeRuleEntry
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 'HPN-ICF-PORTAL-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-PORTAL-MIB::hpnicfPortalFreeRuleSrcPrefix'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-PORTAL-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-PORTAL-MIB::hpnicfPortalFreeRuleSrcPrefix.<hpnicfPortalFreeRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-PORTAL-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-PORTAL-MIB::hpnicfPortalFreeRuleSrcPrefix'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040