The recording-scheme command creates a recording scheme and displays the recording scheme view.
The undo recording-scheme command deletes a recording scheme.
By default, no recording scheme is configured on the device.
Parameter |
Description |
Value |
---|---|---|
recording-scheme-name |
Specifies the name of a recording scheme. |
The value is a string of 1 to 32 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --. |
Usage Scenario
After a recording scheme takes effect, you can view the records such as the executed commands, connection information, and system-level events on the recording server. The records help you locate network faults. Because a recording scheme needs to be associated with an HWTACACS server template, the recording scheme is configured only when HWTACACS authentication or authorization is performed.
Creating a recording template using the recording-scheme command is mandatory for configuration.
Follow-up Procedure
Run the recording-mode hwtacacs command to associate an HWTACACS server template with the recording scheme.
Precautions
If the recording scheme to be configured does not exist, the recording-scheme command creates a recording scheme and displays the recording scheme view. If the recording scheme to be configured already exists, the recording-scheme command displays the recording scheme view.
Before deleting a recording scheme, ensure that the scheme has not been referenced by the cmd recording-scheme or outbound recording-scheme or system recording-scheme command.