configCdpVersion
G6-LLDP-MIB ·
.1.3.6.1.4.1.3181.10.6.2.43.1.1.10
Object
column r/w
Enumeration
Determines which version CDP messages are used.
Context
- MIB
- G6-LLDP-MIB
- OID
.1.3.6.1.4.1.3181.10.6.2.43.1.1.10- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- configEntry
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 'G6-LLDP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-LLDP-MIB::configCdpVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'G6-LLDP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'G6-LLDP-MIB::configCdpVersion.<configIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'G6-LLDP-MIB' -M '/opt/observium/mibs/microsens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'G6-LLDP-MIB::configCdpVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | v1AndV2 |
1 | v1 |
2 | v2 |