copy runinng config с паролем

Fedor

Активный участник
Привет, как выгрузить running config на ftp сервер ? Проблема в том что циска не знает логин и пароль от ftp сервера и когда я пытаюсь выгрузить конфиг то получаю ошибку:
Код:
router_2#copy running-config ftp
Address or name of remote host []? ftp.contoso.com
Destination filename [router_2-confg]?
Writing router_2-confg
%Error opening ftp://ftp.contoso.com/router_2-confg (Timed out)

Можно ли выгрузить конфиг если указать явно логин и пароль, как в линуксе например - одной строкой
Код:
username:pass@ftp.contoso.com
 
Use an FTP Server to Backup and Restore a Configuration

In this procedure, an FTP server can be used in place of a TFTP server.

1. At the Router> prompt, issue the enable command, and provide the required password when prompted.

The prompt changes to Router#, which indicates that the router is now in privileged mode.

2. Configure the FTP username and password.

Код:
  CE_2#config terminal
        CE_2(config)#ip ftp username cisco
        CE_2(config)#ip ftp password cisco123
        CE_2(config)#end
        CE_2#

3. Copy the configuration to the FTP server.

Код:
 CE_2#copy running-config ftp:
        Address or name of remote host []? 10.66.64.10
        Destination filename [ce_2-confg]? backup_cfg_for_router
        Writing backup_cfg_for_router !
        1030 bytes copied in 3.341 secs (308 bytes/sec)
        CE_2#

4. Open the configuration file with a text editor. Search for and remove any line that starts with "AAA".

Note: This step is to remove any security commands that can lock you out of the router.

5. Copy the configuration file from the FTP server to a router in privileged (enable) mode which has a basic configuration.

Код:
  Router#copy ftp: running-config
        Address or name of remote host [10.66.64.10]?
        Source filename [backup_cfg_for_router]?
        Destination filename [running-config]?
        Accessing ftp://10.66.64.10/backup_cfg_for_router...
        Loading backup_cfg_for_router !
        [OK - 1030/4096 bytes]
        1030 bytes copied in 13.213 secs (78 bytes/sec)
        CE_2#
 
Назад
Верх