یکی از مهمترین کارهای روزمره ای که مدیران شبکه انجام میدهند، بک آپ گیری از تنظیمات تجهیزات شبکه میباشد. البته میتوانید فرایند بک آپ گیری را به صورت اتوماتیک نیز انجام دهید.
برای بک آپ گیری، نیاز به یک TFTP Server و یا FTP Server داریم. نرم افزار Filezilla و یا 3CDeamon را از اینترنت دریافت و بر روی PC خود نصب کنید.
R1#copy startup-config tftp:
AND
R1#copy running-config ftp:
Address or name of remote host []? 192.168.1.100
Destination filename [RTR1-confg]?
آدرس 192.168.1.100، آدرس TFTP Server میباشد.
Router#copy tftp: startup-config
AND
Router#copy running-config ftp:
Address or name of remote host []? 192.168.1.100
Source filename []? RTR1-config
Destination filename [startup-config]?
Accessing tftp://192.168.1.100/RTR1-config....
Command or Action | Purpose |
Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
- Enter your password if prompted.
|
Step 2 |
show flash-filesystem :
Example:
|
(Optional) Displays the system image filename in Flash memory. Use this command to verify the url-path of the file and the exact spelling of the system image filename for use in the next command.
|
Step 3 |
copy flash-url tftp :[[[//location ]/directory ]/filename ]
Example:
Router# copy slot0:1:your-ios tftp://172.23.1.129/dirt/sysadmin/your-ios
|
Copies the system image from Flash memory to a TFTP server. Specify the file location and filename as the flash-url argument.
Note |
After you have issued the copy privileged EXEC command, you may be prompted for additional information or for confirmation of the action. The prompting will depend on how much information you provide in the copy command and the current setting of thefileprompt global configuration command.
|
|
Step 4 |
configure terminal
Example:
Router# configure terminal
|
(Optional) Enters global configuration mode from the terminal. This step is required only if you want to override the default remote username or password (see Steps 3 and 4).
|
Step 5 |
ip ftp username username
Example:
Router(config)# ip ftp username netuser1
|
(Optional) Changes the default remote username.
|
Step 6 |
ip ftp password password
Example:
Router(config)# ip ftp password guessme
|
(Optional) Changes the default password.
|
Step 7 |
end
Example:
|
(Optional) Exits global configuration mode. This step is required only if you override the default remote username or password (see Steps 3 and 4).
|
Step 8 |
copy ftp: [[[//[username [:password ]@]location ] /directory ]/filename ]flash-filesystem:[filename ]
Example:
Router# copy ftp://myuser:mypass@theserver/tftpboot/sub3/c7200-js-mz slot1:c7200-js-mz
|
Copies the configuration file from a network server to running memory or the startup configuration using rcp.
|