Command Accounting; Command Authorization - HPE D6020 Maintenance And Service Manual

Hide thumbs Also See for HPE D6020:
Table of Contents

Advertisement

This operation is the same as directly logging in to the device at 192.168.1.41 through Telnet. When
you close the Telnet connection to 192.168.1.41, the Telnet connection to 192.168.1.40 is closed at
the same time.

command accounting

Use command accounting to enable command accounting.
Use undo command accounting to disable command accounting.
Syntax
command accounting
undo command accounting
Default
Command accounting is disabled. The accounting server does not record executed commands.
Views
User line view
User line class view
Predefined user roles
network-admin
Usage guidelines
When command accounting is enabled but command authorization is not, every executed command
is recorded on the HWTACACS server.
When both command accounting and command authorization are enabled, only authorized
commands that are executed are recorded on the HWTACACS server.
Invalid commands are not recorded.
A configuration change made by this command does not take effect for the current session. It takes
effect for subsequent login sessions.
After you configure the command accounting command in user line class view, you cannot
configure the undo command accounting command in any user line views in the class.
Examples
# Enable command accounting for VTY line 0.
<Sysname> system-view
[Sysname] line vty 0
[Sysname-line-vty0] command accounting
Related commands
accounting command (Security Command Reference)

command authorization

command authorization
Use command authorization to enable command authorization.
Use undo command authorization to disable command authorization.
Syntax
command authorization
53

Advertisement

Table of Contents
loading

Table of Contents