HP StorageWorks 4/64 Brocade Converged Enhanced Ethernet Administrator's Guide - Page 44
Using the do command as a shortcut, Displaying CEE CLI commands and command syntax, the question mark
View all HP StorageWorks 4/64 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
2 CEE Command Line Interface Using the do command as a shortcut You can use the do command to save time when you are working in any configuration mode and you want to run a command in the EXEC or Privileged EXEC mode. For example, if you are configuring an LLDP and you want to execute a Privileged EXEC mode command, such as the dir command, you would first have to exit the LLDP configuration mode. However, by using the do command with the dir command you can ignore the need to change configuration modes, as shown in the example below. switch(conf-lldp)#do dir Contents of flash:// -rw-r----- 1276 -rw-r----- 1276 -rw-r----- 1276 -rw-r----- 1276 switch(conf-lldp)# Wed Feb Wed Feb Wed Feb Wed Feb 4 07:08:49 2009 4 07:10:30 2009 4 07:12:33 2009 4 10:48:59 2009 startup_rmon_config rmon_config rmon_configuration starup-config Displaying CEE CLI commands and command syntax Enter a question mark (?) in any command mode to display the list of commands available in that mode. switch>? Exec commands: enable Turn on privileged mode command exit End current mode and down to previous mode help Description of the interactive help system logout Exit from the EXEC quit Exit current mode and down to previous mode show Show running system information terminal Set terminal line parameters To display a list of commands that start with the same characters, type the characters followed by the question mark (?). switch>e? enable Turn on privileged mode command exit End current mode and down to previous mode To display the keywords and arguments associated with a command, enter the keyword followed by the question mark (?). switch#terminal ? length Set number of lines on a screen no Negate a command or set its defaults If the question mark (?) is typed within an incomplete keyword, and the keyword is the only keyword starting with those characters, the CLI displays help for that keyword only. switch#show d? dot1x IEEE 802.1X Port-Based Access Control If the question mark (?) is typed within an incomplete keyword but the keyword matches several keywords, the CLI displays help for all the matching keywords. switch#show i? interface Interface status and configuration ip Internet Protocol (IP) 24 Converged Enhanced Ethernet Administrator's Guide 53-1001346-01