hmPortSecAction

USERGROUP-MIB · .1.3.6.1.4.1.248.14.3.4.1.7

Object

column r/w Enumeration
This variable specifies the action which is taken if a
user tries to connect to the given port when he is not
allowed to do so. Setting the variable to none(1)
disables any action. A value of trapOnly(2) generates
a trap. Setting the value to portDisable(3) will
send a trap, and additionally disable the port until
it is re-enabled by management. Setting the value to
autoDisable(3) will send a trap, and additionally
auto-disable the port for the amount of time specified per port.

Context

MIB
USERGROUP-MIB
OID
.1.3.6.1.4.1.248.14.3.4.1.7
Type
column
Access
readwrite
Status
current
Parent
hmPortSecurityEntry

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 'USERGROUP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USERGROUP-MIB::hmPortSecAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'USERGROUP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'USERGROUP-MIB::hmPortSecAction.<hmPortSecSlotID>.<hmPortSecPortID>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'USERGROUP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'USERGROUP-MIB::hmPortSecAction'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1none
2trapOnly
3portDisable
4autoDisable