Get CLI config files of ZD ,like cisco's show run

  • 1
  • Question
  • Updated 2 years ago
  • Answered
I want to use a cli like cisco's 'show run' to get the cli configuration. And then enter this configuration to a new deivce by CLI.

I know the show config, but it is not a kind of CLI command. 't re-enter the output of "show conf" to restore a config.
Photo of mark lee

mark lee

  • 6 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of John D

John D, AlphaDog

  • 497 Posts
  • 136 Reply Likes
The ZoneDirector stores it's config in a database that you can back up then selectively restore (e.g. Configuration only) via the WebUI. Is doing it at the command line a must?
Photo of mark lee

mark lee

  • 6 Posts
  • 0 Reply Likes
Thanks for your reply. Yes, if it support backup cli configuration could be better.
You means ZD does not support this feature?
Photo of Michael Brado

Michael Brado, Official Rep

  • 1982 Posts
  • 276 Reply Likes
Neither ZoneDirector nor Standalone APs have a complete text configuration file backup/restore capability. You can script some CLI configuration of common settings or WLANs, but not a full backup/restore file.

You can save a configured ZoneDirector backup file, and install it on a new ZD,
leaving that ZD's IP address and login credentials, in order to "clone" another/new
ZD with an existing/working configuration, which is sometimes helpful. This is
done thru the ZoneDirector WebUI too though, not a CLI method.
Photo of nbctcp

nbctcp

  • 10 Posts
  • 0 Reply Likes
If I understand correctly.
I can do these in ZoneDirector.
-backup config from gui
-let say I lost the password
just reset to factory default
-set new password
-restore config
my new password still intact (won't be overwrittern by restored config)

if correct
can I do the same thing with vSZ

tq
Photo of Monnat Systems

Monnat Systems, AlphaDog

  • 716 Posts
  • 151 Reply Likes
i think password in backup file will get applied to the controller...pls chk with support on this be sure...
Photo of Michael Brado

Michael Brado, Official Rep

  • 1982 Posts
  • 276 Reply Likes
NBCTCP, the vSZ allows you to do a Config Backup and a Cluster Backup.
A Config Backup can be applied to a new vSZ instance.
A Cluster Backup must be applied to an exactly matching (hw, cpu, mem) vSZ instance.
Photo of nbctcp

nbctcp

  • 10 Posts
  • 0 Reply Likes
MY point is whether after restore, admin password in backup will overwrite target vSZ admin password or not.
If not that will be good if I want to copy similar config to different machine
tq
Photo of Michael Brado

Michael Brado, Official Rep

  • 1982 Posts
  • 276 Reply Likes
Sorry, but a vSZ Configuration Backup *will* include the Admin password if Restored on a new vSZ instance.
Photo of M

M

  • 28 Posts
  • 1 Reply Like
Would be nice if there's a CLI command that we can enter to get ZD's complete configuration. This will be useful if we want to load configuration from one ZD model to a different model (for testing purposes, for example).
Photo of Michael Brado

Michael Brado, Official Rep

  • 1979 Posts
  • 275 Reply Likes
Hello M, ask your Ruckus account rep to add your vote to feature request FR-1489: Restore ZD backup via CLI.