Command Conventions; Prompt And Response Conventions - Juniper MEDIA FLOW MANAGER 2.0.2 - ADMINISTRATOR S GUIDE AND CLI Administrator's Manual

Administrator’s guide and cli command reference
Table of Contents

Advertisement

CHAPTER 4 About the Command Line Interface (CLI)
The configure terminal command moves you to Configuration mode. This has a full
unrestricted set of commands to view anything, take any action, or change any configuration.
Its commands are a superset of those in Enable mode. Enter exit to leave Configuration
mode.
Some commands have a prefix mode; that is, when you enter a keyword, you enter a mode
for that configuration. For example:
test-vos (config) # accesslog
test-vos (config accesslog) #
When in the prefix mode, you can only make configurations for that command set and typing
? (question mark) shows you only the options for those configurations. To leave the prefix
mode, type exit.

Command Conventions

A command looks like one of the following:
command arguments
subcommand [arguments]
where:
command is one of the command keywords described in this book. Command names are
case-sensitive. You must specify a command; it is not optional.
subcommand is one of the subcommand keywords described in this book. Subcommand
names are also case-sensitive. Most commands have subcommands.
arguments is a command-specific list of space-separated strings. Each has its own fixed
number of options. Not all commands take arguments.
Commands must terminate with CRLF (carriage return followed by newline).

Prompt and Response Conventions

The prompt always begins with the hostname of the system. What follows depends on what
command mode you are in. To demonstrate by example, say the hostname is "vos-c111". The
prompts for each of the modes would be:
test-vos >
test-vos #
test-vos (config) #
Commands that succeed in doing what was asked do not print any response. The next thing
you see after pressing Enter is the command prompt. If an error is encountered in executing a
command, the response begins with % (percent sign), followed by some text describing the
error.
All CLI commands allow completion with TAB. For example, typing en and then
Note!
pressing TAB completes the en command out to enable. Completion (hitting TAB) also shows
all commands following the typed letters; for example, typing e (in Standard mode) and then
pressing TAB shows enable and exit as the available commands starting with e.
94
Command Conventions
Standard mode
Enable mode
Config mode
Media Flow Manager Administrator's Guide
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

Table of Contents