For more details, please see ourCookie Policy.


Fibre Channel (SAN)

Reply
Anonymous
Posts: 0

remote ssh command cfgsave

I am trying to do run the following command from another workstation

ssh admin@10.60.1.105 "alicreate "hos1_vhba1","20:00:00:25:B5:11:0B:CF""

ssh admin@10.60.1.105 "cfgsave"

then it hangs

I enter y or yes

but this is what i get

y

You are about to save the Defined zoning configuration. This

action will only save the changes on Defined configuration.

Any changes made on the Effective configuration will not

take effect until it is re-enabled.

Do you want to save Defined zoning configuration only?  (yes, y, no, n): Nothing changed: nothing to save, returning ...

why will it not take my yes output

Anonymous
Posts: 0

Re: remote ssh command cfgsave

Your transaction (changes) is lost after the first ssh session.

Try

ssh admin@10.60.1.105 "alicreate "hos1_vhba1","20:00:00:25:B5:11:0B:CF";cfgsave"

Anonymous
Posts: 0

Re: remote ssh command cfgsave

hi

i tried that but it hangs. I guess its waiting for this

y

You are about to save the Defined zoning configuration. This

action will only save the changes on Defined configuration.

Any changes made on the Effective configuration will not

take effect until it is re-enabled.

Do you want to save Defined zoning configuration only?  (yes, y, no, n): Updating flash ...

when i type in "y"

it defaults to no

any idea?

Anonymous
Posts: 0

Re: remote ssh command cfgsave

how do I use cfgsave within an expect script? anybody?

I tried expect "cfgsave\r"

and its not working

Join the Broadcom Support Community

Get quick and easy access to valuable resources across the Broadcom Community Network.