Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Vdom show configuration
Are there any command to show full configuration (including VDOM' s) from CLI?
Y
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, it' s quite simple. After ssh into the device or the CLI console window.
get into config global mode and then execute " show full"
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
remember, you need to be a Super Admin for this
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This command returns extended information, but nothing about firewall policies on VDOM-level.
Y
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
From CLI admin guide:
config global Enter config global to access global commands. In the global shell, you can execute commands that affect all virtual domains, such as config system autoupdate. For a list of the global commands, see “global†on page 55. config vdom Enter config vdom to access VDOM-specific commands. In the vdom shell, use the edit <vdom_name> command to create a new VDOM or to edit the configuration of an existing VDOM. In the <vdom_name> shell, you can execute commands to configure options that apply only within the VDOM, such as config firewall policy. For a list of VDOM-specific commands, see “vdom†on page 58. When you have finished, enter next to edit another vdom, or end. get system status System status. See “vdom-link†on page 460. exit Log off.once you' re in the choosen Vdom, you can use ' show full firewall policy' command
regards
/ Abel
regards
/ Abel
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So there are no single command to retrieve a complete configuration including all vdoms (like " Backup configuration function in WEBui)?
My background for the question is that I use Cattools for scheduled backup.
Y
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can always secure copy the config off.
scp user@ip_addres.com:sys_config
I have keys upload on the 20 or so fortigates I manage or own , and a screw runs everyday that copys down the configs. Just make your enable scp support.
" set admin-scp enable" in global configuration.
PCNSE
NSE
StrongSwan
PCNSE
NSE
StrongSwan