Address of remote host [255.255.255.255]?
172.16.101.101
Name of configuration file[rtr2-confg]?
host2-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:
•
copy system:running-config rcp:
[[[//
username@
]
location
]/
directory
]/
filename]
•
copy nvram:startup-config rcp:
[[[//
username@
]
location
]/
directory
]/
filename]
DETAILED STEPS
Purpose
Command or Action
Enter global configuration mode on the switch.
configure terminal
Step 1
This step is required only if you override the default remote
username (see Steps 2 and 3).
(Optional) Specify the remote username.
ip rcmd remote-username username
Step 2
Return to privileged EXEC mode.
end
Step 3
Using RCP, copy the configuration file from a switch running
configuration or startup configuration file to a network server.
Do one of the following:
Step 4
•
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#
copy system:running-config rcp://[email protected]/switch2-confg
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
Working with Configuration Files
Summary of Contents for Catalyst 2960 Series
Page 96: ......
Page 196: ......
Page 250: ......
Page 292: ......
Page 488: ......
Page 589: ...P A R T VI Cisco Flexible NetFlow Configuring NetFlow Lite page 509 ...
Page 590: ......
Page 619: ...P A R T VII QoS Configuring QoS page 539 Configuring Auto QoS page 645 ...
Page 620: ......
Page 750: ......
Page 1604: ......
Page 1740: ......
Page 2105: ...P A R T XII Configuring Cisco IOS IP SLAs Configuring Cisco IP SLAs page 2025 ...
Page 2106: ......
Page 2118: ......
Page 2164: ......