ewhitt has asked for the wisdom of the Perl Monks concerning the following question:
When viewing the system configuration, it appears as:enable server hostname test enable server console-type type vt100 enable server account root authenticaion-type password "bubba"
My script needs to be able to take the configuration and translate it back into CLI commands. Any suggestions on how I can approach this? Thanks in advance!server { hostname test; console-type { type vt100; } account root { authentication-type { password "bubba"; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Approach to remove brackets from config
by samtregar (Abbot) on Aug 20, 2008 at 17:52 UTC | |
by psini (Deacon) on Aug 20, 2008 at 21:32 UTC | |
by samtregar (Abbot) on Aug 21, 2008 at 16:07 UTC | |
|
Re: Approach to remove brackets from config
by FunkyMonk (Bishop) on Aug 20, 2008 at 21:16 UTC |