2024年4月15日 (初版)
TAC SR Collection |
主な問題 |
Cisco Nexus 9000 シリーズで ftp などの password に @ が含まれたコマンドを 1 行で実行したとき、正しく動作しないことが報告されております。
事象例:ftp username : ftp_user , password : ftp@user のとき
switch# copy startup-config ftp://ftp_user:ftp@user@<IPアドレスや hostname> vrf management
Enter destination filename: [switch-startup-config]
ftp: user@<IP アドレスや hostname>: host nor service provided, or not known
|
原因 |
初めの @ 以降がサーバーの location として認識されるためです。
|
解決策 |
@ は予約文字のため、そのままの表記では記載できません。以下のように %40 などの URL エンコーディングをご利用頂くことで動作いたします。
動作例:ftp username : ftp_user , password : ftp@user のとき
switch# copy startup-config ftp://ftp_user:ftp%40user@<IP アドレスや hostname> vrf management
|
備考
各製品の TAC SR Collection の一覧は、よくある質問と解決方法 (TAC SR Collection) から確認できます。