A method and apparatus for automatically generating a configuration for a
network device is disclosed, comprising the computer-implemented steps of
receiving a partial configuration for a network device, wherein the
partial configuration comprises a plurality of configuration commands,
wherein each of one or more of the configuration commands is associated
with one of a plurality of user interface elements; parsing the partial
configuration to identify the user interface elements; generating a user
interface page based on the user interface elements; receiving one or
more configuration parameter values via the user interface page; and
substituting the configuration parameter values into the partial
configuration to result in creating a complete configuration for the
device.