hh3cNDPPortNbDeviceId
HH3C-HGMP-MIB ·
.1.3.6.1.4.1.25506.8.7.5.6.1.1
Object
column OctetString
2 bytes address type of the member switch + 2 bytes zero + MAC address, expressed as a character string of the hexadecimal number.
Context
- MIB
- HH3C-HGMP-MIB
- OID
.1.3.6.1.4.1.25506.8.7.5.6.1.1- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hh3cNDPPortNbEntry
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 'HH3C-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-HGMP-MIB::hh3cNDPPortNbDeviceId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HH3C-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HH3C-HGMP-MIB::hh3cNDPPortNbDeviceId.<hh3cNDPIfIndex>.<hh3cNDPPortNbDeviceId>.<hh3cNDPPortNbPortName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HH3C-HGMP-MIB' -M '/opt/observium/mibs/hh3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HH3C-HGMP-MIB::hh3cNDPPortNbDeviceId'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-10