Delete a specific rule by its index number.
Task
- Log on to the system as a user with administrator rights.
-
Change the directory to the
Firewall bin directory:
/opt/McAfee/ens/fw/bin
-
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>