grfmaniak Posted July 1, 2015 SNR-S2940-8G-v2#copy running-config tftp://172.16.200.5/test-config Confirm copy file [Y/N]:y Begin to send file, please wait... File transfer complete. close tftp client. SNR-S2940-8G-v2#copy tftp://172.16.200.5/test-config startup-config Source and destination file should have same extension! SNR-S2940-8G-v2#copy tftp://172.16.200.5/test-config runnig-config Source and destination file should have same extension! Как так-то, дорогие разработчики? И как же тогда? Share this post Link to post Share on other sites More sharing options...
VVSina Posted July 2, 2015 А ещё очень не хватает copy startup-config runnig-config Share this post Link to post Share on other sites More sharing options...
Mikhail Burnin Posted July 2, 2015 grfmaniak добавьте расширение .cfg к копируемому и локальному файлу ну и сам файл переименовать не забудьте т.е. в результате должно получится так SNR-S2940-8G-v2#copy tftp://172.16.200.5/test-config.cfg startup-config.cfg VVSina подумаем над этим Share this post Link to post Share on other sites More sharing options...
grfmaniak Posted July 2, 2015 grfmaniak добавьте расширение .cfg к копируемому и локальному файлу ну и сам файл переименовать не забудьте т.е. в результате должно получится так SNR-S2940-8G-v2#copy tftp://172.16.200.5/test-config.cfg startup-config.cfg Попробую ) Просто вот представляю, на этапе разработки сидит программер и думает "сделать копирование так, как привык весь мир делать в циске? НЕЕЕЕЕТТ! Вот вам, гады! И в доке ни слова не написать, главное" )) Share this post Link to post Share on other sites More sharing options...
sol Posted July 2, 2015 Просто вот представляю, на этапе разработки сидит программер и думает Нет, программер думает совсем не так. Он сидит и думает: 好商好品 首选金牌供应商 Share this post Link to post Share on other sites More sharing options...
ShyLion Posted July 31, 2015 как привык весь мир делать в циске? А ну как циска денег попросит за "изобретение" ? Share this post Link to post Share on other sites More sharing options...
NKM Posted June 25, 2024 SNR-S2940-8G-v2#copy tftp://172.16.200.5/test-config.cfg startup-config.cfg Нужно ли после этой операции переименовывать на коммутаторе файл startup-config.cfg в startup-config? rename startup-config.cfg startup-config Source and destination file should have same extension! Share this post Link to post Share on other sites More sharing options...
Vladimir Efimtsev Posted June 26, 2024 @NKM, здравствуйте. Не совсем понятна ситуация, для чего вы хотите переименовать startup-config.cfg в startup-config? Share this post Link to post Share on other sites More sharing options...
NKM Posted June 27, 2024 То есть, с файлом startup-config.cfg тоже нормально загрузится? Share this post Link to post Share on other sites More sharing options...
Vladimir Efimtsev Posted June 27, 2024 Я просто не совсем понимаю, почему вы предполагаете, что нужно переименовывать файл? вы где-то прочитали об этом или это просто предположение? Если вывести dir на коммутаторе, что он покажет? там есть файлик конфигурации? вам нужно заменить существующий файл на коммутаторе, на файл с точно таким же разрешением. Share this post Link to post Share on other sites More sharing options...
NKM Posted June 27, 2024 Я предположил, что нужно переименовать из-за того, что изначальный файл startup-config без расширения, а по tftp залит с расширением. Вот dir: #dir -rw- 12.9K vsf_startup.cfg -rw- 10.0M logfile.log -rw- 10.1K startup-config.cfg -rw- 140 .ecdsa_host_key -rw- 235 vsf.cfg -rw- 200 uft.cfg -rw- 2.0K startup.cfg -rw- 9.3K tftp -rw- 35 uservalid.log -rw- 75.0M vector_B041.img Share this post Link to post Share on other sites More sharing options...