Migrating filters
Perform the following steps to migrate filters.
On a system that has been migrated, the
filter database is corrupted after migration. If you run the lsfilt command on the migrated system, you will get the
following error:
Cannot get ipv4 default filter rule
To update the filter database, complete the following steps:- Replace the ipsec_filter file and the ipsec_filter.vc file in the /etc/security directory with the uncorrupted files from a newly migrated system. If you do not have these files, you can request them from IBM® Service.
- Import the filter rules files to the /tmp directory using SMIT by completing the following steps:
- Run the smitty ipsec4 command.
- Select Advanced IP Security Configuration—>Configure IP Security Filter Rules—>Import IP Security filter rules.
- Enter /tmp for the directory name.
- Under the Filter Rules option press F4 and select all from the list.
- Press Enter to recreate the filter rules. You can list the filter rules through SMIT or with the lsfilt command.