Command line interface, Command types, Context-sensitive commands – Foundry Networks AR3202-CL User Manual

Page 16: Hapter, Ommand, Nterface, Ypes, Ontext, Ensitive, Ommands

Advertising
background image

June 2004

© 2004 Foundry Networks, Inc.

2 - 1

Chapter 2

Command Line Interface

This chapter introduces the Command Line Interface (CLI) hierarchy and the conventions used to describe it. It
also introduces the CLI navigation keys and methods, as well as the available help screens.

Command Types

This guide contains two types of commands: transition, or mode change, commands and standard commands.

Transition commands do not affect the system configuration, they are used to gain access to lower- or next-level
commands in the CLI hierarchy. Following each transition command is a brief description, a syntax and usage
example, a list of next-level commands, and a list of systems for which the command is applicable.

NOTE: In certain instances, transition commands will select an interface for configuration and access next-level
commands. For example, the configure interface bundle dallas command accesses the configure interface
bundle
mode and selects or creates the bundle dallas.

Standard commands are used to configure the system. Following each standard command is a brief description, a
list of parameters and definitions, a syntax and usage example, a list of related commands, and a list of systems
for which the command is applicable.

Context-Sensitive Commands

Some commands are context-sensitive. Once a module, bundle, or Ethernet port has been selected for
configuration, all further configuration applies only to the selected interface. Table 2.1: shows a context-sensitive
command string for a AR1208 system. In this example, T1 link 1 remains selected for configuration until you exit
from the Foundry-AR1208/configure/module/t1# prompt.

Table 2.1: Context-Sensitive Command Sequence

Context-Sensitive Command String

Example

1 Go into the configuration mode.

Foundry-AR1208#configure terminal

1 Specify the type of interface (T1).

Foundry-AR1208/configure#module t1

1 Choose the specific interface (T1 link 1).

Foundry-AR1208/configure#module t1 1

1 From now on, all configuration commands

are for T1 link 1 until you exit from module
configuration or choose another T1 link.

Foundry-AR1208/configure/module/t1 1#

Advertising
This manual is related to the following products: