currently tabstops in config cause dublication of command they are in front of and this causes syntax errors in consequence.
Would be much easier if CLI would understand tabstops.
--
"It is a mistake to think you can solve any major problems just with potatoes." - Douglas Adams
Easy solution: use Notepad++ to clean up your config before pasting into CLI.
For example this:
config log null-device setting
set status disable
end
config log setting
set fwpolicy6-implicit-log enable
set local-in-allow enable
set local-out enable
end
config log gui-display
set location fortianalyzer
end
Becomes this:
config log null-device setting
set status disable
end
config log setting
set fwpolicy6-implicit-log enable
set local-in-allow enable
set local-out enable
end
config log gui-display
set location fortianalyzer
end
If you simply paste it into Notepad++, select all, and choose Edit > Blank Operations > Trim Leading Space
This solves the issue on many platforms where the config spits out with tabs and you want to copy paste without the tabs.
- Daniel Hamilton
User | Count |
---|---|
2061 | |
1175 | |
770 | |
448 | |
343 |
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.