jnxL2tpTunnelStatsRemoteHostName
JNX-L2TP-MIB ·
.1.3.6.1.4.1.2636.3.49.1.1.3.1.14
Object
This object contains the host name as discovered during the tunnel establishment phase (via the Host Name AVP) of the L2TP peer. If the tunnel is idle this object should maintain its value from the last time it was connected.
Context
- MIB
- JNX-L2TP-MIB
- OID
.1.3.6.1.4.1.2636.3.49.1.1.3.1.14- Type
- column
- Access
- readonly
- Status
- current
- Parent
- jnxL2tpTunnelStatsEntry
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::jnxL2tpTunnelStatsRemoteHostName'
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::jnxL2tpTunnelStatsRemoteHostName.<jnxL2tpTunnelStatsLocalTID>'
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::jnxL2tpTunnelStatsRemoteHostName'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255