HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

118 Configuring advanced security features
Deleting an IP Filter policy
You can delete a specified IP Filter policy. Deleting an IP Filter policy will remove it from the temporary
buffer. To permanently delete the policy from persistent database, run ipfilter
--save. An active IP
Filter policy cannot be deleted.
To delete an IP Filter policy:
1. Log in to the switch using an account assigned to the admin role.
2. Type in the following command:
ipfilter –delete <policyname>
where <policyname> is the name of the policy.
3. To permanently delete the policy, type the following command:
ipfilter --save
IP Filter policy rules
An IP Filter policy consists of a set of rules. Each rule has an index number identifying the rule. There can
be maximum 256 rules within an IP Filter policy.
Each rule contains the following elements:
Source Address:A source IP address or a group prefix.
Destination Port:The destination port number or name, such as: Telnet, SSH, HTTP, HTTPS.
Protocol:The protocol type. Supported types are TCP or UDP.
Action: The filtering action taken by this rule, Permit or Deny.
For an IPv4 filter policy, the source address has to be a 32-bit IPv4 address in dot decimal notation. The
group prefix has to be a CIDR block prefix representation. For example, 208.130.32.0/24 represents a
24-bit IPv4 prefix starting from the most significant bit. The special prefix 0.0.0.0/0 matches any IPv4
address. In addition, the keyword any is supported to represent any IPv4 address.
For an IPv6 filter policy, the source address has to be a 128-bit IPv6 address, in a format acceptable in
RFC 3513. The group prefix has to be a CIDR block prefix representation. For example,
12AB:0:0:CD30::/64 represents a 64-bit IPv6 prefix starting from the most significant bit. In addition, the
keyword any is supported to represent any IPv6 address.
For the destination port, a single port number, or a port number range can be specified. According to
IANA (http://www.iana.org
), ports 0 to 1023 are well-known port numbers, ports 1024 to 49151 are
registered port numbers, and ports 49152 to 65535 are dynamic or private port numbers. Well-known and
registered ports are normally used by servers to accept connections, while dynamic port numbers are used
by clients.
For an IP Filter policy rule, users can only select port numbers in either the well known or the registered port
number range, between 0 and 49151, inclusive. This means that customers have the ability to control how
to expose the management services hosted on a switch, but not the ability to affect the management traffic
that is initiated from a switch. A valid port number range is represented by a dash, for example 7-30.
Alternatively, service names can also be used instead of port number. Table 30 lists the supported service
names and their corresponding port number.
Table 30 Supported services
Service name Port number
https 443
rpc 897
secure rpc 898
snmp 161
ssh 22
s u n p r c 111