l2PTPortType
DGS-1210-28XME-BX ·
.1.3.6.1.4.1.171.10.76.43.1.102.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
- DGS-1210-28XME-BX
- OID
.1.3.6.1.4.1.171.10.76.43.1.102.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Default
none- Parent
- l2PTEntry
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 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::l2PTPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DGS-1210-28XME-BX::l2PTPortType.<l2PTPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DGS-1210-28XME-BX' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DGS-1210-28XME-BX::l2PTPortType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | uni |
3 | nni |