Chapter 5 Configuring the Router

Performing the Initial Configuration on the Router

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

enable

Enables privileged EXEC mode.

 

 

Enter your password if prompted.

 

Example:

 

 

Router> enable

 

Step 2

 

 

copy nvram:startup-config {ftp: rcp: tftp:}

Copies the startup configuration file to a server.

 

 

The configuration file copy can serve as a backup copy.

 

Example:

Enter the destination URL when prompted.

 

Router# copy nvram:startup-config ftp:

 

 

Step 3

 

 

show {flash0flash1}:

Displays the layout and contents of a flash memory file

 

 

system.

 

Example:

Learn the name of the system image file.

 

Router# show {flash0flash1}:

 

Step 4

 

 

copy {flash0flash1}: {ftp: rcp: tftp:}

Copies a file from flash memory to a server.

 

 

Copy the system image file to a server to serve as a

 

Example:

backup copy.

 

Router# copy {flash0flash1}: ftp:

Enter the filename and destination URL when

 

 

 

 

prompted.

 

 

 

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 {flash0flash1}: command in privileged EXEC to

learn the name of the system image file and the use of the copy {flash0flash1}: tftp: privileged EXEC command to copy the system image (c3900-2is-mz) to a TFTP server. The router uses the default username and password.

 

Cisco 1900 Series Hardware Installation

5-22

OL-19084-02

Page 96
Image 96
Cisco Systems 1900 Series manual Copying the Startup Configuration to a Tftp Server Example