swL2PTPortType

L2PROTOCOL-TUNNEL-MIB · .1.3.6.1.4.1.171.12.93.1.2.1.2

Object

column r/w Enumeration
This object indicates the Layer 2 protocol tunneling port type.
              
The 'none' value indicates that the port is normal. Layer 2 protocol tunneling
is disabled on this port.
              
The 'uni' value indicates that the port is connected to the customer site. A Layer 2 PDU received on a UNI port
can be tunneled to a remote customer site across the provider network.
              
The 'nni' value indicates that the port is connected to the provider network. A Tunneled Layer 2 PDU received on an NNI port
will be restored to its original format.

Context

MIB
L2PROTOCOL-TUNNEL-MIB
OID
.1.3.6.1.4.1.171.12.93.1.2.1.2
Type
column
Access
readwrite
Status
current
Parent
swL2PTPortEntry

Walk 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 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2PROTOCOL-TUNNEL-MIB::swL2PTPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2PROTOCOL-TUNNEL-MIB::swL2PTPortType.<swL2PTPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'L2PROTOCOL-TUNNEL-MIB::swL2PTPortType'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1none
2uni
3nni