Go to main content

Oracle® Rack Universal Power Distribution Unit User's Guide

Exit Print View

Updated: May 2019
 
 

Modify a Firewall Rule

  1. To modify an IPv4 rule IP address and subnet mask, at the config:# prompt, type security ipAccessControl ipv4 rule modify <direction> <rule_number> ipMask <ip_mask>, and press Enter.
  2. To modify an IPv6 rule IP address and prefix length, at the config:# prompt, type security ipAccessControl ipv6 rule modify <direction> <rule_number> ipMask <ip_mask>, and press Enter.
  3. To modify an IPv4 rule policy, at the config:# prompt, type security ipAccessControl ipv4 rule modify <direction> <rule_number> policy <policy>, and press Enter.
  4. To add an IPv6 rule policy, at the config:# prompt, type security ipAccessControl ipv6 rule modify <direction> <rule_number> policy <policy>, and press Enter.
  5. To modify all contents of an existing IPv4 rule, at the config:# prompt, type security ipAccessControl ipv4 rule modify <direction> <rule_number> ipMask <ip_mask> policy <policy>, and press Enter.
  6. To modify all contents of an existing IPv6 rule, at the config:# prompt, type security ipAccessControl ipv6 rule modify <direction> <rule_number> ipMask <ip_mask> policy <policy>, and press Enter.

    <direction> is one of the options:

    • in – Inbound traffic.

    • out – Outbound traffic.

    <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 (or prefix length), which are separated with a slash. For example, 192.168.94.222/24.

    Policy
    Description
    accept
    Accepts traffic from or to the specified IP address(es).
    drop
    Discards traffic from/to the specified IP address(es), without sending any failure notification to the source or destination host.
    reject
    Discards traffic from/to the specified IP address(es), and an ICMP message is sent to the source or destination host for failure notification.