Alteon OS Command Reference

Command Line Interface Shortcuts

Command Stacking

As a shortcut, you can type multiple commands on a single line, separated by forward slashes (/). You can connect as many commands as required to access the menu option that you want. For example, the keyboard shortcut to access the Spanning Tree Port Configuration Menu from the Main# prompt is as follows:

Main# cfg/l2/stg 1/port

Command Abbreviation

Most commands can be abbreviated by entering the first characters which distinguish the com- mand from the others in the same menu or sub-menu. For example, the command shown above could also be entered as follows:

Main# c/l2/stg 1/po

Tab Completion

By entering the first letter of a command at any menu prompt and hitting <Tab>, the CLI will display all commands or options in that menu that begin with that letter. Entering additional letters will further refine the list of commands or options displayed. If only one command fits the input text when <Tab> is pressed, that command will be supplied on the command line, waiting to be entered. If the <Tab> key is pressed without any input on the command line, the currently active menu will be displayed.

54 „ Menu Basics

BMD00007, November 2007

Page 54
Image 54
Nortel Networks BMD00007 manual Command Line Interface Shortcuts, Command Stacking, Command Abbreviation, Tab Completion