cacheClientAddressType
SQUID-MIB ·
.1.3.6.1.4.1.3495.1.5.2.2.1
Object
The client's IP address
Context
- MIB
- SQUID-MIB
- OID
.1.3.6.1.4.1.3495.1.5.2.2.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cacheClientEntry
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 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SQUID-MIB::cacheClientAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SQUID-MIB::cacheClientAddressType.<cacheClientAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SQUID-MIB' -M '/opt/observium/mibs/squid:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SQUID-MIB::cacheClientAddressType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |