adGenMEFMapIpHost
ADTRAN-GENMEF-MIB ·
.1.3.6.1.4.1.664.5.69.1.1.3.1.22
Object
column r/w
OctetString
This option connects the evc-map to an existing IP-Host in the system.
Setting the string to zero-length will clear the IP-Host connection.
To connect an IP-host, the octet string is formatted as follows:
Octets 0-3: 32-bit ifIndex of slot where IP-Host is located
Octets 4-n: Ascii encoding of IP-Host name. n can range from 5-83, allowing from 1 to 80 character IP-Host name.
Example:
IP-Host 'ip' (i = 0x69, p = 0x70)
on slot 2, where slot 2 has an ifIndex of 2,999,999 (0x002DC6BF)
The value of this OID would be:
00.2D.C6.BF.69.70
Context
- MIB
- ADTRAN-GENMEF-MIB
- OID
.1.3.6.1.4.1.664.5.69.1.1.3.1.22- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- adGenMEFMapsEntry
- Groups
- 1
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 'ADTRAN-GENMEF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMEF-MIB::adGenMEFMapIpHost'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENMEF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMEF-MIB::adGenMEFMapIpHost.<adGenMEFMapIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENMEF-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENMEF-MIB::adGenMEFMapIpHost'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-84
Conformance
Member of