A method and system to generate a CLI command designed to output a
configuration dump of a networked device is described. The method and
system allows generation of a command that discovers the state value
parameters of the device, and from those discovered state value
parameters constructs a CLI command script that, when executed, sets the
networked device back to the configuration existing when the command was
initially executed. The method and system provides templates and routines
that may be customized by the user to form a command specific to the
networked device.