Cisco Systems Cisco MGX 8850 Manuale Utente

Pagina di 786
C H A P T E R
9-1
Cisco MGX 8850 Routing Switch Command Reference
Release 2.0, Part Number 78-10467-04 Rev C0, October 2001
9
Troubleshooting Commands
This chapter describes commands that directly or indirectly facilitate troubleshooting. They include 
commands for viewing and clearing alarms and statistics. The chapter begins with a description of the 
CLI, various elements of the AXSM, and the PNNI port identifier.
Position-Dependent and Keyword-Driven Parameters
A command can include parameters 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 position-dependent syntax is:
addport <ifNum> <bay.line> <guaranteedRate> <maxrate> <sctID> <ifType> [vpi]
For a keyword-driven parameter, a keyword must precede the value. The keyword is preceded by a dash 
and followed by the parameter (–timeout <secs>, for example). The order you enter keyword-driven 
parameters does not matter—although any preceding or succeeding, position-dependent parameters 
must appear as they do in the command syntax description. 
In the following syntax example, the command is to delete more than one connection at a time. The 
mandatory, position-dependent connection identifier consist of a logical port (ifNum) and the VPI and 
VCI of the first connection to delete. After the connection identifier, the line shows two optional, 
keyword-driven parameters. These keyword-driven parameters let you enter the number of connections 
to delete and specify verbose mode:
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 parameters), a message displays the syntax and parameter ranges. The returned message may 
also suggest what the problem is. For example, the message may warn of too few parameters. No error 
messages or warnings appear until you complete the command.