![](/images/new-backgrounds/1121221/12122129x1.webp)
Example #4: Copying the Active Configuration into a Script
Use this command to capture the running configuration into a script.
console#show
Config script created successfully.
Example #5: Uploading a Configuration Script to the TFTP Server
Use this command to upload a configuration script to the TFTP server.
console#copy script abc.scr tftp://10.27.64.141/abc.scr
Mode | TFTP |
Set TFTP Server IP | 10.27.64.141 |
TFTP Path | ./ |
TFTP Filename | abc.scr |
Data Type | Config Script |
Source Filename | abc.scr |
Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) y
267 bytes transferred
File transfer operation completed successfully.
Example #6: Downloading a Configuration Script to the TFTP Server
Use this command to download a configuration script from the TFTP server to the switch.
console#copy tftp://10.27.64.141/abc.scr script abc.scr
Mode | TFTP |
Set TFTP Server IP | 10.27.64.141 |
TFTP Path | ./ |
TFTP Filename | abc.scr |
Data Type | Config Script |
Destination Filename | abc.scr |
Management access will be blocked for the duration of the transfer Are you sure you want to start? (y/n) y
193 bytes transferred
Validating configuration script...
configure
System Configuration
15