
60
Syntax
role default-role enable
[
role-name
]
undo role default-role enable
Default
The default user role feature is disabled. AAA users who do not have a user role cannot log in to the
device.
Views
System view
Predefined user roles
network-admin
Parameters
role-name
: Specifies a user role by its name for the default user role. The user role must already
exist. The argument is a case-sensitive string of 1 to 63 characters. If you do not specify a user role,
the default user role is network-operator.
Usage guidelines
The default user role feature assigns the default user role to AAA-authenticated users if the
authentication server (local or remote) does not assign any user roles to the users. These users are
allowed to access the system with the default user role.
If AAA users have been assigned user roles, they log in with the user roles.
Examples
# Enable the default user role feature.
<Sysname> system-view
[Sysname] role default-role enable
Related commands
role
role feature-group
Use
role feature-group
to create a user role feature group and enter user role feature group view.
Use
undo role feature-group
to delete a user role feature group.
Syntax
role feature-group name feature-group-name
undo role feature-group name feature-group-name
Default
Two user role feature groups,
L2
and
L3
, are created.
Views
System view
Predefined user roles
network-admin
Parameters
name feature-group-name
: Specifies a feature group name. The
feature-group-name
argument is a
case-sensitive string of 1 to 31 characters.
Содержание S5830V2 series
Страница 23: ...11 System View return to User View with Ctrl Z Sysname...
Страница 167: ...155 Related commands display startup...