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.
parent-security-group parent-security-group-name
undo parent-security-group { all | parent-security-group-name }
| 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. | - |
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.