adTrapHostAddress
ADTRAN-GENTRAPINFORM-MIB ·
.1.3.6.1.4.1.664.5.16.2.2.1.3
Object
column INET-ADDRESS-MIBInetAddress
The Internet address value of the host for network management traps.
The octet string size must accurately correspond to the value of
adTrapHostAddressType for this entry.
An address of type ipv4(1) must have a size of 4 octets.
An address of type ipv6(2) must have a size of 16 octets.
An address of type dns(16) must have a minimum size of 1 octet.
Context
- MIB
- ADTRAN-GENTRAPINFORM-MIB
- OID
.1.3.6.1.4.1.664.5.16.2.2.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- adTrapHostEntry
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-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENTRAPINFORM-MIB::adTrapHostAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENTRAPINFORM-MIB::adTrapHostAddress.<adTrapHostAddressType>.<adTrapHostAddressSize>.<adTrapHostAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENTRAPINFORM-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENTRAPINFORM-MIB::adTrapHostAddress'
Syntax
- Source
- INET-ADDRESS-MIBInetAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255