Technical Tip: Confirmation prompts when creating new VDOM
Description
A VDOM confirmation prompt has been added. Like that, users do not create new VDOMs accidentally from the CLI.
This setting is disabled by default.
Once enabled, when an administrator creates a new VDOM, the FortiGate displays a prompt to confirm before the VDOM is created.
This article describes how to use VDOM confirmation prompt.
Solution
To use the VDOM confirmation prompt.
1) Enable the prompt:
A VDOM confirmation prompt has been added. Like that, users do not create new VDOMs accidentally from the CLI.
This setting is disabled by default.
Once enabled, when an administrator creates a new VDOM, the FortiGate displays a prompt to confirm before the VDOM is created.
This article describes how to use VDOM confirmation prompt.
Solution
To use the VDOM confirmation prompt.
1) Enable the prompt:
(global)# config system global2) Create a new VDOM.
(global)set edit-vdom-prompt enable
(global)end
# config vdom
(vdom)edit vdom1
The input VDOM name doesn't exist.
Do you want to create a new VDOM?
Please press 'y' to continue, or press 'n' to cancel. (y/n)y
current vf=vdom1:3
(vdom1)end
# config vdom
(vdom) # edit vdom2
The input VDOM name doesn't exist.
Do you want to create a new VDOM?
Please press 'y' to continue, or press 'n' to cancel. (y/n)y
current vf=vdom2:4
(vdom2)end
