flowRuleAction
FLOW-METER-MIB ·
.1.3.6.1.2.1.40.3.1.1.6
Object
The action to be taken if this rule's test succeeds, or if the meter's 'test' flag is off. Actions are opcodes for the meter's Packet Matching Engine; details are given in the 'Traffic Flow Measurement: Architecture' document [RTFM-ARC].
Context
- MIB
- FLOW-METER-MIB
- OID
.1.3.6.1.2.1.40.3.1.1.6- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- flowRuleEntry
- Groups
- 1
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 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FLOW-METER-MIB::flowRuleAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'FLOW-METER-MIB::flowRuleAction.<flowRuleSet>.<flowRuleIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'FLOW-METER-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'FLOW-METER-MIB::flowRuleAction'
Syntax
- Source
- ActionNumber
- Base type
Enumeration
Values & Constraints
Type Values
1 | ignore |
2 | noMatch |
3 | count |
4 | countPkt |
5 | return |
6 | gosub |
7 | gosubAct |
8 | assign |
9 | assignAct |
10 | goto |
11 | gotoAct |
12 | pushRuleTo |
13 | pushRuleToAct |
14 | pushPktTo |
15 | pushPktToAct |
16 | popTo |
17 | popToAct |
Conformance
Member of