adTrapHostAddressType
ADTRAN-GENTRAPINFORM-MIB ·
.1.3.6.1.4.1.664.5.16.2.2.1.1
Object
The Internet Address type of the host for network management traps.
The network element will accept values that are supported. Relevant
feature flags (per genSystems.mi2) may be used to determine the level
of support on the network element.
IPv4-capable agents will support the ipv4(1) value.
IPv6-capable agents will support the ipv6(2) value.
DNS-capable agents will support the dns(16) value.
Context
- MIB
- ADTRAN-GENTRAPINFORM-MIB
- OID
.1.3.6.1.4.1.664.5.16.2.2.1.1- 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::adTrapHostAddressType'
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::adTrapHostAddressType.<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::adTrapHostAddressType'
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 |