< Home

parent-security-group (security group view)

Function

The parent-security-group command adds a security group to the specified parent security group.

The undo parent-security-group command removes a security group from the specified parent security group.

Format

parent-security-group parent-security-group-name

undo parent-security-group { all | parent-security-group-name }

Parameters

Parameter Description Value
parent-security-group-name Specifies the name of the parent security group to which the security group is added. The value must be the name of an existing static security group in the current authentication domain. When a security group in a non-default authentication domain is specified, the group name must carry @authentication-domain-name. For example, secgroup1@test indicates secgroup1 in the test authentication domain.
all Removes the security group from all parent security groups. -

Views

Security group view

Default Level

2: Configuration level

Usage Guidelines

A security group can belong to no parent security group or belong to a maximum of 40 parent security groups.

Security groups support the ring-structure relationship: In the case of three security relationships A, B, and C, A belongs to B, B belongs to C, and C belongs to A. The security groups form a net-like organizational structure.

Example

# Add security group group1 to group2.

<sysname> system-view
[sysname] user-manage security-group group1
[sysname-securitygroup-group1] parent-security-group group2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >