< Home

parent-group (asset view)

Function

The parent-group command adds an asset to an asset group.

The undo group command cancels the binding between an asset and an asset group.

Format

parent-group group-name

undo parent-group group-name

Parameters

Parameter Description Value
group-name Specifies the name of the asset group. The value is a string of 1 to 31 case-sensitive characters that do not contain spaces, hyphens (-), asterisks (*), commas (,) or question marks (?).

Views

Asset view

Default Level

2: Configuration level

Usage Guidelines

By default, assets belong to the default asset group if no asset group is specified for them.

Example

# Add asset abc to asset group firewall.

<sysname> system-view
[sysname] ssa
[sysname-ssa] asset name abc
[sysname-ssa-abc] parent-group firewall
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >