Configuration and Image File Commands
259
OL-32830-01 Command Line Interface Reference Guide
10
The following example copies file1 to the Startup Configuration file. The username
and password used for SCP session authentication are: jeff and admin1. The IP
address of the server containing file1 is 102.1.2.2.
switchxxxxxx#
copy scp://jeff:[email protected]/file1 startup-config
10.2 write
Use the write Privileged EXEC mode command to save the running configuration
to the startup configuration file.
Syntax
write [memory]
Parameters
This command has no arguments or keywords.
Command Mode
Privileged EXEC mode
Examples
The following example shows how to overwrite the startup-config file with the
running-config file with the write command.
switchxxxxxx#
write
Overwrite file [startup-config] ?[Yes/press any key for no]....15-Sep-2010 11:27
:48 %COPY-I-FILECPY: Files Copy - source URL running-config destination URL
flash://startup-config
15-Sep-2010 11:27:50 %COPY-N-TRAP: The copy operation was completed successfully
Copy succeeded
Summary of Contents for 300 Series
Page 2: ......