adGenClearMACAddressClear
ADTRAN-GENMAC-MIB ·
.1.3.6.1.4.1.664.5.70.8.1.3.1.3
Object
column r/w
Enumeration
Set this to 1 to clear all mac addresses matching the slot, s-tag and Status. A get on this OID always returns a 1.
Context
- MIB
- ADTRAN-GENMAC-MIB
- OID
.1.3.6.1.4.1.664.5.70.8.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- adGenClearMACAddressEntry
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 'ADTRAN-GENMAC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMAC-MIB::adGenClearMACAddressClear'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ADTRAN-GENMAC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ADTRAN-GENMAC-MIB::adGenClearMACAddressClear.<adGenSlotInfoIndex>.<adGenClearMACAddressStag>.<adGenClearMACAddressStatus>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ADTRAN-GENMAC-MIB' -M '/opt/observium/mibs/adtran:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ADTRAN-GENMAC-MIB::adGenClearMACAddressClear'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | clear |