Use the cpconf command to do the following:
Restore the configuration from a remote host or terminal
Copy the configuration to a remote host or terminal
Display the configuration on the administrative terminal
The cpconf command requires root privileges.
Enter the cpconf command as shown below:
cpconf
{fromhost=host:[file]}|{tohost=host:[file]}|{term}
cpconf {fromhost host:[file]}|{tohost
host:[file]}|{term}
|
Command Field |
Description |
|
fromhost=host:[file] (PortServer TS 8/16) Notes:
|
Copies the configuration to the device/terminal server from the host and file specified. When you use this field, remember to do the following:
|
|
tohost=host:[file] (PortServer TS 8/16) Notes:
|
Copies the configuration to the host and file specified. When you use this field, remember to do the following:
|
|
term |
Displays the configuration file on the administration terminal. |
In this example, the cpconf command copies the configuration from the host and file specified.
cpconf fromhost=190.150.150.10:ps-cnfg1
In this example, the cpconf command copies the configuration from the host and file specified.
cpconf fromhost 190.150.150.10:ps-cnfg1
In this example, the cpconf command copies the configuration to the host and file specified.
cpconf tohost=190.150.150.10:ps-cnfg1
In this example, the cpconf command copies the configuration to the host and file specified.
cpconf tohost 190.150.150.10:ps-cnfg1
In this example, the cpconf command displays the configuration on the administrative terminal.
cpconf term