prtTestMacSwapLoopSrcAddr
RAD-MIB ·
.1.3.6.1.4.1.164.6.2.15.4.1.1.18
Object
Configures the MAC address that will be sent in the Source field of the packet in the outgoing direction.
Context
- MIB
- RAD-MIB
- OID
.1.3.6.1.4.1.164.6.2.15.4.1.1.18- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- prtTestEntry
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 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::prtTestMacSwapLoopSrcAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAD-MIB::prtTestMacSwapLoopSrcAddr.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAD-MIB' -M '/opt/observium/mibs/rad:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAD-MIB::prtTestMacSwapLoopSrcAddr'
Syntax
- Source
- MacAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 6