< Home

execute to

Function

The execute to command enables the Commander to deliver commands to clients or client groups.

Format

execute [ script-file ] to client { all | { client-id1 [ to client-id2 ] }&<1-10> }

execute [ script-file ] to group { all | { name group-name }&<1-10> }

Parameters

Parameter Description Value
script-file Indicates a script file name. If no script file name is specified, the script made online is delivered. The value is a string of 5 to 64 characters, depending on the actual situation.
client { client-id1 [ to client-id2 ] } Indicates that commands are delivered to a specified client. The value is an integer. It depends on the maximum number of clients supported by the Commander.

For details, seeMaximum Number of Managed Clients on the Commander.

client all Indicates that commands are delivered to all clients. -
group name group-name Indicates that commands are delivered to a specified client group. The value is a string of 1 to 31 case-sensitive characters without spaces. The character string must start with a letter.
group all Indicates that commands are delivered to all client groups. -

Views

Easy-Operation view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To implement a batch configuration of clients on a network supporting EasyDeploy, edit commands to be run, save them as a script, and deliver the edited commands to clients through the Commander.

Example

# Enable the Commander to deliver commands to all clients.

<HUAWEI> system-view
[HUAWEI] easy-operation
[HUAWEI-easyoperation] execute to client all
Warning: This operation will start the batch command executing process to the cl
ients. Continue?[Y/N]:y
Info: This operation will take some seconds, please wait..
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >