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

This article describes how to ensure the interface exists from the system template at FortiManager:

 

Screenshot 2025-01-30 074934.png

Scope FortiManager.
Solution

To view the System Template profile

 

exe fmpolicy print-adom-package-assignment <adom> <type>

exe fmpolicy print-adom-package 3 5

ID <package name>
1296 name=default, pathname=default
17752 name=testing, pathname=testing

 

To print interface in System Template

 

exe fmpolicy print-adom-package-assignment <adom> <type><package> <category>|all [<key>|all|list] [output|o]

exe fmpolicy print-adom-package 3 5 17752 533 interface
Dump object [interface] of category [device template widget] in adom [root] package [17752]:
---------------
config device template widget
    edit "interface"
        config action-list
            edit 1
                set action "add-aggregate"
                set model "all"
                set value "{ \"member\": [ \"sadas\" ], \"name\": \"1\" }"

            next
        end

    next

end

 

From the System GUI, if the interface does not display, run the repair template using the below command:

 

diagnose cdb upgrade force-retry reload-template-action

 

If the repair template will not fix the interface GUI issue at the System template, upgrade the FortiManager.

 

Related article: 
Technical Tip: How to import system template between the ADOMs