Use user-group to create a user group and enter its view, or enter the view of an existing user group.

Use undo user-group to delete a user group.


user-group group-name

undo user-group group-name


A system-defined user group exists. The group name is system.


System view

Predefined user roles




group-name: Specifies the user group name, a case-insensitive string of 1 to 32 characters.

Usage guidelines

A user group consists of a group of local users and has a set of local user attributes. You can configure local user attributes for a user group to implement centralized management of user attributes for the local users in the group.

A user group that has local users cannot be deleted.

You can modify settings for the system-defined user group named system, but you cannot delete the user group.


# Create a user group named abc and enter user group view.

<Sysname> system-view
[Sysname] user-group abc

Related commands

display user-group