[rancid] FortiGate & VDOMs

David Earp morbiddk at gmail.com
Thu Oct 18 19:24:37 UTC 2012


Hello all, hoping to get some assistance on pulling a 100% complete backup
from a FortiGate device that utilizes VDOMs. It appears the default
fnrancid and fnlogin makes the assumption that the device does not contain
VDOMs and as such only backs up the initial logged in VDOM due to how VDOMs
are handled within the FortiOS. It appears they are treating each VDOM as a
completely separate virtual router and as such, pulling a backup for one
section of the device, only pulls the configuration for that section.

For example, a basic FG with a single vdom called root, will also contain a
section called Global. If I backup the portion as I log directly in with,
in this case <root>, it will only contain configuration information for
'root' and will not contain anything from Global. On the reverse, if I log
into Global and pull a config, same thing, only the configuration for the
Global portion and nothing from VDOM root.

Can anyone assist me in updating the fnrancid script to allow the script to
move from Global into the root vdom? From Global, the following commands
would need to be run to complete this:
end
config vdom
edit root

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.shrubbery.net/pipermail/rancid-discuss/attachments/20121018/ec1d2a27/attachment.html>


More information about the Rancid-discuss mailing list