< Home

Data Model

The configuration model file matching batch command execution is huawei-execute-cli.yang.

Table 1 Batch command execution

Object

Description

Value Range

Remarks

/huawei-execute-cli:clis/cli/name

Indicates the name of the command set to be executed.

The value is a string of characters.

N/A

/huawei-execute-cli:clis/cli/execute-cli

Indicates the commands to be executed.

The value is a string of characters in the following format:

x

y

...

x and y indicate commands to be executed.

For example, the following command set indicates that the return command is executed to return to the user view, the system-view command is executed to enter the system view, and then the vlan 1000 command is executed to create VLAN 1000.

return

system-view

vlan 1000

The command to be executed cannot be undo netconf.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >