tnPortHwMacAddress
TN-PORT-MIB ·
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.10
Object
column SNMPv2-TCMacAddress
The interface's hardware or system assigned MAC address at its
protocol sub-layer. When tnPortUserAssignedMac has a value of
'true', the value of tnPortMacAddress is used instead of
tnPortHwMacAddress.
In the case of a pre-provisioned port that is not yet physically
in the system, the MAC address may not be known. In this case
a MAC address of all zeros is returned.
Context
- MIB
- TN-PORT-MIB
- OID
.1.3.6.1.4.1.7483.6.1.2.2.4.2.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- tnPortEntry
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 'TN-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TN-PORT-MIB::tnPortHwMacAddress'
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::tnPortHwMacAddress.<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::tnPortHwMacAddress'
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