71
{
If
simple
is specified, the password must be a string of 1 to 63 characters.
{
If
hash
is specified, the password must be a string of 1 to 110 characters.
•
In FIPS mode, the password must be a string of 15 to 63 characters. The string must contain four
character types including digits, uppercase letters, lowercase letters, and special characters.
Usage guidelines
If you do not specify any parameters, you specify a plaintext password in the interactive mode.
The FIPS mode supports only the interactive mode for setting a password.
Set a password if you configure local password authentication for temporary user role authorization.
It is a good practice to specify different passwords for different user roles.
Examples
# Set the password to
123456TESTplat&!
for the user role network-operator.
<Sysname> system-view
[Sysname] super password role network-operator simple 123456TESTplat&!
# Set the password to
123456TESTplat&!
in the interactive mode for the user role network-operator.
<Sysname> system-view
[Sysname] super password role network-operator
Password:
Confirm :
Related commands
•
super authentication-mode
•
super default role
vlan policy deny
Use
vlan policy deny
to enter the user role VLAN policy view.
Use
undo vlan policy deny
to restore the default user role VLAN policy.
Syntax
vlan policy deny
undo vlan policy deny
Default
A user role has access to any VLAN.
Views
User role view
Predefined user roles
network-admin
Usage guidelines
To restrict the VLAN access of a user role to a set of VLANs, perform the following tasks:
1.
Use
vlan policy deny
to enter user role VLAN policy view.
2.
Use
permit vlan
to specify accessible VLANs.