swPortEraseAddresses

STAND-ALONE-ETHERNET-SWITCH-MIB · .1.3.6.1.4.1.437.1.1.3.3.1.1.17

Object

column mandatory r/w Enumeration
Set to erase(2) to delete all learned and assigned static
unicast addresses the port currently has.  Setting the object
to noErase(1) has no effect.  This object always returns
noErase(1) when read.

Context

MIB
STAND-ALONE-ETHERNET-SWITCH-MIB
OID
.1.3.6.1.4.1.437.1.1.3.3.1.1.17
Type
column
Access
readwrite
Status
mandatory
Parent
swPortEntry

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 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortEraseAddresses'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortEraseAddresses.<swPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'STAND-ALONE-ETHERNET-SWITCH-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'STAND-ALONE-ETHERNET-SWITCH-MIB::swPortEraseAddresses'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1noErase
2erase