We recently upgraded our FortiManager-VM from 7.0.8 to 7.2.4 and have discovered the Meta Field we've been using to "plug" values per device into CLI templates are not supported any more and have to migrate all those per-device mappings from Device Manager to Policy & Objects, now called "Meta Variables".
The upgrade process just copied used variable names to the Policy & Objects side but all those mappings were not copied at all (why not???).
I know it's too late and useless(hopeless) to argue why they're not automatically migrated during the upgrade process. So now I just want to know what's the best way to copy those values for 500+ devices on the FMG. Ideally there is a tool existing to do it. But if so, it could have been run during the upgrade. Therefore I have to assume that doesn't exist. Then, is there any good CLI command to dump all Device Managers Meta Field values to the console/SSH session so that I can have a list to copy them from then create script to paste into CLI to generate per-device mappings at Policy & Objects?
Toshi
Solved! Go to Solution.
Actually all of them were there, copied to the metadata variables' per-device mappings. I got confused since I couldn't apply the same CLI templates to the newly added FGT since it's not defined there.
So there was no problem migrating the data through the upgrade process.
Sorry about this false alarm.
Toshi
I have a TAC case open for this and now the TAC guy is saying those mappings were supposed to be migrated automatically although the releasenotes' description is not clear if it does. He also said no CLI commands to do this manually.
Toshi
Created on ‎11-24-2023 11:22 AM Edited on ‎11-24-2023 11:23 AM
If this was my task then I would do the following:
Actually all of them were there, copied to the metadata variables' per-device mappings. I got confused since I couldn't apply the same CLI templates to the newly added FGT since it's not defined there.
So there was no problem migrating the data through the upgrade process.
Sorry about this false alarm.
Toshi
User | Count |
---|---|
1922 | |
1144 | |
769 | |
447 | |
277 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.