l2tpTunnelStatsRemoteHostName
L2TP-MIB ·
.1.3.6.1.2.1.10.95.1.5.1.5
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
- L2TP-MIB
- OID
.1.3.6.1.2.1.10.95.1.5.1.5- Type
- column
- Access
- readonly
- Status
- current
- Parent
- l2tpTunnelStatsEntry
- Groups
- 1
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 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2TP-MIB::l2tpTunnelStatsRemoteHostName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2TP-MIB::l2tpTunnelStatsRemoteHostName.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'L2TP-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'L2TP-MIB::l2tpTunnelStatsRemoteHostName'
Syntax
- Source
- SNMP-FRAMEWORK-MIBSnmpAdminString
- Base type
OctetString
Values & Constraints
Type Constraints
range: 0..255
Conformance
Member of