networkRulesAction
MX-NFW-MIB ·
.0.2250.1.600.1.800
Object
column r/w
Enumeration
Action
Action taken when this rule matches a packet.
Action can be one of the following:
* Accept: Let the packet through.
* Reject: Send back an ICMP port unreachable in response to
the matched packet, the packet is then dropped.
* Drop: The packet is dropped without any notification.
* RateLimitPerSource: Drop the packets received from a given
source IP address when it exceeds a configurable rate. The
rate is set using the RateLimitValue and
RateLimitTimePeriod parameters.
Note: This action is only allowed when the ConnectionState
parameter is set to 'New'.
Context
- MIB
- MX-NFW-MIB
- OID
.0.2250.1.600.1.800- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- networkRulesEntry
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 'MX-NFW-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NFW-MIB::networkRulesAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MX-NFW-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MX-NFW-MIB::networkRulesAction.<networkRulesPriority>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MX-NFW-MIB' -M '/opt/observium/mibs/media5:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MX-NFW-MIB::networkRulesAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
100 | accept |
200 | reject |
300 | drop |
400 | rateLimitPerSource |