swL2PTProtocol
L2PROTOCOL-TUNNEL-MIB ·
.1.3.6.1.4.1.171.12.93.1.2.1.3
Object
column r/w
Bits
This object indicates the tunneled protocols on this port.
This object can only be applied on a UNI port.
If the 'stp' BIT is set, the STP BPDU will be tunneled.
If the 'gvrp' BIT is set, the GVRP PDU will be tunneled.
If the 'mac-01-00-0C-CC-CC-CC' BIT is set, the PDU with the destination MAC address 01-00-0C-CC-CC-CC will be tunneled .
If the 'mac-01-00-0C-CC-CC-CD' BIT is set, then the PDU with the
destination MAC address 01-00-0C-CC-CC-CD will be tunneled.
Context
- MIB
- L2PROTOCOL-TUNNEL-MIB
- OID
.1.3.6.1.4.1.171.12.93.1.2.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- swL2PTPortEntry
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 'L2PROTOCOL-TUNNEL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'L2PROTOCOL-TUNNEL-MIB::swL2PTProtocol'
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::swL2PTProtocol.<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::swL2PTProtocol'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | stp |
1 | gvrp |
2 | mac-01-00-0C-CC-CC-CC |
3 | mac-01-00-0C-CC-CC-CD |