portSecAction

V2H124-24-MIB · .1.3.6.1.4.1.52.4.12.30.1.17.2.1.1.3

Object

column r/w Enumeration
The corresponding actions that will take place when a 
port is under intruded, when this variable is set to 
none(1), no action will perform, when this variable is 
set to trap(2), a swPortSecurityTrap trap will send, 
when this variable is set to shutdown(3), the port will 
shutdown, when this variable is set to 
trapAndShutdown(4), a swPortSecurityTrap will send
and the port will shutdown.

Context

MIB
V2H124-24-MIB
OID
.1.3.6.1.4.1.52.4.12.30.1.17.2.1.1.3
Type
column
Access
readwrite
Status
current
Parent
portSecPortEntry

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1none
2trap
3shutdown
4trapAndShutdown