lldpDeviceID
MY-LLDP-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.32.1.1.5
Object
scalar SNMPv2-TCMacAddress
LLDP used device identifier(ID). In specification CPU MAC address is used to idendify the device.
Context
- MIB
- MY-LLDP-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.32.1.1.5- Type
- scalar
- Access
- readonly
- Status
- current
- Parent
- lldpConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-LLDP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-LLDP-MIB::lldpDeviceID.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-LLDP-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-LLDP-MIB::lldpDeviceID'
Syntax
- Source
- SNMPv2-TCMacAddress
- Base type
OctetString- Display format
1x:
Type Description
Represents an 802 MAC address represented in the `canonical' order defined by IEEE 802.1a, i.e., as if it were transmitted least significant bit first, even though 802.5 (in contrast to other 802.x protocols) requires MAC addresses to be transmitted most significant bit first.
Values & Constraints
Type Constraints
range: 6