configure host file [rcp]
Variable that specifies the IP address or IP alias of the host.
Variable that specifies the name of the configuration file.
(Optional) Keyword that specifies rcp as file transfer method.
Use the configure command to download a configuration file from a host and execute each command in that file.
Refer to the Software Configuration Guide-Catalyst 4000 Family, 2948G, and 2980G Switches for information on how to construct a configuration file to download using the configure command.
The following is a sample configuration file. Each line contains a command, except for the lines that begin with ! or #. On some servers (NT), the TFTP directory might not be /tftpboot.begin show time set ip alias conc7 188.8.131.52 set ip alias montreux 184.108.40.206 set ip alias cres 220.127.116.11 set prompt system5> set password # empty string old password pingpong pingpong end #
This example shows how to configure the switch using a configuration file downloaded from a TFTP server:Console> (enable) configure 18.104.22.168 system5.cfg Configure using system5.cfg from 22.214.171.124 (y/n) [n]? y / Done. Finished Network Download. (446 bytes) >> show time Wed Nov 11 1998, 17:42:50 >> set ip alias conc7 126.96.36.199 IP alias added. >> set ip alias montreux 188.8.131.52 IP alias added. >> set ip alias cres 184.108.40.206 IP alias added. >> set prompt system5> >> set password Enter old password: Enter new password: pingpong Retype new password: pingpong Password changed.
� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education
|Converted from CHM to HTML with chm2web Pro 2.85 (unicode)|