history-command all-users verbose

Created Nov 16, 2018 06:29:23 70 0 0 0

display history-command all-users verbose

Function

The display history-command all-users verbose command displays details about historical commands stored in the system and enables the system to filter the commands by user name or command level.

Format

display history-command all-users verbose [ user-name user-name | level level ]

Parameters

ParameterDescriptionValue
user-name user-nameSpecifies a user name.The value is a string of 1 to 32 case-insensitive characters.
level levelSpecifies a command level.The value is an integer ranging from 0 to 15.

Views

Diagnostic view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To check the historical commands (except for display commands) entered by all users and stored in the system, run the display history-command all-users verbose command.

Precautions

This command does not display details about historical display commands.

A maximum of 1024 historical commands can be queried using this command.

If a user name in command details contains more than 32 characters, the system displays only the first 32 characters. When filtering historical commands by user name, the system checks whether the first 32 characters match the user name specified as a filter criterion. In addition, if a command contains more than 128 characters, the system displays only the first 128 characters.

Example

# Display details about the historical commands that have been entered on the terminal.

<HUAWEI> system-view
[HUAWEI] diagnose
[HUAWEI-diagnose] display history-command all-users verbose
User          : root, VT1, 10.10.10.1            
Time          : 2017-02-07 13:49:30-05:13         
Command       : diagnose                          
Commmand level: 3                                 
                                                  
User          : root, VT1, 10.10.10.1            
Time          : 2017-02-07 13:49:30-05:13         
Command       : sysname HUAWEI                    
Commmand level: 2                                 
                                                  
User          : root, VT1, 10.10.10.1            
Time          : 2017-02-07 13:49:30-05:13         
Command       : reset history-command all-users   
Commmand level: 3   
Table 1-8  Description of the display history-command all-users verbose command

Item

Description

User

User information, including the user name, VTY channel, and IP address.

If no user name is specified during login, "**" is displayed as user name information.

Time

Date and time when a command was executed.

Command

Executed command.

Commmand level

Command level.

  • x
  • convention:

Responses

Reply
You need to log in to reply to the post Login | Register

Notice:To ensure the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but not limited to politically sensitive content, content concerning pornography, gambling, drug abuse and trafficking, content that may disclose or infringe upon others' intellectual properties, including commercial secrets, trade marks, copyrights, and patents, and personal privacy. Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see“ Privacy Policy.”
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top