Backup switch conf

Post Reply
Posts: 8
Joined: 30 Aug 2018 04:13

Backup switch conf

Post by kksan »

Hi all,
I'm attempting to backup switch configuration without using Omnivista.
I'm using this script on centos:

spawn ssh
expect "login as:"
send "xxx\r"
expect "Password:"
send "yyy\r"
send "write terminal\r" > /tmp/scriptbkpswitch/testkbkp.txt

It seems to not work. I have installed expect command.
Do you have any hint?
Thank you!

Post Reply

Return to “OmniSwitch 6450”