June 2018
Legrand PDU User Guide 323
Firewall Control
You can manage firewall control features through the CLI. The firewall control lets you set up rules that
permit or disallow access to the Legrand PDU from a specific or a range of IP addresses.
An IPv4 firewall configuration command begins with security ipAccessControl ipv4.
An IPv6 firewall configuration command begins with security ipAccessControl ipv6.
Modifying Firewall Control Parameters
There are different commands for modifying firewall control parameters.
IPv4 commands
Enable or disable the IPv4 firewall control feature:
config:# security ipAccessControl ipv4 enabled <option>
Determine the default IPv4 firewall control policy for inbound traffic:
config:# security ipAccessControl ipv4 defaultPolicyIn <policy>
Determine the default IPv4 firewall control policy for outbound traffic:
config:# security ipAccessControl ipv4 defaultPolicyOut <policy>
IPv6 commands
Enable or disable the IPv6 firewall control feature:
config:# security ipAccessControl ipv6 enabled <option>
Determine the default IPv6 firewall control policy for inbound traffic:
config:# security ipAccessControl ipv6 defaultPolicyIn <policy>
Determine the default IPv6 firewall control policy for outbound traffic:
config:# security ipAccessControl ipv6 defaultPolicyOut <policy>
Variables:
<option> is one of the options: true or false.
Option Description
true Enables the IP access control feature.
false Disables the IP access control feature.
<policy> is one of the options: accept, drop or reject.
Option Description
accept Accepts traffic from all IP addresses.