portSecAction
ECS4810-12M-MIB ·
.1.3.6.1.4.1.259.10.1.11.1.17.2.1.1.3
Object
column r/w
Enumeration
The corresponding actions that will take place when a port is under intrusion, when this variable is set to none(1), no action will be performed, when this variable is set to trap(2), a swPortSecurityTrap trap will be sent, when this variable is set to shutdown(3), the port will shutdown, when this variable is set to trapAndShutdown(4), a swPortSecurityTrap will be sent and the port will shutdown.
Context
- MIB
- ECS4810-12M-MIB
- OID
.1.3.6.1.4.1.259.10.1.11.1.17.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- portSecPortEntry
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 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::portSecAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ECS4810-12M-MIB::portSecAction.<portSecPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ECS4810-12M-MIB' -M '/opt/observium/mibs/edgecore:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ECS4810-12M-MIB::portSecAction'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.