Unsolved
This post is more than 5 years old
134 Posts
0
1172
saving the changes
Is there a way to run cfgsave command with no prompts in brocade
for example when I have made my zoning changes and run cfgsave I have to confirm it by saying "yes".
I want to make it such that it does not ask me and is set by default.
I have tried help cfgsave there is nothing in it.
christopher_ime
2K Posts
0
January 9th, 2012 17:00
I am also unaware of anything native so would have to look at an external script to perform the same. I found a PERL library, specifically the cmd() function, that accomplishes this.
http://search.cpan.org/~lbendavid/Net-Telnet-Brcd-1.13/lib/Net/Brcd.pm
[...]
cmd
This function is used to send command to a brocade switch. And implement differents features:
[...]
Jun_Tan
605 Posts
1
January 15th, 2012 18:00
Please try with follow commands :
echo yes | cfgsave
christopher_ime
2K Posts
0
January 15th, 2012 19:00
Jun_Tan,
Very nice, thank you! Accomplishes exactly what the OP inquired about.