
私はnetmikoを使い始めたばかりですが、あるスクリプトに問題があります。スクリプトは、Ciscoデバイスでユーザーを削除し、別のユーザーを作成する必要があります。私が抱えている問題は、設定モードでの確認で、どう対処したらよいかわかりません。このコマンドをciscoに送信します。
ssh.send_config_set('no username admin')
デバイスは Enter キーが押されるのを待機しています。
R1#no username admin
This operation will remove all username related configurations with same name.Do you want to continue? [confirm]
ありがとう。