swPktStormTrapCtrl
PKT-STORM-CTRL-MIB ·
.1.3.6.1.4.1.171.12.25.1.2
Object
scalar r/w
Enumeration
This object controls when a storm control notification will be generated.
If the object is set to
none(1): No notifications will be generated.
stormOccurred(2):
stormCleared(3):A notification will be generated when a storm event is
detected or cleared respectively.
both (4): A notification will be generated both when a storm event is detected and
cleared.
NOTE:The default value of this object is none(1).
Context
- MIB
- PKT-STORM-CTRL-MIB
- OID
.1.3.6.1.4.1.171.12.25.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- swPktStormCtrl
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'PKT-STORM-CTRL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'PKT-STORM-CTRL-MIB::swPktStormTrapCtrl.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'PKT-STORM-CTRL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'PKT-STORM-CTRL-MIB::swPktStormTrapCtrl'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | stormOccurred |
3 | stormCleared |
4 | both |