hpnicfMACInfoTrapMsgExt
HPN-ICF-MAC-INFORMATION-MIB ·
.1.3.6.1.4.1.11.2.14.11.15.2.87.1.4.2.4
Object
scalar OctetString
This object is the MAC information that learnt or removed
in the monitored device. It can consists of more than
one MAC information in the object.
This object is in the format of '<cell1><cell2>...'. Each
cell consists of 14 octets in the format of
'<operationType><VLAN><MAC><MACtype><ifIndex>'.
<operationType> is the reason type of MAC address changed and have
size of 1 octet. It only supports the following values.
1 - MAC learnt.
2 - MAC removed.
<VLAN> is the vlan number that correspond to the MAC address in
MAC address table and has size of 2 octet.
<MAC> is the MAC address and has size of 6 octets.
<MACtype> is the MAC address type and has size of 1 octet. It only
supports the following values.
0 - Unknown
1 - Learnt
2 - Config dynamic
3 - Config static
4 - Blackhole
5 - Security
6 - 802.1x
7 - MAC authentication
8 - Voice VLAN
9 - Reserved
<ifIndex> is the index of the interface where the MAC
address is learnt or removed and has size of 4 octets.
Context
- MIB
- HPN-ICF-MAC-INFORMATION-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.15.2.87.1.4.2.4- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hpnicfMACInformationTrapObjectsExt
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPN-ICF-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPN-ICF-MAC-INFORMATION-MIB::hpnicfMACInfoTrapMsgExt.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPN-ICF-MAC-INFORMATION-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPN-ICF-MAC-INFORMATION-MIB::hpnicfMACInfoTrapMsgExt'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-254