Juniper IGP - CONFIGURATION GUIDE V11.1.X Configuration manual

Category
Software manuals
Type
Configuration manual
JUNOSe Software
for E Series Broadband Services Routers
IP, IPv6, and IGP Configuration Guide
Release 11.1.x
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Published: 2010-03-28
Juniper Networks, the Juniper Networks logo, JUNOS, NetScreen, ScreenOS, and Steel-Belted Radius are registered trademarks of Juniper Networks, Inc. in
the United States and other countries. JUNOSe is a trademark of Juniper Networks, Inc. All other trademarks, service marks, registered trademarks, or
registered service marks are the property of their respective owners.
Juniper Networks assumes no responsibility for any inaccuracies in this document. Juniper Networks reserves the right to change, modify, transfer, or
otherwise revise this publication without notice.
Products made or sold by Juniper Networks or components thereof might be covered by one or more of the following patents that are owned by or licensed
to Juniper Networks: U.S. Patent Nos. 5,473,599, 5,905,725, 5,909,440, 6,192,051, 6,333,650, 6,359,479, 6,406,312, 6,429,706, 6,459,579, 6,493,347,
6,538,518, 6,538,899, 6,552,918, 6,567,902, 6,578,186, and 6,590,785.
JUNOSe Software for E Series Broadband Services Routers IP, IPv6, and IGP Configuration Guide
Release 11.1.x
Copyright © 2010, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: Mark Barnard, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer, Sairam Venugopalan, Pallavi Madhusudhan, Namrata Mehta
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
April 2010FRS JUNOSe 11.1.x
The information in this document is current as of the date listed in the revision history.
YEAR 2000 NOTICE
Juniper Networks hardware and software products are Year 2000 compliant. The JUNOS Software has no known time-related limitations through the year
2038. However, the NTP application is known to have some difficulty in the year 2036.
ii
END USER LICENSE AGREEMENT
READ THIS END USER LICENSE AGREEMENT (AGREEMENT) BEFORE DOWNLOADING, INSTALLING, OR USING THE SOFTWARE. BY DOWNLOADING,
INSTALLING, OR USING THE SOFTWARE OR OTHERWISE EXPRESSING YOUR AGREEMENT TO THE TERMS CONTAINED HEREIN, YOU (AS CUSTOMER
OR IF YOU ARE NOT THE CUSTOMER, AS A REPRESENTATIVE/AGENT AUTHORIZED TO BIND THE CUSTOMER) CONSENT TO BE BOUND BY THIS
AGREEMENT. IF YOU DO NOT OR CANNOT AGREE TO THE TERMS CONTAINED HEREIN, THEN (A) DO NOT DOWNLOAD, INSTALL, OR USE THE SOFTWARE,
AND (B) YOU MAY CONTACT JUNIPER NETWORKS REGARDING LICENSE TERMS.
1. The Parties. The parties to this Agreement are (i) Juniper Networks, Inc. (if the Customers principal office is located in the Americas) or Juniper Networks
(Cayman) Limited (if the Customers principal office is located outside the Americas) (such applicable entity being referred to herein as Juniper), and (ii)
the person or organization that originally purchased from Juniper or an authorized Juniper reseller the applicable license(s) for use of the Software (Customer)
(collectively, the Parties).
2. The Software. In this Agreement, Software means the program modules and features of the Juniper or Juniper-supplied software, for which Customer
has paid the applicable license or support fees to Juniper or an authorized Juniper reseller, or which was embedded by Juniper in equipment which Customer
purchased from Juniper or an authorized Juniper reseller. Software also includes updates, upgrades and new releases of such software. Embedded
Software means Software which Juniper has embedded in or loaded onto the Juniper equipment and any updates, upgrades, additions or replacements
which are subsequently embedded in or loaded onto the equipment.
3. License Grant. Subject to payment of the applicable fees and the limitations and restrictions set forth herein, Juniper grants to Customer a non-exclusive
and non-transferable license, without right to sublicense, to use the Software, in executable form only, subject to the following use restrictions:
a. Customer shall use Embedded Software solely as embedded in, and for execution on, Juniper equipment originally purchased by Customer from Juniper
or an authorized Juniper reseller.
b. Customer shall use the Software on a single hardware chassis having a single processing unit, or as many chassis or processing units for which Customer
has paid the applicable license fees; provided, however, with respect to the Steel-Belted Radius or Odyssey Access Client software only, Customer shall use
such Software on a single computer containing a single physical random access memory space and containing any number of processors. Use of the
Steel-Belted Radius or IMS AAA software on multiple computers or virtual machines (e.g., Solaris zones) requires multiple licenses, regardless of whether
such computers or virtualizations are physically contained on a single chassis.
c. Product purchase documents, paper or electronic user documentation, and/or the particular licenses purchased by Customer may specify limits to
Customers use of the Software. Such limits may restrict use to a maximum number of seats, registered endpoints, concurrent users, sessions, calls,
connections, subscribers, clusters, nodes, realms, devices, links, ports or transactions, or require the purchase of separate licenses to use particular features,
functionalities, services, applications, operations, or capabilities, or provide throughput, performance, configuration, bandwidth, interface, processing,
temporal, or geographical limits. In addition, such limits may restrict the use of the Software to managing certain kinds of networks or require the Software
to be used only in conjunction with other specific Software. Customers use of the Software shall be subject to all such limitations and purchase of all applicable
licenses.
d. For any trial copy of the Software, Customers right to use the Software expires 30 days after download, installation or use of the Software. Customer
may operate the Software after the 30-day trial period only if Customer pays for a license to do so. Customer may not extend or create an additional trial
period by re-installing the Software after the 30-day trial period.
e. The Global Enterprise Edition of the Steel-Belted Radius software may be used by Customer only to manage access to Customers enterprise network.
Specifically, service provider customers are expressly prohibited from using the Global Enterprise Edition of the Steel-Belted Radius software to support any
commercial network access services.
The foregoing license is not transferable or assignable by Customer. No license is granted herein to any user who did not originally purchase the applicable
license(s) for the Software from Juniper or an authorized Juniper reseller.
4. Use Prohibitions. Notwithstanding the foregoing, the license provided herein does not permit the Customer to, and Customer agrees not to and shall
not: (a) modify, unbundle, reverse engineer, or create derivative works based on the Software; (b) make unauthorized copies of the Software (except as
necessary for backup purposes); (c) rent, sell, transfer, or grant any rights in and to any copy of the Software, in any form, to any third party; (d) remove
any proprietary notices, labels, or marks on or in any copy of the Software or any product in which the Software is embedded; (e) distribute any copy of
the Software to any third party, including as may be embedded in Juniper equipment sold in the secondhand market; (f) use any locked or key-restricted
feature, function, service, application, operation, or capability without first purchasing the applicable license(s) and obtaining a valid key from Juniper, even
if such feature, function, service, application, operation, or capability is enabled without a key; (g) distribute any key for the Software provided by Juniper
to any third party; (h) use the Software in any manner that extends or is broader than the uses purchased by Customer from Juniper or an authorized Juniper
reseller; (i) use Embedded Software on non-Juniper equipment; (j) use Embedded Software (or make it available for use) on Juniper equipment that the
Customer did not originally purchase from Juniper or an authorized Juniper reseller; (k) disclose the results of testing or benchmarking of the Software to
any third party without the prior written consent of Juniper; or (l) use the Software in any manner other than as expressly provided herein.
5. Audit. Customer shall maintain accurate records as necessary to verify compliance with this Agreement. Upon request by Juniper, Customer shall furnish
such records to Juniper and certify its compliance with this Agreement.
iii
6. Confidentiality. The Parties agree that aspects of the Software and associated documentation are the confidential property of Juniper. As such, Customer
shall exercise all reasonable commercial efforts to maintain the Software and associated documentation in confidence, which at a minimum includes
restricting access to the Software to Customer employees and contractors having a need to use the Software for Customers internal business purposes.
7. Ownership. Juniper and Junipers licensors, respectively, retain ownership of all right, title, and interest (including copyright) in and to the Software,
associated documentation, and all copies of the Software. Nothing in this Agreement constitutes a transfer or conveyance of any right, title, or interest in
the Software or associated documentation, or a sale of the Software, associated documentation, or copies of the Software.
8. Warranty, Limitation of Liability, Disclaimer of Warranty. The warranty applicable to the Software shall be as set forth in the warranty statement that
accompanies the Software (the Warranty Statement). Nothing in this Agreement shall give rise to any obligation to support the Software. Support services
may be purchased separately. Any such support shall be governed by a separate, written support services agreement. TO THE MAXIMUM EXTENT PERMITTED
BY LAW, JUNIPER SHALL NOT BE LIABLE FOR ANY LOST PROFITS, LOSS OF DATA, OR COSTS OR PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES,
OR FOR ANY SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THIS AGREEMENT, THE SOFTWARE, OR ANY JUNIPER OR
JUNIPER-SUPPLIED SOFTWARE. IN NO EVENT SHALL JUNIPER BE LIABLE FOR DAMAGES ARISING FROM UNAUTHORIZED OR IMPROPER USE OF ANY
JUNIPER OR JUNIPER-SUPPLIED SOFTWARE. EXCEPT AS EXPRESSLY PROVIDED IN THE WARRANTY STATEMENT TO THE EXTENT PERMITTED BY LAW,
JUNIPER DISCLAIMS ANY AND ALL WARRANTIES IN AND TO THE SOFTWARE (WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE), INCLUDING
ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NONINFRINGEMENT. IN NO EVENT DOES JUNIPER
WARRANT THAT THE SOFTWARE, OR ANY EQUIPMENT OR NETWORK RUNNING THE SOFTWARE, WILL OPERATE WITHOUT ERROR OR INTERRUPTION,
OR WILL BE FREE OF VULNERABILITY TO INTRUSION OR ATTACK. In no event shall Junipers or its suppliers or licensors liability to Customer, whether
in contract, tort (including negligence), breach of warranty, or otherwise, exceed the price paid by Customer for the Software that gave rise to the claim, or
if the Software is embedded in another Juniper product, the price paid by Customer for such other product. Customer acknowledges and agrees that Juniper
has set its prices and entered into this Agreement in reliance upon the disclaimers of warranty and the limitations of liability set forth herein, that the same
reflect an allocation of risk between the Parties (including the risk that a contract remedy may fail of its essential purpose and cause consequential loss),
and that the same form an essential basis of the bargain between the Parties.
9. Termination. Any breach of this Agreement or failure by Customer to pay any applicable fees due shall result in automatic termination of the license
granted herein. Upon such termination, Customer shall destroy or return to Juniper all copies of the Software and related documentation in Customers
possession or control.
10. Taxes. All license fees payable under this agreement are exclusive of tax. Customer shall be responsible for paying Taxes arising from the purchase of
the license, or importation or use of the Software. If applicable, valid exemption documentation for each taxing jurisdiction shall be provided to Juniper prior
to invoicing, and Customer shall promptly notify Juniper if their exemption is revoked or modified. All payments made by Customer shall be net of any
applicable withholding tax. Customer will provide reasonable assistance to Juniper in connection with such withholding taxes by promptly: providing Juniper
with valid tax receipts and other required documentation showing Customers payment of any withholding taxes; completing appropriate applications that
would reduce the amount of withholding tax to be paid; and notifying and assisting Juniper in any audit or tax proceeding related to transactions hereunder.
Customer shall comply with all applicable tax laws and regulations, and Customer will promptly pay or reimburse Juniper for all costs and damages related
to any liability incurred by Juniper as a result of Customers non-compliance or delay with its responsibilities herein. Customers obligations under this
Section shall survive termination or expiration of this Agreement.
11. Export. Customer agrees to comply with all applicable export laws and restrictions and regulations of any United States and any applicable foreign
agency or authority, and not to export or re-export the Software or any direct product thereof in violation of any such restrictions, laws or regulations, or
without all necessary approvals. Customer shall be liable for any such violations. The version of the Software supplied to Customer may contain encryption
or other capabilities restricting Customers ability to export the Software without an export license.
12. Commercial Computer Software. The Software is commercial computer software and is provided with restricted rights. Use, duplication, or disclosure
by the United States government is subject to restrictions set forth in this Agreement and as provided in DFARS 227.7201 through 227.7202-4, FAR 12.212,
FAR 27.405(b)(2), FAR 52.227-19, or FAR 52.227-14(ALT III) as applicable.
13. Interface Information. To the extent required by applicable law, and at Customer's written request, Juniper shall provide Customer with the interface
information needed to achieve interoperability between the Software and another independently created program, on payment of applicable fee, if any.
Customer shall observe strict obligations of confidentiality with respect to such information and shall use such information in compliance with any applicable
terms and conditions upon which Juniper makes such information available.
14. Third Party Software. Any licensor of Juniper whose software is embedded in the Software and any supplier of Juniper whose products or technology
are embedded in (or services are accessed by) the Software shall be a third party beneficiary with respect to this Agreement, and such licensor or vendor
shall have the right to enforce this Agreement in its own name as if it were Juniper. In addition, certain third party software may be provided with the
Software and is subject to the accompanying license(s), if any, of its respective owner(s). To the extent portions of the Software are distributed under and
subject to open source licenses obligating Juniper to make the source code for such portions publicly available (such as the GNU General Public License
(GPL) or the GNU Library General Public License (LGPL)), Juniper will make such source code portions (including Juniper modifications, as appropriate)
available upon request for a period of up to three years from the date of distribution. Such request can be made in writing to Juniper Networks, Inc., 1194
N. Mathilda Ave., Sunnyvale, CA 94089, ATTN: General Counsel. You may obtain a copy of the GPL at http://www.gnu.org/licenses/gpl.html, and
a copy of the LGPL at http://www.gnu.org/licenses/lgpl.html.
15. Miscellaneous. This Agreement shall be governed by the laws of the State of California without reference to its conflicts of laws principles. The provisions
of the U.N. Convention for the International Sale of Goods shall not apply to this Agreement. For any disputes arising under this Agreement, the Parties
hereby consent to the personal and exclusive jurisdiction of, and venue in, the state and federal courts within Santa Clara County, California. This Agreement
constitutes the entire and sole agreement between Juniper and the Customer with respect to the Software, and supersedes all prior and contemporaneous
iv
agreements relating to the Software, whether oral or written (including any inconsistent terms contained in a purchase order), except that the terms of a
separate written agreement executed by an authorized Juniper representative and Customer shall govern to the extent such terms are inconsistent or conflict
with terms contained herein. No modification to this Agreement nor any waiver of any rights hereunder shall be effective unless expressly assented to in
writing by the party to be charged. If any portion of this Agreement is held invalid, the Parties agree that such invalidity shall not affect the validity of the
remainder of this Agreement. This Agreement and associated documentation has been written in the English language, and the Parties agree that the English
version will govern. (For Canada: Les parties aux présentés confirment leur volonté que cette convention de même que tous les documents y compris tout
avis qui s'y rattaché, soient redigés en langue anglaise. (Translation: The parties confirm that this Agreement and all related documentation is and will be
in the English language)).
v
vi
Abbreviated Table of Contents
About the Documentation xxi
Part 1 Internet Protocol
Chapter 1 Configuring IP 3
Chapter 2 Configuring IPv6 125
Chapter 3 Configuring Neighbor Discovery 193
Part 2 Internet Protocol Routing
Chapter 4 Configuring RIP 205
Chapter 5 Configuring OSPF 241
Chapter 6 Configuring IS-IS 325
Part 3 Index
Index 417
Abbreviated Table of Contents vii
viii
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Table of Contents
About the Documentation xxi
E Series and JUNOSe Documentation and Release Notes ..............................xxi
Audience ......................................................................................................xxi
E Series and JUNOSe Text and Syntax Conventions .....................................xxi
Obtaining Documentation ..........................................................................xxiii
Documentation Feedback ...........................................................................xxiii
Requesting Technical Support .....................................................................xxiii
Self-Help Online Tools and Resources ..................................................xxiv
Opening a Case with JTAC ....................................................................xxiv
Part 1 Internet Protocol
Chapter 1 Configuring IP 3
Overview .........................................................................................................3
IP Packets .................................................................................................4
IP Functions ..............................................................................................4
Moving Data Between Layers .............................................................4
Routing Datagrams to Remote Hosts ..................................................4
Fragmenting and Reassembling Datagrams .......................................4
IP Layering ................................................................................................5
Network Interface Layer .....................................................................5
Internet Layer .....................................................................................5
Transport Layer ..................................................................................5
Application Layer ...............................................................................5
Platform Considerations ..................................................................................6
References ......................................................................................................6
IP Features ......................................................................................................7
IP Addressing ..................................................................................................7
Physical and Logical Addresses .................................................................7
Internet Addresses ....................................................................................8
Subnetwork Mask Format Options ............................................................9
Subnet Addressing ....................................................................................9
Classless Addressing with CIDR ..............................................................10
Adding and Deleting Addresses ..............................................................11
Adding a Primary Address ................................................................11
Deleting a Primary Address ..............................................................12
Adding a Secondary (Multinet) Address ............................................12
Deleting a Secondary Address ..........................................................12
Table of Contents ix
ip address Command .......................................................................12
Indirect Next-Hop Support .............................................................................13
Before You Configure IP ................................................................................14
Creating a Profile ...........................................................................................14
Assigning a Profile ..................................................................................17
Address Resolution Protocol ..........................................................................18
How ARP Works .....................................................................................18
MAC Address Validation ..........................................................................22
Broadcast Addressing ....................................................................................23
Broadcast Tasks ......................................................................................24
Fragmentation ...............................................................................................24
IP Routing .....................................................................................................25
Routing Information Tables ....................................................................25
Setting the Administrative Distance for a Route ......................................27
Setting the Metric for a Route .................................................................29
Routing Operations .................................................................................29
Identifying a Router Within an Autonomous System ...............................29
Establishing a Static Route ......................................................................29
Configuring Static Routes with Indirect Next Hops ..................................30
Verifying Next Hops for Static Routes .....................................................31
How BFD Next-Hop Verification Works ............................................31
BFD Next Hop Verification Configuration Example ..........................32
How RTR Next-Hop Verification Works ............................................33
RTR Configuration Example .............................................................33
Configuring RTR Next-Hop Verification ............................................34
Setting Up Default Routes .......................................................................39
Setting Up an Unnumbered Interface ......................................................39
Adding a Host Route to a Peer on a PPP Interface ..................................39
Enabling Source Address Validation ........................................................40
Enabling Source Address Validation Traps ..............................................40
Defining TCP Maximum Segment Size ....................................................41
Setting MSS for TCP Connections ............................................................41
Configuring IP Path MTU Discovery ........................................................42
Enabling PMTU Discovery ................................................................42
Limiting PMTU .................................................................................43
Specifying Black Hole Thresholds .....................................................44
Shutting Down an IP Interface ................................................................44
Removing the IP Configuration ...............................................................44
Clearing IP Routes ...................................................................................45
Clearing IP Interfaces ..............................................................................45
Setting a Baseline ....................................................................................46
Disabling Forwarding of Packets .............................................................46
Enabling Forwarding of Source-Routed Packets ......................................46
Forcing an Interface to Appear Up ..........................................................47
Specifying a Debounce Time ...................................................................47
Adding a Description ..............................................................................48
Enabling Link Status Traps ......................................................................48
Configuring the Speed .............................................................................49
Configuring Equal-Cost Multipath Load Sharing ......................................49
Defining Maximum Paths .................................................................49
Round-Robin Mode ...........................................................................49
x Table of Contents
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Fast Reroute Protection ....................................................................50
Setting a TTL Value .................................................................................51
Protecting Against TCP RST or SYN DoS Attacks .....................................51
Preventing TCP PAWS Timestamp DoS Attacks ......................................52
Protecting Against TCP Out of Order DoS Attacks ...................................53
Limiting Buffers per Router ..............................................................53
Limiting Buffers per Virtual Router ...................................................54
Limiting Buffers per Connection .......................................................55
Distributing Routing Table Updates to Line Modules ...............................55
IP Tunnel Routing Table ..........................................................................56
Shared IP Interfaces ......................................................................................56
Configuring Shared IP Interfaces .............................................................57
Moving IP Interfaces ...............................................................................59
IP Shared Interface Statistics ...................................................................59
Subscriber Interfaces ..............................................................................59
Internet Control Message Protocol .................................................................59
ICMP Tasks .............................................................................................60
Specifying a Source Address for ICMP Messages .....................................61
Reachability Commands ................................................................................62
Response Time Reporter ...............................................................................65
Configuration Tasks ................................................................................65
Configuring the Probe Type ....................................................................66
Configuring Optional Characteristics .......................................................67
Capturing Statistics ...........................................................................69
Collecting History .............................................................................70
Setting the Receiving Interface .........................................................70
Setting Reaction Conditions ....................................................................70
Scheduling the Probe ..............................................................................72
Shutting Down the Probe ........................................................................73
Monitoring RTR ......................................................................................74
Monitoring IP ................................................................................................79
System Event Logs ..................................................................................79
Establishing a Baseline ............................................................................80
IP show Commands ................................................................................81
Chapter 2 Configuring IPv6 125
IPv6 Overview .............................................................................................125
IPv6 Packet Headers .............................................................................126
IPv4 and IPv6 Header Differences ..................................................126
Standard IPv6 Headers ...................................................................127
Extension Headers .........................................................................127
IPv6 Addressing ....................................................................................128
Address Representation ..................................................................128
Address Types ................................................................................129
Address Scope ................................................................................130
Address Structure ...........................................................................130
ICMP Support .................................................................................131
IPv6 Tunnel Routing Table ....................................................................131
Table of Contents xi
Table of Contents
Indirect Next Hop Support ....................................................................131
Platform Considerations ..............................................................................132
References ..................................................................................................133
Before You Configure IPv6 ..........................................................................133
Configuring an IPv6 License ........................................................................134
Creating an IPv6 Profile ...............................................................................134
Assigning a Profile .......................................................................................137
Enabling Source Address Validation ............................................................137
Establishing a Static Route ..........................................................................138
Specifying an IPv6 Hop Count Limit ............................................................138
Managing IPv6 Interfaces ............................................................................139
Configuring Shared IPv6 Interfaces .............................................................141
Adding a Description ...................................................................................143
IPv6 TCP Configuration ...............................................................................143
Setting MSS for TCP Connections ..........................................................143
Configuring Path MTU Discovery ..........................................................144
Enabling PMTU Discovery ..............................................................144
Limiting PMTU ...............................................................................145
Specifying Black Hole Thresholds ...................................................146
Protecting Against TCP RST or SYN DoS Attacks ...................................146
Preventing TCP PAWS Timestamp DoS Attacks ....................................147
Protecting Against TCP Out of Order DoS Attacks .................................148
Limiting Buffers per Router ............................................................148
Limiting Buffers per Virtual Router .................................................149
Limiting Buffers per Connection .....................................................149
Configuring Equal-Cost Multipath Load Sharing ...........................................150
Hashed Mode ........................................................................................150
Defining Maximum Paths ...............................................................150
Fast Reroute Protection ........................................................................151
Removing an IPv6 Configuration .................................................................151
Clearing IPv6 Routes ...................................................................................152
Creating Static IPv6 Neighbors ....................................................................152
Clearing Dynamic IPv6 Neighbors ...............................................................152
Monitoring IPv6 ...........................................................................................153
System Event Logs ................................................................................153
Establishing a Baseline ..........................................................................153
IPv6 show Commands ..........................................................................155
Chapter 3 Configuring Neighbor Discovery 193
Overview .....................................................................................................193
Platform Considerations ..............................................................................194
References ..................................................................................................194
Before You Configure Neighbor Discovery ...................................................194
Configuring Neighbor Discovery ..................................................................195
Using IPv6 Profiles and RADIUS to Configure Neighbor Discovery Route
Advertisements ..............................................................................196
IPv6 Profile-Based Configuration ....................................................196
RADIUS-Based Configuration ..........................................................197
Configuring Proxy Neighbor Advertisements ...............................................200
xii Table of Contents
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Configuring Duplicate Address Detection Attempts .....................................201
Monitoring Neighbor Discovery ...................................................................202
Part 2 Internet Protocol Routing
Chapter 4 Configuring RIP 205
Overview .....................................................................................................205
RIP Metric .............................................................................................205
RIP Messages ........................................................................................206
Platform Considerations ..............................................................................206
References ..................................................................................................207
Features ......................................................................................................207
Route Tags ............................................................................................207
Authentication ......................................................................................207
Subnet Masks ........................................................................................208
Next Hop ..............................................................................................209
Multicasting ..........................................................................................209
Route Summaries .................................................................................209
Split Horizon .........................................................................................210
Equal-Cost Multipath .............................................................................210
Applying Route Maps ............................................................................210
Before You Run RIP .....................................................................................210
Configuration Tasks .....................................................................................210
Relationship Between address and network Commands .......................213
Enabling RIP on Dynamic IP Interfaces .......................................................223
Clearing Dynamic RIP Interfaces .................................................................223
Using RIP Routes for Multicast RPF Checks .................................................224
Configuring the BFD Protocol for RIP ..........................................................224
Remote Neighbors .......................................................................................226
Monitoring RIP ............................................................................................229
debug Commands .................................................................................230
show Commands ..................................................................................230
Chapter 5 Configuring OSPF 241
Overview .....................................................................................................242
OSPF Terms ..........................................................................................242
Platform Considerations ..............................................................................245
References ..................................................................................................246
Features ......................................................................................................246
Intra-area, Interarea, and External Routes ............................................246
Routing Priority ..............................................................................247
Virtual Links ..........................................................................................247
Authentication ......................................................................................247
Opaque LSAs ........................................................................................248
Route Leakage ......................................................................................248
Equal-Cost Multipath .............................................................................248
Table of Contents xiii
Table of Contents
OSPF MIB .............................................................................................248
Interacting with Other Routing Protocols ..............................................248
Implementing OSPF for IPv6 ................................................................249
Understanding the OSPFv3 Difference ...........................................249
Supported LSA Types .....................................................................250
Unsupported OSPF Components ....................................................250
OSPF Configuration Tasks ...........................................................................251
Starting OSPF ..............................................................................................251
Enabling OSPFv2 ..................................................................................251
Enabling OSPFv3 ..................................................................................252
Creating a Range of OSPF Interfaces .....................................................252
Creating a Single OSPFv2 Interface .......................................................254
Specifying an OSPF Router ID ...............................................................255
Aggregating OSPF Networks ........................................................................256
Configuring OSPF Interfaces ........................................................................257
address Commands ..............................................................................258
ip ospf and ipv6 ospf Commands .........................................................261
Comparison Example ...........................................................................265
Precedence of Commands ....................................................................266
Configuring OSPF Areas ..............................................................................266
Optimizing the Cost to Reach a Range of OSPF Routers Within an Area .....270
Configuring Authentication ..........................................................................272
Authentication Requirements ...............................................................272
Configuring the BFD Protocol for OSPF .......................................................276
Configuring Additional Parameters ..............................................................278
Methods for Calculating OSPF Interface Cost ........................................287
Default Metrics ......................................................................................288
Configuring OSPF for NBMA Networks ........................................................288
Traffic Engineering ......................................................................................290
Configuring OSPF for Traffic Engineering .............................................290
Using OSPF Routes for Multicast RPF Checks ..............................................291
OSPF and BGP/MPLS VPNs ..........................................................................292
Remote Neighbors .......................................................................................292
Remote Neighbors and Sham Links ......................................................296
Configuring OSPF Graceful Restart ..............................................................296
Disabling and Reenabling Incremental SPF .................................................299
Configuring OSPF Traps ..............................................................................299
Neighbor Uptime Tracking ..........................................................................300
Monitoring OSPF .........................................................................................300
debug Commands .................................................................................300
show Commands ..................................................................................302
Chapter 6 Configuring IS-IS 325
Overview .....................................................................................................325
IS-IS Terms ...........................................................................................326
ISO Network Layer Addresses ...............................................................328
Level 1 Routing ..............................................................................328
Level 2 Routing ..............................................................................328
Dynamic Hostname Resolution .............................................................328
xiv Table of Contents
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Authentication ......................................................................................329
Simple Authentication ....................................................................329
HMAC MD5 Authentication ............................................................330
MD5 Authentication Example .........................................................330
Specifying MD5 Start and Stop Timing ...........................................331
Halting MD5 Authentication ...........................................................332
Managing and Replacing MD5 Keys ...............................................332
Enabling and Disabling Authentication of CSNPs and PSNPs ..........332
Extensions for Traffic Engineering ........................................................333
Integrated IS-IS .....................................................................................334
Equal-Cost Multipath .............................................................................334
Static PPP Interfaces .............................................................................334
Route Tags ............................................................................................334
Route Tag Applications ...................................................................334
Route Tag Structure ........................................................................335
Setting Route Tags ..........................................................................335
Using Route Tags ............................................................................336
Unsupported Features ....................................................................336
Table Maps ...........................................................................................337
Graceful Restart ....................................................................................337
Features .........................................................................................337
How Graceful Restart Works ...........................................................338
IS-IS for IPv6 .........................................................................................339
Platform Considerations ..............................................................................339
References ..................................................................................................339
Features ......................................................................................................340
Before You Run IS-IS ...................................................................................341
Configuration Tasks .....................................................................................341
Enabling IS-IS for IP Routing .......................................................................341
Summary Example ...............................................................................343
Enabling and Configuring IS-IS for IPv6 Routing ..........................................343
Summary Example ...............................................................................345
Configuring IS-IS Interface-Specific Parameters ...........................................346
Configuring Authentication ...................................................................346
Configuring Link-State Metrics ..............................................................347
Configuring a Reference Bandwidth to Set a Default Metric ..................347
Setting the CSNP Interval ......................................................................348
Configuring Hello Packet Parameters ....................................................348
Padding IS-IS Hello Packets ...................................................................350
Configuring LSP Parameters .................................................................350
Setting the Designated Router Priority ..................................................351
Configuring Passive Interfaces ..............................................................352
Configuring Adjacency ..........................................................................353
Configuring Route Tags for IS-IS Interfaces ...........................................354
Configuring Point-to-Point-over-LAN Circuits .........................................355
Summary Example ...............................................................................356
Configuring Global IS-IS Parameters ............................................................357
Setting Authentication Passwords .........................................................357
Configuring Authentication of CSNPs and PSNPs ..................................358
Configuring Redistribution ....................................................................359
Redistributing Routes Between Levels ...................................................362
Table of Contents xv
Table of Contents
Controlling Granularity of Routing Information .....................................364
Configuring a Global Default Metric ......................................................364
Configuring Metric Type .......................................................................365
Setting the Administrative Distance ......................................................366
Configuring Default Routes ...................................................................367
Setting Router Type ..............................................................................368
Summarizing Routes .............................................................................368
Avoiding Transient Black Holes .............................................................369
Waiting for BGP Convergence ........................................................370
Example Topology ..........................................................................370
Suppression for IS-IS Graceful Restart .............................................371
Configuration .................................................................................371
Ignoring LSP Errors ...............................................................................372
Logging Adjacency State Changes .........................................................373
Configuring LSP Parameters .................................................................373
Specifying the SPF Interval ...................................................................375
Defining the SPF Route Calculation Level ..............................................376
Setting CLNS Parameters ......................................................................377
Setting the Maximum Parallel Routes ...................................................378
Configuring a Virtual Multiaccess Network ............................................378
Configuring Table Maps ........................................................................379
Configuring Graceful Restart .................................................................379
Summary Example ...............................................................................383
Configuring IS-IS for MPLS ..........................................................................383
Using IS-IS Routes for Multicast RPF Checks ................................................385
Configuring the BFD Protocol for IS-IS .........................................................385
Disabling the IS-IS Protocol .........................................................................386
Monitoring IS-IS ...........................................................................................387
System Event Logs ................................................................................387
Monitoring IS-IS Parameters .................................................................388
Displaying CLNS ...................................................................................400
Part 3 Index
Index ...........................................................................................................417
xvi Table of Contents
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
List of Figures
Part 1 Internet Protocol
Chapter 1 Configuring IP 3
Figure 1: TCP/IP Conceptual Layers .................................................................5
Figure 2: IP Address Classes ............................................................................8
Figure 3: Basic Network Masking ...................................................................10
Figure 4: Subnetting ......................................................................................10
Figure 5: Routing With and Without CIDR .....................................................11
Figure 6: Direct Next Hops ............................................................................13
Figure 7: Indirect Next Hops .........................................................................13
Figure 8: Sample ARP Process1 through 3 .................................................19
Figure 9: Sample ARP Process4 and 5 .......................................................19
Figure 10: Routers in a Small Network ..........................................................26
Figure 11: Static Routes with Indirect Next Hops ...........................................30
Figure 12: Sample Configuration for Next-Hop Verification ...........................34
Chapter 2 Configuring IPv6 125
Figure 13: IPv4 and IPv6 Header Comparison .............................................127
Figure 14: Direct Next Hops ........................................................................132
Figure 15: Indirect Next Hops .....................................................................132
Part 2 Internet Protocol Routing
Chapter 5 Configuring OSPF 241
Figure 16: OSPF Topology ...........................................................................245
Figure 17: Optimizing OSPF Area Aggregate Costs ......................................271
Chapter 6 Configuring IS-IS 325
Figure 18: Overview of IS-IS Topology .........................................................327
Figure 19: Packet Flow Between Routers With and Without Authentication
Set ........................................................................................................331
Figure 20: Example of Level 1 and Level 2 Routing .....................................362
Figure 21: Transit Router Topology .............................................................370
List of Figures xvii
xviii List of Figures
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
List of Tables
About the Documentation xxi
Table 1: Notice Icons ...................................................................................xxii
Table 2: Text and Syntax Conventions ........................................................xxii
Part 1 Internet Protocol
Chapter 1 Configuring IP 3
Table 3: Routing Table for Router NY ............................................................27
Table 4: Routing Table for Router LA .............................................................27
Table 5: Default Administrative Distances for Route Sources .........................27
Table 6: Next-Hop Verification Results for Sample Configuration ..................34
Table 7: Probe Characteristics .......................................................................67
Chapter 2 Configuring IPv6 125
Table 8: Compressed IPv6 Formats .............................................................128
Part 2 Internet Protocol Routing
Chapter 5 Configuring OSPF 241
Table 9: OSPF-Related Terms ......................................................................242
Table 10: Routing Priority ...........................................................................247
Table 11: Additional Configuration Tasks ....................................................278
Table 12: Methods and Precedence for Calculating OSPF Interface Cost .....287
Chapter 6 Configuring IS-IS 325
Table 13: IS-IS Terms ..................................................................................326
Table 14: Configuration Tasks for Setting IS-IS Route Tags ..........................335
Table 15: IS-IS Graceful Restart Timers ........................................................338
List of Tables xix
xx List of Tables
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454

Juniper IGP - CONFIGURATION GUIDE V11.1.X Configuration manual

Category
Software manuals
Type
Configuration manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI