Getting help in the CLI

The help system commands and the ? key display different types of help in the CLI. The following table describes the different help commands.

Table: Online help commands

Command

Description

help ?

List all commands in the current context.

string ?

List all commands available in the current context that start with string.

command ?

Displays the command syntax and associated keywords.

command keyword ?

List the associated arguments for keyword in command.

string<Tab>

Complete a partial command name (auto-completion) or list available commands that match string.

The tree and tree detail system commands are help commands useful when searching for a command in a lower-level context.

Example

The following example shows a partial list of the tree and tree detail command output entered at the config level.

A:ALU-7210>config# tree
configure
+---card
|   +---card-type
|   +---mda
|   |   +---access
|   |   +---mda-type
|   |   +---network
|   |   +---shutdown
|   +---shutdown
+---cron
|   +---action
|   |   +---expire-time
|   |   +---lifetime
|   |   +---max-completed
|   |   +---results
|   |   +---script
|   |   +---shutdown
|   +---schedule
|   |   +---action
|   |   +---count
|   |   +---day-of-month
|   |   +---description
|   |   +---end-time
|   |   +---hour
|   |   +---interval
|   |   +---minute
|   |   +---month
|   |   +---shutdown
|   |   +---type
|   |   +---weekday
|   +---script
|   |   +---description
|   |   +---location
|   |   +---shutdown
|   +---time-range
|   |   +---absolute
|   |   +---daily
|   |   +---description
|   |   +---weekdays
|   |   +---weekend
|   |   +---weekly
|   +---tod-suite
|   |   +---description
|   |   +---egress
|   |   |   +---filter
|   |   |   +---qos
|   |   |   +---scheduler-policy
|   |   +---ingress
|   |   |   +---filter
|   |   |   +---qos
|   |   |   +---scheduler-policy
+---dot1ag
|   +---domain
|   |   +---association
|...
*A:ALA-12>config# tree detail
configure
+---card <slot-number>
|   no card <slot-number>
|   +---card-type <card-type>
|   |   no card-type
|   +---mda <mda-slot>
|   |   no mda <mda-slot>
|   |   +---access
|   |   +---mda-type <mda-type>
|   |   |   no mda-type
|   |   +---network
|   |   +---no shutdown
|   |   |   shutdown
|   +---no shutdown
|   |   shutdown
+---cron
|   +---action <action-name> [owner <action-owner>]
|   |   no action <action-name> [owner <action-owner>]
|   |   +---expire-time {<seconds>|forever}
|   |   +---lifetime {<seconds>|forever}
|   |   +---max-completed <unsigned>
|   |   +---no results
|   |   |   results <file-url>
|   |   +---no script
|   |   |   script <script-name> [owner <script-owner>]
|   |   +---no shutdown
|   |   |   shutdown
|   +---no schedule <schedule-name> [owner <schedule-owner>]
|   |   schedule <schedule-name> [owner <schedule-owner>]
|   |   +---action <action-name> [owner <action-owner>]
|   |   |   no action
|   |   +---count <number>
|   |   |   no count
|   |   +---day-of-month {<day-number> [..<day-number>]|all}
|   |   |   no day-of-month
|   |   +---description <description-string>
|   |   |   no description
|   |   +---end-time [<date>|<day-name>] <time>
|   |   |   no end-time
|   |   +---hour {<hour-number> [..<hour-number>]|all}
|   |   |   no hour
|   |   +---interval <seconds>
|   |   |   no interval
| |   +---minute {<minute-number> [..<minute-number>]|all}
|   |   |   no minute
|   |   +---month {<month-number> [..<month-number>]|<month-name> [..<month-nam>]|all}
|   |   |   no month
|   |   +---no shutdown
|   |   |   shutdown
|   |   +---type <schedule-type>
|   |   +---weekday {<weekday-number> [..<weekday-number>]|<day-name> [..<day-nme>]|all}
|...