EnterasysSaveConfig: Difference between revisions
AlainKnaff (talk | contribs) (Import from phpWiki) |
m (Reverted edits by Yxawyjo (Talk) to last version by AlainKnaff) |
(One intermediate revision by one other user not shown) | |
(No difference)
|
Latest revision as of 19:51, 26 November 2010
This page shows how to save and load back the config
Display config to terminal[edit]
show config
Save config[edit]
First it needs to be saved to a file on the switch:
show config outfile slot1/keller_config.cfg
Then this file needs to be copied off the switch (via tftp to the server). For this, the server needs to support tftp uploads. By default, the Tftp daemon on the server should support this, provided that
- it is running (start it, if needed by setting
disable
no= in the/etc/xinetd.d/tftp
file, and doing anrcxinetd reload
) - the target file already exists (under the
/tftpboot
root), and is publically writable. If necessary, create it as follows:
mkdir /tftpboot/switch-config touch /tftpboot/switch-config/keller_config.cfg chmod 666 /tftpboot/switch-config/keller_config.cfg
This creates an empty keller_config.cfg
file with the correct permissions.
When ready, enter the following command on the switch:
copy slot1/kellerconfig.cfg tftp://10.0.0.1/switch-config/kellerconfig.cfg
This should now overwrite the placeholder keller_config.cfg
file with its real contents.
If there are problems with this command, just use show config
and copy-paste the output to a file using the mouse ;-)
Restore config[edit]
First (if needed) you need to copy the config file from the server to the switchs flash memory via tftp
copy tftp://10.0.0.1/switch-config/kellerconfig.cfg slot1/kellerconfig.cfg
Then you need to apply it:
configure slot1/keller_config.cfg