genOpServerInetAddress
LOAD-MIB ·
.1.3.6.1.4.1.1751.2.53.1.2.1.24
Object
The Inet Address of the remote file server. 1. The address type of this object is specified in genOpInetAddressType. 2. Management applications can use genOpServerIP or genOpServerInetAddressType/genOpServerInetAddress to set IPv4 server address and only genOpServerInetAddressType/genOpServerInetAddress to set IPv6 server address. 3. The genOpServerInetAddressType must always been set before the genOpServerInetAddress is set (the genOpServerInetAddress must conform to the genOpServerInetAddressType). 4. Setting genOpServerIP address mib item will change genOpServerInetAddressType to IPv4(1) and genOpServerInetAddress to IPv4 address configured. 5. Setting genOpServerInetAddress as IPv4 address will also set genOpServerIP. 6. Setting genOpServerInetAddress as IPv6 address will also set genOpServerIP to 0.0.0.0. 7. Default of genOpServerInetAddressType is unknown(0) and genOpServerInetAddress is zero length. 8. Setting genOpServerInetAddressType to IPv4 will return genOpServerIP and genOpServerInetAddress to default value of 0.0.0.0. Setting genOpServerInetAddressType to value other than IPv4 return genOpServerIP to default value of 0.0.0.0 and genOpServerInetAddress to default value of null string.
Context
- MIB
- LOAD-MIB
- OID
.1.3.6.1.4.1.1751.2.53.1.2.1.24- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- genOpEntry
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 'LOAD-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LOAD-MIB::genOpServerInetAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LOAD-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LOAD-MIB::genOpServerInetAddress.<genOpModuleId>.<genOpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LOAD-MIB' -M '/opt/observium/mibs/avaya:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LOAD-MIB::genOpServerInetAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255