
UNSOLVED
scripting creation of alias, zones, add zone to config, cfgsave brocade switch
what is the best way to script the creation of new aliases, zone, and add the zone to a config and cfgsave?
I have tried the ssh way where I uploaded the ssh keys to both fabic switches but the cfgsave part keeps my bash script hanging waiting on the "yes" confirmation.
Could it be done with another way?
Responses (2)
Solutions (0)

vks_001
5 Posts
688
0
Posted January 27th, 2023 09:00
You can add an echo "yes" after the specific command so that it will pass Y when there is a prompt for yes.