Foundry Networks AR3201 Manuale Utente

Pagina di 293
Command Line Interface
June 2004
© 2004 Foundry Networks, Inc.
2 - 5
Figure 2.2
Help Screen
Tree 
You may view a tree that shows all CLI commands, or a tree that shows only the commands associated with the 
current command mode (or the routing mode for example). Figure 2.3 shows two command tree examples. If you 
type tree at the main (Foundry-AR1208# or equivalent) prompt, the entire list of system commands appears. If 
you type tree within a command mode, such as Foundry-AR3201-CH/clear# tree, the commands associated with 
this command mode are displayed.
Figure 2.3
Foundry CLI Command Tree
Question Mark Help Screen
To view help information for a command category, specific command, or a parameter, type the associated word 
followed by a space and a question mark (?). For example, if you type a question mark at the main command 
prompt, the system command categories appear.  Shows a display of these top-level commands.
# help
  ?                   -- display commands under this tree
  exit [level]        -- exit (level nos ) from the current tree
                      --     'exit' from "top level" terminates CLI
  Ctrl-Z              -- exit to top level
  tree                -- display tree under current node
type 'help edit' to see editing features
type 'help <cmd#' to get help for that command
#
# tree
xcli
|-- ping
|-- clear
|    |-- cfg_file
|    |-- arp
|    |-- cfg_log
|    |-- command_log
|    |-- snmp_stats
|    |-- counters
|    |    |-- all
|    |    |-- ethernet
|    |    |-- ethernets
|    |    |-- bundle
|    |    |-- bundles
|    |    |-- avc
|    |    |-- avcs
|    |    |-- tunnel
|    |    |-- tunnels
|    |-- interface
|    |    |-- all
|    |    |-- ethernet
Press any key to continue (q : quit) :