Chapter 7: Using the Command Line Interface
295
config:#
security ipAccessControl ipv4 rule modify <rule_number> policy
<policy>
The command syntax to modify all contents of an existing IPv4
rule:
config:#
security ipAccessControl ipv4 rule modify <rule_number> ipMask
<ip_mask> policy <policy>
IPv6 commands
The command syntax to modify an IPv6 rule's IP address and/or
subnet mask:
config:#
security ipAccessControl ipv6 rule modify <rule_number> ipMask
<ip_mask>
The command syntax to modify an IPv6 rule's policy:
config:#
security ipAccessControl ipv6 rule modify <rule_number> policy
<policy>
The command syntax to modify all contents of an IPv6 existing
rule:
config:#
security ipAccessControl ipv6 rule modify <rule_number> ipMask <ip_mask>
policy <policy>
Variables:
<rule_number> is the number of the existing rule that you want to
modify.
<ip_mask> is the combination of the IP address and subnet mask
values, which are separated with a slash. For example, an IPv4
combination looks like this:
192.168.94.222/24
.
<policy> is one of the options:
accept,
drop
or
reject
.
Option
Description
accept
Accepts traffic from the specified IP address(es).
drop
Discards traffic from the specified IP address(es),
without sending any failure notification to the
source host.