ewnPortMacChangedMsg

EtherWAN-ewnSwitchM · .1.3.6.1.4.1.2736.1.1.2.3

Object

scalar OctetString
This object contains the information of a MAC change
notification event. It consists of several tuples packed
together in the format of '<tuple1><tuple2>...'.
          
Each tuple consists of 10 octets in the format of
'<operation><VLAN><MAC><PortNo>' where 
          
<operation> has size of 1 octet and supports the following values
  1 - MAC learnt.
  2 - MAC removed.
          
<VLAN> is the VLAN ID of the VLAN which the MAC address belongs to and 
has size of 2 octets.
          
<MAC> is the Layer2 MAC Address and has size of 6 octets.
          
<PortNo> is the port number of the port from which the MAC address is 
learnt and has size of 1 octet.

Context

MIB
EtherWAN-ewnSwitchM
OID
.1.3.6.1.4.1.2736.1.1.2.3
Type
scalar
Access
notifyonly
Status
current
Parent
ewnPort
Groups
1

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EtherWAN-ewnSwitchM' -M '/opt/observium/mibs/etherwan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EtherWAN-ewnSwitchM::ewnPortMacChangedMsg.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EtherWAN-ewnSwitchM' -M '/opt/observium/mibs/etherwan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EtherWAN-ewnSwitchM::ewnPortMacChangedMsg'

Syntax

OctetString

Values & Constraints

Object Constraints
range: 1-254

Conformance