Uploading A Configuration File By Using Rcp - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Working with Configuration Files
Address of remote host [255.255.255.255]?
Name of configuration file[rtr2-confg]?
Configure using host2-confg from 172.16.101.101?[confirm]
Connected to 172.16.101.101
Loading 1112 byte file host2-confg:![OK]
[OK]
Switch#
%SYS-5-CONFIG_NV:Non-volatile store configured from host2-config by rcp from 172.16.101.101

Uploading a Configuration File By Using RCP

Beginning in privileged EXEC mode, follow these steps to upload a configuration file by using RCP
SUMMARY STEPS
1. configure terminal
2. ip rcmd remote-username username
3. end
4. Do one of the following:
DETAILED STEPS
Command or Action
Step 1
configure terminal
Step 2
ip rcmd remote-username username
Step 3
end
Step 4
Do one of the following:
• copy system:running-config
rcp:[[[//username@]location]/directory]/filename]
• copy nvram:startup-config
rcp:[[[//username@]location]/directory]/filename]
This example shows how to copy the running configuration file named switch2-confg to the netadmin1
directory on the remote host with an IP address of 172.16.101.101:
Switch#
Write file switch-confg on host 172.16.101.101?[confirm]
Building configuration...[OK]
Connected to 172.16.101.101
Switch#
Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)
2058
• copy system:running-config rcp:[[[//username@]location]/directory]/filename]
• copy nvram:startup-config rcp:[[[//username@]location]/directory]/filename]
copy system:running-config rcp://netadmin1@172.16.101.101/switch2-confg
172.16.101.101
host2-confg
Purpose
Enter global configuration mode on the switch.
This step is required only if you override the default remote
username (see Steps 2 and 3).
(Optional) Specify the remote username.
Return to privileged EXEC mode.
Using RCP, copy the configuration file from a switch running
configuration or startup configuration file to a network server.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents