3-10
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
telnet
terminal
HP4108(config)# t
As mentioned above, if you type part of a command word and press [Tab], the
CLI completes the current word (if you have typed enough of the word for the
CLI to distinguish it from other possibilities), including hyphenated exten-
sions. For example:
HP4108(config)# port[Tab]
HP4108(config)# port-security _
Pressing [Tab] after a completed command word lists the further options for
that command.
HP4108(config)# stack [Tab]
commander <commander-str>
join <mac-addr>
auto-join
transmission-interval <integer>
<cr>
HP4108(config)# stack
Command Option DisplaysConventions for Command Option Displays. When you use the CLI to
list options for a particular command, you will see one or mo re of the following
conventions to help you interpret the command data:
■Braces ( < > ) indicate a required choice.
■Square brackets ([ ]) indicate optional elements.
■Vertical bars ( | ) separate alternative, mutually exclusive options in a
command.
Figure 3-5.Example of Command Option Conventions
The braces (< >) show that the trunk
command requires all three
parameters.
The vertical bar ( | ) shows that either
trunk or lacp must be included.
The square brackets ([ ]) show that
ethernet is optional.