cycli
Parameters and Arguments
282
AlterPath OnBoard Administrator’s Guide
Entering a Command in Batch Mode
Based on the example in Figure 9-1, you could use batch mode to turn on
Ethernet failover as shown in the following examples
You could put the command in a script that calls
/usr/bin/cycli
with the
-CF
options, as shown in the following screen example.
You could then make the script executable and execute it on the command
line, as shown in the following screen example.
If you want to run a
cycli
command from the same script that is running
other Linux commands, you could put the command in another type of shell
script. The bash shell is shown in the following example:.
#!/usr/bin/cycli -CF
set network interface failover yes
[root@onboard root]#
chmod 777
scriptname
[root@onboard root]#
./
scriptname1
#!/bin/bash
...
/usr/bin/cycli
-CF --
set network interface failover yes
...
Summary of Contents for AlterPath OnBoard
Page 36: ...xxxvi AlterPath OnBoard Administrator s Guide...
Page 108: ...Understanding How Configuration Changes Are Handled 72 AlterPath OnBoard Administrator s Guide...
Page 116: ...Overview of Web Manager Menus 80 AlterPath OnBoard Administrator s Guide...
Page 146: ...Configuring Regular Users Wizard 110 AlterPath OnBoard Administrator s Guide...
Page 160: ...Upgrading AlterPath PM IPDU Software 124 AlterPath OnBoard Administrator s Guide...
Page 194: ...Configuring an Alternate Help File Location 158 AlterPath OnBoard Administrator s Guide...
Page 292: ...Configuring Private Subnets and Virtual Networks 256 AlterPath OnBoard Administrator s Guide...
Page 344: ...Using the create_cf Command When Troubleshooting 308 AlterPath OnBoard Administrator s Guide...