hpicfMacNotifyToPortId

HP-ICF-MACNOTIFY-MIB · .1.3.6.1.4.1.11.2.14.11.5.1.66.1.9

Object

The related port index of the 
MAC address hpicfMacNotifyMacAddress.
Port index will be determined by the action
in hpicfMacNotifyAction.
Action:
Learned: The actual port the MAC was learned
Moved:   The port to which the MAC was moved
Removed: The value will be zero
Aged: The value will be zero

Context

MIB
HP-ICF-MACNOTIFY-MIB
OID
.1.3.6.1.4.1.11.2.14.11.5.1.66.1.9
Type
scalar
Access
notifyonly
Status
current
Parent
hpicfMacNotifyConfigObjects
Groups
2

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647