hm2PortLockingViolationTrapMode

HM2-PORTLOCKING-MIB · .1.3.6.1.4.1.248.11.250.1.1.10.1.4

Object

column r/w Enumeration
This variable is used to enable or disable the sending of new violation
traps designating when a packet with a disallowed MAC address is
received on a locked port.

Context

MIB
HM2-PORTLOCKING-MIB
OID
.1.3.6.1.4.1.248.11.250.1.1.10.1.4
Type
column
Access
readwrite
Status
current
Parent
hm2PortLockingEntry

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 'HM2-PORTLOCKING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PORTLOCKING-MIB::hm2PortLockingViolationTrapMode'
More examples
Read one indexed 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::hm2PortLockingViolationTrapMode.<ifIndex>'
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::hm2PortLockingViolationTrapMode'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1enable
2disable