Skip to main content
AlexFerenX
Visitor III
March 11, 2026
Solved

Show "Provisioning Template" of type "CLI Template", using CLI - possible?

  • March 11, 2026
  • 3 replies
  • 283 views

Hi!

Issuing "execute fmpolicy print-adom-package ..." does not present an option to see "CLI Template". Is it possible using CLI?

Thanks!

Best answer by farhanahmed

@AlexFerenX  

As of now the CLI template is part of ADOM object.

Use this command:
# exe fmpolicy print-adom-object <ADOM> 1902 

3 replies

sw2090
SuperUser
SuperUser
March 11, 2026

In FMG 7.2 this only gives me these options:

scis-fmg01 # execute fmpolicy print-adom-package Standorte-2022-neue_Adom
<policy package/template name>
1 Policy Packages
5 System Templates
8 FortiClient Templates
9 Threat Weight Templates
10 WTP Packages
11 SD-WAN Templates
12 FortiSwitch Packages
14 FortiExtender Packages
18 Firmware Templates
20 Template Groups
22 All Non-policy Packages
23 IPsec Tunnel Templates
24 Static Route Templates
26 SD-WAN Overlay Templates
27 IPS Templates
1262 BGP Templates

 

so seens not to be possible at least in 7.2

AlexFerenX
Visitor III
March 11, 2026

You don’t imagine I tried the command I provided before asking?

AlexFerenX
Visitor III
March 11, 2026

My question is to anyone who knows the answer - Fortinet employees, are you out there?

farhanahmed
Staff
Staff
March 16, 2026

@AlexFerenX  

As of now the CLI template is part of ADOM object.

Use this command:
# exe fmpolicy print-adom-object <ADOM> 1902 

AlexFerenX
Visitor III
March 17, 2026

@farhanahmed , thank you very much!