The recording-mode hwtacacs command associates an HWTACACS server template with a recording scheme.
The undo recording-mode command unbinds an HWTACACS server template from a recording scheme.
By default, no HWTACACS server template is associated with a recording scheme.
Parameter |
Description |
Value |
|---|---|---|
template-name |
Specifies the name of an HWTACACS server template. |
The HWTACACS server template must already exist. |
Usage Scenario
The device needs to send the records such as the executed commands, connection information, and system events to the specified HWTACACS accounting server; therefore, an HWTACACS server template needs to be associated with a recording scheme.
Prerequisites
The HWTACACS server template has been created by using the hwtacacs-server template command.
# Associate the recording scheme scheme0 with the HWTACACS server template tacacs1.
<sysname> system-view [sysname] hwtacacs-server template tacacs1 [sysname-hwtacacs-tacacs1] quit [sysname] aaa [sysname-aaa] recording-scheme scheme0 [sysname-aaa-recording-scheme0] recording-mode hwtacacs tacacs1