Appendix A
Cisco IOS CLI for Initial Configuration
DETAILED STEPS
Command or Action
Step 1
enable
Example:
Router> enable
Step 2
copy nvram:startup-config {ftp: | rcp: | tftp:}
Example:
Router# copy nvram:startup-config ftp:
Step 3
show {flash0 | flash1}:
Example:
Router# show {flash0|flash1}:
Step 4
copy {flash0 | flash1}: {ftp: | rcp: | tftp:}
Example:
Router# copy {flash0|flash1}: ftp:
Examples
Copying the Startup Configuration to a TFTP Server: Example
The following example shows the startup configuration being copied to a TFTP server:
Router# copy nvram:startup-config tftp:
Remote host[]? 172.16.101.101
Name of configuration file to write [rtr2-confg]? <cr>
Write file rtr2-confg on host 172.16.101.101?[confirm] <cr>
![OK]
Copying from Flash Memory to a TFTP Server: Example
The following example shows the use of the show {flash0|flash1}: command in privileged EXEC to
learn the name of the system image file and the use of the copy {flash0|flash1}: tftp: privileged EXEC
command to copy the system image (c3900-2is-mz) to a TFTP server. The router uses the default
username and password.
Router# show {flash0|flash1}:
System flash directory:
File Length Name/status
1 4137888 c3900-c2is-mz
[4137952 bytes used, 12639264 available, 16777216 total]
16384K bytes of processor board System flash (Read/Write)\
Router# copy {flash0|flash1}: tftp:
IP address of remote host [255.255.255.255]? 172.16.13.110
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Using the Cisco IOS CLI to Perform Initial Configuration
Purpose
Enables privileged EXEC mode.
Enter your password if prompted.
•
Copies the startup configuration file to a server.
The configuration file copy can serve as a backup copy.
•
Enter the destination URL when prompted.
•
Displays the layout and contents of a flash memory file
system.
Learn the name of the system image file.
•
Copies a file from flash memory to a server.
Copy the system image file to a server to serve as a
•
backup copy.
Enter the filename and destination URL when
•
prompted.
A-17