ERROR_IPSEC_TUNNEL_FILTER_EXISTS - 13016 (0x32D8)
The specified tunnel mode filter exists.
Updated: Feb 21, 2026
Technical Meaning
The error code ERROR_IPSEC_TUNNEL_FILTER_EXISTS indicates that a tunnel mode filter, which is used in the Internet Protocol Security (IPsec) framework to manage secure communications over IP tunnels, already exists for the specified configuration.
Error Details
This error typically occurs when an attempt is made to create or modify a tunnel mode filter that already has an existing entry with the same parameters. The system checks for uniqueness of the filter based on its attributes such as security associations, authentication methods, and other relevant criteria.
Usage Context
The ERROR_IPSEC_TUNNEL_FILTER_EXISTS error can be encountered in scenarios where IPsec policies are being configured or modified. It is common when using tools like netsh ipsec static add tunnelfilter to define a new tunnel filter, but the specified configuration already exists.
Developer Interpretation
When this error code is returned, it suggests that the operation intended to create or modify an IPsec tunnel mode filter has failed because such a filter already exists. Developers should ensure that the parameters used for creating or modifying filters are unique and do not conflict with existing configurations.
Related Errors
ERROR_IPSEC_FILTER_NOT_FOUND(13015, 0x32D7): Indicates that a requested IPsec tunnel mode filter does not exist.ERROR_IPSEC_INVALID_FILTER(13014, 0x32D6): Indicates an invalid or unsupported configuration for the IPsec tunnel mode filter.
FAQ
Q: What causes this error?
A: This error occurs when attempting to create a tunnel mode filter that already exists with identical parameters. Ensure uniqueness of the filter's attributes before performing operations.
Q: How can I resolve this issue?
A: Verify the parameters used for creating or modifying the IPsec tunnel mode filter and ensure they are unique. If necessary, adjust the configuration to avoid conflicts.
Summary
The ERROR_IPSEC_TUNNEL_FILTER_EXISTS error code is specific to operations involving IPsec tunnel mode filters in Windows systems. It indicates that a requested operation has failed due to an existing filter with identical parameters. Developers should ensure parameter uniqueness and correct configurations to prevent this error.