OcNOS-SP : System Management Guide : System Management Command Reference : Basic Commands : write
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
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
No default value is specified
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
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]
Last modified date: 10/19/2023