Chapter 5: Using the Command Line Interface
Example 1 - IPv4 Firewall Control Configuration
The following command sets up two parameters of the IPv4 access
control feature.
config:# security ipAccessControl ipv4 enabled true defaultPolicyIn accept
Results:
• The IPv4 access control feature is enabled.
• The default policy for inbound traffic is set to "accept."
• The default policy for outbound traffic is set to "accept."
Example 2 - Adding an IPv4 Firewall Rule
The following command adds a new IPv4 access control rule and
specifies its location in the list.
config:# security ipAccessControl ipv4 rule add 192.168.84.123/24 accept
Results:
• A new IPv4 firewall control rule is added to accept all packets sent
from the IPv4 address 192.168.84.123.
• The newly-added rule is inserted above the 5th rule. That is, the new
rule becomes the 5th rule, and the original 5th rule becomes the 6th
rule.
Example 3 - User Blocking
The following command sets up two user blocking parameters.
security userBlocking maximumNumberOfFailedLogins 5 blockTime 30
Results:
• The maximum number of failed logins is set to 5.
• The user blocking time is set to 30 minutes.