sTunnelExternalPort
BINTEC-STUNNEL-MIB ·
.0.12.1.2.1.5
Object
column r/w
Integer32
The port of the external connection. In ExternalMode client it defines the port it is connected to and in ExternalMode server it defines the port it is listened on for incoming connections.
Context
- MIB
- BINTEC-STUNNEL-MIB
- OID
.0.12.1.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- sTunnelEntry
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 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-STUNNEL-MIB::sTunnelExternalPort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BINTEC-STUNNEL-MIB::sTunnelExternalPort.<sTunnelIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BINTEC-STUNNEL-MIB' -M '/opt/observium/mibs/bintec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BINTEC-STUNNEL-MIB::sTunnelExternalPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535