Skip to main content
Yngve0
New Member
March 26, 2009
Question

Vdom show configuration

  • March 26, 2009
  • 5 replies
  • 30357 views
Are there any command to show full configuration (including VDOM' s) from CLI? Y

    5 replies

    emnoc
    New Member
    March 26, 2009
    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"
    p768
    New Member
    March 26, 2009
    remember, you need to be a Super Admin for this
    Yngve0
    Yngve0Author
    New Member
    March 27, 2009
    This command returns extended information, but nothing about firewall policies on VDOM-level. Y
    abelio
    SuperUser
    SuperUser
    March 27, 2009
    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
    Yngve0
    Yngve0Author
    New Member
    September 12, 2009
    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
    emnoc
    New Member
    September 14, 2009
    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.