zyL2ptMode
ZYXEL-L2PT-MIB ·
.1.3.6.1.4.1.890.1.15.3.39.1.3.1.3
Object
column r/w
Enumeration
Select access to have the switch encapsulate the incoming layer 2 protocol packets and forward them to the tunnel port(s). Select access for ingress ports at the edge of the service provider's network. Select Tunnel for egress ports at the edge of the service provider's network.
Context
- MIB
- ZYXEL-L2PT-MIB
- OID
.1.3.6.1.4.1.890.1.15.3.39.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zyxelL2ptEntry
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 'ZYXEL-L2PT-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-L2PT-MIB::zyL2ptMode'
More examples
Read one indexed 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::zyL2ptMode.<dot1dBasePort>'
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::zyL2ptMode'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | access |
2 | tunnel |