cmd recording-scheme

Function

The cmd recording-scheme command sets a command recording scheme on the device.

The undo cmd recording-scheme command deletes the command recording scheme and disallow command recording.

By default, the commands that are run on the device. are not recorded.

Format

cmd recording-scheme recording-scheme-name

undo cmd recording-scheme

Parameters

Parameter Description Value
recording-scheme-name

Specifies the name of a recording scheme.

The value is a string of 1 to 32 characters. The scheme name must comply with the naming regulation of Windows. It should not contain slash (\), anti-slash (/), colon (:), asterisk (*), question mark (?), quotation mark ("), and angle brackets (< >).

Views

AAA view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa write

Usage Guidelines

By running the cmd recording-scheme command enables command recording on the Router, providing a reference for system monitor and fault location.

Example

# Set a command recording scheme named huawei on the Router.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] recording-scheme huawei
[*HUAWEI-aaa-recording-huawei] quit
[*HUAWEI-aaa] cmd recording-scheme huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >