82
Step
Command
Remarks
4.
Enable command
accounting.
command accounting
By default, command accounting is
disabled. The accounting server does not
record the commands executed by users.
If the
command accounting
command is
configured in user line class view,
command accounting is enabled on all
user lines in the class. You cannot
configure the
undo command
accounting
command in the view of a
user line in the class.
Configuration example
Network requirements
As shown in
, users need to log in to the device to manage the device.
Configure the device to send commands executed by users to the HWTACACS server to monitor
and control user operations on the device.
Figure 20
Network diagram
Configuration procedure
# Enable the Telnet server.
<Device> system-view
[Device] telnet server enable
# Enable command accounting for user line AUX 0.
[Device] line aux 0
[Device-line-aux0] command accounting
[Device-line-aux0] quit
# Enable command accounting for user lines VTY 0 through VTY 63.
[Device] line vty 0 63
[Device-line-vty0-63] command accounting
Internet
Console Connection
Intranet
Host B
192.168.1.20/24
Host A
Host C
10.10.10.10/24
Device
HWTACACS server
192.168.2.20/24
Содержание FlexNetwork 10500 Series
Страница 139: ...130 Sysname display version ...