![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
This chapter provides a general overview of the Cisco ONS 15200 Command Line Interface (CLI).
The following list describes the features of the ONS 15200 CLI:
The ONS 15200 CLI uses a UNIX-style, character-based user interface that allows you to communicate directly with the NCB module and provides commands that allows users to add, delete, and configure objects, alarms, and parameters.
The UNIX-style command line interpreter uses features specific to the ONS 15200 Command Line Interface. Table 1-1 lists the command line editing features.
Command | Result |
<Ctrl> a | Go to the beginning of the line. |
<Ctrl> e | Go to the end of the line. |
<Ctrl> f | Go forward one character. |
<Ctrl> b | Go backward one character. |
<Ctrl> d | Delete one character at the cursor. |
<Ctrl> k | Delete from the cursor to the end of the line. |
<Ctrl> n | Scan command history forward. |
<Ctrl> p | Scan command history backward. |
? | List available commands. |
Many commands available in the ONS 15200 Command Line Interface have parameters that allow you to configure specific aspects of a given command. Command parameter syntax follows rules that help the user identify which parameters are optional, which are required, which need to be repeated, and so on. These rules follow:
Convention | Description |
---|---|
bold text | Command or keyword that you must enter. |
italic text | Parameter or argument for which you supply a value. |
[x] | Optional keyword or argument that you may enter. |
{ x | y | z } | Choice or alternate values (select only one). |
[x {y|z}] | A required choice within an optional element. |
<x> | A required parameter |
The ONS 15200 Command Line Interface has three operating modes. One mode grants read-and-write access to the parameters; the second mode grants read-only access; and the third grants access to the system commands. The command line prompt indicates the current mode.
Some commands, such as the configure command, automatically enter read-and-write mode. The prompt indicates the current mode, regardless of how the modes were entered or exited. The user's access privileges may prevent the user from entering read-and-write mode.
The network database has a structure similar to a file system. The data is structured hierarchically, with nodes and leaves. A leaf is a container for a value, and a node groups related leaves (i.e., values) together in a tree structure. When you need to manipulate or monitor many values on a certain level, you must set the current focus to a local top-node rather than the database top-node. Some commands, such as the create and configure commands, may also change the focus. A new focus also changes the command line prompt.
Posted: Mon Sep 30 20:32:29 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.