1-3
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
Chapter1 Command Line Interface Overview Contents of a Command Description

Notation

The notation for command and argument parameters follows:
Commands and their parameters are separated by a space.
Variables appear in italics.
Keywords and commands appear in bold.
Required arguments appear withi n left and right arrowheads (< >).
Optional parameters appear within square brackets ([ ]).
A vertical bar ( | ) represents the logical OR function.

Position-Dependent and Keyword-Driven Parameters

A command can include param ete rs that are keyword-driven or position-dependent.
For position-dependent parameters, you must type parameters in the order they appear in the syntax
description or on-line help. To create a logical port, for example, the pos it io n-d ep en de nt s y nt ax is:
addport <ifNum> <bay.line> <guaranteedRate> <maxrate> <sctID> <ifType> [vpi]
For a keyword-driven parameter, a keyword must pr ec ede the value. The keyword is preceded by a dash
and followed by the parameter (timeou t <secs>, for example). The order you enter keyword-driven
parameters does not matteralthough any precedin g or s u cc eeding, position-de pe ndent parameters
must appear as they do in the com m an d syn ta x de sc rip ti on .
In the following syntax example, th e co mm and is to delete more than one c on n ect io n at a t im e . Th e
mandatory, position-dependent connection identifier consist of a logical port (ifNum) and the VPI and
VCI of the first connection t o de let e . A ft er th e co nn ec tion identifier, the line shows two o ptional,
keyword-driven parameters. These keyword-driven parameters let you enter the number of connections
to delete and specify verb os e m o d e :
delcons <ifNum> <vpi> <vci> [-num <num. conns to del>] [-verbose < 1 | 0 >]

Command Entry

When you enter a command with the current version of the product, you must type all intended
arguments before you press the Return key or Enter key.
If you press the Return key or Enter key with incorrect parameters or no parameters (if the command
requires parameter s ) , a message displays t he syntax and paramet er ranges. The retu rn e d m essage may
also suggest what the problem i s. For example, the message may w ar n of t oo f ew p ar ame ters. No error
messages or warnings appear u nt il yo u co mp le te the command.
Contents of a Command Description
Each command description contains:
An introductory paragraph that explains the function of the command. Additional paragraphs
elaborate on the functionality a s n eed ed .
A list of cards on the CLI of which you can execute the command.