Professional Documents
Culture Documents
32 CLI Command Reference Passport
32 CLI Command Reference Passport
313194-A Rev 00
October 2001
4401 Great America Parkway
Santa Clara, CA 95054
Trademarks
Nortel Networks, the Nortel Networks logo, the Globemark, Unified Networks, Passport, BayStack, OPTera, and
Optivity are trademarks of Nortel Networks.
Microsoft, Windows, and Windows NT are trademarks of Microsoft Corporation.
Adobe and Acrobat Reader are trademarks of Adobe Systems Incorporated.
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 Licensees 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 Licensees 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
Licensees 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 vendors 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 SoftwareRestricted 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
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Before you begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Text conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
How to get help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
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
Contents
Chapter 2
Boot Monitor command line interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Accessing the Boot Monitor CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Boot Monitor command hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Using the CLI to configure L2 Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring L2 Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Boot Monitor commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
boot command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
choice commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
cli commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
date command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
delay command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
flags commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
master command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
net commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
ping command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Quit commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
reset command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
save command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
setdate command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
show commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
sio commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
tz commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
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
Chapter 4
General switch management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
show config command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
show tech command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
show sys info command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
bootconfig commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
config bootconfig choice commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
config bootconfig delay command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
config bootconfig flags commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
config bootconfig host commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
config bootconfig master command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
config bootconfig net commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
config bootconfig show commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
config bootconfig sio commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
config bootconfig tz commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
show bootconfig commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Commands for configuring the Run-Time CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
config cli commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
show cli commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
show cli info command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
show cli who command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
Contents
show cli password command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
config cli password commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
Commands for configuring the Boot Monitor CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
config bootconfig cli commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
System commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Access policy commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
config sys access-policy commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
config sys access-policy policy commands . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Setting an access policy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
show sys access-policy info command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
config sys set action commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
config sys set snmp commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
config sys set mgmt-virtual-ip command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
Other config sys set commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
show sys commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
show sys community command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
show sys msg-control command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
show sys perf command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
show sys sw command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
show sys topology command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
config sys link-flap-detect commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
show sys link-flap-detect general-info command . . . . . . . . . . . . . . . . . . . . . . . . . 126
dump ar command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Syslog commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
config sys syslog commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
show sys syslog commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Log commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
config log commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
show log commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
show log file command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
show log level command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
RMON commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
config rmon commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
show rmon commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
config setdate command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
313194-A Rev 00
Contents
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
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Figure 16
Figure 17
Figure 18
Figure 19
Figure 20
Figure 21
Figure 22
Figure 23
Figure 24
Figure 25
Figure 26
Figure 27
Figure 28
Figure 29
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
12
Figures
Figure 30
Figure 31
Figure 32
Figure 33
Figure 34
Figure 35
Figure 36
Figure 37
Figure 38
Figure 39
Figure 40
Figure 41
Figure 42
Figure 43
Figure 44
Figure 45
Figure 46
Figure 47
Figure 48
Figure 49
Figure 50
Figure 51
Figure 52
Figure 53
Figure 54
Figure 55
Figure 56
Figure 57
Figure 58
Figure 59
Figure 60
Figure 61
Figure 62
Figure 63
Figure 64
313194-A Rev 00
Figures
13
Figure 65
Figure 66
Figure 67
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
14
Figures
313194-A Rev 00
15
Tables
Table 1
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Table 2
Table 3
Table 4
Table 5
Table 6
Table 7
Table 8
Table 9
Table 10
Table 11
Table 12
Table 13
Table 14
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 (< >)
braces ({})
brackets ([ ])
ellipsis points (. . . )
313194-A Rev 00
Preface
19
italic text
plain Courier
text
separator ( > )
vertical line ( | )
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
20
Preface
Acronyms
This guide uses the following acronyms:
AUI
BootP
Bootstrap Protocol
BRI
CSMA/CD
DLCMI
HDLC
IP
Internet Protocol
ISDN
ISO
ITU-T
MAC
MAU
MDI-X
NBMA
nonbroadcast multi-access
OSPF
PPP
Point-to-Point Protocol
SMDS
SNMP
STP
TPE
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.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
22
Preface
Installing the Breaker Interface Panel for the Passport 8010co Chassis
(part number 312755-B Rev 00)
Describes how to install the breaker interface panel in an equipment rack,
connect cables, and interpret LEDs. It includes technical specifications for the
breaker interface panel.
Networking Concepts for the Passport 8000 Series Switch (part number
313196-A Rev 00)
Provides general information and a description of how a Passport 8000 Series
switch handles various networking features, such as VLANs, MultiLink
Trunking, OSPF, RIP, and IPX.
Network Design Guidelines for the Passport 8000 Series Switch (part number
313197-A Rev 00)
Provides guidelines for using the switching and routing features of the
Passport 8000 Series hardware and software in your network design. This
companion guide to Networking Concepts for the Passport 8000 Series Switch
incorporates feedback from beta testing of the switch and focuses on
optimizing network performance.
Getting Started with the Passport 8000 Series Switch Management Software
(part number 313189-A Rev 00)
Provides instructions for installing the Passport 8000 Series switch
management software and describes initial setup procedures.
Configuring Switching and Routing Operations for the Passport 8000 Series
Switch Using the Command Line Interface Release 3.2 (part number
313191-A Rev 00)
Describes the CLI commands and parameters for configuring layer 2
(switching) and layer 3 (routing) operations.
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
Telephone
North America
Asia Pacific
China
(800) 810-5000
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.
Passport 8100 module
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
Table 1 lists additional references for the Passport 8000 Series switch.
Table 1 Related publications
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
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
configured for basic switching
Management tools
Four management tools enable you to monitor and manage your Passport switch:
313194-A Rev 00
27
Device Manager
Device Manager is an SNMP-based graphical user interface tool designed to allow
you to manage a single device. In order to use Device Manager, you must have
network connectivity to a management station running Device Manager on one of
the supported platforms.
For more information about using Device Manager, refer to:
Configuring Switching and Routing Operations for the Passport 8000 Series
Switch Using Device Manager Release 5.x.x
The online Help within Device Manager
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
28
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
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#
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
:
:
:
:
:
:
N/A
N/A
N/A
1
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:
313194-A Rev 00
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.
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
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
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.
Figure 2 help config command output
Passport_8100:5# help config
Configuration cli commands
atm
atm port configuration commands
atmcard
ATM card specific configuration commands
bootconfig
boot cli configuration commands
cli
cli configuration commands
diag
diag commands
ethernet
ethernet port configuration commands
info
show current level parameter settings and next
level directories
ip
ip protocol configuration
ipx
ipx configuration commands
log
system log file commands
mlt
Multi-link trunking commands
ntp
ntp protocol configuration commands
radius
radius protocol configuration
pos
Packet over sonet configuration commands
poscard
Packet over sonet card specifc configuration
commands
rmon
remote monitor commands
setdate
set calendar time
stg
spanning tree commands
sys
system configuration commands
vlan
vlan configuration commands
web-server
web server commands
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
34
history commands
The history commands let you list the commands you have entered during the
current session; they also let you reenter commands.
The history commands include the following options:
history
!!
!<number>
!<str>
!?<substr>
substr.
^<sstr>^<rstr>
Figure 3 shows sample output for the history command in the boot monitor
CLI.
Figure 3 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
35
rsh <ipaddr>
-l <value> <cmd>
telnet [<ipaddr>]
Read-only accessYou can view the device settings, but you cannot change
any of the settings.
Layer 1 read/write accessYou can view most switch configuration and
status information and can change physical port parameters.
Layer 2 read/write accessYou 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 accessYou 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
Read/write accessYou can view and edit most device settings. You cannot
change the security and password settings.
Read/write/all accessYou 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.
Default login
Default password
Read-only
ro
ro
Layer 1 read/write
l1
l1
Layer 2 read/write
l2
l2
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
37
cli
cli
cli
cli
cli
cli
password
password
password
password
password
password
ro <username> [<password>]
rw <username> [<password>]
l1 <username> [<password>]
l2 <username> [<password>]
l3 <username> [<password>]
rwa <username> [<password>]
To display information about the access levels for login and password, type:
show cli password
For each access level, the current login and password are displayed (Figure 4).
Figure 4 show cli password command output
Passport_8100:5# show cli password
ACCESS
LOGIN
PASSWORD
rwa
rwa
rwa
rw
rw
rw
l2
l2
l2
l1
l1
l1
ro
ro
ro
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
38
where:
a.b.c.d: specifies the IP address of a remote TFTP server.
pcmcia or flash specifies the device on the switch where the file is located.
313194-A Rev 00
39
cd <dir>
cp <srcfile> <destfile>
dos-chkdsk <dir>
[repair]
dos-format <dir>
edit <file>
format-flash
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
40
ls [<dir>] [-r]
mkdir <dir>
Creates a directory.
dir s the directory name.
mv <old> <new>
remove <file>
rm <file>
313194-A Rev 00
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.
Figure 5 shows output from the directory command.
Figure 5 directory command output
Passport_8100:5# directory
size
date
time
-----------------641
SEP-05-2000 16:05:14
4796
SEP-05-2000 16:05:20
631232
JAN-03-1998 08:01:56
236832
JAN-03-1998 08:01:58
666966
SEP-05-2000 16:04:12
2773586
SEP-05-2000 16:04:42
243620
SEP-05-2000 16:19:42
2752602
FEB-19-1998 07:48:08
244452
SEP-05-2000 16:20:32
total: 15793152 used: 7605248 free:
name
-------/flash/boot.cfg
/flash/config.cfg
/flash/a80b1000.img
/flash/a81e2000.dld
/flash/p80b10025.gz
/flash/p80a3100_b29.img
/flash/p81e3100_b25.dld
/flash/p86a_b25.gz
/flash/a81eREL3100.dld
8187904 bytes
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
42
copy command
The copy command copies a file from one device to another. The syntax for the
copy command is:
copy <srcfile> <destfile>
where:
srcfile is the source device and file name.
destfile is the destination device and file name.
313194-A Rev 00
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.
copy [keyword]: /flash/file /flash:newfile
or
copy /flash/file [keyword]:/flash/newfile
For example, to copy a file from UNIX host 10.140.2.124 to flash memory, you
would use the following command:
copy 10.140.2.124:/home/jsmith/file.cfg /flash/file.cfg
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
#
#
#
#
#
#
#
#
#
#
#
#
#
#
#
Asic Info :
SlotNum|Name
Slot
Slot
Slot
Slot
Slot
1
2
3
4
5
8108GB
8132TX
8116FX
8148TX
8190SM
00000000
00000000
00000000
00000000
00000000 CPU: CPLD=14
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.
For a complete list of edit commands, refer to Appendix A, Edit commands, on
page 141.
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
You must interrupt the boot sequence within 4 seconds of the time it
starts.
From the Run-Time CLI, enter the following commands; then reboot:
config bootconfig flags autoboot false
save bootconfig
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
47
config-file
image-file
info
copy
delay
directory
dos-chkdsk
dos-format
edit
exit
flags
help
host
logout
ls
more
multicast
net
quit
reset
remove
rlogin
save
show
sio
source
telnet
tz
ftp-debug
info
password
tftp-debug
tftp-hash
tftp-remit
tftp-timeout
user
bootp
enable
fullduplex
info
ip
restart
route net
speed
tftp
Passport-8100-mode
autoboot
daylight-saving-time
debugmode
debug-config
egressmirror
factorydefaults
ftpd
info
logging
machine-check
reboot
rlogind
telnetd
tftpd
trace-logging
verify-config
wdt
choice
cli
config
flags
host
if
inetstats
info
master
net
route
sio
tz
baud
8databits
enable
info
mode
mtu
my-ip
peer-ip
pppfile
restart
slip-compression
slip-rx-compression
dst-end
dst-name
dst-offset
dst-start
info
offset-from-utc
name
9549EA
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
48
followed by:
info
8100-mode
<true|false>
autoboot
<true|false>
daylight-saving- Enables or disables daylight saving time for the switch. The
time <true|false> default is false.
313194-A Rev 00
49
flags
followed by:
debugmode
<true|false>
debug-config
<true|false>
egress-mirror
<true|false>
factorydefaults
<true|false>
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.
ha-cpu
<true|false>
logging
<true|false>
reboot
<true|false>
rlogind
<true|false>
savetostandby
<true|false>
telnetd
<true|false>
tftpd
<true|false>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
50
followed by:
trace-logging
<true|false>
verify-config
<true|false>
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.
313194-A Rev 00
51
Configuring L2 Redundancy
To set L2 Redundancy in monitor mode:
1
Using the flags command, set the ha-cpu option to true on the master and
standby 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).
The syntax for the boot command is:
boot [<file>] [config <value>]
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
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.
The required parameter boot-choice is the order in which the specified
boot devices are accessed when you reboot the switch. The options for
boot-choice are primary, secondary, or tertiary.
The choice commands include the following options:
choice <boot-choice>
followed by:
info
config-file
<filename>
image-file
<filename>
For example, to specify the configuration file in flash memory as the primary boot
source, you would use the following command:
choice primary config-file /flash/config.cfg
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
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.
The Boot Monitor cli commands include the following options:
cli
followed by
info
more <true|false>
prompt <value>
rlogin-sessions
<value>
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
<value>
timeout <seconds>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
54
Figure 11 shows the output from the cli info command; this example lists the
defaults for the cli info command.
Figure 11 cli info command output
monitor# cli info
cli more true
cli prompt "monitor"
cli rlogin-sessions 1
cli screenlines 23
cli telnet-sessions 1
cli timeout 0
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.
Figure 12 date command output
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.
The syntax is:
delay <seconds>
313194-A Rev 00
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:
save file /flash/config.cfg
followed by:
info
8100-mode
<true|false>
autoboot
<true|false>
daylight-saving- Enables or disables daylight saving time for the switch. The
time <true|false> default is false.
debugmode
<true|false>
debug-config
<true|false>
egress-mirror
<true|false>
factorydefaults
<true|false>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
56
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
<true|false>
reboot
<true|false>
rlogind
<true|false>
telnetd
<true|false>
tftpd
<true|false>
trace-logging
<true|false>
verify-config
<true|false>
wdt <true|false>
313194-A Rev 00
57
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
58
host commands
The host commands allow you to define conditions for remote host login.
The host commands include the following options:
host
followed by:
info
ftp-debug
<true|false>
password <value>
tftp-debug
<true|false>
tftp-hash
<true|false>
tftp-rexmit
<seconds>
tftp-timeout
<seconds>
user <value>
313194-A Rev 00
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.
The syntax is:
master <cpu-slot>
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.
Note: Use the net mgmt ip <addr/mask> command to assign an IP
address to the switch.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
60
followed by:
info
autonegotiate
<true|false>
bootp <true|false>
enable <true|false> Enables or disables the specified port. The default is true.
fullduplex
<true|false>
ip <addr/mask>
[cpu-slot-id
<value>]
restart
speed <10|100>
tftp <ipaddr>
Figure 15 shows output for the net mgmt info command, that is, the settings
for the management port.
313194-A Rev 00
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:
ping <ipaddr> [<size>] [<count>] [-s] [-I <value>]
[-t <value>] [-d]
where:
To specify a count for the ping operation, you must also specify a size. For
example:
ping 10.5.5.5 1600 5
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
62
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.
A confirmation message is displayed before the switch is reset.
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:
save <savetype> [file <value>] [verbose] [standby <value>]
[backup <value>]
where:
savetype specifies what to save. Possible values for this parameter are
config, bootconfig, log, and trace.
313194-A Rev 00
[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.
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:
save config file ralph.cfg backup 2
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.
The syntax of the setdate command is:
setdate <MMddyyyyhhmmss>
For example:
setdate 09182000103000
show commands
The show commands display the current Boot Monitor configuration.
The show commands are:
show
followed by:
info
choice
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
64
followed by:
cli
config [verbose]
flags
host
master
Displays the current CPU slot set as master and the settings
for the delay and multicast commands (Figure 17).
net
sio
tz
313194-A Rev 00
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.
The sio commands include the following options:
sio <cpu-sio-port>
followed by:
info
baud <rate>
Sets the baud rate for the port. The default is 9600.
8databits
<true|false>
enable <true|false>
mode
<ascii|slip|ppp>
mtu <bytes>
my-ip <ipaddr>
peer-ip <ipaddr>
pppfile <file>
restart
slip-compression
<true|false>
slip-rx-compression
<true|false>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
66
313194-A Rev 00
67
tz commands
The time zone (tz) commands set the switchs relation to time zones. The tz
commands include the following options:
tz
followed by:
info
dst-end
<Mm.n.d/hhmm|
MMddhhmm>
dst-name <dstname> Sets an abbreviated name for the local daylight saving time
zone.
dst-offset
<minutes>
dst-start
<Mm.n.d/hhmm|
MMddhhmm>
offset-from-utc
<minutes>
name <tz>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
68
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
313194-A Rev 00
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.
71
bootconfig
cli
diag
ethernet
ip
ipx
log
mlt
qos
radius
rmon
setdate
stg
sys
vlan
web-server
boot
clear
config
date
grep
help
history
monitor
rip
sap
set
static-route
access-policy
link-flap-detect
set
syslog
ping
create
delete
fdb
ip
ipx
mlt
ports
quit
reset
rlogin
save
show
artable
fabric
loopback
stop
telnet
test
trace
traceroute
clear
level
off
screen
info
bootconfig
cli
diag
ip
ipx
log
mlt
ports
qos
radius
rmon
stg
sys
tech
test
trace
vlan-info
web-server
arp
dhcp-relay
dvmrp
igmp
ospf
proxy
rip
traffic-filter
vrrp
ip
stg
unknown-mac-discard
arp
dhcp-relay
dvmrp
forwarding
l3-igmp
mroute
ospf
policy
rip
static-route
route
route discovery
traffic-filter
udpfwd
error
info
stats
egressmap
ingressmap
queue
addrlist
netlist
ospf accept
ospf announce
rip accept
rip announce
create
filter
global-set
set
traffic-profile
interface
portfwdlist
protocol
arp
dhcp-relay
dvmrp
forwarding
igmp
mroute
ospf
policy
rip
traffic-filter
udpfwd
vrrp
arp-response
dhcp-relay
dvmrp
igmp
ospf
proxy
rip
vrrp
8778EB
72
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.
The syntax for the boot command is:
boot [<file>] [config <value>] [-y]
where:
313194-A Rev 00
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.
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).
The clear commands include the following options:
clear
followed by:
ip arp ports <port>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
74
help command
The help command (Figure 21) displays an explanation of the available types of
online Help.
Figure 21 help command output
Passport-8610# help
Eight forms of help are available in the system.
1. Typing "help" describes help features
2. Typing "help commands" provides a list of
commands you can enter from the current prompt.
3. Typing "help ttychars" provides a list of
special terminal editing characters.
4. Typing "syntax" displays a path list
of commands and parameters available from the
current prompt or <command> forward.
5. Typing "help <command>" or "<command> help" describes
a specific command or provides a list of sub-commands
you can enter from with-in <command>.
6. Typing "?" displays the sub and current context
commands available from the current prompt.
7. Typing "<command> ?" displays the sub and current
context commands available from the current prompt
if the command is a intermediate node in the command
tree structure, otherwise, displays parameter help
for the command.
8. Typing "<command?>" displays a list of commands
that will match the characters entered.
To see a list of all commands available at the current login access level, type help
commands at the prompt.
313194-A Rev 00
75
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>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
76
where:
where:
313194-A Rev 00
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:
save <savetype> [file <value>] [verbose] [standby <value>]
[backup <value>]
where:
verbose saves default and current configuration. If you omit the [verbose]
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:
traceroute <ipaddr> [<datasize>] [-m <value>] [-p <value>]
[-q <value>] [-w <value>] [-v]
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
78
where:
313194-A Rev 00
79
followed by:
artable
fabric
hardware [<ports>]
led
loopback <ports>
[<int|ext>]
stop artable
stop fabric
stop loopback
<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
313194-A Rev 00
81
9/1
576
none
0
0
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
82
followed by:
info [tail]
clear
filter
grep
level <modid>
[<level>]
off
screen [<setting>]
313194-A Rev 00
83
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.
Figure 27 show trace file command output
Passport-8610# show trace file
[000 00:30:15:116] tShell: sc_output: 20
[000 00:31:12:266] tShell: sc_output: 20
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
313194-A Rev 00
Trace Levels:
0
0 - Disabled
0
1 - Very terse
0
2 - Terse
0
3 - Verbose
0
4 - Very verbose
0
0
0
0
0
0
0
0
0
0
0
0
0
0
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.
The chapter includes information about the following commands:
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
86
where:
verbose specifies a complete list of all configuration information about the
switch.
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.
313194-A Rev 00
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.
Figure 30 show config verbose command (partial output)
Passport_8100:5# show config verbose
#
# WED SEP 13 10:47:43 2000 UTC
# box type
: Passport-8010
# software version
: REL3.1.0.0
# monitor version
: 1.0.0.2/5
#
# Asic Info :
# SlotNum|Name |CardType|MdaType |Parts Description
#
# Slot 1 8108GB 30325108 00000000
# Slot 2 8132TX 30211120 00000000
# Slot 3 8116FX 30311110 00000000
# . . .
# Slot 10
-00000001 00000000
config
#
# 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
: Passport_8100
.
.
.
System Software Info :
Default Runtime Config File : /flash/config.cfg
Default Boot Config File : /flash/boot.cfg
Config File :
Last Runtime Config Save : 0
Last Runtime Config Save to Slave : 0
Last Boot Config Save : 0
Last Boot Config Save on Slave : 0
Boot Config Table
Slot# : 5
LastBootConfigSource : /flash/boot.cfg
LastRuntimeImageSource : /flash/p80a3100.img
LastRuntimeConfigSource : /flash/config.cfg
313194-A Rev 00
89
where:
card displays information about all the installed modules.
asic displays information about the ASICS installed on each module.
mda displays information about installed MDAs.
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
8010
SSNM0000TE
A
10
160
enable
disable
enable
00:80:2d:12:30:00
34 C
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
91
followed by:
info
config-file
<filename>
image-file
<filename>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
92
followed by:
info
Passport-8100-mode
<true|false>
Enables the Passport 8000 Series switch to act as a layer 2 switch only.
When using Passport 8100 modules, this flag defaults to true. For
Passport 8600 modules, the default is false.
autoboot <true|false> Controls whether the switch automatically runs the run-time 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-time
<true|false>
debugmode
<true|false>
Controls whether the switch stops in debug mode following a fatal error.
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
<true|false>
egress-mirror
<true|false>
Enables or disables the ability to mirror egress traffic. The default is true.
factorydefaults
<true|false>
ftpd <true|false>
logging <true|false>
reboot <true|false>
Enables or disables the option to reboot on fatal error. The default is true.
313194-A Rev 00
93
followed by:
rlogind <true|false>
telnetd <true|false>
tftpd <true|false>
trace-logging
<true|false>
verify-config
<true|false>
wdt <true|false>
Figure 33 shows output from the config bootconfig flags info command.
Figure 33 config bootconfig flags info command output
Passport-8610# config bootconfig flags info
flags 8100-mode false
flags autoboot true
flags daylight-saving-time false
flags debugmode false
flags debug-config false
flags egress-mirror true
flags factorydefaults false
flags ftpd false
flags ha-cpu false
flags machine-check false
flags logging false
flags reboot true
flags rlogind false
flags savetostandby false
flags telnetd true
flags tftpd false
flags trace-logging false
flags verify-config true
flags wdt true
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
94
ftp-debug
<true|false>
password <value>
tftp-debug
<true|false>
tftp-hash
<true|false>
tftp-rexmit
<seconds>
tftp-timeout
<seconds>
user <value>
Figure 34 shows sample output from the config bootconfig host info
command.
313194-A Rev 00
95
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
96
followed by:
info
autonegotiate
<true|false>
bootp
<true|false>
enable
<true|false>
fullduplex
<true|false>
ip <addr/mask>
restart
route net
[add|del]
<netaddr>
<gateway>
speed <10|100>
tftp <ipaddr>
313194-A Rev 00
97
Figure 35 shows output from the config bootconfig net cpu info
command.
Figure 35 config bootconfig net cpu info command output
Passport_8100:5# config bootconfig net cpu info
net cpu2cpu autonegotiate false
net cpu2cpu bootp false
net cpu2cpu enable true
net cpu2cpu fullduplex false
net cpu2cpu speed 100
net cpu2cpu tftp 0.0.0.0
net cpu2cpu ip 10.0.0.5/255.0.0.0 cpu-slot 5
net cpu2cpu ip 0.0.0.0/0.0.0.0 cpu-slot 6
current status: link: true speed: 100 duplex: half
followed by:
info
choice
cli
config [verbose]
flags
host
master
net
sio
tz
wlan
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
98
followed by:
info
baud <rate>
Sets the baud rate for the port. The default is 9600.
8databits
<true|false>
enable <true|false>
mode
<ascii|slip|ppp>
mtu <bytes>
my-ip <ipaddr>
peer-ip <ipaddr>
pppfile <file>
313194-A Rev 00
99
followed by:
restart
slip-compression
<true|false>
slip-rx-compression
<true|false>
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.
Figure 37 config bootconfig sio console info command output
Passport-8610# config bootconfig sio console
info
sio console baud 9600
sio console 8databits false
sio console enable true
sio console mode ascii
sio console mtu 0
sio console my-ip 0.0.0.0
sio console peer-ip 0.0.0.0
sio console pppfile ""
sio console slip-compression false
sio console slip-rx-compression false
current status: active: true mode: ascii baud:
9600 options: 7 bit data 1 stop no parity cts dsr
ri
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
100
followed by:
info
dst-end
<Mm.n.d/hhmm |
MMddhhmm>
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
<minutes>
dst-start
<Mm.n.d/hhmm|
MMddhhmm>
offset-from-utc
<minutes>
name <tz>
313194-A Rev 00
101
followed by:
choice
cli
config [verbose]
flags
host
info
master
Displays the delay setting and the chassis slot where the
Master CPU resides.
net
sio
tz
wlan
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
102
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.
Figure 39 shows output from the show bootconfig info command.
Figure 39 show bootconfig info command
Passport_8100:5# show bootconfig info
CPU Slot 5:
PPC 740 Map B
Version:
2.0.0.0/10
Memory Size:
0x04000000
313194-A Rev 00
103
followed by:
info
banner defaultbanner
<true|false>
banner delete
banner info
defaultlogin
<true|false>
defaultpassword
<true|false>
loginprompt <string>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
104
config cli
followed by:
monitor duration
<integer>
monitor info
monitor interval
<integer>
more <true|false>
motd displaymotd
<true|false>
motd delete
motd info
passwordprompt <string>
prompt <prompt>
313194-A Rev 00
105
config cli
followed by:
rlogin-sessions
<nsessions>
screenlines <nlines>
telnet-sessions
<nsessions>
timeout <seconds>
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.
Figure 40 shows output from the config cli info command.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
106
:
:
:
:
:
:
:
:
:
:
true
true
Login:
true
Password:
Passport-8106
8
23
8
900
313194-A Rev 00
107
true
23
8
8
900 seconds
300 seconds
5 seconds
:
:
:
:
:
:
true
Login:
Login:
true
Password:
Password:
IP ADDRESS
10.177.25.205
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
108
followed by:
info
ro <username>
[<password>]
l1 <username>
[<password>]
l2 <username>
[<password>]
l3 <username>
[<password>]
rw <username>
[<password>]
rwa <username>
[<password>]
313194-A Rev 00
109
PASSWORD
rwa
rw
l3
l2
ro
followed by:
info
more <true|false>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
110
followed by:
prompt <value>
rlogin-sessions <value>
screenlines <value>
telnet-sessions <value>
timeout <seconds>
Figure 44 shows output from the config bootconfig cli info command.
Figure 44 config bootconfig cli info command output
Passport-8610# config bootconfig cli info
cli more true
cli prompt "monitor"
cli rlogin-sessions 1
cli screenlines 23
cli telnet-sessions 1
cli timeout 900
System commands
The system commands manage the switch system and allow you to view system
settings. The system commands include:
313194-A Rev 00
111
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
112
followed by:
info
enable <true|false>
followed by:
info
accesslevel
<level>
create
delete
disable
enable
host <ipaddr>
mode <mode>
313194-A Rev 00
113
followed by:
name <name>
network
<addr/mask>
precedence
<precedence>
username
<string>
Sets the trusted host user name from the trusted host for the
specified policy. Applies only to rlogin access.
string is the host user name (0 to 30 characters).
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
313194-A Rev 00
:
:
:
:
:
:
:
:
:
:
N/A
default
true
allow
128
0.0.0.0/0.0.0.0
0.0.0.0
none
readWrite
115
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
Figure 47 shows information about the default access policy, and Figure 48 shows
information about the policy created in Figure 46.
Figure 47 show sys access-policy info policy2 command outputdefault policy
Passport-8610# show sys access-policy info policy2
AccessPolicyEnable: on
Id:
Name:
PolicyEnable:
Mode:
Service:
Precedence:
NetAddr:
NetMask:
TrustedHostAddr:
TrustedHostUserName:
AccessLevel:
Usage:
313194-A Rev 00
1
default
true
allow
http|snmp|telnet
128
0.0.0.0/0.0.0.0
0.0.0.0
10.135.200.35
none
readWrite
3
117
2
policy2
true
deny
http|snmp|rlogin
10
0.0.0.0
0.0.0.0
10.135.200.35
none
readWrite
3
followed by:
info
cpuswitchover
resetconsole
resetcounters
resetmodem
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
:
:
:
:
(N/A)
(N/A)
(N/A)
(N/A)
followed by:
info
community
<ro|rw|l1|l2|l3|rwa>
<commstr>
313194-A Rev 00
119
followed by:
del-trap-recv
<ipaddr>
trap-recv <ipaddr>
<v1|v2c> <commstr>
Figure 50 shows output from the config sys set snmp info command.
Figure 50 config sys set snmp info command output
Passport_8100:5# config sys set snmp info
Sub-Context: clear config dump monitor show trace
Current Context:
community :
ro
rw
l1
l2
l3
rwa
public
private
private
private
private
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
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.
To assign IP addresses to the physical management ports, use the config
bootconfig net mgmt ip <addr/mask> command on page 95.
313194-A Rev 00
121
followed by:
info
global-filter
<enable|disable>
location
<location>
msg-control
<enable|disable>
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
<true|false>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
122
followed by:
topology <on|off> Turns the topology feature on or off. The topology feature
generates topology packets used by Optivity* network
management software. When this feature is off, the topology
table is not generated (page 125). The default is on.
vlan-bysrcmac
<enable|disable>
Figure 51 shows output from the config sys set info command.
Figure 51 config sys set info command output
Passport_8100:5# config sys set info
Sub-Context: clear config dump monitor show trace
Current Context:
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
313194-A Rev 00
123
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
124
313194-A Rev 00
125
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
126
info
auto-port-down
<enable|disable>
frequency
<frequency>
313194-A Rev 00
127
dump ar command
The dump ar command allows you to display the hardware registers of the
RaptARU attached to OctaPID.
The syntax for the dump ar command is:
dump ar <opid> <vlan|ip_subnet|mac_vlan|mac|arp|ip|ipx|
ipmc|ip_filter|protocol|all> <verbosity>
where:
opid is the octaPID assignment, from 1 to 64. See Appendix E, Tap and
Syslog commands
The Syslog commands control a facility in UNIX machines that logs messages
and assigns each message a severity level based on importance.
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
128
followed by:
info
host <id>
<enable|disable>
critical|error|warning|
notice|info|debug}.
host <id>
mapwarning <level>
critical|error|warning|
notice|info|debug}.
host <id> maperror
<level>
critical|error|warning|
notice|info|debug}.
host <id> mapfatal
<level>
critical|error|warning|
notice|info|debug}.
313194-A Rev 00
129
followed by:
host <id> severity
<info| warning|
error|fatal>
[<info|warning|
error|fatal>]
host <id>
udp-port <port>
state
<enable|disable>
Figure 57 shows output for the config sys syslog info command.
Figure 57 config sys syslog info command output
Passport_8100:5# config sys syslog info
Sub-Context: clear config dump monitor show trace
Current Context:
max-host : 5
state : enable
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
The show sys syslog host info command allows you to view system log
information for the specified host.
The command uses the syntax:
show sys syslog host <id> info
Figure 59 shows output for the show sys syslog host info command.
Figure 59 show sys syslog host info command output
Passport-8610# config sys syslog host 1 info
Sub-Context: clear config dump monitor show trace
Current Context:
address
create
delete
facility
host
mapinfo
mapwarning
maperror
mapfatal
severity
udp-port
313194-A Rev 00
:
:
:
:
:
:
:
:
:
:
:
0.0.0.0
1
N/A
local7
disable
info
warning
error
emergency
info|warning|error|fatal
514
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.
followed by:
info
clear
level [<level>]
screen [<setting>]
write <str>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
132
:
:
:
:
N/A
0
on
N/A
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
133
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
134
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.
followed by:
info
alarm info
disable
enable
313194-A Rev 00
135
config rmon
followed by:
ether-stats create
<id> <ports> [owner
<value>]
ether-stats delete
<id>
ether-stats info
ether-stats owner
<id> <name>
Creates an event.
id is the event index number (0 to 65535).
trap_src <value> is the trap source IP address.
trap_dest <value> is the trap destination IP
address.
desc <value> is the event description (string
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).
Deletes an event.
id is the event index number (0 to 65535).
event info
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
136
config rmon
followed by:
history-control
create <id> <ports>
[buckets <value>]
[intv <value>]
[owner <value>]
history-control
delete <id>
history-control
info
memsize <memsize>
trap-option
<toOwner|toAll>
Figure 63 shows output from the config rmon event info command.
313194-A Rev 00
137
log-and-trap public
cream
followed by:
info
alarm
ether-stats
event
history-control
log
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
138
:
:
:
:
enable
250000
false
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
139
info
enable
html-source-dir Identifies the directories where the Web server HTML Help files
help-tftp <file> are located.
file is the file name of the HTML source.
password <ro>
<username>
<passwd>
Managing the Passport 8000 Series Swtich Using the Command Line Interface Release 3.2
140
313194-A Rev 00
:
:
:
:
:
:
:
:
:
:
:
on
ro
ro
30
:
451
4
0
0
1
0
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.
When you enter the editor, you are in edit mode.
Table 3 is a summary of the commands available in edit mode.
Table 3 Commands available in edit mode
Key Combination
Description
:q
:w
ZZ
^L
Redraw screen.
^F
^B
^D
^U
<n>G
Go to command number n.
/<s>
?<s>
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
142
Edit commands
Table 3 Commands available in edit mode (continued)
Key Combination
Description
<n>k
<n>-
Same as k.
<n>j
<n>+
Same as j.
RETURN
Same as j.
<n>h
^H
Same as h.
<n>l
SPACE
Same as l.
<n>w
<n>W
<n>e
<n>E
<n>b
<n>B
f<c>
F<c>
Go to end of line.
Go to beginning of line.
Insert Commands (Input is expected until an ESC is typed)
Append.
c SPACE
Change character.
cl
Change character.
cw
Change word.
cc
c$
313194-A Rev 00
Edit commands
143
Description
Same as c$.
Same as cc.
Insert.
<n>r<c>
<n>x
<n>X
d SPACE
Delete character.
dl
Delete character.
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
Table 4 lists the special terminal characters.
Table 4 Special terminal characters
Key Combination
Command
^H
Backspace.
^D
Logout of cli.
^C
^P
^N
^S
Output suspend.
^Q
Output resume.
^I
Command completion.
^B
^F
^A
^E
ESC B
ESC F
DEL
^K
^X
^U
^W
ESC D
^L
Redisplay line.
^R
Redisplay line.
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
146
Command
^T
ESC L
ESC U
"..."
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.
To set up modem access, you need a DTE-to-DCE cable (straight or transmit
cable) to connect the Passport 8000 Series switch to the modem. Table 5 shows
the DTE-to-DCE pin assignments.
Table 5 DTE-to-DCE straight-through pin assignments
Switch
Modem
Signal
Pin
number
DCE DB-9
pin number
DCE DB-25
pin number
RXD
TXD
DTR
20
GND
DSR
RTS
CTS
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.
To set up the Modem port:
1
Now you can enter options for this command level without retyping the first
part of the command.
2
baud <rate>
where rate is the baud rate for the modem. The default is 9600.
8databits <true|false>
where:
false sets the number of data bits per byte to 8. This setting is the
default.
true sets the number of data bits per byte to 7.
mode <ascii|slip|ppp>
where:
ascii is the default setting. This setting is recommended for most
modem connections.
slip sets the port for serial line IP (SLIP) operation.
ppp sets the port for point-to-point protocol (PPP) operation.
313194-A Rev 00
Connecting a modem
149
If you set the port mode to slip, use the following commands to set other
SLIP parameters:
If you set the port mode to ppp, use the following commands to set other PPP
parameters:
On the modem, turn off echo mode and return code messaging.
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 peers idea of the local IP address.
ipcp_accept_remote
- Accept peers 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
313194-A Rev 00
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
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
+-----+----+----+
|
|
|
|
+-----+----+----+
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
156
Table 6 lists the module types that are currently available, along with the
associated OctaPID ID assignments for each module.
Table 6 Available module types and OctaPID ID assignments
Module type
Port type
OctaPID ID assignment
1000BASE-SX
Table 7 next
1000BASE-LX
1000BASE-ZX
1000BASE-XD
Passport 8608GTE Module
1000BASE-T
Table 7 next
1000BASE-SX
Table 7 next
1000BASE-SX
100BASE-FX
10BASE-T/100BASE-TX
1000BASE-SX
1000BASE-LX
1000BASE-ZX
1000BASE-XD
Passport 8648TXE Module
10/100 Mb/s
OC-3c MDA
OC-12c MDA
Passport 8683POSE Module
OC-3c MDA
OC-12c MDA
Table 7 describes the OctaPID ID and port assignments for the Passport
8608GBE, Passport 8608GTE, and Passport 8608SXE modules.
Table 7 Passport 8608GBE, Passport 8608GTE, and Passport 8608SXE
modules
OctaPID ID assignment
Port assignment
OctaPID ID: 0
Port 1
OctaPID ID: 1
Port 2
OctaPID ID: 2
Port 3
313194-A Rev 00
157
Table 7 Passport 8608GBE, Passport 8608GTE, and Passport 8608SXE modules (continued)
OctaPID ID assignment
Port assignment
OctaPID ID: 3
Port 4
OctaPID ID: 4
Port 5
OctaPID ID: 5
Port 6
OctaPID ID: 6
Port 7
OctaPID ID: 7
Port 8
Table 8 describes the OctaPID ID and port assignments for the Passport 8616SXE
Module.
Table 8
OctaPID ID assignment
Port assignment
OctaPID ID: 0
Ports 1 and 2
OctaPID ID: 1
Ports 3 and 4
OctaPID ID: 2
Ports 5 and 6
OctaPID ID: 3
Ports 7 and 8
OctaPID ID: 4
Ports 9 and 10
OctaPID ID: 5
Ports 11 and 12
OctaPID ID: 6
Ports 13 and 14
OctaPID ID: 7
Ports 15 and 16
Table 9 describes the OctaPID ID and port assignments for the Passport 8624FXE
Module.
Table 9
OctaPID ID assignment
Port assignment
OctaPID ID: 0
Ports 1 through 8
OctaPID ID: 1
Ports 9 through 16
OctaPID ID: 2
Ports 17 through 24
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
158
Table 10 describes the OctaPID ID and port assignments for the Passport
8632TXE Module.
Table 10
OctaPID ID assignment
Port assignment
OctaPID ID: 0
Ports 1 through 8
OctaPID ID: 1
Ports 9 through 16
OctaPID ID: 2
Ports 17 through 24
OctaPID ID: 5
Ports 25 through 32
OctaPID ID: 6
OctaPID ID: 7
Table 11 describes the OctaPID ID and port assignments for the Passport
8648TXE Module.
Table 11
OctaPID ID assignment
Port assignment
OctaPID ID: 0
Ports 1 through 8
OctaPID ID: 1
Ports 9 through 16
OctaPID ID: 2
Ports 17 through 24
OctaPID ID: 5
Ports 25 through 32
OctaPID ID: 6
Port 33 through 40
OctaPID ID: 7
Port 41 through 48
313194-A Rev 00
159
Table 12 describes the OctaPID ID and port assignments for the Passport
8672ATME Module.
Table 12
OctaPID ID assignment
Port assignment
OctaPID ID: 0
OctaPID ID: 1
OctaPID ID: 2
Not used
Table 13 describes the OctaPID ID and port assignments for the Passport
8683POSE Module.
Table 13
OctaPID ID assignment
Port assignment
OctaPID ID: 0
OctaPID ID: 1
OctaPID ID: 2
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
160
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.
Table 14 CLI command list
Command
Module
Page
page 39
back
page 31
page 51
box
page 31
cd <dir>
clear ip arp ports <port>
clear ip arp vlan <vid>
clear ip route ports <port>
clear ip route vlan <vid>
clear telnet <session-id>
clear ports stats [<ports>]
page 39
8600
8600
8600
8600
8600
page 73
page 73
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
162
Module
Page
page 91
page 109
page 91
page 92
313194-A Rev 00
163
Module
Page
page 94
page 95
page 95
page 97
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
164
Module
Page
page 98
page 100
page 103
page 103
page 104
page 104
page 104
313194-A Rev 00
165
Module
Page
page 108
8600
page 104
page 131
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
166
Module
Page
config rmon alarm create <id> type <value> intv <value> r_th <value> r_ev <value>
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>
page 134
page 138
313194-A Rev 00
167
Module
Page
page 112
page 126
page 117
page 120
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
168
Module
Page
page 121
8600
page 118
page 128
page 139
page 42
313194-A Rev 00
169
Module
Page
cp <srcfile> <destfile>
page 39
cwc [..]
page 31
8100
date
page 54
page 39
page 127
edit <file>
page 39
exit
page 75
format-flash
grep <string> <file>
page 39
help [<command>]
page 33
history
page 34
login
logout
page 75
ls [<dir>] [-r]
mkdir <dir>
more <file> [type]
page 40
mv <old> <new>
page 40
peer <operation>
ping <ipaddr> [datasize <value>] [count <value>] [-s] [-I <value>] [-t <value>] [-d]
pingipx <ipxhost> [<count>] [-s] [-q] [-t <value>]
page 75
page 75
8600
pwc
pwd
page 31
quit
page 62
remove <file>
rename <old> <new>
page 40
reset <-y>
page 62
rlogin <ipaddr>
page 35
rm <file>
page 40
page 35
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
170
Module
Page
page 62
page 97
page 85
page 106
page 107
page 107
page 132
page 133
page 137
page 116
page 123
page 89
page 126
page 123
page 129
page 125
show tech
page 88
313194-A Rev 00
171
Module
Page
page 80
page 83
show web-server
page 140
page 40
telnet [<ipaddr>]
page 35
test artable
test fabric
test hardware <ports>
test led <ports> <tx|rx|both> <off|yellow|green>
test loopback <ports> [<int|ext>]
test stop artable
test stop fabric
test stop loopback <ports>
page 81
8600
8600
8600
8600
8600
8600
8600
8600
page 79
top
page 31
trace clear
trace filter
trace grep
trace level [<modid>] [<level>]
trace off
trace screen [<setting>]
trace info [tail]
page 82
traceroute <ipaddr> [<datasize>] [-m <value>] [-p <value>] [-q <value>] [-w <value>]
[-v]
page 77
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
172
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
313194-A Rev 00
175
Index
Numbers
baud option 65
8databits option 65
boot command
Boot Monitor CLI 51
Run-Time CLI 72
boot configuration
displaying 64
saving 62
boot configuration choices, displaying 63
boot configuration commands 90
accessing Help 30
Boot Monitor
configuration, displaying 101
prompt 110
autonegotiation
on a CPU port 60, 96
boot.cfg file 44
back command 31
backup CPU, activating 117
banner, login 103
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
176
Index
net 95
show 97
sio 98
tz 100
box command 31
cd command 39
character strings
matching 40
specifying 105
choice command 72
choice commands
Boot Monitor CLI 52
Run-Time CLI 91
clear commands 73
configuration
displaying
boot 64
Boot Monitor 101
CLI 64
CPU port 64
host 64
serial port 64
saving 48, 55, 77
cli commands 53
CLI configuration, displaying 64
CLI login banner 103
cli more command 53
CLI prompt, setting 53
CLI, accessing 28
command
reentering 34
typing 30
command hierarchy
Boot Monitor CLI 47
Run-Time CLI 71
configuration file
debugging 49, 55, 92
syntax checking 50, 56
connection, testing 61
connector, modem 147
conventions, text 18
copy command 42
313194-A Rev 00
Index
CPU port, displaying configuration 64
editing files 39
cpu-sio-port parameter 65
customer support 24
cwc command 31
177
date command 54
fabric, switch 79
defaults
booting with 49, 55
logins 36
passwords 36
delay command 54
file directory
creating 40
formatting 39
directory command 39
file system
checking 39
description 37
dst-name option 67
files
copying 39, 42
editing 39, 43
naming 38
renaming 40
saving 63
dst-offset option 67
dst-start option 67
flags commands
Boot Monitor CLI 48, 55
Run-Time CLI 92
dos-chkdsk command 39
dos-format command 39
dst-end option 67
flash, formatting 39
format-flash command 39
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
178
Index
K
keystrokes 31
keywords in file commands 43
G
global filtering, setting 121
L
layer 1 access 35
layer 2 access 35
layer 3 access 35
link flap detection commands 125
grep command 40
log commands
configure 131
show 132
help, accessing 30
logins, default 36
history commands 34
host commands
Boot Monitor CLI 58
Run-Time CLI 94
ls command 40
management tools 26
master command 59
I
idle timeout 105, 110
image file, identifying 52
IP address, assigning
physical port 60
virtual port 120
master CPU
and delay command 54
and master command 59
displaying location 64, 101
message of the day 104
mkdir command 40
Modem port, resetting 117
ip option 60
more command 40
mtu option 65
313194-A Rev 00
Index
mv command 40
my-ip option 65
N
name
login 36
time zone 67
179
port
CPU 59
enabling 60
locking 121
Modem 117
testing 79
port locking, enabling 121
navigation commands 31
port mirroring
OctaPID ID and port assignments 156
net commands 59
pppfile option 65
precedence, access policy 113
OctaPID ID
description 155
product support 24
prompt
Boot Monitor 110
box-level 121
password 104
root-level 121
setting for CLI 53
parameters, entering 32
prompt command 53
publications
external related 173
hard copy 23
related 23
pwc command 31
pwd command 31
PCMCIA card 59
peer command 75
peer-ip option 65
ping command
Boot Monitor CLI 61
Run-Time CLI 75
read/write access 36
pingipx command 76
point-to-point link 65
read/write/all access 36
read-only access 35
reboot confirmation message, suppressing 73
reboot flag 49, 56, 92
reentering commands 34
Managing the Passport 8000 Series Switch Using the Command Line Interface Release 3.2
180
Index
keystrokes 31
save command
Boot Monitor CLI 62
Run-Time CLI 77
remote login
number allowed, setting 105, 110
timeout 53
user name, setting 58
savetostandby flag 49
screenlines command 53
remove command 40
rename command 40
security
access levels 35
passwords 37
renaming files 40
requirements
accessing the CLI 28
remote access 28
terminal 28
serial port
configuring 65, 98
settings, displaying 64
setdate command 63
RFCs 173
Index
show test commands
artable 80
fabric 80
loopback 81
show trace commands
file 83
level 83
show web-server command 140
sio commands 65
sio mode option 65
slip-compression option 65
slip-rx-compression option 65
test commands
configure 79
show 80
source command 40
text conventions 18
speed option 60
tftp option 60
TFTP, enabling 63
syslog commands
configure 127
show 129
tftp-debug option 58
tftp-hash command 58
tftp-rexmit option 58
tftp-timeout option 58
time zone
displaying 64
name 67
offset, setting 100
table, flushing 73
tail option 83
TCP/IP header compression 65
timeout
idle 105, 110
remote login 53
TFTP 58
timeout command 53
technical publications 23
181
technical support 24
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