write
Use this command to a write the running configuration to the file used at startup or to a specified file. This is the same as the copy running-config startup-config command.
Command Syntax
Copy
write
write file FILE
write memory
write WORD
Parameters
FILE
Write to a given path and file. If you do not give a file path, the file is added to /root
.
memory
Write to non-volatile memory.
WORD
Write to running configuration file path.
Default
None
Command Mode
Privileged execution mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Copy
This example shows writing the running configuration to the startup configuration file:
#write
Building configuration...
[OK]
This example shows writing the running configuration to a specified file:
#write file /home/test.txt
Building configuration...
[OK]