79
Examples
Enable command accounting for VTY 0. Then the HWTACACS server records the
commands executed by the users logging in from VTY 0.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] command accounting
command authorization
Syntax
command authorization
undo command authorization
View
User interface view
Default Level
3: Manage level
Parameters
None
Description
Use the
command authorization
command to enable command authorization.
Use the
undo command authorization
command to restore the default.
By default, command authorization is disabled. Logged-in users can execute
commands without authorization.
With command authorization enabled, users logging in from the current user interface
can perform commands authorized by the server.
Examples
Enable command accounting for VTY 0. Then users logging in through VTY 0 can
perform the commands authorized by the HWTACACS server only.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] command authorization
databits
Syntax
databits
{
5
|
6
|
7
|
8
}