jnxL2tpSessionStatsLocalHostName
JNX-L2TP-MIB ·
.1.3.6.1.4.1.2636.3.49.1.1.4.1.18
Object
This object contains the local host name of the tunnel that is hosting this session.
Context
- MIB
- JNX-L2TP-MIB
- OID
.1.3.6.1.4.1.2636.3.49.1.1.4.1.18- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxL2tpSessionStatsEntry
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 'JNX-L2TP-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JNX-L2TP-MIB::jnxL2tpSessionStatsLocalHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'JNX-L2TP-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JNX-L2TP-MIB::jnxL2tpSessionStatsLocalHostName.<jnxL2tpSessionStatsLocalTID>.<jnxL2tpSessionStatsLocalSID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JNX-L2TP-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JNX-L2TP-MIB::jnxL2tpSessionStatsLocalHostName'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255