
Configuration File Handling Task List
70
CopperLink CL2300 User Manual
9
• Configuration File Handling
Mode:
Administrator execution
Step
Command
Purpose
1
device
(cfg)# copy tftp:
//
ip-address[:port]/new-
startup
config:startup-config
Downloads the configuration file
new-startup
from
the TFTP server at address
ip-address
replacing
the existing persistent startup configuration. Option-
ally you can enter the UDP
port
where the TFTP
server listens. If the port is not specified, the default
port 69 is used. This progress is visualized with a
counter, counting up from 0 to 100% according to
the downloaded amount of the file size. Should the
download fail, an error message
% File Transfer -
Get failed
is displayed.
Example
: Sample configuration download from the TFTP server
The following example shows how to replace the persistent startup configuration in the flash memory of a Pat-
ton device by overwriting it with the configuration contained in the file
new-startup
located on the TFTP
server at IP address 172.16.36.80.
1.
Download the startup configuration with the
copy
command into the flash memory area where to store
the startup configuration.
device>enable
device#configure
device(cfg)#copy tftp://172.16.36.80/user/new-startup config:startup-config
Download...100%
device(cfg)#
2.
Check the content of the persistent startup configuration by listing its command settings with the
show
command.
device#show config:startup-config
Displaying Configuration File Information
This procedure describes how to display information about configuration files
Mode:
Administrator execution
Command
Purpose
show config:
Lists all persistent configurations
show running-config
Displays the contents of the running configuration file
show startup-config
Displays the contents of the startup configuration file
show running-config current-mode
Displays only the running-config of the current mode.
show running-config "<some
mode>"
Displays the running-config of any named mode