hmPortSecExtAction
USERGROUP-MIB ·
.1.3.6.1.4.1.248.14.3.10.1.1.3
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.
Context
- MIB
- USERGROUP-MIB
- OID
.1.3.6.1.4.1.248.14.3.10.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmPortSecExtendedEntry
Net-SNMP examples
How SNMP and these commands workWalk 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::hmPortSecExtAction'
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::hmPortSecExtAction.<hmPortSecExtSlotID>.<hmPortSecExtPortID>'
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::hmPortSecExtAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | trapOnly |
3 | portDisable |