CHAPTER 4 About the Command Line Interface (CLI)
Media Flow Manager Administrator’s Guide
94
Command Conventions
Copyright © 2010, Juniper Networks, Inc.
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 > Standard mode
test-vos # Enable mode
test-vos (config) # Config mode
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.
Note!
All CLI commands allow completion with TAB. For example, typing
en
and then
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
.
Содержание MEDIA FLOW MANAGER 2.0.2 - ADMINISTRATOR S GUIDE AND CLI
Страница 6: ...Media Flow Manager Administrator s Guide VI Copyright 2010 Juniper Networks Inc...
Страница 12: ...TABLE OF CONTENTS Media Flow Manager Administrator s Guide XII Copyright 2010 Juniper Networks Inc...
Страница 16: ...LIST OF FIGURES XVI Copyright 2010 Juniper Networks Inc...
Страница 152: ...CHAPTER 5 CLI Commands Media Flow Manager Administrator s Guide 152 write Copyright 2010 Juniper Networks Inc...