l2ptProtocolGroup
ZYXEL-MGS3712F-MIB ·
.1.3.6.1.4.1.890.1.5.8.48.115.3.1.1
Object
column r/w
Bits
L2PT protocols enabled/disabled on the port
Context
- MIB
- ZYXEL-MGS3712F-MIB
- OID
.1.3.6.1.4.1.890.1.5.8.48.115.3.1.1- Type
- column
- Access
- readwrite
- Status
- current
- 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 'ZYXEL-MGS3712F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-MGS3712F-MIB::l2ptProtocolGroup'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZYXEL-MGS3712F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-MGS3712F-MIB::l2ptProtocolGroup.<dot1dBasePort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-MGS3712F-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-MGS3712F-MIB::l2ptProtocolGroup'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | cdp |
1 | stp |
2 | vtp |