tnPortMacAddress

TN-PORT-MIB · .1.3.6.1.4.1.7483.6.1.2.2.4.2.1.9

Object

column r/w SNMPv2-TCMacAddress
When tnPortUserAssignedMac has a value of 'true',
tnPortMacAddress has the value that has been explicitly
assigned by a SNMP SET request.  When tnPortUserAssignedMac
has a value of 'false', tnPortMacAddress returns the same
value as tnPortMacAddress, the hardware or system assigned
MAC address.  When tnPortMacAddress is modified by a SET
request, the agent sets tnPortUserAssignedMac to 'true'.
              
Setting tnPortMacAddress to all zeros causes the agent to
revert to using the default tnPortHwMacAddress and also to
return tnPortUserAssignedMac as 'false'.

Context

MIB
TN-PORT-MIB
OID
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.9
Type
column
Access
readwrite
Status
current
Parent
tnPortEntry

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

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