313194-A Rev 00
October 2001
Statement of conditions
In the interest of improving internal design, operational function, and/or reliability, Nortel Networks Inc. reserves the
right to make changes to the products described in this document without notice.
Nortel Networks Inc. does not assume any liability that may occur due to the use or application of the product(s) or
circuit layout(s) described herein.
313194-A Rev 00
3
permission to its consultants, subcontractors, and agents to use the Software at Licensee’s facility, provided they have
agreed to use the Software only in accordance with the terms of this license.
3. Limited warranty. Nortel Networks warrants each item of Software, as delivered by Nortel Networks and properly
installed and operated on Nortel Networks hardware or other equipment it is originally licensed for, to function
substantially as described in its accompanying user manual during its warranty period, which begins on the date
Software is first shipped to Licensee. If any item of Software fails to so function during its warranty period, as the sole
remedy Nortel Networks will at its discretion provide a suitable fix, patch, or workaround for the problem that may be
included in a future Software release. Nortel Networks further warrants to Licensee that the media on which the
Software is provided will be free from defects in materials and workmanship under normal use for a period of 90 days
from the date Software is first shipped to Licensee. Nortel Networks will replace defective media at no charge if it is
returned to Nortel Networks during the warranty period along with proof of the date of shipment. This warranty does not
apply if the media has been damaged as a result of accident, misuse, or abuse. The Licensee assumes all responsibility
for selection of the Software to achieve Licensee’s intended results and for the installation, use, and results obtained
from the Software. Nortel Networks does not warrant a) that the functions contained in the software will meet the
Licensee’s requirements, b) that the Software will operate in the hardware or software combinations that the Licensee
may select, c) that the operation of the Software will be uninterrupted or error free, or d) that all defects in the operation
of the Software will be corrected. Nortel Networks is not obligated to remedy any Software defect that cannot be
reproduced with the latest Software release. These warranties do not apply to the Software if it has been (i) altered,
except by Nortel Networks or in accordance with its instructions; (ii) used in conjunction with another vendor’s product,
resulting in the defect; or (iii) damaged by improper environment, abuse, misuse, accident, or negligence. THE
FOREGOING WARRANTIES AND LIMITATIONS ARE EXCLUSIVE REMEDIES AND ARE IN LIEU OF ALL
OTHER WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY WARRANTY OF
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Licensee is responsible for the security of its
own data and information and for maintaining adequate procedures apart from the Software to reconstruct lost or altered
files, data, or programs.
4. Limitation of liability. IN NO EVENT WILL NORTEL NETWORKS OR ITS LICENSORS BE LIABLE FOR
ANY COST OF SUBSTITUTE PROCUREMENT; SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
DAMAGES; OR ANY DAMAGES RESULTING FROM INACCURATE OR LOST DATA OR LOSS OF USE OR
PROFITS ARISING OUT OF OR IN CONNECTION WITH THE PERFORMANCE OF THE SOFTWARE, EVEN IF
NORTEL NETWORKS HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT
SHALL THE LIABILITY OF NORTEL NETWORKS RELATING TO THE SOFTWARE OR THIS AGREEMENT
EXCEED THE PRICE PAID TO NORTEL NETWORKS FOR THE SOFTWARE LICENSE.
5. Government licensees. This provision applies to all Software and documentation acquired directly or indirectly by or
on behalf of the United States Government. The Software and documentation are commercial products, licensed on the
open market at market prices, and were developed entirely at private expense and without the use of any U.S.
Government funds. The license to the U.S. Government is granted only with restricted rights, and use, duplication, or
disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c)(1) of the Commercial
Computer Software––Restricted Rights clause of FAR 52.227-19 and the limitations set out in this license for civilian
agencies, and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause of DFARS
252.227-7013, for agencies of the Department of Defense or their successors, whichever is applicable.
6. Use of software in the European Community. This provision applies to all Software acquired for use within the
European Community. If Licensee uses the Software within a country in the European Community, the Software
Directive enacted by the Council of European Communities Directive dated 14 May, 1991, will apply to the examination
of the Software to facilitate interoperability. Licensee agrees to notify Nortel Networks of any such intended
examination of the Software and may procure support and assistance from Nortel Networks.
7. Term and termination. This license is effective until terminated; however, all of the restrictions with respect to
Nortel Networks’ copyright in the Software and user manuals will cease being effective at the date of expiration of the
Nortel Networks copyright; those restrictions relating to use and disclosure of Nortel Networks’ confidential information
shall continue in effect. Licensee may terminate this license at any time. The license will automatically terminate if
Licensee fails to comply with any of the terms and conditions of the license. Upon termination for any reason, Licensee
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
4
will immediately destroy or return to Nortel Networks the Software, user manuals, and all copies. Nortel Networks is not
liable to Licensee for damages in any form solely by reason of the termination of this license.
8. Export and re-export. Licensee agrees not to export, directly or indirectly, the Software or related technical data or
information without first obtaining any required export licenses or other governmental approvals. Without limiting the
foregoing, Licensee, on behalf of itself and its subsidiaries and affiliates, agrees that it will not, without first obtaining all
export licenses and approvals required by the U.S. Government: (i) export, re-export, transfer, or divert any such
Software or technical data, or any direct product thereof, to any country to which such exports or re-exports are restricted
or embargoed under United States export control laws and regulations, or to any national or resident of such restricted or
embargoed countries; or (ii) provide the Software or related technical data or information to any military end user or for
any military end use, including the design, development, or production of any chemical, nuclear, or biological weapons.
9. General. If any provision of this Agreement is held to be invalid or unenforceable by a court of competent
jurisdiction, the remainder of the provisions of this Agreement shall remain in full force and effect. This Agreement will
be governed by the laws of the state of California.
Should you have any questions concerning this Agreement, contact Nortel Networks Inc., 2375 N. Glenville Dr.,
Richardson, TX 75082.
LICENSEE ACKNOWLEDGES THAT LICENSEE HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND
AGREES TO BE BOUND BY ITS TERMS AND CONDITIONS. LICENSEE FURTHER AGREES THAT THIS
AGREEMENT IS THE ENTIRE AND EXCLUSIVE AGREEMENT BETWEEN NORTEL NETWORKS AND
LICENSEE, WHICH SUPERSEDES ALL PRIOR ORAL AND WRITTEN AGREEMENTS AND
COMMUNICATIONS BETWEEN THE PARTIES PERTAINING TO THE SUBJECT MATTER OF THIS
AGREEMENT. NO DIFFERENT OR ADDITIONAL TERMS WILL BE ENFORCEABLE AGAINST NORTEL
NETWORKS UNLESS NORTEL NETWORKS GIVES ITS EXPRESS WRITTEN CONSENT, INCLUDING AN
EXPRESS WAIVER OF THE TERMS OF THIS AGREEMENT.
313194-A Rev 00
5
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Chapter 1
CLI basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Management tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Device Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Web management interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Boot Monitor command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Run-Time command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Accessing the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Boot Monitor and Run-Time CLIs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Getting Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Navigation commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
help command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
history commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Remote host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Passport access levels and passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Telnet and console passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
CLI commands to change the console/Telnet password . . . . . . . . . . . . . . . . . 37
Switch file system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
File management commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
copy command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
edit command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
6 Contents
Chapter 2
Boot Monitor command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Chapter 3
Run-Time command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
General usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69
Run-time command hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
General commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
boot command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
clear commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
help command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
login, exit, logout, and quit commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
peer command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
313194-A Rev 00
Contents 7
Chapter 4
General switch management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
8 Contents
313194-A Rev 00
Contents 9
Appendix A
Edit commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Appendix B
Special terminal characters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Appendix C
Connecting a modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Appendix D
PPP configuration file options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154
Appendix E
Tap and OctaPID Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Appendix F
CLI command list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
Appendix G
Additional reference sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
10 Contents
313194-A Rev 00
11
Figures
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
12 Figures
313194-A Rev 00
Figures 13
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
14 Figures
313194-A Rev 00
15
Tables
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
16 Tables
313194-A Rev 00
17
Preface
Nortel Networks* Passport* command line interface (CLI) is one of the tools used
to configure and manage a Passport 8000 Series switch. You can set up, configure,
and manage a Passport 8000 Series switch using the CLI and the Device Manager
graphical user interface (GUI).
The Passport 8000 Series switch is composed of a Passport 8000 Series chassis
with one of the following types of installed modules:
This guide provides instructions for using the CLI to perform basic switch
management for Passport switches. It also contains a complete list of CLI
commands. Most of the commands in this guide can be used in both the Passport
8600 module and the Passport 8100 module. If a command can only be used with
one of these modules, it is noted in the text.
Before using this guide, you must complete the following procedures. For a new
switch:
• Install the switch (refer to the installation guide for your switch chassis)
• Connect the switch to the network. See Getting Started with the Passport 8000
Series Switch Management Software.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
18 Preface
Text conventions
This guide uses the following text conventions:
angle brackets (< >) Indicate that you choose the text to enter based on the
description inside the brackets. Do not type the
brackets when entering the command.
Example: If the command syntax is
ping <ip_address>, you enter
ping 192.32.10.12
bold Courier text Indicates command names and options and text that
you need to enter.
Example: Use the dinfo command.
Example: Enter show ip {alerts|routes}.
braces ({}) Indicate required elements in syntax descriptions where
there is more than one option. You must choose only
one of the options. Do not type the braces when
entering the command.
Example: If the command syntax is
show ip {alerts|routes}, you must enter either
show ip alerts or show ip routes, but not both.
brackets ([ ]) Indicate optional elements in syntax descriptions. Do
not type the brackets when entering the command.
Example: If the command syntax is
show ip interfaces [-alerts], you can enter
either show ip interfaces or
show ip interfaces -alerts.
ellipsis points (. . . ) Indicate that you repeat the last element of the
command as needed.
Example: If the command syntax is
ethernet/2/1 [<parameter> <value>]... ,
you enter ethernet/2/1 and as many
parameter-value pairs as needed.
313194-A Rev 00
Preface 19
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
20 Preface
Acronyms
This guide uses the following acronyms:
313194-A Rev 00
Preface 21
Related publications
For more information about using a Passport 8000 Series switch, the resident CLI
or Device Manager, refer to the following publications:
• Release Notes for the Passport 8000 Series Switch Release 3.2 (part number
313946-A Rev 00)
Provides a list of new features and late-breaking information about the
hardware and software that is not included in the Passport 8000 Series switch
documentation.
• Installing and Maintaining the Passport 8003 Chassis and Components
(part number 313074-B Rev 00)
Provides instructions for installing the Passport 8003 Chassis in an equipment
rack and for installing and replacing fan trays, power supplies, modules,
gigabit interface converters, and media dependent adapters. This guide
describes some of the routine tasks of operating the Passport 8003 Chassis and
includes technical specifications for the chassis and the modules.
• Installing and Maintaining the Passport 8006 Chassis and Components
(part number 312748-B Rev 00)
Provides instructions for installing the Passport 8006 Chassis in an equipment
rack and for installing and replacing fan trays, power supplies, modules,
gigabit interface converters, and media dependent adapters. This guide
describes some of the routine tasks of operating the Passport 8006 Chassis and
includes technical specifications for the chassis and the modules.
• Installing and Maintaining the Passport 8010 Chassis and Components
(part number 312747-B Rev 00)
Provides instructions for installing the Passport 8010 Chassis in an equipment
rack and for installing and replacing fan trays, power supplies, modules,
gigabit interface converters, and media dependent adapters. This guide
describes some of the routine tasks of operating the Passport 8010 Chassis and
includes technical specifications for the chassis and the modules.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
22 Preface
313194-A Rev 00
Preface 23
• Managing the Passport 8000 Series Switch Using Device Manager Release
5.x.x (part number 313195-A Rev 00)
Describes the structure of Device Manager and how to use it to perform basic
switch management operations, such as working with switch files and setting
up security features.
• Configuring Switching and Routing Operations for the Passport 8000 Series
Switch Using Device Manager Release 5.x.x (part number 313193-A Rev 00)
Describes how to use Device Manager to configure and manage layer 2
(switching) and layer 3 (routing) functions.
You can print selected technical manuals and release notes free, directly from the
Internet. Go to the www.nortelnetworks.com/documentation URL. Find the
product for which you need documentation. Then locate the specific category and
model or version for your hardware or software product. Use Adobe* Acrobat
Reader* to open the manuals and release notes, search for the sections you need,
and print them on most standard printers. Go to Adobe Systems at the
www.adobe.com URL to download a free copy of the Adobe Acrobat Reader.
You can purchase selected documentation sets, CDs, and technical publications
through the Internet at the www1.fatbrain.com/documentation/nortel/ URL.
For more information about using a Passport 8000 Series switch, the resident CLI,
or Device Manager, refer to the following publications:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
24 Preface
If you purchased a Nortel Networks service program, contact one of the following
Nortel Networks Technical Solutions Centers:
An Express Routing Code (ERC) is available for many Nortel Networks products
and services. When you use an ERC, your call is routed to a technical support
person who specializes in supporting that product or service. To locate an ERC for
your product or service, go to the http://www130.nortelnetworks.com/cgi-bin/
eserv/common/essContactUs.jsp URL.
313194-A Rev 00
25
Chapter 1
CLI basics
Management tools for the Passport 8000 Series switch include Device Manager
software and the command line interface (CLI). This manual provides information
about CLI commands for basic management tasks, including lists of basic
management commands and parameters in Passport software version 3.2.
The Passport 8000 Series switch is composed of a Passport 8000 Series chassis
with a choice of the following installed switch modules.
In a single chassis, you should install either Passport 8100 modules or Passport
8600 modules, but not both.
The Passport 8600 modules include the following two specialized switching
modules:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
26 Chapter 1 CLI basics
Table 1 lists additional references for the Passport 8000 Series switch.
Topic Publication
Managing switching and routing operations in Configuring Switching and Routing Operations for the
a Passport 8000 Series switch Passport 8000 Series Switch Using the Command Line
Interface Release 3.2
Networking features in Passport products Networking Concepts for the Passport 8000 Series Switch
Using the Passport Device Manager software Configuring Switching and Routing Operations for the
Passport 8000 Series Switch Using Device Manager
Release 5.x.x
Performing the initial setup of the switch Getting Started with the Passport 8000 Series Switch
configured for basic switching Management Software
This chapter provides an overview of the CLI, and includes the following
information:
Management tools
Four management tools enable you to monitor and manage your Passport switch:
313194-A Rev 00
Chapter 1 CLI basics 27
Device Manager
• Configuring Switching and Routing Operations for the Passport 8000 Series
Switch Using Device Manager Release 5.x.x
• The online Help within Device Manager
The Boot Monitor CLI contains commands that enable you to configure boot
options and manage files. In the Boot Monitor CLI, you can change boot flags,
serial and network port configuration, and remote host information. For more
information about the Boot Monitor CLI, refer to Chapter 2, “Boot Monitor
command line interface.”
The Run-Time CLI allows you to perform most switch management tasks. For
detailed information about the Run-Time CLI commands for basic management
tasks, see the following chapters:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
28 Chapter 1 CLI basics
For detailed information about Run-Time CLI commands for managing switching
and routing functions, see Configuring Switching and Routing Operations for the
Passport 8000 Series Switch Using the Command Line Interface Release 3.2.
• 9600 bits per second (b/s), 8 data bits, 1 stop bit, no parity, no flow control
• Serial terminal-emulation program such as Terminal or Hyperterm for
Windows NT® or Hyperterm for Windows® 95 or Windows 98
• Cable and connector to match the male DTE connector (DB-9) on the
Passport switch console port, with the DCE/DTE switch on the switch
management module set to DTE
For information about required cables, see Installing Passport 8100 Switch
Modules or Installing Passport 8600 Switch Modules.
You can also access the CLI through a modem connection. To set up a modem
connection, refer to Appendix C, “Connecting a modem,” on page 147.
To access the Boot Monitor CLI, you interrupt the switch boot process (see
page 46). To access the Run-time CLI, you wait for the login prompt. At the login
prompt, enter a login user name and password (page 36).
You can also access the Run-Time CLI through a Telnet or rlogin session. To
access the CLI remotely, the management port must have an assigned IP address
and remote access must be enabled. You can log on to the switch using Telnet
from a terminal that has access to the Passport 8000 Series switch. At the login
prompt, enter a login user name and password (page 36).
313194-A Rev 00
Chapter 1 CLI basics 29
When you enter the CLI, the name of the system is the displayed prompt; the
Run-Time CLI prompt ends with the slot number of the active switch
management module. For example, the Run-Time CLI prompt is:
Passport-8010:6#
monitor#
You can customize the Run-Time CLI prompt to begin with a different character
string (page 103). However, the final character is still the slot number of the active
switch management module.
To open a Telnet session from Device Manager, click the Telnet icon on the
Device Manager toolbar.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
30 Chapter 1 CLI basics
action : N/A
add-mlt :
agetime : N/A
delete : N/A
qoslevel : 1
name : Default
When you are within a given branch of the tree, you need to type only the
subcommand for that level. For example, to view the configuration information of
VLAN 1 from the top or prompt level, type config vlan 1 info. When you
are already in the “config” branch (as in Figure 1), you need only type vlan 1
info. In addition, when you are at a certain level, you will remain at that level
until you type a command that changes your level, such as box. This feature
enables you to create, delete, or change all relevant parameters at a level without
reentering information.
Instead of typing complete commands, you can enter a shortened version of the
command, such as dis for disable or en for enable, or type part of a command
and then press the Tab key to complete the command. If the letters you typed are
unique to a command, the command is completed automatically. If not, nothing
happens, indicating that more information is necessary.
Getting Help
When you navigate through the Boot Monitor or Run-Time CLI, online Help is
available at all levels. From any level of the tree, you can access Help in four
ways:
• Typing a question mark (?) at the prompt results in a list of all commands in
that command context and the subcontext of that command.
• Typing the word help at the prompt provides an explanation of the available
help.
• Typing help <command> explains what the command does and gives its
syntax.
313194-A Rev 00
Chapter 1 CLI basics 31
Refer to “help command” on page 33 for more information about the specific
types of online Help.
Navigation commands
The following navigation commands are available in the Boot Monitor and
Run-Time CLIs:
• The up arrow key or Control-P: to view and scroll through the previous
history commands.
• The down arrow key or Control-N: to view and scroll through the next history
commands.
• Control-U: to delete a line; clears the line and allows you to enter a new
command.
• Control-C: to abort a line entry; aborts the command entry and puts you at a
new prompt. Note that this command does not abort the current command
level that is running, only the new entry.
• Control-D: logs you off the system.
• Control-S/Control-Q: software flow control XON/XOFF.
• The Tab key or Control-I: command completion; completes the command
when you have entered part of a word (sh for show).
• The Backspace key or Control-H: backspace.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
32 Chapter 1 CLI basics
For a complete list of the keystrokes available in the CLI, see Appendix B,
“Special terminal characters,” on page 145.
Parameter values in the CLI are indicated by angle brackets < >. Parameters
can be optional or required. Required parameters must be in the specified order,
followed by optional parameters. Optional parameters are displayed in brackets
[ ]. For a complete list of text conventions used to denote the CLI, see “Text
conventions” on page 18.
When you enter multiple CLI commands, you can terminate a command within a
single line of input by using the semicolon (;) as the separator. A semicolon is
treated like a carriage return by the CLI.
313194-A Rev 00
Chapter 1 CLI basics 33
help command
In the Boot Monitor or Run-Time CLI, if you type help, followed by a specific
command (help [<command>]), a description of the command is displayed with
a list of subcommands or required and optional parameters. Figure 2 shows the
result of typing help config at the prompt.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
34 Chapter 1 CLI basics
history commands
The history commands let you list the commands you have entered during the
current session; they also let you reenter commands.
history Lists the commands that you have entered during the
current CLI session.
!! Reenters the most recently entered command.
!<number> Enters the command identified in the command history by
the variable number.
!<str> Runs the last command that matches the given string
str.
!?<substr> Runs the last command that matches the given substring
substr.
^<sstr>^<rstr> Enters the most recent command but substitutes a new
string for a given string.
Figure 3 shows sample output for the history command in the boot monitor
CLI.
monitor# history
0 cli info
1 more boot.cfg
2 flags info
3 history
To reenter the flags info command, you could retype the command; then press
[Enter]. Alternatively, you could enter!2.
313194-A Rev 00
Chapter 1 CLI basics 35
In the Boot Monitor and the Run-Time CLIs, the remote host commands use the
same syntax. These commands allow you to log in to another device from the
Passport 8000 Series switch.
• Read-only access—You can view the device settings, but you cannot change
any of the settings.
• Layer 1 read/write access—You can view most switch configuration and
status information and can change physical port parameters.
• Layer 2 read/write access—You can view and edit device settings related to
layer 2 (bridging) functionality. The layer 3 settings (such as OSPF, DHCP)
are not accessible. You cannot change the security and password settings.
• Layer 3 read/write access—You can view and edit device settings related to
layer 2 (bridging) and layer 3 (routing) functionality. You cannot change the
security and password settings.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
36 Chapter 1 CLI basics
• Read/write access—You can view and edit most device settings. You cannot
change the security and password settings.
• Read/write/all access—You have all the privileges of read-write access and
the ability to change the security settings. The security settings include access
passwords and the Web-based management user names and passwords.
When you access a Passport 8000 Series switch for management, you are
prompted for a login name and a password. The login and password defaults for
console and Telnet sessions are shown in Table 2.
Read-only ro ro
Layer 1 read/write l1 l1
Layer 2 read/write l2 l2
Layer 3 read/write (Passport 8600 only) I3 I3
Read/write rw rw
Read/write/all rwa rwa
You can change logins and passwords only if you log in with read/write/all
privileges (that is, the rwa access level). When the CLI prompts for login and
password, the access level is set corresponding to the login and password pair
entered.
The login command allows you to log in again with a different login access by
entering the user name and password. The prompt remains at the same level as
before you logged in again.
The logout command allows you to log out and reenter at the top level prompt. If
you connect to the switch through Telnet, the logout command terminates the
Telnet session.
313194-A Rev 00
Chapter 1 CLI basics 37
The following commands change the console/Telnet login name and the password
for each different login access level:
To display information about the access levels for login and password, type:
For each access level, the current login and password are displayed (Figure 4).
The switch configuration files are in ASCII format so that each line in the file is a
valid system command.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
38 Chapter 1 CLI basics
In the Boot Monitor and the Run-Time CLIs, the file management commands are
the same. When <file> is listed in the command options, enter a file name in one
of the following formats:
[a.b.c.d:]<filename>
/pcmcia/<filename>
/flash/<filename>
where:
pcmcia or flash specifies the device on the switch where the file is located.
313194-A Rev 00
Chapter 1 CLI basics 39
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
40 Chapter 1 CLI basics
grep <string> <file> Allows you to display all lines in a file that have one
or more matching strings within the file.
• string is the character string to be matched,
from 1 to 1024 characters.
• file is a file name, in the form /pcmcia/<file>
or /flash/<file>
ls [<dir>] [-r] Lists the files in UNIX format.
• dir is the destination device and file name.
• -r recurses into directories.
mkdir <dir> Creates a directory.
• dir s the directory name.
more <file> [type] Displays the contents of a file (Figure 6).
• file is the device and file name.
• type is the file type, either ASCII or Binary.
mv <old> <new> Moves or renames a file; can be used with a
wildcard pattern.
• old is the old file name.
• new is the new file name.
Note: You cannot use the mv command to move a
file between two devices, for example, between the
flash memory and a PCMCIA card. Use the cp
command (page 39) or the copy command
(page 42) instead.
remove <file> Deletes a file from a boot device.
file is the destination device and file name.
rename <old> <new> Moves or renames the file or directory; can be used
with a wildcard pattern.
• old is the old device and file name.
• new is the new device and file name.
rm <file> Removes a file or directory and can be used with a
wildcard pattern.
file is the file name.
source <file> [stop] Merges a configuration file into the running
[debug] [syntax] configuration without having to reboot the switch.
• file is the device and file name of the new
configuration file.
• stop stops the script when it finds an error in
the file.
• debug provides a debug script output.
• syntax verifies the script’s syntax.
313194-A Rev 00
Chapter 1 CLI basics 41
Warning: When you use a wildcard to remove multiple files, specify the
directory; otherwise, all files in the current directory will be removed. For
example, to remove all .cfg files, type remove ./*.cfg.
Passport_8100:5# directory
size date time name
-------- ------ ------ --------
641 SEP-05-2000 16:05:14 /flash/boot.cfg
4796 SEP-05-2000 16:05:20 /flash/config.cfg
631232 JAN-03-1998 08:01:56 /flash/a80b1000.img
236832 JAN-03-1998 08:01:58 /flash/a81e2000.dld
666966 SEP-05-2000 16:04:12 /flash/p80b10025.gz
2773586 SEP-05-2000 16:04:42 /flash/p80a3100_b29.img
243620 SEP-05-2000 16:19:42 /flash/p81e3100_b25.dld
2752602 FEB-19-1998 07:48:08 /flash/p86a_b25.gz
244452 SEP-05-2000 16:20:32 /flash/a81eREL3100.dld
total: 15793152 used: 7605248 free: 8187904 bytes
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
42 Chapter 1 CLI basics
copy command
The copy command copies a file from one device to another. The syntax for the
copy command is:
where:
313194-A Rev 00
Chapter 1 CLI basics 43
You can extend the copy command to copy files from sources other than the flash
or PCMCIA card by using a keyword before the srcfile or destfile
variable. The command lines below show the correct placement for the keyword.
or
For example, to copy a file from UNIX host 10.140.2.124 to flash memory, you
would use the following command:
edit command
The edit command allows you to use a simple editor (similar to the vi editor in
UNIX) to change the contents of files. The syntax for the edit command is:
edit <file>
After you type the command, the file contents are displayed. Following the file
output, each line of text is repeated to allow you to edit that line (Figure 7).
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
44 Chapter 1 CLI basics
1 #
2 # TUE SEP 05 16:05:20 2000 UTC
3 # box type : Passport-8010
4 # software version : REL3.1.0.0_B025
5 # monitor version : 1.0.0.2/4
6 #
7
8 #
9 # Asic Info :
10 # SlotNum|Name |CardType|MdaType |Parts Description
11 #
12 # Slot 1 8108GB 30325108 00000000
13 # Slot 2 8132TX 30211120 00000000
14 # Slot 3 8116FX 30311110 00000000
15 # Slot 4 8148TX 30210130 00000000
16 # Slot 5 8190SM 200e0100 00000000 CPU: CPLD=14
1> #
If the line does not require editing, press [Enter] to move to the next line. To
discontinue any of the edit commands, press [ESC]. To exit edit mode, use one of
the following commands:
Warning: Do not edit the boot.cfg file manually, because the switch
reads this file during the boot process. Errors generated while editing the
file could render the switch inoperable.
313194-A Rev 00
45
Chapter 2
Boot Monitor command line interface
The Boot Monitor CLI commands enable you to configure boot options and
manage files.
The Boot Monitor CLI commands enable you to perform the following tasks:
This chapter describes the Boot Monitor CLI and covers the following topics:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
46 Chapter 2 Boot Monitor command line interface
When you enter the Boot Monitor CLI, the following prompt is displayed:
monitor#
Note: To change the Boot Monitor settings while in the Run-Time CLI,
type config bootconfig before the command. For example, the
flags tftpd command in the Boot Monitor CLI is config
bootconfig flags tftpd in the Run-Time CLI. For more
information, see “config bootconfig flags commands” on page 92.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 47
attribute Passport-8100-mode
boot autoboot
config-file daylight-saving-time
choice image-file debugmode
cli info debug-config
copy egressmirror
factorydefaults
delay
ftpd
directory info
dos-chkdsk logging
dos-format ftp-debug machine-check
info reboot
edit
password rlogind
exit telnetd
tftp-debug
flags tftp-hash tftpd
help tftp-remit trace-logging
tftp-timeout verify-config
host
user wdt
logout
baud
ls bootp 8databits
more enable enable
choice info
multicast fullduplex
cli mode
info
net config mtu
ip
quit flags my-ip
restart
reset host peer-ip
route net
if pppfile
remove speed
inetstats restart
tftp
rlogin info slip-compression
save master slip-rx-compression
net
show
route
sio sio dst-end
source tz dst-name
telnet dst-offset
dst-start
tz
info
offset-from-utc
name
9549EA
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
48 Chapter 2 Boot Monitor command line interface
Note: Once the L2 Redundancy feature is enabled the user will lose all
Layer3 configuration and the switch will operate in Layer2 mode only.
The flags commands allow you to enable or disable the flags for configuration
settings. The flags commands allow you to set system flags to true or false.
When you change the configuration parameters using the flags commands, you
must save the changes to the configuration file and reboot the switch before the
changes take effect. For example, to save the changes, you might use the following
commands:
save (monitor)
flags
followed by:
info Displays information about the current flag settings.
8100-mode Enables the [Product Name (long)] to act as a switch only. In a
<true|false> switch with Passport 8100 modules, this flag defaults to true.
For Passport 8600 modules, the default is false.
autoboot Controls whether the switch automatically runs the run-time
<true|false> image after being reset or stops at the monitor prompt. Setting
autoboot to false is useful for some debugging tasks. The
default is true.
daylight-saving- Enables or disables daylight saving time for the switch. The
time <true|false> default is false.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 49
flags
followed by:
debugmode Controls whether the switch stops in debug mode following a
<true|false> fatal error. Debug mode provides information equivalent to the
trace commands.
• true means the switch is not rebooted following a fatal
error.
• false means the switch is automatically rebooted follow-
ing a fatal error.
The default is false.
debug-config Enables or disables run-time debugging of the configuration
<true|false> file. The default is false.
egress-mirror Enables the ability to mirror egress traffic. The default is true.
<true|false>
factorydefaults Specifies whether or not the switch boots with the factory
<true|false> defaults. The default is true.
ftpd <true|false> Enables or disables FTP server on the switch. The default is
false. To enable FTP, make sure the flags tftpd com-
mand is set to false. See also the host password com-
mand on page 58.
ha-cpu Enables or disables L2 Redundancy on the switch. The default
is false. To enable L2 Redundancy, make sure the flags
<true|false>
ha-cpu command is set to true. When this option is enabled
the savetostandby option is automatically enabled.
logging Enables or disables system logging to a PCMCIA file. The
<true|false> default is true.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
50 Chapter 2 Boot Monitor command line interface
flags
followed by:
trace-logging Enables or disables the creation of trace logs. The default is
<true|false> false.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 51
Configuring L2 Redundancy
1 Using the flags command, set the ha-cpu option to true on the master and
standby CPUs.
2 Save the new configuration on both CPUs.
3 Re-boot both CPUs.
boot command
The boot command allows you to modify and display boot parameters and to
reset or reboot the system.
Note: Entering the boot command with no arguments causes the switch
to boot using the current boot choices defined by the choice command
(next).
where:
• file is the software image device and file name in the format [a.b.c.d:]<file>
| /pcmcia/<file> | /flash/<file>. The file name, including the directory
structure, can be up to 1024 characters.
• config <value> is the software configuration device and file name in the
format [a.b.c.d:]<file> | /pcmcia/<file> | /flash/<file>. The file name,
including the directory structure, can be up to 1024 characters.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
52 Chapter 2 Boot Monitor command line interface
To boot the switch using the BootStrap Protocol (BootP), use the following
command:
boot 0.0.0.0
choice commands
The choice commands allow you to display or change the order in which the
boot sources (flash and PCMCIA card) are accessed. The default order is to access
the PCMCIA card first, and then the onboard flash.
choice <boot-choice>
followed by:
info Displays the current boot choices and associated files
(Figure 10).
config-file Identifies the boot configuration file.
<filename> filename is the device and file name, up to 256 characters
including the path.
image-file Identifies the image file.
<filename> filename is the device and file name, up to 256 characters
including the path.
For example, to specify the configuration file in flash memory as the primary boot
source, you would use the following command:
For more information about file name formats, refer to “File management
commands” on page 38.
Figure 10 shows the output from the choice primary info command.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 53
In this example, the switch is set to use the onboard flash as the primary source for
the configuration file and a TFTP server as the primary source for the image file.
cli commands
The Boot Monitor cli commands are similar to the Run-Time cli commands
described in “config cli commands” on page 103.
cli
followed by
info Displays information about the current settings of CLI
display options.
more <true|false> Enables scrolling of display output. The default is true.
prompt <value> Sets the root-level prompt.
value is a string (1 to 1024 characters).
rlogin-sessions Changes the number of allowed inbound rlogin/rsh
<value> sessions. The default is 1.
value is the number of sessions (0 to 8).
screenlines <value> Sets the number of lines displayed on the terminal screen.
The default is 23.
value is the number of lines (8 to 64).
telnet-sessions Changes the number of allowed inbound Telnet sessions.
<value> The default is 1.
value is the number of sessions (0 to 8).
timeout <seconds> Sets the amount of time elapsed before timeout, when the
switch logs out. The default is 0.
seconds is the timeout period in seconds (30 to 65536).
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
54 Chapter 2 Boot Monitor command line interface
Figure 11 shows the output from the cli info command; this example lists the
defaults for the cli info command.
date command
The date command allows you to view the current date settings for the switch
(Figure 12). To set the date, use the setdate command on page 63.
monitor# date
local time: TUE NOV 02 09:32:26 1999 PST
hardware time: TUE NOV 02 17:32:26 1999 UTC
delay command
The delay command enables you to set the number of seconds a standby CPU
should wait (delay) before trying to become the master CPU (refer to the master
command on page 59). This command applies only during a cold start and does
not apply to a failover start. The default is 2 seconds delay.
delay <seconds>
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 55
flags commands
The flags commands allow you to enable or disable the flags for configuration
settings. The flags commands allow you to set system flags to true or false.
When you change the configuration parameters using the flags commands, you
must save the changes to the configuration file and reboot the switch before the
changes take effect. For example, to save the changes, you might use the following
command:
flags
followed by:
info Displays information about the current flag settings.
8100-mode Enables the Passport 8000 Series switch to act as a switch
<true|false> only. In a switch with Passport 8100 modules, this flag defaults
to true. For Passport 8600 modules, the default is false.
autoboot Controls whether the switch automatically runs the run-time
<true|false> image after being reset or stops at the monitor prompt. Setting
autoboot to false is useful for some debugging tasks. The
default is true.
daylight-saving- Enables or disables daylight saving time for the switch. The
time <true|false> default is false.
debugmode Controls whether the switch stops in debug mode following a
<true|false> fatal error. Debug mode provides information equivalent to the
trace commands.
• true means the switch is not rebooted following a fatal
error.
• false means the switch is automatically rebooted
following a fatal error.
The default is false.
debug-config Enables or disables run-time debugging of the configuration
<true|false> file. The default is false.
egress-mirror Enables the ability to mirror egress traffic. The default is true.
<true|false>
factorydefaults Specifies whether or not the switch boots with the factory
<true|false> defaults. The default is true.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
56 Chapter 2 Boot Monitor command line interface
flags
followed by:
ftpd <true|false> Enables or disables FTP server on the switch. The default is
false. To enable FTP, make sure the flags tftpd
command is set to false. See also the host password
command on page 58.
logging Enables or disables system logging to a PCMCIA file. The
<true|false> default is true.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 57
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
58 Chapter 2 Boot Monitor command line interface
host commands
The host commands allow you to define conditions for remote host login.
host
followed by:
info Displays the current remote host login settings (Figure 14).
ftp-debug Enables or disables debug mode on FTP. If you enable debug
<true|false> mode, debug messages are displayed on the management
console screen. The default is false.
password <value> Sets the password to enable FTP transfers.
value is the password, up to 16 characters long.
When this password is set, only FTP is used for remote host
login.
Note: This password must match the password set for the
FTP server, or the FTP operation fails.
tftp-debug Enables or disables debug mode on TFTP/TFTPD. If you
<true|false> enable debug mode, debug messages are displayed on the
management console screen. The default is false.
tftp-hash Enables or disables the TFTP hash bucket display. The default
<true|false> is false.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 59
master command
The master command allows you to indicate which CPU should become master
when the switch is turned on. The master CPU performs a loopback test to test the
switch fabric. The default master is set for slot 5.
master <cpu-slot>
To display the current setting for the master CPU, use the show master
command.
net commands
The net commands configure the CPU network port devices. The three network
ports are the management port (mgmt), the CPU port (cpu2cpu), and the PCMCIA
card (pccard), if it is acting as a network port. The required parameter
cpu-net-port can be mgmt, cpu2cpu, or pccard.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
60 Chapter 2 Boot Monitor command line interface
net <cpu-net-port>
followed by:
info Displays information about the current configuration of the
specified port (Figure 15).
autonegotiate Enables or disables autonegotiation for the port. The
<true|false> default is false.
bootp <true|false> Enables or disables the Bootstrap Protocol (BootP) for the
port. The default is true.
enable <true|false> Enables or disables the specified port. The default is true.
fullduplex Enables or disables full-duplex mode on the specified port.
<true|false> The default is true.
Figure 15 shows output for the net mgmt info command, that is, the settings
for the management port.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 61
ping command
The Boot Monitor ping command allows you to test the connection between the
Passport 8000 Series switch and another network device. The syntax for the Boot
Monitor ping command is:
where:
To specify a count for the ping operation, you must also specify a size. For
example:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
62 Chapter 2 Boot Monitor command line interface
Quit commands
The quit, logout, and exit commands end your Boot Monitor CLI session and
return you to the Run-Time CLI.
reset command
The reset command reboots the switch and does not require parameters.
save command
The save command saves the boot configuration to a file. This command also
allows you to save a log or trace file. The syntax for the save command is:
where:
• savetype specifies what to save. Possible values for this parameter are
config, bootconfig, log, and trace.
• file <value> is a file name in one of the following formats:
— [a.b.c.d]:<file>
— /pcmcia/<file>
— /flash/<file>
• verbose saves default and current configuration. If you omit this parameter,
only parameters you have changed are saved.
• standby <value> saves the specified file name to the standby CPU.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 63
• backup <value> saves the specified file name and identifies the file as a
backup file.
For example, to save a configuration file as a backup file, you might use the
following command:
Note: To save a file to the standby CPU, you must enable TFTP on the
standby CPU. To enable TFTP, enter flags tftpd true in the Boot
Monitor CLI or config bootconfig flags tftpd true in the
Run-Time CLI.
setdate command
The setdate command allows you to set the calendar time in the form of month,
day, year, hour, minute, and second. You must be logged in as rwa to use this
command.
setdate <MMddyyyyhhmmss>
For example:
setdate 09182000103000
show commands
show
followed by:
info Displays the current settings for the boot monitor.
choice Displays the current boot configuration choices.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
64 Chapter 2 Boot Monitor command line interface
show
followed by:
cli Displays the current cli configuration.
config [verbose] Displays the current boot configuration.
verbose includes all possible information.
If you omit verbose, only the values that have been changed
from their default settings are displayed.
flags Displays the current flag settings.
host Displays the current host configuration.
master Displays the current CPU slot set as master and the settings
for the delay and multicast commands (Figure 17).
net Displays the current configuration of the CPU network ports.
sio Displays the current configuration of the CPU serial ports.
tz Displays the current configuration of the switch time zone.
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 65
sio commands
The sio commands allow you to configure the CPU serial port devices. The
required parameter cpu-sio-port can be console, modem, or pccard.
sio <cpu-sio-port>
followed by:
info Displays information about the specified port
(Figure 18).
baud <rate> Sets the baud rate for the port. The default is 9600.
8databits Specifies either 8 (true) or 7 (false) data bits per
<true|false> byte for software to interpret. The default is false.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
66 Chapter 2 Boot Monitor command line interface
313194-A Rev 00
Chapter 2 Boot Monitor command line interface 67
tz commands
The time zone (tz) commands set the switch’s relation to time zones. The tz
commands include the following options:
tz
followed by:
info Displays time zone information (Figure 19).
dst-end Sets the ending date of daylight saving time. You can
<Mm.n.d/hhmm| specify the time in one of two ways:
MMddhhmm> • Specify an hour on the nth occurrence of a weekday in a
month. For example, M10.5.0/0200 means the 5th
occurrence of Sunday in the 10th month (October) at
2:00 a.m.
• Specify a month, day, hour, and minute. For example,
10310200 means October 31 at 2:00 a.m.
dst-name <dstname> Sets an abbreviated name for the local daylight saving time
zone.
dstname is the name (for example, “pdt” is Pacific
Daylight Time).
dst-offset Sets the daylight saving adjustment in minutes.
<minutes> The default is 60.
dst-start Sets the starting date of daylight saving time. The format is
<Mm.n.d/hhmm| the same as for setting the ending date.
MMddhhmm>
offset-from-utc Sets the time zone offset, in minutes to subtract from
<minutes> Universal Coordinated Time (UTC), where positive numbers
mean west of Greenwich and negative numbers mean east
of Greenwich.
name <tz> Sets an abbreviated name for the local time zone name.
tz is the name (for example “pst” is Pacific Standard
Time).
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
68 Chapter 2 Boot Monitor command line interface
monitor# tz info
tz dst-end M10.5.0/0200
tz dst-name "PDT"
tz dst-offset 60
tz dst-start M4.1.0/0200
tz offset-from-utc 480
tz name "PST"
TIMEZONE=PST:PDT:480:M4.1.0/0200:M10.5.0/0200:60
313194-A Rev 00
69
Chapter 3
Run-Time command line interface
In the Passport 8000 Series switch, the Run-Time CLI commands enable you to
display and modify the switch configuration while the switch is operating. This
chapter includes information about the Run-Time CLI in the switch, including the
following sections:
This guide describes the commands used for basic management of the switch. For
a complete list of run-time CLI commands in alphabetical order, see Appendix F,
“CLI command list,” on page 161. For a complete list of other supporting
documentation, see “Related publications” on page 21.
General usage
When the Passport 8000 Series switch is up and running, the Run-Time CLI
commands enable you to perform most of the configuration and management
functions necessary to manage the switch. These functions include:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
70 Chapter 3 Run-Time command line interface
• Configure and display spanning tree group (STG) parameters and enable or
disable Spanning Tree Protocol on an STG.
• Configure and display MultiLink Trunking (MLT) parameters.
• Test the switching fabric and perform internal and external loopback tests on
individual ports.
• Create and manage port-based VLANs or policy-based VLANs.
313194-A Rev 00
Chapter 3 Run-Time command line interface 71
arp
banner ip dhcp-relay
monitor stg dvmrp
bootconfig motd
boot unknown-mac-discard igmp
cli password
clear diag ospf
ethernet arp proxy
config ip dhcp-relay rip
ipx dvmrp traffic-filter
rip addrlist
date log forwarding vrrp
sap netlist
mlt l3-igmp
set ospf accept
grep qos mroute
static-route ospf announce
radius ospf
rip accept
help rmon policy create
access-policy rip announce
setdate rip filter
link-flap-detect
history stg static-route global-set
set
sys route set
syslog
monitor vlan route discovery traffic-profile
web-server traffic-filter interface
ping create udpfwd portfwdlist
mlt delete protocol
quit ports fdb arp-response
ip dhcp-relay
reset ipx dvmrp
bootconfig igmp
rlogin cli arp ospf
diag dhcp-relay proxy
save ip dvmrp rip
ipx forwarding vrrp
show log igmp
mlt error
artable mroute
telnet ports info
fabric ospf
qos stats
loopback policy
test stop clear radius rip
rmon egressmap
level traffic-filter
trace stg ingressmap
off udpfwd
sys queue
screen vrrp
traceroute info tech
test
trace
vlan-info
web-server
8778EB
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
72 Chapter 3 Run-Time command line interface
General commands
The following general commands are available in the Run-Time CLI:
boot command
The boot command reboots the Passport 8000 Series switch. The command
options let you specify the boot source (flash, PCMCIA card, or TFTP server) and
file name. If you do not specify a device and file, the Run-Time CLI uses the
software and configuration files on the primary boot device that is defined by the
Boot Monitor choice command.
where:
• file is the software image device and file name in the format [a.b.c.d:]<file>
| /pcmcia/<file> | /flash/<file>. The file name, including the directory
structure, can be up to 1024 characters.
• config <value> is the software configuration device and file name in the
format [a.b.c.d:]<file> | /pcmcia/<file> | /flash/<file>. The file name,
including the directory structure, can be up to 1024 characters.
313194-A Rev 00
Chapter 3 Run-Time command line interface 73
clear commands
The clear commands clear statistics from counters, flush entries from a table, or
end a Telnet session. These commands use the parameters port (the port
number) and vid (the VLAN ID).
clear
followed by:
ip arp ports <port> Clears ARP port entries from the ARP table.
ip arp vlan <vid> Clears ARP VLAN entries from the ARP table.
ip route ports <port> Clears route entries associated with the specified
port.
ip route vlan <vid> Clears route entries associated with the specified
VLAN.
ports stats [<ports>] Clears port statistics from the switch counters.
telnet <session id> Ends the specified Telnet session.
session id is a number between 0 and 7.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
74 Chapter 3 Run-Time command line interface
help command
The help command (Figure 21) displays an explanation of the available types of
online Help.
Passport-8610# help
Eight forms of help are available in the system.
To see a list of all commands available at the current login access level, type help
commands at the prompt.
313194-A Rev 00
Chapter 3 Run-Time command line interface 75
The exit, quit, and logout commands are used to close the CLI session or to
change the access level. The login command logs you in to the system.
peer command
The peer command enables you to use Telnet or rlogin to access the standby
CPU. You can use this command to make changes to the standby CPU without
reconnecting to the console port on that module. The command syntax is:
peer <operation>
Note: You must set an rlogin access policy on the standby CPU before
you can use the peer command to access it from the master CPU using
rlogin. To set an access policy on the standby CPU, connect a terminal to
the Console port on the standby CPU. For more information about the
access policy commands, refer to “Access policy commands” on
page 111.
The Run-Time CLI ping command tests the network connection to another
network device. The command sends an Internet Control Message Protocol
(ICMP) packet from the switch to the target device. If the device receives the
packet, it sends a ping reply. When the switch receives the reply, it displays a
message indicating that the specified IP address is alive. If no reply is received,
a message indicates that the address is not responding.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
76 Chapter 3 Run-Time command line interface
where:
where:
313194-A Rev 00
Chapter 3 Run-Time command line interface 77
reset command
The reset command allows you to reset the switch. When you reset the switch,
the most recently saved configuration file is used to reload the system parameters.
save command
The save command saves the running configuration to a file. The syntax for the
save command is:
where:
traceroute command
The traceroute command allows you to trace the route to a remote host. This
command is a valuable tool for troubleshooting because it shows all the routes that
are used or indicates that the remote network is not reachable. The command
syntax is:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
78 Chapter 3 Run-Time command line interface
where:
313194-A Rev 00
Chapter 3 Run-Time command line interface 79
Note: The test commands are not available for the Passport 8100
Switch.
test
followed by:
artable Runs the Address Resolution (AR) table test.
fabric Tests the switch’s entire switch fabric.
hardware [<ports>] Runs a hardware test on the specified ports or on all
ports on smart I/O cards.
led Turns on the LED on an OC3 MDA in a Passport
8683POS Module.
loopback <ports> Places the specified ports into internal or external
[<int|ext>] loopback mode.
ports is the port list.
stop artable Stops the current AR table test.
stop fabric Stops the current switch fabric test.
stop loopback Stops the current loopback test.
<ports>
Note: To be able to test a port in loopback mode, you must first put the
port into the testing state using the command config ethernet
<ports> state test. After the test is complete, put the port back
into normal mode using the command config ethernet <ports>
state enable.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
80 Chapter 3 Run-Time command line interface
The show test commands provide information about tests that were run on the
switch. The show test commands are:
The show test artable command displays information about the AR table
test results for a Passport 8600 Switch. Figure 24 shows sample output from the
show test artable command.
IfIndex: 0
Result: none
PassCount: 0
FailCount: 0
The show test fabric command displays the syntax and the result of the
latest switch fabric test for a Passport 8600 switch. Figure 25 shows sample output
from the show test fabric command.
313194-A Rev 00
Chapter 3 Run-Time command line interface 81
The show test loopback command displays the results of the latest loopback
test for the switch or for the specified port or ports.
Port: 9/1
IfIndex: 576
Result: none
PassCount: 0
FailCount: 0
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
82 Chapter 3 Run-Time command line interface
trace
followed by:
info [tail] Shows the trace message file. The tail option allows
you to view the log in reverse order, with the most recent
information first.
clear Clears the trace file.
filter Filters trace messages.
grep Performs a comparison of trace messages.
level <modid> Sets the trace level on a software module for the specified
[<level>] module ID. Use Help to see a list of ID numbers.
The level is one of the following values:
• 0 = Disabled
• 1 = Very terse
• 2 = Terse
• 3 = Verbose
• 4 = Very verbose
off Disables tracing on a module.
screen [<setting>] Enables or disables displaying the trace file.
setting is on or off.
The show trace commands display trace information for the switch.
313194-A Rev 00
Chapter 3 Run-Time command line interface 83
The show trace file command displays the trace message file when tracing
is on. It is similar to the trace info command.
The tail option allows you to view the log file in reverse order, with the most
recent information first.
Figure 27 shows sample output for the show trace file command.
The show trace level command displays the current software module ID
numbers and the corresponding trace levels.
where:
modid is the identifier for the software module you are tracing.
level is a number that specifies the amount of detail in the trace message file
(1 to 4, from least detail to most) or disables trace activity (0).
Figure 28 shows sample output for the show trace level command.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
84 Chapter 3 Run-Time command line interface
313194-A Rev 00
85
Chapter 4
General switch management
This chapter describes the Run-Time CLI commands used for general switch
management. Most management tasks use the config commands, and the config
branch is a main branch in the CLI tree.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
86 Chapter 4 General switch management
where:
module <value> specifies the command group for which you are requesting
configuration settings. The value option can be cli, sys, web, rmon, vlan,
port, qos, traffic-filter, mlt, stg, ip, ipx, diag, or dvmrp.
#
# SYSTEM CONFIGURATION
#
sys set snmp trap-recv 10.10.25.47 v1 public
sys set snmp trap-recv 10.10.25.48 v1 public
313194-A Rev 00
Chapter 4 General switch management 87
When you add verbose to the show config command, the output contains
current switch configuration including software (versions), performance, VLANs
(such as numbers, port members), ports (such as type, status), routes, OSPF (such
as area, interface, neighbors), memory, interface, and log and trace files. With this
command (Figure 30), you can see current configuration and default values.
Without verbose, not all of the default values are displayed.
#
# CLI CONFIGURATION
#
cli monitor duration 300
cli monitor interval 5
cli more true
cli password ro "ro" "ro"
cli password l1 "l1" "l1"
. . .
cli password rwa "rwa" "rwa"
cli prompt "Passport_8100"
cli rlogin-sessions 8
cli screenlines 23
cli telnet-sessions 8
cli timeout 900
cli defaultlogin true
cli defaultpassword true
cli banner defaultbanner true
cli motd displaymotd false
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
88 Chapter 4 General switch management
Sys Info:
---------------
General Info :
SysName : Passport_8100
.
.
.
313194-A Rev 00
Chapter 4 General switch management 89
where:
Figure 32 shows partial output from the show sys info command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
90 Chapter 4 General switch management
General Info :
SysName : Passport_8100
SysUpTime : 7 day(s), 18:28:38
SysContact : support@nortelnetworks.com
SysLocation : 4401 Great America Parkway, Santa Clara,
CA 95052
Chassis Info :
Chassis : 8010
Serial# : SSNM0000TE
HwRev : A
NumSlots : 10
NumPorts : 160
GlobalFilter: enable
VlanBySrcMac: disable
Ecn-Compatib: enable
BaseMacAddr : 00:80:2d:12:30:00
Temperature : 34 C
MgmtMacAddr : 00:80:2d:12:33:f4
bootconfig commands
When you are in the Run-Time CLI, you can use the config bootconfig
commands to make changes to the Boot Monitor, for example, to change the
switch setup.
Note: As in the Boot Monitor, you must save any changes you make to
the switch setup by typing save. In the Run-Time CLI, you must type
save bootconfig to save the changes to the Boot Monitor
configuration file. Before the saved changes to boot flag settings take
effect, you must reboot the switch.
313194-A Rev 00
Chapter 4 General switch management 91
The required parameter bootconfig is the order in which the specified boot
device is accessed when you reboot the switch. The options for bootconfig are
primary, secondary, and tertiary.
The config bootconfig delay command enables you to set the number of
seconds a standby CPU should wait (delay) before trying to become the master
CPU (see the config bootconfig master command on page 95). This
command applies only during a cold start and does not apply to a failover start.
The default is 2 seconds delay.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
92 Chapter 4 General switch management
The config bootconfig flags commands allow you to set system flags to
true or false. Changes to certain flags (factorydefaults, ftpd, tftpd, wdt) take effect
only after changes are saved to the boot configuration file and the switch is reset.
The config bootconfig flags commands include the following options:
debugmode Controls whether the switch stops in debug mode following a fatal error.
<true|false> Debug mode provides information equivalent to the trace commands.
• true means the switch stops in debug mode following a fatal error.
A list of options is displayed that allows you to select a software
module to debug.
• false means the switch is automatically rebooted following a fatal
error.
The default is false.
debug-config Enables or disables run-time debugging of the configuration file. The
<true|false> default is false.
egress-mirror Enables or disables the ability to mirror egress traffic. The default is true.
<true|false>
factorydefaults Sets the switch configuration to factory default settings. The default is
<true|false> true.
ftpd <true|false> Enables or disables FTP server on the switch. The default is false. To
enable FTP, make sure the config bootconfig flags tftpd
command is set to false. See also the config bootconfig host
password command on page 94.
logging <true|false> Enables or disables system logging to a file on the PCMCIA card. The
default is true.
reboot <true|false> Enables or disables the option to reboot on fatal error. The default is true.
313194-A Rev 00
Chapter 4 General switch management 93
verify-config Enables syntax checking of the configuration file and prevents execution
<true|false> of the file if an error is found. The factory default configuration file will be
loaded instead. The default is true.
wdt <true|false> Enables or disables the hardware watchdog timer, which monitors a
hardware circuit. The watchdog timer reboots the switch based on
software errors. The default for this command is true.
Figure 33 shows output from the config bootconfig flags info command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
94 Chapter 4 General switch management
The config bootconfig host commands allow you to define conditions for
remote host login.
password <value> Sets the password, where value is the password, from 0
to 16 characters. This command enables FTP transfers.
tftp-debug Enables or disables debug mode on TFTP. The default is
<true|false> false.
Figure 34 shows sample output from the config bootconfig host info
command.
313194-A Rev 00
Chapter 4 General switch management 95
The config bootconfig master command allows you to indicate which CPU
should become master when the switch is turned on. The master CPU performs a
loopback test to test the switch fabric. The default master is set for slot 5.
The config bootconfig net commands configure the CPU network port
devices. The three network ports are the management port, the CPU port, and the
PCMCIA card, if it is acting as a network port. The required parameter
cpu-net-port can be mgmt, cpu2cpu, or pccard.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
96 Chapter 4 General switch management
313194-A Rev 00
Chapter 4 General switch management 97
Figure 35 shows output from the config bootconfig net cpu info
command.
The config bootconfig show commands allow you to display the current
configuration of the Boot Monitor and the Boot Monitor CLI.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
98 Chapter 4 General switch management
The config bootconfig sio commands allow you to configure the CPU
serial port devices. The required parameter cpu-sio-port can be console,
modem, or pccard.
313194-A Rev 00
Chapter 4 General switch management 99
Caution: Nortel Networks does not recommend setting the console port
mode to slip or ppp, because the log, trace, and error messages may be
displayed on this port and will interfere with the SLIP or PPP operation.
Figure 37 shows output from the config bootconfig sio console info
command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
100 Chapter 4 General switch management
The config bootconfig tz commands allow you to set the relation of the
switch time zones.
config bootconfig tz
followed by:
info Displays information about the current time zone settings for
the switch.
dst-end Sets the ending date of daylight saving time. You can
<Mm.n.d/hhmm | specify the time in one of two ways:
MMddhhmm> • Specify an hour on the nth occurrence of a weekday in a
month. For example, M10.5.0/0200 means the 5th
occurrence of Sunday in the 10th month (October) at
2:00 a.m.
• Specify a month, day, hour, and minute. For example,
10310200 means October 31 at 2:00 a.m.
dst-name <dstname> Sets an abbreviated name for the daylight saving local time
zone, up to 7 characters.
dstname is the name (for example, “pdt” is Pacific
Daylight Time)
dst-offset Sets the daylight saving adjustment in minutes.
<minutes>
dst-start Sets the starting date of daylight saving time. The format is
<Mm.n.d/hhmm| the same as for setting the ending date.
MMddhhmm>
offset-from-utc Sets the time zone offset, in minutes to subtract from UTC,
<minutes> where positive numbers mean west of Greenwich and
negative numbers mean east of Greenwich.
name <tz> Sets an abbreviated name for the local time zone, up to 7
characters.
tz is the name (for example, “pst” is Pacific Standard
Time).
313194-A Rev 00
Chapter 4 General switch management 101
The show bootconfig commands allow you to view the current configuration
of the Boot Monitor while you are in the Run-Time CLI.
show bootconfig
followed by:
choice Displays the boot choice information (Figure 38).
info Displays information about the switch boot image (Figure 39).
master Displays the delay setting and the chassis slot where the
Master CPU resides.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
102 Chapter 4 General switch management
Warning: Do not edit the boot.cfg file manually, because the switch
reads this file during the boot process. Errors generated while editing the
file could render the switch inoperable.
313194-A Rev 00
Chapter 4 General switch management 103
The config cli commands are general management commands for the
command line interface.
config cli
followed by:
info Displays the current CLI parameter settings
(Figure 40).
banner add <string> Adds lines of text to the CLI login banner.
string is an ASCII string from 1 to 1024
characters.
banner defaultbanner Enables or disables using the default CLI login
<true|false> banner.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
104 Chapter 4 General switch management
config cli
followed by:
monitor duration Changes the monitoring time duration (refresh
<integer> rate) for the monitor commands (see
Configuring Switching and Routing Operations for
the Passport 8000 Series Switch Using the
Command Line Interface Release 3.2).
integer is the time duration in seconds (1 to
1800).
The default is 300.
monitor info Displays the current setting for the monitor
duration and interval used by the monitor
commands.
monitor interval Changes the monitoring time interval between
<integer> screen updates set by the monitor commands.
integer is the time duration in seconds (1 to
600).
The default is 5.
more <true|false> Sets scrolling for the output display. The default is
true.
• true sets output display scrolling to one
page at a time.
• false sets the output display to continuous
scrolling.
motd add <string> Creates a “message of the day” that can be
displayed with the login banner.
string is an ASCII string from 1 to 1024
characters.
motd displaymotd Displays (true) or does not display (false) the
<true|false> message of the day.
313194-A Rev 00
Chapter 4 General switch management 105
config cli
followed by:
rlogin-sessions Sets the allowable number of inbound remote CLI
<nsessions> login sessions; the default is 8.
nsessions is the number of sessions (0 to 8).
screenlines <nlines> Sets the number of lines in the output display; the
default is 23.
nlines is the number of lines (8 to 64).
telnet-sessions Sets the allowable number of inbound Telnet
<nsessions> sessions; the default is 8.
nsessions is the number of sessions (0 to 8).
timeout <seconds> Sets the idle timeout period before automatic
logout for CLI sessions; the default is 0.
seconds is the timeout period in seconds (0 to
65536).
Note: In any display area that you can alter by specifying a character
string, you must enclose the string in quotation marks if it contains more
than one word. For example, if you change the cli prompt to a multiword
prompt, enclose the phrase in quotes. If you do not do so, only the first
word will become the prompt. That is, config cli prompt Passport
8600 displays Passport as the prompt, whereas config cli prompt
“Passport 8600” displays Passport 8600 as the prompt.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
106 Chapter 4 General switch management
defaultlogin : true
defaultpassword : true
loginprompt : Login:
more : true
passwordprompt : Password:
prompt : Passport-8106
rlogin-sessions : 8
screen-lines : 23
telnet-sessions : 8
timeout : 900
The show cli commands allow you to display information about the switch CLI
configuration.
The show cli info command displays the CLI configuration. Figure 41 shows
sample output from the show cli info command.
313194-A Rev 00
Chapter 4 General switch management 107
cli configuration
more : true
screen-lines : 23
telnet-sessions : 8
rlogin-sessions : 8
timeout : 900 seconds
monitor duration: 300 seconds
monitor interval: 5 seconds
The show cli who command displays a list of users who are logged in to the
switch. Figure 42 shows output from the show cli who command.
The show cli password command displays the CLI access, login, and
password combinations. The output is the same as for the config cli info
command (Figure 40 on page 106).
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
108 Chapter 4 General switch management
The config cli password commands allow you to view or change the login
or password for the different access levels of the switch. The optional parameter
password is the password associated with the user name or login name. You
must have read-write-all privileges in order to view or change passwords.
313194-A Rev 00
Chapter 4 General switch management 109
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
110 Chapter 4 General switch management
Figure 44 shows output from the config bootconfig cli info command.
System commands
The system commands manage the switch system and allow you to view system
settings. The system commands include:
313194-A Rev 00
Chapter 4 General switch management 111
Note: Access policies define who can access the switch management
functions remotely. To enable access services (how the switch
management functions are accessed), use the flags or config
bootconfig flags command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
112 Chapter 4 General switch management
313194-A Rev 00
Chapter 4 General switch management 113
Figure 45 shows output from the config sys access-policy policy info
command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
114 Chapter 4 General switch management
create :
delete : N/A
name : default
policy enable : true
mode : allow
precedence : 128
network : 0.0.0.0/0.0.0.0
host : 0.0.0.0
username : none
accesslevel : readWrite
313194-A Rev 00
Chapter 4 General switch management 115
Figure 46 illustrates the command sequence for preventing a host from using
specific services on a Passport 8000 Series switch. The host 10.135.200.35 will
not have access to this switch using HTTP, SNMP, or rlogin. When denying
services to a host, you must specify which service to enable for that policy PID.
By default, policy 1 is the default access policy. This policy allows any IP address
to access the switch using HTTP, SNMP, or Telnet. Because the precedence level
for policy 1 is the lowest possible level, this policy is normally superseded by new
policies that are created.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
116 Chapter 4 General switch management
Figure 47 shows information about the default access policy, and Figure 48 shows
information about the policy created in Figure 46.
AccessPolicyEnable: on
Id: 1
Name: default
PolicyEnable: true
Mode: allow
Service: http|snmp|telnet
Precedence: 128
NetAddr: 0.0.0.0/0.0.0.0
NetMask: 0.0.0.0
TrustedHostAddr: 10.135.200.35
TrustedHostUserName: none
AccessLevel: readWrite
Usage: 3
313194-A Rev 00
Chapter 4 General switch management 117
AccessPolicyEnable: on
Id: 2
Name: policy2
PolicyEnable: true
Mode: deny
Service: http|snmp|rlogin
Precedence: 10
NetAddr: 0.0.0.0
NetMask: 0.0.0.0
TrustedHostAddr: 10.135.200.35
TrustedHostUserName: none
AccessLevel: readWrite
Usage: 3
The config sys set action commands include the following options:
Figure 49 shows output from the config sys set action info command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
118 Chapter 4 General switch management
cpuswitchover : (N/A)
resetconsole : (N/A)
resetcounters : (N/A)
resetmodem : (N/A)
The config sys set snmp commands allow you to configure the SNMP
settings for your switch.
The config sys set snmp commands include the following options:
313194-A Rev 00
Chapter 4 General switch management 119
Figure 50 shows output from the config sys set snmp info command.
community :
ro - public
rw - private
l1 - private
l2 - private
l3 - private
rwa - secret
del-trap-recv : N/A
trap-recv :
10.177.25.90 - v1 public
10.177.25.215 - v1 public
10.177.81.115 - v1 public
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
120 Chapter 4 General switch management
This feature is not supported in a switch with mixed Passport 8190SM modules
and Passport 8690SF modules.
After you set an IP address for the virtual management port, you must save the
configuration file to the standby management module. To save the file:
Enter:
save config file <name> standby where name is the name of the
configuration file.
To check the configuration file on the standby management module, use the more
<file> command on page 40 through a direct or Telnet connection to the standby
management module.
313194-A Rev 00
Chapter 4 General switch management 121
name <prompt> Sets the box or root level prompt name for the switch.
prompt is an ASCII string from 1 to 1024 characters (for
example, LabSC7 or Closet4).
portlock <on|off> Turns port locking on or off. To specify the ports to be locked,
use the config ethernet <ports> lock command
(refer to Configuring Switching and Routing Operations for
the Passport 8000 Series Switch Using the Command Line
Interface Release 3.2).
sendtrap Sets whether or not to send authentication failure traps.
<true|false>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
122 Chapter 4 General switch management
Figure 51 shows output from the config sys set info command.
mgmt-virtual-ip : 0.0.0.0/0.0.0.0
contact : support@nortelnetworks.com
location : 4401 Great America Parkway, Santa
Clara, CA 95052
name : Passport_8100
msg-control : disable
portlock : off
sendAuthenticationTrap : false
topology : on
globalFilter : enable
vlanBySrcMac : disable
ecn-compatibility : enable
system MTU : 1950
Several show sys commands allow you to display current system status and
configuration for specific parameters.
313194-A Rev 00
Chapter 4 General switch management 123
The show sys community command displays the community strings set for the
switch. (You can also use the config sys set snmp info command.)
The show sys msg-control command allows you to see if the system
message control function is enabled or disabled. (You can also use the config
sys set info command.)
The show sys perf command displays system performance information, such
as CPU utilization, switch fabric utilization, NVRAM size, and NVRAM used.
The information is updated once per second, so it is no more than one second from
real time.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
124 Chapter 4 General switch management
CpuUtil: 0%
SwitchFabricUtil: 0%
OtherSwitchFabricUtil: 0%
BufferUtil: 0%
DramSize: 64 M
DramUsed: 46 %
DramFree: 34978 K
The show sys sw command displays the version of software running on the
switch, the last update of that software, and the Boot Config Table. The Boot
Config Table lists the current system settings and flags.
313194-A Rev 00
Chapter 4 General switch management 125
The show sys topology command displays the topology table (Figure 55).
This table shows the information that is being sent to Optivity network
management software for creating network displays.
==============================================================================
Topology Table
==============================================================================
PORT IP_ADDR SEG MAC_ADDR CHASSIS BKPL LOCAL CURSTATE
SLOT ID TYPE TYPE SEG
------------------------------------------------------------------------------
0 /0 10.140.22.13 0 00:80:2d:12:30:00 65 enetFastGigEnet true heart
beat
Link flap detection allows you to control link state changes on a physical port.
You can set thresholds for the number and frequency of changes allowed and take
action if the thresholds are exceeded. If the link state change thresholds are
exceeded, a log entry is generated. The possible configuration actions are to send a
trap and to bring down the port.
This feature allows you to detect when the link is going up and down rapidly (that
is, flapping) on a port. This action can be detrimental to network stability because
it could trigger spanning tree and routing table recalculation.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
126 Chapter 4 General switch management
frequency Sets the number of changes that are allowed during the
<frequency> time specified by the interval command. The default
is 10.
frequency is from 1 to 9999.
interval <interval> Sets the link-flap-detect interval in seconds. The default
is 60.
interval is from 2 to 600.
send-trap Enables or disables sending traps. The default is enable.
<enable|disable>
313194-A Rev 00
Chapter 4 General switch management 127
dump ar command
The dump ar command allows you to display the hardware registers of the
RaptARU attached to OctaPID.
where:
opid is the octaPID assignment, from 1 to 64. See Appendix E, “Tap and
OctaPID Assignment,” on page 155, for more information.
vlan|ip_subnet|mac_vlan|mac|arp|ip|ipx|ipmc|ip_filter|
protocol|all specifies a record type in the AR table.
Syslog commands
The Syslog commands control a facility in UNIX machines that logs messages
and assigns each message a severity level based on importance.
The config sys syslog commands configure the syslog facility. Most of the
commands require the host ID id parameter for the UNIX host. The IDs range
from 1 to 10.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
128 Chapter 4 General switch management
313194-A Rev 00
Chapter 4 General switch management 129
Figure 57 shows output for the config sys syslog info command.
max-host : 5
state : enable
Two show sys syslog commands allow you to display information about the
syslog features enabled on the switch:
The show sys syslog general-info command (Figure 58) displays general
information about the system log.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
130 Chapter 4 General switch management
Enable : true
Max Hosts : 5
OperState : empty host table
Total number of configured hosts : 0
Total number of enabled hosts : 0
Configured host :
Enabled host :
The show sys syslog host info command allows you to view system log
information for the specified host.
Figure 59 shows output for the show sys syslog host info command.
address : 0.0.0.0
create : 1
delete : N/A
facility : local7
host : disable
mapinfo : info
mapwarning : warning
maperror : error
mapfatal : emergency
severity : info|warning|error|fatal
udp-port : 514
313194-A Rev 00
Chapter 4 General switch management 131
Log commands
The log commands allow you to configure and display the log files for the switch.
When the config bootconfig flags logging true command is saved in
the configuration file, the log entries are written to the /pcmcia/syslog.txt file. If
the logging flag is not set to true, the entries are stored in memory.
The config log commands allow you to show, write, or clear the log file
created automatically by the system.
config log
followed by:
info Displays the current log settings (Figure 60).
clear Clears the log file.
level [<level>] Shows and sets the logging level.
level is one of these values:
• 0 = Information; all messages are recorded.
• 1 = Warning; only warning and more serious
messages are recorded.
• 2 = Error; only error and more serious messages are
recorded.
• 3 = Manufacturing; this parameter is not available for
customer use.
• 4 = Fatal; only fatal messages are recorded.
screen [<setting>] Sets the log display on the screen to on or off.
setting is off or on.
write <str> Writes the log file with the designated string.
str is the string or command that you append to the
log file. If the string contains spaces, you must enclose
the string in quotation marks.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
132 Chapter 4 General switch management
clear : N/A
level : 0
screen : on
write : N/A
The show log commands display log information for the switch.
The show log file command displays the log file created automatically by the
system.
where tail displays the log file in reverse order, with the most recent information
first.
Figure 61 shows a sample log file display, where the tail option was entered to
display the most recent information first. If the Passport 8000 Series switch has a
real-time clock, the log file shows real time.
313194-A Rev 00
Chapter 4 General switch management 133
The show log level command displays the level of information being entered
in the log. The level ranges from information (INFO), where all messages are
entered, to FATAL, where only fatal errors are recorded. The manufacturing
(MFG) level is for manufacturing purposes only and not available for customer
use.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
134 Chapter 4 General switch management
RMON commands
The Remote Network Monitoring (RMON) MIB is an interface between the
RMON agent on the Passport 8000 Series switch and an RMON management
application, such as Device Manager. The RMON commands allow you to
configure RMON functions and display the current settings.
The config rmon commands allow you to configure the RMON functions on
the switch.
config rmon
followed by:
info Indicates whether RMON is enabled or disabled on the
switch.
alarm create <id> Creates an alarm interface.
type <value> • id is the interface index number (1 to 65535).
intv <value> • type <value> is the sample type, absolute or
[variable <value>] delta.
[r_th <value>] • intv <value> is the sample interval (1 to 3600).
[r_ev <value>]
• variable <value> is the variable name or OID,
[f_th <value>]
case sensitive (string length 1 to 256).
[f_ev <value>]
[owner <value>] • r_th <value> is the rising threshold (0 to 65535).
• r_ev <value> is the rising event number
(0 to 65535).
• f_th <value> is the falling threshold (0 to 65535).
• f_ev <value> is the falling event number
(0 to 65535).
• owner <value> is the name of the owner (string
length 1 to 48).
alarm delete <id> Deletes the specified RMON alarm.
alarm info Displays information about the RMON alarms.
disable Disables RMON on the switch.
enable Enables RMON on the switch.
313194-A Rev 00
Chapter 4 General switch management 135
config rmon
followed by:
ether-stats create Creates an ether-stats control interface.
<id> <ports> [owner • id is the index number of the ether stats control
<value>] interface (0 to 65535).
• ports is the single port interface {slot/port[-slot/
port][,...]}.
• owner <value> is name of the owner (string
length 1 to 48).
ether-stats delete Deletes an ether-stats control interface.
<id> id is the index number of the ether stats control interface
(0 to 65535).
ether-stats info Displays the current ether-stats settings.
ether-stats owner Changes the owner name for the ether-stats control
<id> <name> interface.
• id is the index number of the ether stats control
interface (0 to 65535).
• name is name of the owner (string length 1 to 48).
event create <id> Creates an event.
trap_src <value> • id is the event index number (0 to 65535).
trap_dest <value> • trap_src <value> is the trap source IP address.
[desc <value>]
• trap_dest <value> is the trap destination IP
[type <value>] address.
[community <value>]
• desc <value> is the event description (string
[owner <value>]
length 0 to 127).
• type <value> is the event type, none, log,
snmp-trap, or log-and-trap.
• community <value> is the event community
(string length 1 to 127).
• owner <value> is the name of the owner (string
length 1 to 48).
event delete <id> Deletes an event.
id is the event index number (0 to 65535).
event info Displays the event information.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
136 Chapter 4 General switch management
config rmon
followed by:
history-control Creates a history control interface.
create <id> <ports> • id is the index number of the history control interface
[buckets <value>] (0 to 65535).
[intv <value>] • ports is the single port interface {slot/port[-slot/
[owner <value>] port][,...]}.
• buckets <value> is the number of buckets
requested (1 to 350).
• intv <value> is the time interval in seconds over
which the data is sampled for each bucket (1 to 3600).
• [owner <value> is the name of the owner (string
length 1 to 48).
history-control Deletes a history control interface.
delete <id> id is the interface index number of the history control
interface (0 to 65535).
history-control Displays the setting for history control interfaces.
info
memsize <memsize> Sets the amount of RAM in bytes to allocate for RMON.
memsize is the memory size in bytes (250000 to
4000000).
trap-option Controls whether the RMON traps should be sent to the
<toOwner|toAll> owner or all trap recipients.
toOwner|toAll is set to either the owner or all trap
recipients.
Figure 63 shows output from the config rmon event info command.
313194-A Rev 00
Chapter 4 General switch management 137
delete : N/A
create :
============================================================================
Rmon Event
============================================================================
60535 Falling Event log-and-trap public cream SUN JUL 17 21:03:24 1994
The show rmon commands allow you to view the various RMON settings.
show rmon
followed by:
info Displays the status of RMON on the switch (Figure 64).
alarm Displays the RMON Alarm table.
ether-stats Displays the RMON Ethernet statistics table.
event Displays the RMON event table.
history-control Displays the RMON history control table.
log Displays the RMON log table.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
138 Chapter 4 General switch management
Passport-8610/show/rmon# info
RMON Info :
Status : enable
MemorySize : 250000
SaveConfig : false
TrapOption : toOwner
web-server commands
The web-server commands allow you to control the Passport Web management
interface. The Web management interface allows you to monitor the switch
through the World Wide Web, but you cannot make any configuration changes.
This feature is described in Getting Started with the Passport 8000 Series Switch
Management Software.
313194-A Rev 00
Chapter 4 General switch management 139
The config web-server commands allow you to enable, disable, and set
passwords for the Passport Web interface.
config web-server
followed by:
webserver : enable
password :
RO - username : ro
passwd : ro
def-display-rows : 30
html-source-dir :
help-tftp :
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
140 Chapter 4 General switch management
The output from the show web-server command displays whether or not Web
access is enabled, as well as password and access information.
show web-server
Status : on
RO Username : ro
RO Password : ro
Def-display-rows : 30
Html help tftp source-dir :
Http port :
NumHits : 451
NumAccessChecks : 4
NumAccessBlocks : 0
NumRxErrors : 0
NumTxErrors : 1
NumSetRequest : 0
313194-A Rev 00
141
Appendix A
Edit commands
To edit a file, type ESC to enter edit mode and use the commands listed in Table 3.
The ESC key switches the shell to edit mode. The RETURN key always moves to
the next line.
^L Redraw screen.
^F Display next screen.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
142 Edit commands
^H Same as “h.”
$ Go to end of line.
0 Go to beginning of line.
a Append.
313194-A Rev 00
Edit commands 143
C Same as “c$.”
S Same as “cc.”
i Insert.
I Insert at the beginning of the line.
R Type over characters.
o Open a line below current line.
O Open a line above current line.
Editing Commands
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
144 Edit commands
313194-A Rev 00
145
Appendix B
Special terminal characters
^H Backspace.
^D Logout of cli.
^C Abort line entry.
^P Previous history command.
^N Next history command.
^S Output suspend.
^Q Output resume.
^I Command completion.
^B Move cursor back one character.
^F Move cursor forward one character.
^A Move cursor to beginning of line.
^E Move cursor to end of line.
ESC B Move cursor back one word.
ESC F Move cursor forward one word.
DEL Erase character at cursor.
^K Erase all characters from cursor to end of line.
^X Erase all characters before the cursor to beginning of line.
^U Erase or clear entire line.
^W Erase word to left of cursor.
ESC D Erase from cursor to end of word.
^L Redisplay line.
^R Redisplay line.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
146 Special terminal characters
313194-A Rev 00
147
Appendix C
Connecting a modem
You can access the CLI through a modem connection to the Passport 8690SF
module or the Passport 8190SM module. This appendix describes how to connect
a modem to the Modem port on the module.
Switch Modem
RXD 2 2 3
TXD 3 3 2
DTR 4 4 20
GND 5 5 7
DSR 6 6 6
RTS 7 7 4
CTS 8 8 5
The Modem port is a data terminal equipment (DTE) device operating at 9600
baud, 8 data bits, no parity, and one stop bit. Because the Modem port expects to
receive Data Set Ready (DSR) and Clear To Send (CTS) signals before
transmitting, these control lines are required in the cables. The Modem port does
not support any inbound flow control; that is, the port does not toggle control lines
to indicate the input buffer is full.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
148 Connecting a modem
To connect a modem to a Passport 8000 Series switch you may need to set up the
Modem port first using another type of connection to the CLI.
Note: Nortel Networks recommends that you use the default settings for
the Modem port for most modem installations.
Now you can enter options for this command level without retyping the first
part of the command.
313194-A Rev 00
Connecting a modem 149
Caution: Nortel Networks recommends that you not set the Modem
port for SLIP or PPP operation unless you are already thoroughly
familiar with the operation of these protocols.
3 If you set the port mode to slip, use the following commands to set other
SLIP parameters:
• slip-compression <true|false> to enable or disable TCP/IP
header compression. The default is false.
• slip-rx-compression <true|false> to enable or disable TCP/IP
header compression on the receive packet. The default is false.
4 If you set the port mode to ppp, use the following commands to set other PPP
parameters:
• mtu <bytes> to set the maximum transmission unit for the
point-to-point link. The default is zero (0).
• my-ip <ipaddr> to set the near-end IP address on the point-to-point
link. The default is 0.0.0.0.
• peer-ip <ipaddr> to set the peer IP address on the point-to-point link.
The default is 0.0.0.0.
• pppfile <file> to identify the file to use for PPP initialization
parameters.
5 On the modem, turn off echo mode and return code messaging.
6 Connect the modem to the modem port using a cable with the connector
described in Table 5.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
150 Connecting a modem
313194-A Rev 00
151
Appendix D
PPP configuration file options
The format of the PPP options file is one option per line; comment lines start with
a pound sign (#). The following options are recognized:
no_all
- Do not request/allow any options.
passive_mode
- Set passive mode.
silent_mode
- Set silent mode.
default_route
- Add default route.
proxy_arp
- Add proxy ARP entry.
ipcp_accept_local
- Accept peer’s idea of the local IP address.
ipcp_accept_remote
- Accept peer’s idea of the remote IP address.
no_ip
- Disable IP address negotiation.
no_acc
- Disable address/control compression.
no_pc
- Disable protocol field compression.
no_vj
- Disable VJ (Van Jacobson) compression.
no_vjccomp
- Disable VJ (Van Jacobson) connection ID compression.
no_asyncmap
- Disable async map negotiation.
no_mn
- Disable magic number negotiation.
no_mru
- Disable MRU (Maximum Receive Unit) negotiation.
no_pap
- Do not allow PAP authentication with peer.
no_chap
- Do not allow CHAP authentication with peer.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
152 PPP configuration file options
require_pap
- Require PAP authentication with peer.
require_chap
- Require CHAP authentication with peer.
login
- Use the login password database for PAP authentication of peer.
debug
- Enable PPP daemon debug mode.
driver_debug
- Enable PPP driver debug mode.
asyncmap <value>
- Set the desired async map to the specified value.
escape_chars <value>
- Set the chars to escape on transmission to the specified value.
vj_max_slots <value>
- Set maximum number of VJ compression header slots to the
specified value.
netmask <value>
- Set netmask value for negotiation to the specified value.
mru <value>
- Set MRU value for negotiation to the specified value.
mtu <value>
- Set MTU value for negotiation to the specified value.
lcp_echo_failure <value>
- Set the maximum consecutive LCP echo failures to the specified
value.
lcp_echo_interval <value>
- Set the interval in seconds between LCP echo requests to the
specified value.
lcp_restart <value>
- Set the timeout in seconds for the LCP negotiation to the
specified value.
lcp_max_terminate <value>
- Set the maximum number of transmissions for LCP termination
requests to the specified value.
lcp_max_configure <value>
- Set the maximum number of transmissions for LCP configuration
requests to the specified value.
lcp_max_failure <value>
- Set the maximum number of LCP configuration NAKs to the specified
value.
ipcp_restart <value>
- Set the timeout in seconds for IPCP negotiation to the specified
value.
313194-A Rev 00
PPP configuration file options 153
ipcp_max_terminate <value>
- Set the maximum number of transmissions for IPCP termination
requests to the specified value.
ipcp_max_configure <value>
- Set the maximum number of transmissions for IPCP configuration
requests to the specified value.
ipcp_max_failure <value>
- Set the maximum number of IPCP configuration NAKs to the
specified value.
local_auth_name <name>
- Set the local name for authentication to the specified name.
remote_auth_name <name>
- Set the remote name for authentication to the specified name.
pap_file <file>
- Get PAP secrets from the specified file. This option is necessary
if either peer requires PAP authentication.
pap_user_name <name>
- Set the user name for PAP authentication with the peer to the
specified name.
pap_passwd <password>
- Set the password for PAP authentication with the peer to the
specified password.
pap_restart <value>
- Set the timeout in seconds for PAP negotiation to the specified
value.
pap_max_authreq <value>
- Set the maximum number of transmissions for PAP authentication
requests to the specified value.
chap_file <file>
- Get CHAP secrets from the specified file. This option is
necessary if either peer requires CHAP authentication.
chap_restart <value>
- Set the timeout in seconds for CHAP negotiation to the specified
value.
chap_interval <value>
- Set the interval in seconds for CHAP rechallenge to the specified
value.
max_challenge <value>
- Set the maximum number of transmissions for CHAP challenge to the
specified value.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
154 PPP configuration file options
Authentication
The PPP implementation supports two separate user authentication protocols:
the Password Authentication Protocol (PAP) and the Challenge-Handshake
Authentication Protocol (CHAP). If authentication is required by either peer, it
must be satisfactorily completed before the PPP link becomes fully operational.
If authentication fails, the link is terminated automatically.
313194-A Rev 00
155
Appendix E
Tap and OctaPID Assignment
The switch fabric in the Passport 8600 modules has nine switching taps, one for
each of the eight I/O slots (1 to 4 and 7 to 10) and one for the CPU slots (5 and 6).
Taps 0-7 map to the eight I/O slots and can support up to eight OctaPIDs. Each
OctaPID can support up to eight ports.
In the Passport 8000 Series switch, a physical port number is 10 bits long and has
the following format:
9 6 5 3 2 0
+-----+----+----+
| | | |
+-----+----+----+
The Tap number bits and the OctaPID number bits combined (bits 9–3) are
usually referred to as the OctaPID ID.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
156 Tap and OctaPID Assignment
Table 6 lists the module types that are currently available, along with the
associated OctaPID ID assignments for each module.
OctaPID ID assign-
Module type Port type
ment
Table 7 describes the OctaPID ID and port assignments for the Passport
8608GBE, Passport 8608GTE, and Passport 8608SXE modules.
313194-A Rev 00
Tap and OctaPID Assignment 157
Table 8 describes the OctaPID ID and port assignments for the Passport 8616SXE
Module.
Table 9 describes the OctaPID ID and port assignments for the Passport 8624FXE
Module.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
158 Tap and OctaPID Assignment
Table 10 describes the OctaPID ID and port assignments for the Passport
8632TXE Module.
Table 11 describes the OctaPID ID and port assignments for the Passport
8648TXE Module.
313194-A Rev 00
Tap and OctaPID Assignment 159
Table 12 describes the OctaPID ID and port assignments for the Passport
8672ATME Module.
Table 13 describes the OctaPID ID and port assignments for the Passport
8683POSE Module.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
160 Tap and OctaPID Assignment
313194-A Rev 00
161
Appendix F
CLI command list
Table 14 provides the complete CLI command list for switching operations in
alphabetical order, with the approximate page reference for the beginning pages of
further explanations.
In Table 14, the number “8600” or “8100” in the Module column indicates a
command that can be used in the Passport 8600 module only or the Passport 8100
module only. If nothing is entered in the Module column, the command is used in
both modules.
Boldface type in Table 14 indicates commands that are new in this release or have
added functionality. Commands are listed in normal type if they were in the
previous release or have changed in syntax or in position in the command tree but
add no new functionality.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
162 CLI command list
313194-A Rev 00
CLI command list 163
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
164 CLI command list
313194-A Rev 00
CLI command list 165
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
166 CLI command list
config rmon alarm create <id> type <value> intv <value> r_th <value> r_ev <value> page 134
f_th <value> f_ev <value> variable <value> [owner <value>]
config rmon alarm delete <id>
config rmon alarm info
config rmon disable
config rmon enable
config rmon ether-stats create <id> <ports> [owner <value>]
config rmon ether-stats delete <id>
config rmon ether-stats info
config rmon ether-stats owner <id> <name>
config rmon event create <id> trap_src <value> trap_dest <value> [desc <value>]
[type <value>] [community <value>] [owner <value>]
config rmon event delete <id>
config rmon event info
config rmon history-control create <id> <ports> [buckets <value>] [intv <value>]
[owner <value>]
config rmon history-control delete <id>
config rmon history-control info
config rmon info
config rmon memsize <memsize>
config rmon trap-option <toOwner|toAll>
config setdate <MMddyyhhmmss> page 138
313194-A Rev 00
CLI command list 167
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
168 CLI command list
313194-A Rev 00
CLI command list 169
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
170 CLI command list
save <savetype> [file <value>] [verbose] [standby <value>] [backup <value>] page 62
show bootconfig choice page 97
show bootconfig cli
show bootconfig config [verbose]
show bootconfig flags
show bootconfig host
show bootconfig info
show bootconfig master
show bootconfig net
show bootconfig sio
show bootconfig tz
show config [verbose] [module <value>] page 85
show cli info page 106
show cli password page 107
show cli who page 107
show log file [tail] page 132
show log level page 133
show rmon alarm page 137
show rmon ether-stats
show rmon event
show rmon history-control
show rmon info
show rmon log
show sys access-policy info [<polname>] page 116
show sys community page 123
show sys info [card] [asic] [mda] page 89
show sys link-flap-detect general-info page 126
show sys msg-control page 123
show sys perf
show sys sw
show sys syslog general-info page 129
show sys syslog host <id> info
show sys topology page 125
show tech page 88
313194-A Rev 00
CLI command list 171
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
172 CLI command list
313194-A Rev 00
173
Appendix G
Additional reference sources
For more information about networking concepts, protocols, and topologies, you
may want to consult the following sources:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
174 Additional reference sources
313194-A Rev 00
175
Index
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
176 Index
313194-A Rev 00
Index 177
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
178 Index
313194-A Rev 00
Index 179
mv command 40 port
my-ip option 65 CPU 59
enabling 60
locking 121
N Modem 117
name testing 79
login 36 port locking, enabling 121
time zone 67
port mirroring
navigation commands 31 OctaPID ID and port assignments 156
net commands 59 PPP options file 151
number of Telnet sessions, setting 53 pppfile option 65
precedence, access policy 113
O priority, access policy 113
OctaPID ID product support 24
description 155 prompt
offset, time zone 67 Boot Monitor 110
offset-from-utc option 67 box-level 121
password 104
root-level 121
P setting for CLI 53
parameters, entering 32 prompt command 53
Passport 8000 Series modules 25 publications
password commands 108 external related 173
password prompt 104 hard copy 23
related 23
passwords
changing 37 pwc command 31
default 36 pwd command 31
PCMCIA card 59
peer command 75 Q
peer-ip option 65 quit command 62, 75
performance, system 123
pin assignments, Modem port 147 R
ping command read/write access 36
Boot Monitor CLI 61
read/write/all access 36
Run-Time CLI 75
read-only access 35
pingipx command 76
reboot confirmation message, suppressing 73
point-to-point link 65
reboot flag 49, 56, 92
reentering commands 34
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
180 Index
313194-A Rev 00
Index 181
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
182 Index
top command 31
topology table 122, 125
trace commands 82
trace logging 50, 56
trace-logging flag 50, 56, 93
traceroute command 77
transfers, FTP 58
traps, RMON 136
troubleshooting 77
tz commands 67, 100
U
UNIX file formats 40
UNIX Syslog facility 127
user name 36
user option 58
V
verify-config flag 50, 56, 93
virtual management IP address 120
W
watchdog timer 50, 56, 93
wdt flag 50, 56, 93
Web management interface 27
web-server commands
configure 139
show 140
wildcard in file management commands 41
313194-A Rev 00