IronPort Systems 4108GL User Manual

Page 53

Advertising
background image

3-13

Using the Command Line Interface (CLI)

Using the CLI

Usi
n

g t
he Co

m

m

a

nd
Li

ne

In

te

rfa

c

e

(

C

LI)

Figure 3-9. Example of Help for a Specific Instance of a Command

Note that trying to list the help for an individual command from a privilege
level that does not include that command results in an error message. For
example, trying to list the help for the

interface command while at the global

configuration level produces this result:

HP4108# interface help

Invalid input: interface

Configuration Commands and the Context
Configuration Modes

You can execute any configuration command in the global configuration mode
or in selected context modes. However, using a context mode enables you to
execute context-specific commands faster, with shorter command strings.

The Switch 4108GL offers interface (port or trunk group) and VLAN context
configuration modes:

Port or Trunk-Group Context .

Includes port- or trunk-specific

commands that apply only to the selected port(s) or trunk group, plus the
global configuration, Manager, and Operator commands. The prompt for this
mode includes the identity of the selected port(s):

HP4108(config)# interface e c3-c6

HP4108(config)# interface e trk1

Command executed at
configuration level for
entering port or trk1 static
trunk-group context.

HP4108(eth-C5-C8)#

HP4108(eth-Trk1)#

Resulting prompt showing
port or static trunk contexts.

Advertising