
17
Usage guidelines
When command authorization is enabled, a command is available only if the following requirements
are met:
•
The user has the commensurate user role.
•
The user is authorized to use the command by the AAA scheme.
If the
command authorization
command is configured in user line class view, command
authorization is enabled on all user lines in the class. You cannot configure the
undo command
authorization
command in the view of a user line in the class.
Examples
# Enable command accounting for VTY 0 so the VTY 0 user can execute only authorized commands
that are permitted by the user role.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] command authorization
Related commands
•
authorization
command
(
Security Command Reference
)
•
command
accounting
databits
Use
databits
to specify the number of data bits for each character.
Use
undo databits
to restore the default.
Syntax
databits
{
5
|
6
|
7
|
8
}
undo databits
Default
Eight data bits are used for each character.
Views
User line view
Predefined user roles
network-admin
Parameters
5
: Uses five data bits for each character.
6
: Uses six data bits for each character.
7
: Uses seven data bits for each character.
8
: Uses eight data bits for each character.
Usage guidelines
This command is not supported in VTY line class view.
This setting must be the same as that on the configuration terminal.
Examples
# Configure AUX 0 to use five data bits for each character.
<Sysname> system-view