Chapter 9: Using the Command Line Interface
config:#
security ipAccessControl ipv4 rule add <direction> <ip_mask> <policy>
config:#
security ipAccessControl ipv4 rule add <direction> <ip_mask> <policy> <insert>
<rule_number>
-- OR --
config:#
security ipAccessControl ipv4 rule add <direction> <insert> <rule_number>
<ip_mask> <policy>
config:#
security ipAccessControl ipv6 rule add <direction> <ip_mask> <policy>
610
Tip: You can combine both commands to modify all firewall control parameters
at a time. See
Multi-Command Syntax
Managing Firewall Rules
You can add, delete or modify firewall rules using the CLI commands.
•
An IPv4 firewall control rule command begins with security ipAccessControl
ipv4 rule.
•
An IPv6 firewall control rule command begins with security ipAccessControl
ipv6 rule.
Adding a Firewall Rule
Depending on where you want to add a new firewall rule in the list, the
command for adding a rule varies.
•
IPv4 commands
Add a new rule to the bottom of the IPv4 rules list:
Add a new IPv4 rule by inserting it above or below a specific rule:
•
IPv6 commands
Add a new rule to the bottom of the IPv6 rules list:
Add a new IPv6 rule by inserting it above or below a specific rule:
(on page 695).