D
CLI OverviewTelnet Sessions
D-9
Command Line Interface
Navigating the CLI Command Tree
Once the administrator or operator logs in and sees the
Root>
prompt, the CLI commands are accessed by navigating up and down
the CLI command tree. To move from the root through the any of the
four extended branches, enter the name of the next branch as shown
in Table D-2.
For example, to use the config.port.name command to configure the
name for port 4 on the switch, you would enter a series of commands
similar to the following:
Root> config
Config> port
Config.Port> name 4 "Sam’s Tape Drive"
To back up a level, enter two periods; for example:
Config.Port> ..
Config>
One approach to making the navigation more concise is to jump
directly to return to the root of the CLI command tree, to avoid
navigating back up the branch:
Config.Port> root
Root>
Another approach to making the navigation more concise is to use
the complete command syntax from the
Root>
prompt each time. For
example, to issue the config.port.name command and then the
maint.port.beacon
command, enter the commands similar to the
following:
Root> config port name 4 "Sam’s Tape Drive"
Root> maint port beacon 4 true
As shown in this example, use of the complete command syntax
avoids navigating up and down the levels of the CLI command tree,
and the prompt stays at the root level. The use of the complete
command syntax is particularly useful when writing scripts.
When coding a script, remember to code the appropriate character
sequences (described under Navigation Conventions on page D-5):
Root> config port name 4 "Sam’s Tape Drive"<CR>
Root> maint port beacon 4 true<CR>
Summary of Contents for Connectrix DS-32M2
Page 4: ...Connectrix DS 32M2 User Guide iv ...
Page 14: ...xiv Connectrix DS 32M2 User Guide Figures ...
Page 16: ...Connectrix DS 32M2 User Guide Tables xvi ...
Page 24: ...xxiv Connectrix DS 32M2 User Guide Warnings and Cautions ...
Page 42: ...1 1 18 Connectrix DS 32M2 User Guide Switch Operating Features ...
Page 72: ...3 3 24 Connectrix DS 32M2 User Guide Product Manager Overview ...
Page 226: ...B B 8 Connectrix DS 32M2 User Guide Configuring Network Addresses ...
Page 248: ...C C 22 Connectrix DS 32M2 User Guide Configuring the Switch from a Web Server ...
Page 332: ...F F 8 Connectrix DS 32M2 User Guide Customer Support ...
Page 351: ...Connectrix DS 32M2 User Guide g 19 Glossary ...
Page 352: ...g 20 Connectrix DS 32M2 User Guide Glossary ...