cli command-tree

Created: Nov 16, 2018 03:56:28Latest reply: Nov 21, 2018 02:47:39 234 2 0 0

display cli command-tree

Function

The display cli command-tree command displays information about all commands run on the device.

Format

display cli command-tree [ command-id | cost-memory | templet templet-name elements [ element-index ] | view view-name verbose ]

Parameters

ParameterDescriptionValue
command-id

Displays the antitypes of all commands and command IDs.

-
cost-memory

Displays command elements, the number of command clues, and memory usage in all command line modules.

-
templettemplet-name

Displays information about all command templates.

The value is a string ranging from 1 to 80.
elementselement-index

Displays detailed information about a specified command element.

If the index is not specified, the detailed information about command elements in all templates displayed.

The value is an integer ranging from 0 to 4294967295.
view view-name

Displays the command information in a specified view.

-
verbose

Displays detailed command registration information in all templates.

-

Views

Diagnostic view

Default Level

3: Management level

Usage Guidelines

A third-party NMS can run the display cli command-tree command to check all commands on a device for adapting parameters.

This command displays all registered command lines of the device, which are different from the commands that can be executed on the device. To be compatible with earlier versions, the device hides some unsupported command lines that are not deregistered from the device.

Table 1-2 lists some of these registered command lines.

Table 1-2  Description of some special registered command lines in the display cli command-tree command

Feature

Format

Interface management

display virtual-access [ slot slot-id | vt vt-number dialer dialer-number user user-name | peer peer-address | va-number ] *

timer hold seconds

undo timer hold

broadcast-limit link number

undo broadcast-limit link

ip address ppp-negotiate

undo ip address ppp-negotiate

Device management

display version chassis chassis-id

Example

# Display command information in all views.

<HUAWEI> system-view
[HUAWEI] diagnose
[HUAWEI-diagnose] display cli command-tree
cli_8f include these command antitypes:                                         
                                                                                
MID: 41ce, Level: 3, Command: display buffer [ STRING<1-32> [ STRING<1-32> ] ]  
                                                                                
MID: 7073, Level: 3, Command: display ip socket register-port [ | count ] [ | { 
begin | include | exclude } TEXT0 ]                                             
                                                                                
MID: 405c, Level: 3, Command: display rsa local-key-pair public                 
                                                                                
MID: 405c, Level: 3, Command: display rsa peer-public-key [ brief | name STRING<
1-30> ]                                                                         
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent statistics                     
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent { local-engineid | remote-engin
eid }                                                                           
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent group [ STRING<1-32> ]         
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent usm-user [ engineid STRING<10-6
4> | username STRING<1-32> | group STRING<1-32> ] *                             
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent mib-view [ include | exclude | 
{ viewname STRING<1-32> } ]                                                     
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent community [ read | write ] *   
                                                                                
MID: 4081, Level: 3, Command: display snmp-agent sys-info [ contact | location |
 version ] *                                                                    
                                                                                
  ---- More ----
  • x
  • convention:

Skay  Enthusiast Technician   Created Nov 17, 2018 17:06:11 Helpful(0) Helpful(0)

thanks for your sharing ,This command displays all registered command lines of the device, which are different from the commands that can be executed on the device. To be compatible with earlier versions, the device hides some unsupported command lines that are not deregistered from the device.
  • x
  • convention:

Nazdak     Created Nov 21, 2018 02:47:39 Helpful(0) Helpful(0)

Exactly my friend, you are absolutely right
  • x
  • convention:

Reply

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

Notice: To protect 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 are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including 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."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top