Command Accounting; Command Authorization - HP 6125XLG Command Reference Manual

Blade switch fundamentals command reference
Table of Contents

Advertisement

* Copyright (c) 2010-2013 Hewlett-Packard Development Company, L.P.
* Without the owner's prior written consent,
* no decompiling or reverse-engineering shall be allowed.
******************************************************************************
<Sysname>
This operation is the same as directly logging in to the device at 192.168.1.41 through Telnet. When you
break the Telnet connection to 192.168.1.41, the Telnet connection to 192.168.1.40 is broken at the same
time.

command accounting

Use command accounting to enable command accounting.
Use undo command accounting to restore the default.
Syntax
command accounting
undo command accounting
Default
Command accounting is disabled, and the accounting server does not record executed commands.
Views
User interface 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 issued by users are not recorded.
Examples
# Enable command accounting for user interface VTY 0.
<Sysname> system-view
[Sysname] user-interface vty 0
[Sysname-ui-vty0] command accounting
Related commands

command authorization

accounting command (Security Command Reference)
command authorization
Use command authorization to enable command authorization.
Use undo command authorization to restore the default.
16
*
*
*

Advertisement

Table of Contents
loading

Table of Contents