HP-UX CMGR A.02.00 Administrator's and Developer's Guide

ipfilter handler checks the operation option from the cmgr command and performs
one of the following tasks:
DescriptionOperation
Adds concatenated data child elements to the beginning of the IPFilter
configuration file.
NOTE: You must include meta-tags around the configuration data to
be added. See Section 3.2.8 for more information on meta-tags.
add
Searches the IPFilter configuration file for the first block of data with
the exact matching open and close comment meta-tag as specified in
the concatenated child data elements. If a match is found, the comment
meta-tags, and all data between are deleted.
delete
Performs the equivalent of a delete followed by an add operation,
with the exception that the new data will be placed in the same location
in the IPFilter configuration file.
replace
Searches the IPFilter configuration file for matching meta-tags. If a match
is found, displays the entire meta-tag string. If used with the verbose
option, cmgr displays the entire content of the meta-tag data.
list
Upon successful completion of the add, delete, or replace operation, cmgr validates
the IPFilter configuration file with the following command:
ipf -n -f ipfilterfile
If the validation succeeds, cmgr notifies ipfilter to reload its configuration with the
following command:
ipf -Fa -f ipfilterfile
NOTE: The ipfilter handler processes a temporary copy of the IPFilter
configuration file. If the ipfilter handler returns an error, the contents of the IPFilter
configuration file will be unchanged from its original state.
DescriptionAttribute
Optional.
id
Optional.
if
Optional.
if_op
Required.
Specifies the IPFilter configuration file to act upon for ipv4 type addresses.
ipfilterfile
Required.
Specifies the IPFilter configuration file to act upon for ipv6 type addresses
ipfilteripv6file
22 Building a Template