IPF-MIB :: ipfCommand

MIB Reference — IPNetwork Monitor · Updated October 02, 2026

All MIBs › IPF-MIB › ipfCommand

ipfCommand

Module: IPF-MIB

OID (symbolic): IPF-MIB::ipfCommand

OID (numeric): 1.3.6.1.4.1.1055.5.4

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: UPDATE - the rule set is updated. Use the new rules. If there are any parse errors, the UPDATE operation would fail. If there are no parse errors, the parse buffer is emptied. ie. parserRules (see below) will be an empty table. DISABLE - disable all IP-Filter & NAT activities ENABLE - enable IP-Filter & NAT activities with the current set of rules. DELETE - discard the set of rules from the parse buffer. ie. parserRules (see below) will be an empty table. CLEAR - discard the loaded rules. ie. the ipfCurrRules and natCurrRules (see below) will be empty tables.

NOTE: A get or get next operation is meaningless on this variable and hence the value returned is always 42.

What is ipfCommand?

A write-only control that drives the IPF rule lifecycle: update(1) applies the parsed rule set (failing on any parse error), disable(2)/enable(3) turn IP-Filter and NAT on or off, delete(4) discards the parse buffer, and clear(5) wipes the currently loaded rules; reads of this object are meaningless and always return 42.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1055.5.4
snmpwalk -v2c -c public <target> IPF-MIB::ipfCommand

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.1055.5.4.1
snmpget -v2c -c public <target> IPF-MIB::ipfCommand.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.1055.5.4.1 i <value>

Start monitoring BSD/Solaris system running IPFilter (ipf) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the IPF-MIB::ipfCommand OID value, configure state conditions and alerts, and monitor any BSD/Solaris system running IPFilter (ipf) from a single console.

OID Breakdown

Upper-level ancestors (6 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
Numeric OIDNameModule
1.3.6.1.4.1.1055sbeIPF-MIB
1.3.6.1.4.1.1055.5ipfIPF-MIB
1.3.6.1.4.1.1055.5.4ipfCommandIPF-MIB