2-143
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands configure
configure
To download a configuration file from an rcp server or the network and execute each command in that
file, use the configure command.
configure {host file}[rcp]
configure network
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines Refer to the Catalyst 6500 Series Switch Software Configuration Guide on how to construct a
configuration file to download using the configure command.
Following is a sample file called system5.cfg in the /tftpboot directory:
begin
show time
set ip alias conc7 198.133.219.207
set ip alias montreux 198.133.119.42
set ip alias cres 192.122.174.42
set prompt system5>
set password
# empty string old password
pingpong
pingpong
end
#
Each line contains a command, except lines that begin with ! or #.
Examples This example shows how to download the system5.cfg configuration file from the 192.122.174.42 host:
Console> (enable) configure 192.122.174.42 system5.cfg
Configure using system5.cfg from 192.122.174.42 (y/n) [n]? y
/
Done. Finished Network Download. (446 bytes)
>> show time
host IP address or IP alias of the host.
file Name of the file.
rcp (Optional) Specifies rcp as the file transfer method.
network Specifies interactive prompting for the host and the file.