Copying the custom default config file onto the switch
The custom default config file can be copied onto the switch using TFTP, XMODEM, or USB.
TFTP
Use thecopy tftp default-config command to copy a configuration file stored on a TFTP server to the custom default configuration file:
Copying a stored config file to the default config file using TFTPcopy tftp default-config <ip-addr> <stored config file name>
switch(config)# copy tftp default-config 10.10.10.1 stored_config.cfg
XMODEM
Use thecopy xmodem default-config command to copy a configuration file to the custom default configuration file using XMODEM:
Copying a stored config file to the custom default config file using XMODEMcopy xmodem default-config
switch(config)# copy xmodem default-config
USB
Use thecopy usb default-config command to copy a configuration file to the custom default configuration file using USB:copy usb default-config <stored config file name>
Copying a stored config file to the custom default config file using USB
switch# copy usb default-config stored_config.cfg