write command
This command saves the CMM configuration, including user accounts and permission groups, to a file.
Saved configurations are restored using the read command.
- When the CMM is set to
Secure
security mode, only secure file transfer methods, such as HTTPS and SFTP, can be used for tasks involving file transfer when the CMM is acting as a server. Unsecure file transfer protocols, such as HTTP, FTP, and TFTP, are disabled when the CMM is acting as a server when the security mode is set toSecure
. Unsecure file transfer protocols remain available for a CMM acting as a client for all commands when the security mode is set toSecure
. - For information about how to specify a URL for file transfer, see Specifying a URL for file transfer.
If command syntax is not correctly entered, or if a command fails to run, an error message is returned. See Common errors for a list of error messages that apply to all commands or write command errors for a list of error messages that are specific to the write command.
Function | What it does | Command | Target (see paths in Command targets) |
---|---|---|---|
Save CMM configuration to file | Saves an image of the CMM configuration to a file. This image includes CMM users and permission groups. | write -u URL -p passphrase where:
| Primary CMM:
|
Example:
write -u tftp://9.37.177.215/temp/cmm1.cfg -p "backuplock" -T mm[p]
The following example shows the information that is returned from this command:
system> write -u tftp://9.37.177.215/temp/cmm1.cfg -p "backuplock" -T mm[p]
OK
write -T mm[p] -p "Passphaase" -u sftp://userid:password@300.370.640.310/tftpboot/
backup/cfg.bkp
The following example shows the information that is returned from this command:
<span className="ph">system> write -T mm[p] -p "Passphaase" -u sftp://userid:password@300.370.640.310/
tftpboot/backup/cfg.bkp
OK</span>