Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Using the CLI Command Help
OmniSwitch 6600 Family Switch Management Guide March 2005 page 5-7
Tutorial for Building a Command Using Help
The Help feature allows you to figure out syntax for a CLI command by using a series of command line
inquiries together with some educated guesses. If you do not know the correct CLI command you can use
the Help feature to determine the syntax.
This tutorial shows you how to use help to find the CLI syntax to create a VLAN. This VLAN will be
given the ID number 33 and will be named “test vlan 2.”
1 At the command prompt, enter vlan followed by a space and a question mark. The following will
display.
-> vlan ?
^
ROUTER <num>
(Vlan Manager Command Set)
PORT NO <num>
(Group Mobility Command Set)
802.1Q <num>
(Miscellaneous Command Set)
The question mark character invokes the help feature, which displays keywords that can be used with the
vlan prefix. Because you are setting up a new VLAN, you can presume the proper command for this task
will be shown in the VLAN Manager Command Set. This set shows two possible keywords to follow the
vlan syntax: ROUTER and <num>. Because you are assigning an ID number to the VLAN, you can
presume a number should be entered at this time.
Note. The presumptions you make while using the help feature may be educated guesses. Whenever you
make a guess as to the next keyword, it is a good idea to enter the keyword followed by a space and a
question mark.
2 At the command prompt, enter the number 33 followed by a space and a question mark. This step will
either give you more choices or an error message.
-> vlan 33 ?
^
<cr> AUTHENTICATION DISABLE ENABLE NAME NO PORT ROUTER STP
(Vlan Manager Command Set)
BINDING DHCP IP IPX MAC NO PORT PROTOCOL USER
(Group Mobility Command Set)
802.1Q NO
(Miscellaneous Command Set)
In this example, the question mark displays all keywords that can be used with the vlan 33 syntax.
Because you are setting up a new VLAN, and want to give the VLAN a name, you can presume the proper
syntax for this task will be NAME as shown in the VLAN Manager Command Set.