The new docs.trellix.com offers a modernized UI and AI-powered features like conversational searches. Content is currently available only in English. Other languages will be available in mid-October 2026. We hope you enjoy the new experience.

Delete a Firewall rule

Prev Next

Delete a specific rule by its index number.

  1. Log on to the system as a user with administrator rights.

  2. Change the directory to the Firewall bin directory:

    /opt/McAfee/ens/fw/bin

  3. Run the command:

    ./mfefwcli --fw-rule-delete -index

    • --index — Specifies the rule number corresponding to the rule list.

    • --force — Deletes the rule without any prompt. If you don't enable this option, you are prompted to delete the rule.

    • --adaptive — Deletes the rule from the adaptive rules list.

Delete a rule

Delete a rule from the Firewall rule list

./mfefwcli --fw-rule-delete --index <index_number_of_rule_to_delete>