Nortel Networks E35 User Manual

Part No. 208967-B April 2000
4401 Great America Parkway Santa Clara, CA 95052

Reference for the Passport 8000 Series Command Line Interface Routing Operations

Copyright © 2000 Nortel Networks
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.
Portionsof the code in this software product may be Copyright © 1988, Regents of the Universityof California.All rights reserved. Redistribution and use in source and binary forms of such portions are permitted, provided that the above copyright notice and this paragraph are duplicated in all such forms and that any documentation, advertising materials, and other materialsrelated to such distributionand use acknowledge that such portionsof the softwarewere developed by the University of California, Berkeley.The name of the University may not be used to endorse or promote products derived from such portionsof the softwarewithoutspecific prior written permission.
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).
ii 208967-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-B iii
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.
iv 208967-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-B v
vi 208967-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
Brouter Ports ............................................................................................................1-8
show ports i nfo brouter-port Command .............................................................1-9
vlan ip Commands ...................................................................................................1-9
config vlan ip Commands ..................................................................................1-9
show vlan info ip Command ............................................................................1-10
IP ARP Commands ......................................................................................................1 -10
config ip arp Commands ........................................................................................1-11
show ip ar p info Command .................................................................................... 1 -12
config ether net <ports> ip ar p Commands . ...........................................................1 -13
config ether net <ports> ip Commands ............................................................1-13
show ports i nfo arp Command ........................................................................1-14
208967-B vii
config vlan ip a rp Commands ................................................................................1-15
config vlan ip arp Command ............................................................................1-15
show vlan info arp Command ..........................................................................1-16
Chapter 2 DHCP and UDP Commands
DHCP Relay Commands ................................................................................................2-1
config ip dhcp-relay Commands ...............................................................................2-2
show ip dhcp-relay Commands ................................................................................2-3
show ip dhcp-relay fwd-path Command ............................................................2-3
show ip dhcp-relay counters Command ............................................................2-3
config ether net <ports> ip dhcp-relay Commands ...................................................2-4
show ports dhcp-relay Commands ...........................................................................2-5
show ports i nfo dhcp-relay Command ...............................................................2-5
show ports stats dhcp-relay Command ............................................................. 2-5
config vlan <vid> ip dhcp-relay Commands .............................................................2-6
show vlan info dhcp-relay Command .................................................................2-7
UDP Comm ands ............................................................................................................. 2-8
config ip udpfwd protocol Commands ......................................................................2-8
config ip udpfwd portfwdlist Commands ..................................................................2-9
config ip udpfwd i nterface Commands .....................................................................2-9
show ip udpfwd Commands ...................................................................................2-10
show ip udpfwd i nterface info Command ......................................................... 2-10
show ip udpfwd portfwd info Comma nd ........................................................... 2-10
show ip udpfwd portfwdlist info Comma nd ......................................................2-11
show ip udpfwd protocol info Command .......................................................... 2-11
Chapter 3 RIP and OSPF Commands
RIP Commands ..............................................................................................................3-1
config ip rip Commands ...........................................................................................3-1
show ip rip Commands ............................................................................................3-3
show ip rip info Command .................................................................................3-3
show ip rip interface Command .........................................................................3-4
config e thernet <por ts> ip rip Commands ................................................................3-4
show ports i nfo rip Command ............................................................................3-7
viii 208967-B
config vlan <vid> ip rip Commands ..........................................................................3-8
show vlan info r ip Command ...........................................................................3 -10
OSPF Commands ........................................................................................................3-10
config ip ospf Commands .......................................................................................3-10
config ip ospf Commands ................................................................................ 3 -11
config ip ospf host-route Commands ...............................................................3-12
config ip ospf interface Commands .................................................................3-13
config ip ospf area Commands ........................................................................3-15
config ip ospf area range Commands .............................................................. 3-16
config ip ospf area virtual-interface Commands ..............................................3-17
show ip ospf Commands ........................................................................................3-19
show ip ospf area Command ...........................................................................3-19
show ip ospf ase Command ............................................................................3-19
show ip ospf default-metric Command ............................................................ 3 -20
show ip ospf host-route Command ..................................................................3-20
show ip ospf ifstats Command .........................................................................3 -21
show ip ospf info Command ............................................................................3 -21
show ip ospf interface Command ....................................................................3-22
show ip ospf int-timers Command ...................................................................3-22
show ip ospf lsdb Command ...........................................................................3-23
show ip ospf neighbors Command ..................................................................3-25
show ip ospf range Command .........................................................................3 -26
show ip ospf statsCommand ..........................................................................3-26
config e thernet <por ts> ip ospf Commands ...........................................................3-27
show ports o spf Commands ..................................................................................3-29
show ports e rror ospf Command .....................................................................3-29
show ports i nfo ospfCommand .......................................................................3-30
show ports stats ospf main Command ............................................................3-30
show ports stats ospf extended Command .....................................................3 -31
config vlan <vid> ip ospf Commands .....................................................................3-31
show vlan info ospf C ommand ........................................................................ 3 -33
208967-B ix
Chapter 4 VRRP Commands
VRRP Commands ..........................................................................................................4-1
config e thernet <por ts> ip vrrp Commands .............................................................4-1
show port vrrp Commands .......................................................................................4-3
show ports i nfo vrrp main Command .................................................................4-3
show ports info vrrp extended Command ..........................................................4-3
show ports stats vrrp Command ........................................................................ 4-3
config vlan <vid> ip vrrp Commands ........................................................................4-4
show vlan v rrp Commands ...................................................................................... 4-5
show vlan info vrrp main Command ..................................................................4-5
show vlan info vrrp extended Command ........................................................... 4-6
show ip vrrp Commands ..........................................................................................4-6
show ip vrrp info Command ............................................................................... 4-6
show ip vrrp stats Command .............................................................................4-7
Chapter 5 IP Multicast Commands
IP Multicast Commands .................................................................................................. 5-1
config ip mroute Commands ....................................................................................5-1
show ip mroute Commands .....................................................................................5-2
show ip mroute interface Command ..................................................................5-2
show ip mroute next-hop Command ..................................................................5-2
show ip mroute route Command .......................................................................5-3
show ports stats routing Command ...................................................................5-3
DVMRP Commands .......................................................................................................5-4
config ip dvmrp Commands .....................................................................................5-4
config ip dvmrp Commands ...............................................................................5-4
config ip dvmrp interface Commands ................................................................5-6
show ip dvmrp Commands ......................................................................................5-6
show ip dvmrp info Command ...........................................................................5-6
show ip dvmrp interfaceCommand ...................................................................5-7
show ip dvmrp neighbor Command ................................................................... 5-8
show ip dvmrp next-hop Command ...................................................................5-8
show ip dvmrp route Command .........................................................................5-9
config e thernet <por ts> ip dvmrp Commands ..........................................................5-9
x 208967-B
show ports i nfo dvmrp Command .......................................................................... 5 -10
config vlan <vid> ip dvmrp Commands ..................................................................5-11
show vlan info dvmrp Command .....................................................................5 -12
Layer 3 IGMP Commands ............................................................................................5-12
config ip l3-igmp Commands ..................................................................................5-13
config ip l3-igmp interface Commands ............................................................5 -13
show ip l3-igmp Commands ................................................................................... 5-14
show ip l3-igmp cache Co mmand ...................................................................5 -14
show ip l3-igmp group Command ....................................................................5 -14
show ip l3-igmp interface Command ...............................................................5-15
config ether net <ports> ip l3-igmp Commands ......................................................5-16
show ports i nfo l3-igmp Command ..................................................................5 -17
config vlan <vid> ip l3-igmp Commands ................................................................5-18
show vlan info l3-igmp Command ...................................................................5-19
Chapter 6 IPX Commands
IPX Commands ..............................................................................................................6-1
config ipx Commands ...............................................................................................6-2
config vlan <vid> ipx Commands .............................................................................6-4
config ipx set Commands .........................................................................................6-4
config ipx static-route Commands ............................................................................6-6
config ipx rip Commands .........................................................................................6-7
config ipx rip info Command ..............................................................................6-7
config ipx rip default Commands .......................................................................6-7
config ipx rip Commands ...................................................................................6-8
config ipx sap Commands ........................................................................................6-8
config ipx sap info Command ............................................................................6-8
config ipx sap default Commands .....................................................................6-9
config ipx sap Commands ...............................................................................6-10
208967-B xi
show ipx C ommands ..............................................................................................6-11
show ipx config Command ..............................................................................6-11
show ipx default Command .............................................................................6-12
show ipx route Command ................................................................................ 6 -12
show ipx sap Command ..................................................................................6-13
show ipx stats Command ................................................................................ 6 -14
show vlan info ipx Command ...........................................................................6-15
Chapter 7 Policies Commands
IP Policies .......................................................................................................................7-1
config ip policy Commands ...................................................................................... 7-1
config ip policy addrlist Commands ...................................................................7-2
config ip policy netlist Commands .....................................................................7-3
config ip policy ospf Commands ........................................................................7-4
config ip policy ospf accept Com mands ............................................................7-4
config ip policy o sp f announce Commands .......................................................7-6
config ip policy rip Commands ...........................................................................7-8
config ip policy rip accept Commands ...............................................................7-8
config ip policy rip announce Co mmands ........................................................7-10
show ip policy Commands .....................................................................................7 -12
show ip policy addrlist info Command .............................................................7-12
show ip policy netlist info Command ...............................................................7-13
show ip policy ospf acceptinfo Command ......................................................7-13
show ip policy ospf acceptlists Command ......................................................7-14
show ip policy ospf accept match network Command .....................................7-14
show ip policy ospf announce info Command .................................................7-15
show ip policy ospf announce lists Command .................................................7-15
show ip policy ospf announce match ne twork Command ................................7-16
show ip policy rip accept info Command .........................................................7-16
show ip policy rip accept lists Command .........................................................7-17
show ip policy rip acceptmatch network Command ........................................ 7 -17
show ip policy rip announce info Command ....................................................7-18
show ip policy r ip announce lists Command ....................................................7-18
show ip policy rip announce match network Command ..................................7-18
xii 208967-B
Chapter 8 IP QoS and Traffic Filter Commands
IP QoS Commands .........................................................................................................8-1
config qos Commands .............................................................................................8-3
show qos queue Command .....................................................................................8-4
IP Traffic Filters ............................................................................................................... 8-5
config ip traffic-filter Commands ...............................................................................8-6
config ip traffic-filter Commands ........................................................................8-6
config ip traffic-filter create Commands .............................................................8-7
config ip traffic-filter filter Commands ................................................................8-8
config ip traffic-filter filter <fid> action Commands .............................................8-8
config ip traffic-filter filter <fid> match Commands .............................................8-9
config ip traffic-filter filter <fid> modify Commands ..........................................8-11
config ip traffic-filter global-set Commands ......................................................8-13
config ip traffic-filter set Commands ................................................................8-13
config ip traffic-filter traffic-profile <pid> Com mands .......................................8-14
Implementation of Rate Limiting in the Passport 8000 Series Switch .............8-15
config e thernet <por ts> ip traffic-filter Commands .................................................8-18
show ip traffic-filter Commands ..............................................................................8-19
show ip traffic-filter active Command ...............................................................8-19
show ip traffic-filter destination Command ....................................................... 8 -19
show ip traffic-filter disabled Command ........................................................... 8 -20
show ip traffic-filter enabled Command ...........................................................8-20
show ip traffic-filter global Command ..............................................................8-21
show ip traffic-filter info global-set Command .................................................. 8 -21
show ip traffic-filter info set Command ............................................................8 -22
show ip traffic-filter interface Command .......................................................... 8 -23
show ip traffic-filter source Command .............................................................8-23
show ip traffic-filter stats Command ................................................................8-24
show ip traffic-filter traffic-profile info Command ..............................................8-24
Appendix A CLI Command List
Index
208967-B xiii
xiv 208967-B

Figures

Figure 1 -1. config ip info Command Output ...............................................................1-3
Figure 1 -2. config ip static-route info Command Output .............................................1-3
Figure 1 -3. show ip forwarding Command Output ......................................................1-4
Figure 1 -4. show ip interface Command Output .........................................................1-4
Figure 1 -5. show ip route info Command Output .......................................................1-5
Figure 1 -6. show ip static-route info Command Output ..............................................1-6
Figure 1 -7. config ethernet ip info Comm and Output .................................................1-7
Figure 1 -8. show ports info ip Command Output ....................................................... 1-8
Figure 1 -9. show ports info brouter-port Command Output .......................................1-9
Figure 1 -10. config vlan ip info Command Output ...................................................... 1 -10
Figure 1 -11. show vlan info ip Command Output ....................................................... 1 -10
Figure 1 -12. config ip arp info Command (Partial Output) .........................................1-12
Figure 1 -13. show ip ar p info Command Output ........................................................1-13
Figure 1 -14. config ethernet ip ar p-response info Command Output ......................... 1 -14
Figure 1 -15. show ports info arp Command (Partial Output) .....................................1-14
Figure 1 -16. config vlan ip proxy i nfo Command Output ............................................1-15
Figure 1 -17. show vlan info arp Command Output ....................................................1-16
Figure 2-1. show ip dhcp-relay counters Comm and Output .......................................2-3
Figure 2 -2. config ethernet ip dhcp-relay info Command Output ...............................2-4
Figure 2 -3. show ports info dhcp-relay Command (Partial O utput) ............................ 2-5
Figure 2 -4. show ports statsdhcp-relay Command (Partial Output) ..........................2-6
Figure 2 -5. config vlan ip dhcp-relay info Command Output ...................................... 2-7
Figure 2 -6. show vlan info dhcp-relayCommand Output ...........................................2-7
Figure 2-7. show ip udpfwd interface in fo Command Output ...................................2-10
Figure 2-8. show ip udpfwd portfwd info Command Output .. ...................................2-11
Figure 2-9. show ip udpfwd protocol info Command Output ....................................2-12
208967-B xv
Figure 3 -1. config ip rip info Command Output ..........................................................3-3
Figure 3 -2. show ip rip Command Output .................................................................. 3-3
Figure 3 -3. show ip rip interface Command Output ...................................................3-4
Figure 3 -4. config ethernet ip rip info Command Output ............................................3-6
Figure 3 -5. show ports info rip Command (Partial Output) .........................................3-7
Figure 3 -6. config vlan ip rip info Command Output ...................................................3-9
Figure 3 -7. show vlan info rip Command Output ......................................................3-10
Figure 3 -8. config ip ospf info Command Output ......................................................3-12
Figure 3 -9. config ip ospf interface info Command Output .......................................3 -15
Figure 3 -10. config ip ospf area info Command O utput .............................................3-16
Figure 3 -11. show ip ospf area Command Output .....................................................3-19
Figure 3 -12. show ip ospf ase Command Output .......................................................3-20
Figure 3 -13. show ip ospf default-metric Command Output ....................................... 3 -20
Figure 3 -14. show ip ospf ifstats Command Output ...................................................3 -21
Figure 3 -15. show ip ospf info Command Output .......................................................3-21
Figure 3 -16. show ip ospf interface Command Output ...............................................3-22
Figure 3 -17. show ip ospf int-timers Command Output ..............................................3 -22
Figure 3 -18. show ip ospf lsdb Command Output ......................................................3-23
Figure 3 -19. show ip ospf lsdb detail Command Output ............................................3-25
Figure 3-20. show ospf neighbors Command O ut put .................................................3-25
Figure 3 -21. show ip ospf stats Command O utput .....................................................3 -26
Figure 3 -22. config ethernet ip ospf infoCommand Output .......................................3-29
Figure 3 -23. show ports errorospf Command Output ................................................3-29
Figure 3 -24. show ports info ospf Command (Partial Output) ....................................3 -30
Figure 3 -25. show ports statsospf main Command Output ....................................... 3 -31
Figure 3 -26. config vlan ip ospf info Command Output ..............................................3-33
Figure 3 -27. show vlan info ospf Command Output ................................................... 3-33
Figure 4 -1. config ethernet ports ip vrr p info Co mmand Output .................................4-2
Figure 4-2. show ports info vrrp extended Com mand Out put ....................................4-3
Figure 4 -3. config vlan ip vrr p info Command Output ................................................4-5
Figure 4 -4. show vlan info vrrp main Command Output .............................................4-5
Figure 4-5. show vlan info vrrp extended Command Output ......................................4-6
Figure 4 -6. show ip vrr p info Command Output ......................................................... 4-7
xvi 208967-B
Figure 5 -1. show ip m route interface Command Output ............................................5-2
Figure 5 -2. show ip m route next-hop Command Output ............................................5-2
Figure 5 -3. show ip m route route Command Output ..................................................5-3
Figure 5 -4. show por ts stats routing Co mmand (Partial Output) ................................5-4
Figure 5 -5. config ip dvmrp info Command Output .................................................... 5-6
Figure 5 -6. show ip dvmr p info Command Output .....................................................5-7
Figure 5 -7. show ip dvmr p interface Command O utput .............................................5-8
Figure 5 -8. show ip dvmr p next-hop Command Output .............................................5-9
Figure 5 -9. show ip dvmr p route Command Output ...................................................5-9
Figure 5 -10. config ethernet ip dvmrp info Command Output ....................................5 -10
Figure 5 -11. show ports info dvmrp Command Output ..............................................5-11
Figure 5 -12. config vlan ip dvmr p info Command Output ........................................... 5 -12
Figure 5 -13. show vlan info dvmrp Command Output ................................................ 5 -12
Figure 5 -14. show ip l3-igmp cache Command Output ..............................................5 -14
Figure 5 -15. show ip l3-igmp group CommandOutput ..............................................5-14
Figure 5 -16. show ip l3-igmp interface Command Output ..........................................5-15
Figure 5 -17. config ethernet ip l3-igmp info Command Output ..................................5-17
Figure 5 -18. show ports info 13-igmp Command (Partial Output) ..............................5-17
Figure 5 -19. config vlan ip l3-igmp info CommandOutput .........................................5-19
Figure 5 -20. show vlan info l3-igmp Command Output ..............................................5-19
Figure 6 -1. config ipx set info Command Output ........................................................6-5
Figure 6 -2. config ipx static-routeinfo Command Output ...........................................6-6
Figure 6 -3. show ipx config Command Output .........................................................6-11
Figure 6 -4. show ipx default Command Output ........................................................6 -12
Figure 6 -5. show ipx route Co mmand Output ..........................................................6-12
Figure 6 -6. show ipx sap Command O utput .............................................................6-13
Figure 6 -7. show ipx stats Co mmand Output ...........................................................6 -14
Figure 6 -8. show vlan info CommandOutput ...........................................................6-15
Figure 7 -1. config ip polic y addrlist info Command Output ........................................7-2
Figure 7 -2. config ip policy netlist info Command Output ...........................................7-3
Figure 7 -3. config ip policy ospf accept info Command Output ..................................7-5
Figure 7 -4. config ip polic y ospf announce info Command Output .............................7-7
Figure 7 -5. config ip policy rip a ccept infoCommand Ou tput .................................... 7-9
208967-B xvii
Figure 7 -6. config ip polic y rip announce info Command Output .............................7-12
Figure 7 -7. show ip policy addrlist info Command Output ........................................7-13
Figure 7 -8. show ip policy netlist info Command Output ..........................................7-13
Figure 7 -9. show ip policy ospf accept info Co mmand Output .................................7 -14
Figure 7 -10. show ip policy ospf accept lists Command Output .................................7 -14
Figure 7 -11. show ip policy ospf announce info Command Output ............................7-15
Figure 7 -12. show ip policy ospf announce lists Command Output ...........................7-15
Figure 7 -13. show ip policy r ip accept info C ommand O utput ....................................7-16
Figure 7 -14. show ip policy r ip accept lists Command Output ...................................7-17
Figure 7-15. show ip pol icy rip accept match network Command Output ..................7-17
Figure 8 -1. config qos info Command Output ............................................................ 8-4
Figure 8-2. show qos queue Command Output .........................................................8-5
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
xviii 208967-B

Tables

Table 3-1. RIP Supply and Listen Settings and Switch Action ..................................3-6
Table A-1. CLI Command List ..................................................................................A-1
208967-B xix
xx 208967-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 the Passport 8000 Series Command Line Interface Switching Operations. For general information a bout networking features in Passport products, refer to Networking Concepts 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-B xxi
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 8600 Management 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
{none|flushMacFdb|flushArp|flushIp|flushAll |triggerRipUpdate}
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.
xxii 208967-B
italic text Indicates file and directory names, new terms, and book
screen text Indicates 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-B xxiii
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 Switching Operations (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 Switching Operations (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 Routing Operations (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.
xxiv 208967-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-B xxv
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 Center Telephone
Billerica, MA 800-2LANWAN or (800) 252-6926 Santa Clara, CA 800-2LANWAN or (800) 252-6926 Valbonne, France 33-4-92-96-69-68 Sydney, Australia 61-2-9927-8800 Tokyo, Japan 81-3-5740-1700
xxvi 208967-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: info Displayscurrent 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-B 1-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 disable Disables 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 enable Enables IP forwarding (routing) on the entire switch.
Default is enable.
forwarding info Displayswhether IP forwarding is enabled or disabled. mroute info DisplaysIP multicast route settings. mroute interface
<ipaddr> info mroute interface
<ipaddr> ttl <ttl> route delete
<ipaddr/mask>
route info Displaysroute information. route-discovery
disable route-discovery enable EnablesIRDP. This command wi ll be fully implemented in
route-discovery info Displays whether route discovery is enabled or disabled. static-route create
<ipaddr/mask> next-hop <value> cost <value>
static-route delete <ipaddr/mask> next-hop <value>
DisplaysIP multicast routing interface information.
Sets the default time-to-live for the multicast route interface.
Deletes a route.
<ipaddr/mask> is the IP address and mask for the route’s destination.
Disables Internet Router Di scovery Protocol (IRDP). This command will be fully implemented in a future release.
a future release.
Adds a static or default route to the switch.
<ipaddr/mask> is the IP address and mask for the route’s destination.
next-hop <value> is the IP address of the next hop router; the next router at which packets m ust arrive on this route.
cost <value> is the metric of the route.
Deletes a static route.
<ipaddr/mask> is the IP address and mask for the route’s destination.
next-hop <value> is the IP address of the next hop router; the next router packets must arrive at on this route.
1-2 208967-B
config ip
followed by:
IP Routing and ARP Commands
static-route disable <ipaddr/mask> next-hop <value>
static-route enable <ipaddr/mask> next-hop <value>
static-route info Displayscharacteristicsof the created static route.
Disables a static route.
<ipaddr/mask> is the IP address and mask for the route’s destination.
next-hop <value> is the IP address of the next hop router; the next router at which packets m ust arrive on this route.
Enables a static route.
<ipaddr/mask> is the IP address and mask for the route’s destination.
next-hop <value> is the IP address of the next hop router; the next router at which packets m ust arrive on this route.
Figure 1-1 shows config ip info output.
Passport-8610/config/ip# info
Sub-Context: arp dhcp-relay dvmrp forwarding l3-igmp mroute ospf policy rip route route-discovery static-route traffic-filter udpfwd Current Context:
default-ttl : 255
Figure 1-1.
config ip info
Command Output
Figure 1-2 shows config ip static-route info command output.
Passport-8610# config ip static-route info
create :
next-hop - 10.10.40.1
status - ACTIVE enable - TRUE
disable : N/A
delete : N/A enable : N/A
Figure 1-2.
208967-B 1-3
config ip static-route info
- 0.0.0.0/0.0.0.0
cost - 1
Command Output
Reference for the Pas s port 8000 S eries Command Line Interface Routing Operations

show ip Commands

These commands display the ge neral IP characteristics of the switch.
show ip forwarding Com m and
The
show ip forwarding command displays the status of IP forwarding(routing)
on the switch. Figure 1-3 is a sample display.
Passport-8610# show ip forwarding
IP Forwarding is enabled IP Default TTL is 255 seconds IP ARP life time is 360 seconds
Figure 1-3.
show ip forwarding
Command Output
show ip interface Command
The
show ip interface command displays the IP interfaces on the switch.
Figure 1-4
Passport-8610# show ip interface
================================================================================
================================================================================ INTERFACE IP NET BCASTADDR REASM VLAN BROUTER
-------------------------------------------------------------------------------­Port9/1 1.2.3.4 255.0.0.0 ones 1500 1000 true Port9/13 5.5.5.5 255.0.0.0 ones 1500 5 true
Figure 1-4.
ADDRESS MASK FORMAT MAXSIZE ID PORT
show ip interface
is a sa mple display.
Ip Interface
Command Output
show ip route-discovery Command
The
show ip route-discovery command shows whether or not route discovery
is enabled on the device.
1-4 208967-B
Loading...
+ 164 hidden pages