vlanL2ptPortCdp
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.12.16.1.4
Object
Set enabled(1) to enable Layer 2 protocol tunneling for Cisco Discovery Protocol. Set disabled(2) to disable Layer 2 protocol tunneling for Cisco Discovery Protocol.
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.12.16.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanL2ProtocolTunnelPortEntry
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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::vlanL2ptPortCdp'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::vlanL2ptPortCdp.<vlanL2ptPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::vlanL2ptPortCdp'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |