Jump to content
Калькуляторы

snr-s2940-8g-v2 тупой вопрос

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

А ещё очень не хватает copy startup-config runnig-config

Share this post


Link to post
Share on other sites

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

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

Просто вот представляю, на этапе разработки сидит программер и думает
Нет, программер думает совсем не так.

 

Он сидит и думает: 好商好品 首选金牌供应商

Share this post


Link to post
Share on other sites

как привык весь мир делать в циске?

 

А ну как циска денег попросит за "изобретение" ?

Share this post


Link to post
Share on other sites

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

@NKM, здравствуйте. Не совсем понятна ситуация, для чего вы хотите переименовать startup-config.cfg в startup-config?

Share this post


Link to post
Share on other sites

То есть, с файлом startup-config.cfg  тоже нормально загрузится?

Share this post


Link to post
Share on other sites

Я просто не совсем понимаю, почему вы предполагаете, что нужно переименовывать файл? вы где-то прочитали об этом или это просто предположение?

Если вывести dir на коммутаторе, что он покажет? там есть файлик конфигурации? вам нужно заменить существующий файл на коммутаторе, на файл с точно таким же разрешением.

Share this post


Link to post
Share on other sites

Я предположил, что нужно переименовать из-за того, что изначальный файл 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now