agentSnmpCommunityIPAddress
SWITCHING-MIB ·
.1.3.6.1.4.1.7244.2.1.2.6.2.1.3
Object
The switch's Snmp Community IP Address Client IP Address - This attribute is an IP address (or portion thereof) from which this device will accept SNMP packets with the associated community. The requesting entity's IP address is logical-ANDed with the Client IP Mask and the result must match the Client IP Address. Note: If the Client IP Mask is set to 0.0.0.0, a Client IP Address of 0.0.0.0 matches all IP addresses.
Context
- MIB
- SWITCHING-MIB
- OID
.1.3.6.1.4.1.7244.2.1.2.6.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentSnmpCommunityConfigEntry
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 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentSnmpCommunityIPAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCHING-MIB::agentSnmpCommunityIPAddress.<agentSnmpCommunityIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCHING-MIB' -M '/opt/observium/mibs/quanta:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCHING-MIB::agentSnmpCommunityIPAddress'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4