3-6
Using the Command Line Interface (CLI)
Using the CLI
Using the Command Line
Interface (CLI)
Changing Interfaces. If you change from the CLI to the menu interface, or
the reverse, you will remain at the same privilege level. For example, entering
the menu command from the Operator level of the CLI takes you to the
Operator privilege level in the menu interface.
Table 3-1. Privilege Level Hierarchy
Privilege Level Example of Prompt and Permitted Operations
Operator Privilege
Operator Level HP4108> show <command>
setup
ping <argument>
link-test <argument>
enable
menu
logout
exit
View status and configuration information.
Perform connectivity tests.
Move from the Operator level to the Manager level.
Move from the CLI interface to the menu interface.
Exit from the CLI interface and terminate the console
session.
Terminate the current session (same as logout).
Manager Privilige
Manager Level HP4108# Perform system-level actions such as system control, monitoring, and diagnostic
commands, plus any of the Operator-level commands. For a list of available
commands, enter ? at the prompt.
Global
Configuration
Level
HP4108(config)# Execute configuration commands, plus all Operator and Manager commands . For
a list of available commands, enter ? at the prompt.
Context
Configuration
Level
HP4108(eth-5)#
HP4108(vlan-100)#
Execute context-specific configuration comman ds, such as a particular VLAN or
switch port. This is useful for shortening the command strings you type, and for
entering a series of commands for the same context. For a list of ava ilable
commands, enter ? at the prompt.