All rights reserved. April 2000.
The information in this document is subject to change without notice. The statements,configurations,technical data,
and recommendations in this document are believed to be accurate and reliable, but are presented without express or
impliedwarranty. Users must take full responsibilityfor their applications of any products specifiedin this document.
The information in this documentis proprietaryto Nortel Networks NA Inc.
The software described in this documentis furnished under a license agreement and may only be used in accordance
with the terms of that license. A summary of the Software License is included in this document.
Trademarks
Passport and NORTEL NETWORKS are trademarks of Nortel Networks.
Bay Networks is a registeredtrademark of Nortel Networks.
Microsoft, MS, MS-DOS, Win32, Windows, and Windows NT are registeredtrademarks of Microsoft Corporation.
All other trademarks and registered trademarks are the property of their respective owners.
Restricted Rights Legend
Use, duplication, or disclosureby the United States Government is subject to restrictions as set forth in subparagraph
(c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 252.227-7013.
Notwithstanding any other license agreement that may pertain to, or accompany the delivery of, this computer
software, the rights of the United States Government regarding its use, reproduction, and disclosure are as set forth in
the Commercial Computer Software-Restricted Rights clause at FAR 52.227-19.
Statement of Conditions
In the interest of improving internal design, operational function, and/or reliability,Nortel NetworksNA Inc. reserves
the right to make changes to the productsdescribed in this document without notice.
Nortel Networks NA 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.
SUCH PORTIONS OF THE SOFTWARE ARE PROVIDED “AS IS” AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, I NCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULARPURPOSE.
In addition, the program and information contained herein are licensed only pursuant to a licenseagreementthat
containsrestrictions on use and disclosure (that may incorporate by referencecertain limitations and notices imposed
by third parties).
ii208967-B
Taiwan Requirements
Bureau of Standards, Metrology and Inspection (BSMI) Statement
Canada Requirements Only
Canadian Depar tment of Communications Radio Interference Regulations
This digital apparatus (Passport 8000 Seriesrouting switch) does not exceed the Class A limits for radio-noise
emissions from digital apparatusas set out in the Radio Interference Regulationsof the Canadian Department of
Communications.
Règlement sur le brouillage radioélectrique du ministère des Communications
Cet appareil numérique (Passport 8000 Series routing switch) respecte les limites de bruits radioélectriques visant les
appareils numériques de classeA prescrites dans le Règlement sur le brouillage radioélectrique du ministèredes
Communications du Canada.
Nortel Networks NA Inc. Software License Agreement
NOTICE: Please carefullyread this license agreement before copying or using the accompanying software or
installing the hardware unit with pre-enabled software (each of which is referred to as “Software” in this Agreement).
BY COPYING OR USING THE SOFTWARE, YOU ACCEPT ALL OF THE TERMS AND CONDITIONS OF
THIS LICENSE AGREEMENT. THE TERMS EXPRESSED IN THI S AGREEMENT ARE THE ONLY TERMS
UNDER WHICH NORTEL NETWORKS WILL PERMIT YOU TO USE THE SOFTWARE. If you d o not accept
these terms and conditions, return the product, unused and in the original shipping container, within 30 days of
purchase to obtain a credit for the full purchase price.
1. License Grant. Nortel Networks NA Inc. (“Nortel Networks”)grants the end user of the Software (“Licensee”) a
personal, nonexclusive,nontransferablelicense: a) to use the Softwareeither on a singlecomputeror, if applicable,on
a single authorized device identified by host ID, for which it was originallyacquired; b) to copy the Software solely
for backup purposes in support of authorized use of the Software; and c) to use and copy the associated user manual
solelyinsupportof authorized use of the Softwareby Licensee.This license applies to the Software only and does not
extend to Nortel Networks Agent software or other Nortel Networks software products. Nortel Networks Agent
software or other Nortel Networks software products are licensed for use under the terms of the applicableNortel
NetworksNAInc. Software LicenseAgreementthat accompanies such software and upon payment by the end user of
the applicable licensefees for such software.
2. Restrictions on use; reservation of rights. The Software and user manuals are protected under copyright laws.
Nortel Networks and/or its licensors retain all title and ownership in both the Software and user manuals, including
any revisionsmade by Nortel Networks or its licensors. The copyrightnotice must be reproducedand included with
any copy of any portion of the Software or user manuals. Licenseemay not modify, translate, decompile,disassemble,
use for any competitive analysis,reverse engineer, distribute, or create derivative works from the Software or user
manuals or any copy, in whole or in part. Except as expresslyprovided in this Agreement, Licensee may not copy or
transfer the Softwareor user manuals, in whole or in part. The Software and user manuals embody Nortel Networks’
and its licensors’confidentialand proprietary intellectual property. Licensee shall not sublicense, assign, or otherwise
disclose to any third party the Software, or any information about the operation,design,performance, or
implementation of the Software and user manuals that is confidentialto Nortel Networks and its licensors;however,
Licenseemay grantpermission to its consultants,subcontractors, and agents to use the Softwareat Licensee’s facility,
provided they have agreed to use the Softwareonlyin accordance with the terms of this license.
208967-Biii
3. Limited warranty. Nortel Networkswarrants each item of Software, as delivered by Nortel Networks and properly
installed and operatedon Nortel Networks hardware or other equipmentit is originally licensed for,to function
substantially as described in its accompanyinguser 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
remedyNortelNetworks will at its discretion providea suitablefix, patch,or workaround for the problemthatmay be
included in a future Softwarerelease. Nortel Networks further warrants to Licensee that the media on which the
Software is providedwill be free from defects in materialsand workmanshipunder normal use for a period of 90 days
from the date Softwareis first shipped to Licensee. Nortel Networks will replacedefective 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 Softwareto achieve Licensee’s intended results and for the installation,use, and
resultsobtained from the Software. Nortel Networks does not warrant a) t hat the functions contained in the software
will meet the Licensee’s requirements,b) that the Software will operate in the hardware or softwarecombinationsthat
the Licensee may select,c) that the operation of the Software will be uninterruptedor 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 cannotbe reproducedwiththelatest Softwarerelease. These warrantiesdo not applyto the Softwareif it has been
(i) altered, except by Nortel Networks or in accordance with its instructions; (ii) used in conjunctionwith another
vendor’s product,resulting in the defect; or (iii) damaged by improper environment,abuse,misuse, accident, or
negligence. THE FOREGOING WARRANTIES AND LIMITATIONS ARE EXCLUSIVE REMEDIES AND ARE
IN LIEU OF ALL OTHER WARRANTIES EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Licensee is
responsible for the security of its own data and information and for maintaining adequateprocedures apart from the
Software to reconstruct lost or altered files,data, or programs.
4. Limitation of liability. IN NO EVENT WILLNORTEL 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 LO ST DATA OR LOSS OF USE OR
PROFITS ARISING OUT OF OR IN CONNECTION W ITH THE PERFORMANCE OF T HE 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 SOFTWAREOR THIS AGREEMENT
EXCEED THE PRICE PAIDTO 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 documentationare commercialproducts, licensed
on the open market at market prices, and were developed entirely at privateexpense and without the use of any U.S.
Government funds. The license to the U.S. Government is granted only with restrictedrights,and use, duplication,or
disclosure by the U.S. Government is subject to the restrictionsset forth in subparagraph(c)(1)of the Commercial
Computer Software––Restricted Rights clause of FAR 52.227-19 and the limitationsset out in this license for civilian
agencies, and subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Softwareclause of DFARS
252.227-7013, for agenciesof the Department of Defense or their successors, whichever is applicable.
6. Use of Software in the European Community.This provision applies to all Software acquiredfor 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 CommunitiesDirective 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. Termand termination.This license is effective until terminated; however, all of the restrictions with respect to
NortelNetworks’ copyrightin the Softwareand user manuals willceasebeingeffective at the date of expirationof the
Nortel Networks copyright; those restrictions relating to use and disclosure of Nortel Networks’confidential
information shall continue in effect.Licenseemay 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 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.
iv208967-B
8. Export and Re-export. Licensee agrees not to export, directly or indirectly, the Software or related technical data
or information without first obtainingany requiredexport 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
obtainingall export licenses and approvals required by the U.S. Government: (i) export, re-export, transfer, or divert
any such Software or technicaldata, 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 restrictedor embargoed countries; or (ii) provide the Software or related technical data or informationto any
militaryend user or for any military end use, including the design,development, or production of any chemical,
nuclear, or biologicalweapons.
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, 4401 Great America Parkway,
P.O. Box 58185, Santa Clara, California 95054-8185.
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 AN D
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 WAIVEROF THE TERMS OF THIS AGREEMENT.
208967-Bv
vi208967-B
Contents
Preface
Before You Begin ............................................................................................................xxii
Text Conventions ............................................................................................................ xxii
Related Publications ...................................................................................................... xxiii
How to Get Help ............................................................................................................xxvi
Chapter 1
IP Routing and ARP Commands
IP Routing Commands ...................................................................................................1-1
config ip Commands ................................................................................................1-1
show ip Commands ..................................................................................................1-4
show ip forwarding Command ........................................................................... 1-4
show ip interface Command ..............................................................................1-4
show ip route-discovery Command ...................................................................1-4
show ip route info Command .............................................................................1-5
show ip static-route info Command ...................................................................1-5
config ethernet <ports> ip Co mmands .....................................................................1-6
show ports i nfo ip Command .............................................................................1-8
Figure 8 -3.config ip traffic-filter create info Command O utput ...................................8-7
Figure 8 -4.config ip traffic-filter filter action info Command Output ...........................8-9
Figure 8 -5.config ip traffic-filter filter match info Command Output .........................8 -11
Figure 8 -6.config ip traffic-filter filter modify info Command Output ........................8-12
Figure 8-7.config ip traffic-filter global-set info Command Output ...........................8-13
Figure 8 -8.config ip traffic-filter set info Command Output ......................................8-14
Figure 8 -9.config ip traffic-filter traffic-profile info Command Output .......................8-18
Figure 8 -10. show ip traffic-filter destination Command Output ................................. 8 -20
Figure 8 -11. show ip traffic-filter global Command Output .........................................8 -21
Figure 8-12. show ip traffic-filter info global-set Command Output ............................8-22
Figure 8 -13. show ip traffic-filter info set Command Output ....................................... 8 -23
Figure 8 -14. show ip traffic-filter interface Command Output .....................................8-23
Figure 8 -15. show ip traffic-filter stats Command Output ...........................................8-24
Figure 8 -16. show ip traffic-filter traffic-profile Command Output ...............................8-25
xviii208967-B
Tables
Table 3-1.RIP Supply and Listen Settings and Switch Action ..................................3-6
Table A-1.CLI Command List ..................................................................................A-1
208967-Bxix
xx208967-B
Preface
The Nortel Networks™Passport™command line interface (CLI) is one method
used to c onfigure and manage a Passport 8000 Series switch. The CLI, as well as
the Passport Management Software graphical user interface (GUI), allows you to
set up, configure, and manage your Passport 8000 Series switch as a layer 2
(switching) or as a layer 3 (routing) device.
This guide provides information about using the features and capabilities of the
CLI commands to perform layer 3 (routing) network management operations on
Passport sw itches.
For general information about using the features and capabilities of the CLI
commands to perform layer 2 (switching) operations, refer to Re ference for thePassport 8000 Series Command Line Interface Switching Operations. For general
information a bout networking features in Passport products, refer to NetworkingConcepts for the Passport 8000 Series Switch. For information about using the
Passport M anagement Software Device Manager and VLAN Manager, refer to
Reference for the Passport 8000 Series Management Software Switching
Operations and Reference for the Passport 8000 Series Management Software
Routing Operations.
208967-Bxxi
Reference for the Pas s port 8000 S eries Command Line Interface Routing Operations
Before You Begin
This guide is intended for network administrators with the following background:
•Basic knowledge of networks, Ethernet bridging, and IP routing
•Familiarity with networking concepts and terminology
•Basic knowledge of network topologies
Before using this guide, you must complete the following procedures. For a new
switch:
•Install the switch (see the installation guide that came with your router).
•Connect the r outer to the network (see Ge tting Started with thePassport 8600Management Software).
Text Conventions
angle brackets < >Indicate that you choose the text to enter based on the
description inside the brackets. Do not type the brackets
when entering the command.
Example: If the command syntax is:
ping <ip_address>, you enter:
ping 192.32.10.12
braces {}Indicate required elements in syntax descriptions where
there is m ore than one option. You must choose only one
of the options. Do not type the braces when entering the
command.
Example: If the command syntax is:
action <action choice> the options for
<action choice> are
brackets [ ]Indicate optional elements in syntax descriptions. Do not
type the brackets when entering the command.
Example: If the command syntax is:
show log [tail], you can enter either:
show log or show log tail.
xxii208967-B
italic textIndicates file and directory names, new terms, and book
screen textIndicates commands and system output, for example,
vertical line |Separates choices for command keywords and arguments.
Related Publications
Preface
titles.
prompts and system messages.
Example:
Passport-8600# show config verbose
Enter only one of the choices. Do not type the vertical line
when entering the command.
Example: If the command syntax is:
config cli more <true|false>, you must enter e ither:
config cli more true or config cli more false,but
not both.
For more information about using Passport M anagement S oftware or Passport
switches, refer to the following publications:
•Getting Started with the Passport 8600 Management Software
(part number 209663-B)
Outlines the procedures for installing and booting your Passport switch, as
well as instructions for installing the Passport Ma nagement Software.
•Using the Passport 8600 Modules (part number 207306-B)
Provides information about Passport 8600 modules, including descriptions of
their operational features, installation instructions, basic setup procedures,
and technical specifications.
•Installing the Passport 8010 Chassis (part num ber 204518-B)
Provides instructions in English and six other languages to install the Passport
8010 Chassis; includes technical specifications for the chassis.
208967-Bxxiii
Reference for the Pas s port 8000 S eries Command Line Interface Routing Operations
•Installing the Passport 8001PS AC Pow er Supply (part number 204519-B)
Provides instructions on installing the Passport 8001PS AC Power S upply;
includes technical specifications for the power supply.
•Reference for the Passport 8000 Series Management Software SwitchingOperations (part num ber 207414-C)
Describes how to use Device Manager to configure and m anage layer 2
(switching) functions with the Passport switch, including procedures and
illustrations of pertinent screens.
•Reference for the Passport 8000 Series Command L ine Interface SwitchingOperations (part num ber 207308-C)
Describes how to use the CLI to configure and manage layer 2 (switching)
functions with the Passport switch, including procedures and illustrations of
pertinent commands.
•Reference for the Passport 8000 Series Management Software RoutingOperations (part num ber 207415-B)
Describes how to use Device Manager to configure and m anage layer 3
(routing) functions with the Passport switch, including procedures and
illustrations of pertinent screens.
•Networking Concepts for the Passport 8000 Series Switch
(part number 207307-C)
General information and description of how the Passport 8000 Series switch
handles various networking features such as VLANs, Multi-Link Trunking,
OSPF, RIP, IPX, and so forth.
xxiv208967-B
Preface
For more information about networking concepts, protocols, and topologies, you
may want to consult the following sources:
•RFC 951 (BootP)
•RFC 1058 (RIP version 1)
•RFC 1723 (RIP version 2)
•RFC 1389 (RIP 2 Management Information Base (MIB))
•RFC 1213 (Network Management of TC P/IP MIB II)
•RFC 1493 (Bridge MIB)
•RFC 1573 (IANA If Type)
•RFC 1643 (Ether-like MIB)
•RFC 2131 (DHCP)
•RFC 2338 (VRRP)
•RFCs 1271 and 1757 (RMON)
•RFC 1850 (OSPF MIB)
•RFCs 1253, 1583 and 2178 (OSPF)
•RFCs 2474 and 2475 (DiffServ)
•RFCs 2597 and 2598 (DiffServ Per Hop Behavior)
•RFC 1112 (IGMP version 1)
•RFC 2236 (IGMP version 2)
•IEEE 802.1D (Standard f or Spanning Tree P rotocol)
•IEEE 802.3 (Ethernet)
•IEEE 802.1Q (VLAN Tagging)
•Enterprise M IB (located on the Passport 8000 Se ries Software CD)
You ca n print selected technical manuals and release notes free, directly from the
Internet. Go to the support.baynetworks.com/library/tpubs/ Web address. Find the
product for which you need documentation.Then locate the specific category and
model or version for your hardware or software product. Using Adobe Acrobat
Reader,you can open the m anuals and release notes, search f or the sections you
need, and print them on most standard printers. Go to the Adobe Systems Web
address at www.adobe.com to download a free copy of Acrobat Reader.
You ca n purchase Nortel Networks documentation sets, CDs, and selected
technical publications at www1.fatbrain.com/documentation/nortel.
208967-Bxxv
Reference for the Pas s port 8000 S eries Command Line Interface Routing Operations
How to Get Help
If you purchased a service contract for your Nortel Networks product from a
distributor or authorized reseller, contact the technical support staff for that
distributor or reseller for assistance.
If you purchased a NortelNetworks service program, contact one of the following
Nortel Networks Technical Solutions Centers:
Technical Solutions CenterTelephone
Billerica, MA800-2LANWAN or (800) 252-6926
Santa Clara, CA800-2LANWAN or (800) 252-6926
Valbonne, France33-4-92-96-69-68
Sydney, Australia61-2-9927-8800
Tokyo, Japan81-3-5740-1700
xxvi208967-B
This chapter describes the Run-Time CLI commands that are used to configure
layer 3 (routing) functions in the Passport 8000 Series switch. The chapter
includes sections about the following command groups used to configure routing
characteristics:
•IP Routing Commands
•IP ARP Commands
IP Routing Comma nds
The general IP routing commands allow you to enable and disable IP forwarding
(routing) on the switch, ports, and/or VLAN.
Chapter 1
IP Routing and ARP Commands
config ip Commands
The general config ip commands take the following syntax and format:
config ip
followed by:
infoDisplayscurrent default time-to-live characteristics
(Figure 1-1
default-ttl <seconds>Sets t he default time to live (ttl) value for a routed packet.
It is the maximum number of seconds before a packet is
discarded.
•<seconds> is a number between 1 and 255. The
208967-B1-1
).
default value of 255 is inserted in the ttl field
whenever one is not supplied in the datagram header.
Reference for the Pas s port 8000 S eries Command Line Interface Routing Operations
config ip
followed by:
forwarding disableDisables IP forwarding (routing) on the entire switch. IP
routing is disabled, allowing you to manage a Passport
switch over a network without forcing the switch t o also
perform routing.
forwarding enableEnables IP forwarding (routing) on the entire switch.
Default is enable.
forwarding infoDisplayswhether IP forwarding is enabled or disabled.
mroute infoDisplaysIP multicast route settings.
mroute interface