User guide

cpconf
58 Chapter 2 Command Descriptions
cpconf
Device support This command is supported in all devices.
Purpose Used to:
Copy a configuration to and from a remote host (backup/restore)
Display the configuration on a terminal.
Required
permissions
Root privileges are required to use this command.
Syntax cpconf {fromhost=host[:file]|tohost={host[:file]|term}}
Options fromhost=host[:file]
Copies the configuration from the host and file specified. Be sure to:
Identify the host by either its IP address or DNS name.
Separate host and file options by colons.
If you do not specify a file name, the default file name, config.ps3, is used.
tohost={host[:file]
Copies the configuration to the host and file specified. Be sure to:
Identify the host by either its IP address or DNS name.
Separate the host and file information by a colon.
If the file name is not specified, the default file name, config.ps3, is used.
TFTP must be running on the host. For transfers to the Digi device, the
file must be in the TFTP directory and assigned read-write permissions
for all users.
term
Displays the configuration file on the terminal that issued the command.
Examples Copy configuration from a host
#> cpconf fromhost=190.150.150.10:ps-cnfg1
Copy configuration to a host
#> cpconf tohost=190.150.150.10:ps-cnfg1
Copy configuration to a terminal
#> cpconf term