zyL2ptState

ZYXEL-L2PT-MIB · .1.3.6.1.4.1.890.1.15.3.39.1.1

Object

Enable/disable L2PT (Layer 2 protocol tunneling) feature on the switch.  
L2PT is used on the service provider's edge devices. L2PT allows edge switches 
to tunnel layer 2 STP (Spanning Tree Protocol), CDP (Cisco Discovery Protocol) 
and VTP (VLAN Trunking Protocol) packets between customer switches connected 
through the service provider's network. The edge switch encapsulates layer 2 
protocol packets with a specific MAC address before sending them across the 
service provider's network to other edge switches.

Context

MIB
ZYXEL-L2PT-MIB
OID
.1.3.6.1.4.1.890.1.15.3.39.1.1
Type
scalar
Access
readwrite
Status
current
Parent
zyxelL2ptSetup

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-L2PT-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-L2PT-MIB::zyL2ptState.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-L2PT-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-L2PT-MIB::zyL2ptState'

Syntax

Values & Constraints

Type Values
1enabled
2disabled