h3cMacAddress

H3C-USER-MIB · .1.3.6.1.4.1.2011.10.2.12.1.2.1.8

Object

column r/w SNMPv2-TCMacAddress
Set local user's mac address.
default is 0-0-0, means the local user do not bind any mac address.

Context

MIB
H3C-USER-MIB
OID
.1.3.6.1.4.1.2011.10.2.12.1.2.1.8
Type
column
Access
readwrite
Status
current
Parent
h3cUserAttributeEntry

Walk 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 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cMacAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-USER-MIB::h3cMacAddress.<h3cUserIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-USER-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-USER-MIB::h3cMacAddress'

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