hm2GlobalPortLockingResetMacViolation

HM2-PORTLOCKING-MIB · .1.3.6.1.4.1.248.11.250.1.1.16

Object

scalar r/w SNMPv2-SMIInteger32
If this variable is set to zero, the variables hm2PortLockingLastDiscardedMAC
and hm2PortLockingNumViolationEntries are cleared once for all ports.
If this variable is set to specific ifIndex (1..xx),
only the hm2PortLockingLastDiscardedMAC and hm2PortLockingNumViolationEntries
for the specified interface is cleared once

Context

MIB
HM2-PORTLOCKING-MIB
OID
.1.3.6.1.4.1.248.11.250.1.1.16
Type
scalar
Access
readwrite
Status
current
Parent
hm2PortLockingGroup

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647