Remove Commands from Command Group(RMV CCG)

Function

A configuration command that removes the command(s) from a command group.

Note

1. Only the local operator with the Administrator level and the authorized operator with the Custom level have the right to execute this command.

2. The command to be removed must already exist in the command group.

Parameters

ID Name Description
CG Command group

Meaning: command group

Value range: G_23 - G_31

Explanation:

1. This parameter specifies the command group from which the commands are removed.

2. A command group acts as the minimum unit in allocating rights to operators, who are the objects of authority management.

3. Among the 32 command groups (G_0-G_31), G_0-G_22 are default command groups. Commands in default command groups cannot be modified. Commands in G_23-G_31 can be configured by operators.

Default value: None

CMD Command name

Meaning: name of the command

Value range: 1-32768 characters

Explanation: This parameter specifies the commands to be removed from the target command group. Multiple commands can be removed from a command group at a time.

Default value: None

Example

1. Remove the command ACT BATCHFILE from the command group G_23: 
RMV CCG: CG=G_23, CMD="ACT BATCHFILE"; 
Explanation:
If ACT BATCHFILE exists in G_23, the command is successfully removed. Otherwise, the removal fails and a message is displayed, indicating that ACT BATCHFILE does not exist in the command group.
2. Remove the commands ACT BATCHFILE and ACT LICENSE from the command group G_23: 
RMV CCG: CG=G_23, CMD="ACT BATCHFILE"&"ACT LICENSE"; 
Explanation:
If both ACT BATCHFILE and ACT LICENSE exist in G_23, the commands are successfully removed.
 If only one of them exists in G_23, this one is removed and a message is displayed, indicating that the other command does not exist in the command group.
Related reference
Add Commands to Command Group(ADD CCG)
List Commands in Command Group(LST CCG)

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.