Posted May 31, 20196 yr Hi, I have a file in my local machine, that has a ns command in it. let's say, Filename - netscal.conf content (command) - "ns feature LB" Now, I have successfully done scp the file into NetScaler, also I can see the file that I have copied from local machine, when i go to shell. SCP Command: scp netscal.conf [email protected]:/nsconfig Is there a way now I can copy the config file which is in NetScaler to running config and save the config ? so feature will be enabled. Thanks, Kiran.
May 31, 20196 yr You can batch import the commands in the .config file. Run "batch" from the CLI (not BSD) to see the syntax.
May 31, 20196 yr Author Thanks able to figure out batch, it helps !!! I have used --> " batch -f /nsconfig/netscal.conf "
May 31, 20196 yr Author @Carl Stalhood I see there is limitation with "batch" command using NITRO API, is there a way to execute this process using NITRO API ?
June 4, 20196 yr Author On 5/31/2019 at 4:01 PM, sai meduri said: @Carl Stalhood I see there is limitation with "batch" command using NITRO API, is there a way to execute this process using NITRO API ? Thanks, I wanted to do it via API and I couldn't find any command in documentation that could do the operation same as "batch" does.
Archived
This topic is now archived and is closed to further replies.