< Home

reset history-command

Function

The reset history-command command deletes historical commands from a device.

Format

reset history-command [ all-users ]

Parameters

Parameter Description Value
all-users

Deletes historical commands entered by all users.

If this parameter is not specified, the historical commands entered only by the current user are deleted.

-

Views

All views

Default Level

reset history-command: 0: Visit level

reset history-command all-users: 3: Management level

Usage Guidelines

To delete historical commands entered by the current user, run the reset history-command command. If a level 3 (or higher) user runs the reset history-command all-users command, historical commands entered by all users are deleted.

Example

# Delete historical commands entered by the current user.

<HUAWEI> reset history-command
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >