FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
smkml
Staff
Staff
Article Id 290745
Description

 

This article describes how to troubleshoot a 'copy' error that occurs during installation and explains how to understand the expected behavior for zone member interfaces used in policies.

 

Scope

 

FortiManager, FortiGate.

 

Solution

 

The following is an example copy error shown when perform an installation on the policy package level:

 

error 42 - entry not exist. detail: Dynamic interface < interface name > mapping undefined for device  < device name >

 

Copy device global objects

validation error on firewall policy 2, by dynamic interface check

Vdom copy failed:
error 42 - entry not exist. detail: Dynamic interface "TestZone1" mapping undefined for device Juara-kvm56

Copy objects for vdom root

 

Troubleshooting:

 

  1. Perform the following debug command:

 

diag debug application securityconsole 255

diag debug enable

 

Example output: 

 

SECURITY_CONSOLE: Installing firewall policy
SECURITY_CONSOLE: [Juara-kvm56[copy] root] validation error on firewall policy 2, by dynamic interface check
SECURITY_CONSOLE: error: 42, entry not exist. detail: Dynamic interface "TestZone1" mapping undefined for device Juara-kvm56

 

  1. Check the normalized interface has per-device mapping in place for the device in the GUI and CLI:

 

normalized interface per-device.png

 

print adom object.png

 

  1. Checking the policies and device level interface:

 

device level interface.png

 

Note that inside the TestZone1 zone interface, one of the members (TestVlan1) is used in the policy.

 

policy zone interface member.png

 

Solution:

 

Create a new interface zone and add TestVlan1 as member. Make sure to change the normalized interface to a zone interface instead of the interface itself. By design, zone member interfaces are not allowed in policies, which only accept zone interfaces.

 

device level interface2.png

 

Related article:

Troubleshooting Tip: FortiManager Dynamic Interface Mapping Errors.

Contributors