TCL Scripting
Is there anyone that could share an example of a TCL script that I can run on FortiManager to simply set the source-ip for FortiManager and FortiAnalyzer settings on multiple firewalls. Rather than do this per device and have to change the source-ip in the script everytime, I'd like to do it to all devices at once.
The source ip will need to be the local vlan interface IP on each device. The vlan interface is named the same for every location, so the only variable I should need to pull is the ip for that interface, then use that variable in the set src-ip command.
Any help would be appreciated, I'm not much of a TCL or REGEX guy. :(