tmnxPortMacAddress
TIMETRA-PORT-MIB ·
.1.3.6.1.4.1.6527.3.1.2.2.4.2.1.9
Object
When tmnxPortUserAssignedMac has a value of 'true',
tmnxPortMacAddress has the value that has been explicitly
assigned by a SNMP SET request. When tmnxPortUserAssignedMac
has a value of 'false', tmnxPortMacAddress returns the same
value as tmnxPortHwMacAddress, the hardware or system assigned
MAC address. When tmnxPortMacAddress is modified by a SET
request, the agent sets tmnxPortUserAssignedMac to 'true'.
Setting tmnxPortMacAddress to all zeros causes the agent to revert to
using the default tmnxPortHwMacAddress and also to return
tmnxPortUserAssignedMac as 'false'.
Context
- MIB
- TIMETRA-PORT-MIB
- OID
.1.3.6.1.4.1.6527.3.1.2.2.4.2.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Default
0x000000000000- Parent
- tmnxPortEntry
- Groups
- 5
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 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PORT-MIB::tmnxPortMacAddress'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-PORT-MIB::tmnxPortMacAddress.<tmnxChassisIndex>.<tmnxPortPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-PORT-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-PORT-MIB::tmnxPortMacAddress'
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