agentLoginSessionInetAddressType
LANCOM-SWITCHING-MIB ·
.1.3.6.1.4.1.2356.16.1.1.2.1.1.1.8
Object
Type of address agentLoginSessionInetAddress is returning. Can be either unknown(0), ipv4(1), or ipv6 (2). Will return unknown(0) in the case of a serial login.
Context
- MIB
- LANCOM-SWITCHING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.1.2.1.1.1.8- Type
- column
- Access
- readonly
- Status
- current
- Parent
- agentLoginSessionEntry
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 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-SWITCHING-MIB::agentLoginSessionInetAddressType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-SWITCHING-MIB::agentLoginSessionInetAddressType.<agentLoginSessionIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-SWITCHING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-SWITCHING-MIB::agentLoginSessionInetAddressType'
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 |