hm2LogSyslogServerIPAddrType
HM2-LOGGING-MIB ·
.1.3.6.1.4.1.248.11.23.1.5.10.1.2
Object
Address type for server IP address. Currently, only ipv4(1), ipv6(2) and dns(16) are supported.
Context
- MIB
- HM2-LOGGING-MIB
- OID
.1.3.6.1.4.1.248.11.23.1.5.10.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hm2LogSyslogServerEntry
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 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSyslogServerIPAddrType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-LOGGING-MIB::hm2LogSyslogServerIPAddrType.<hm2LogSyslogServerIndex>.<agentDot1xAuthHistoryResultIfaceIndex>.<agentDot1xAuthHistoryResultIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-LOGGING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-LOGGING-MIB::hm2LogSyslogServerIPAddrType'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressType
- Base type
Enumeration
Values & Constraints
Object Constraints
range: 1-65535
Type Values
0 | unknown |
1 | ipv4 |
2 | ipv6 |
3 | ipv4z |
4 | ipv6z |
16 | dns |
25 | l2vpn |