Juniper JUNOSe V 11.1 Configuration manual

Category
Software
Type
Configuration manual
JUNOSe Software
for E Series Broadband Services Routers
IP Services Configuration Guide
Release 11.0.x
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Published: 2010-02-12
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 Services Configuration Guide
Release 11.0.x
Copyright © 2010, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: Subash Babu Asokan, Mark Barnard, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
January 2010FRS JUNOSe 11.0.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 xxiii
Part 1 Chapters
Chapter 1 Configuring Routing Policy 3
Chapter 2 Configuring NAT 63
Chapter 3 Configuring J-Flow Statistics 95
Chapter 4 Configuring BFD 113
Chapter 5 Configuring IPSec 125
Chapter 6 Configuring Dynamic IPSec Subscribers 177
Chapter 7 Configuring ANCP 193
Chapter 8 Configuring Digital Certificates 213
Chapter 9 Configuring IP Tunnels 245
Chapter 10 Configuring Dynamic IP Tunnels 261
Chapter 11 IP Reassembly for Tunnels 279
Chapter 12 Securing L2TP and IP Tunnels with IPSec 287
Chapter 13 Configuring the Mobile IP Home Agent 315
Part 2 Index
Index 333
Abbreviated Table of Contents vii
viii
JUNOSe 11.0.x IP Services Configuration Guide
Table of Contents
About the Documentation xxiii
E Series and JUNOSe Documentation and Release Notes ............................xxiii
Audience ....................................................................................................xxiii
E Series and JUNOSe Text and Syntax Conventions ....................................xxiii
Obtaining Documentation ...........................................................................xxv
Documentation Feedback ............................................................................xxv
Requesting Technical Support ......................................................................xxv
Self-Help Online Tools and Resources ..................................................xxvi
Opening a Case with JTAC ....................................................................xxvi
Part 1 Chapters
Chapter 1 Configuring Routing Policy 3
Overview .........................................................................................................3
Platform Considerations ..................................................................................4
References ......................................................................................................4
Route Maps .....................................................................................................4
Route Map Configuration Example ...........................................................5
Multiple Values in a Match Entry ...............................................................6
Negating Match Clauses ............................................................................7
Matching a Community List Exactly ..........................................................8
Removing Community Lists from a Route Map .........................................8
Matching a Policy List ...............................................................................9
Redistributing Access Routes ....................................................................9
Setting Multicast Bandwidths ....................................................................9
Match Policy Lists ..........................................................................................20
Access Lists ...................................................................................................21
Filtering Prefixes .....................................................................................21
Configuration Example 1 ..................................................................21
Configuration Example 2 ..................................................................22
Configuration Example 3 ..................................................................22
Filtering AS Paths ....................................................................................23
Configuration Example 1 ..................................................................24
Using Access Lists in a Route Map ..........................................................25
Configuration Example 1 ..................................................................25
Using Access Lists for PIM Join Filters .....................................................29
Clearing Access List Counters .................................................................31
Creating Table Maps ...............................................................................31
Table of Contents ix
Using the Null Interface .................................................................................33
Prefix Lists ....................................................................................................33
Using a Prefix List ...................................................................................34
Prefix Trees ...................................................................................................36
Using a Prefix Tree .................................................................................37
Community Lists ...........................................................................................38
Extended Community Lists .....................................................................42
Using Regular Expressions ............................................................................44
AS-path Lists ...........................................................................................44
Community Lists .....................................................................................45
Community Numbers .............................................................................45
Metacharacters .......................................................................................45
Using Metacharacters as Literal Tokens ..................................................46
Regular Expression Examples .................................................................47
Managing the Routing Table ..........................................................................49
Troubleshooting Routing Policy .....................................................................50
Monitoring Routing Policy .............................................................................50
Chapter 2 Configuring NAT 63
Overview .......................................................................................................63
Platform Considerations ................................................................................64
Module Requirements .............................................................................64
References ....................................................................................................64
NAT Configurations .......................................................................................65
Traditional NAT .......................................................................................65
Basic NAT .........................................................................................65
NAPT ................................................................................................66
Bidirectional NAT ....................................................................................66
Twice NAT ..............................................................................................66
Network and Address Terms .........................................................................66
Inside Local Addresses ............................................................................67
Inside Global Addresses ..........................................................................67
Outside Local Addresses .........................................................................67
Outside Global Addresses ........................................................................67
Understanding Address Translation ...............................................................67
Inside Source Translation ........................................................................67
Outside Source Translation .....................................................................68
Address Assignment Methods .......................................................................68
Static Translations ...................................................................................68
Dynamic Translations .............................................................................69
Order of Operations ......................................................................................69
Inside-to-Outside Translation ..................................................................69
Outside-to-Inside Translation ..................................................................69
PPTP and GRE Tunneling Through NAT .........................................................70
Packet Discard Rules .....................................................................................70
Before You Begin ...........................................................................................70
Configuring a NAT License ............................................................................71
Limiting Translation Entries ..........................................................................71
Specifying Inside and Outside Interfaces .......................................................71
x Table of Contents
JUNOSe 11.0.x IP Services Configuration Guide
Defining Static Address Translations .............................................................72
Creating Static Inside Source Translations ...............................................72
Creating Static Outside Source Translations ............................................73
Defining Dynamic Translations .....................................................................74
Creating Access List Rules .......................................................................74
Defining Address Pools ...........................................................................75
Defining Dynamic Translation Rules .......................................................76
Creating Dynamic Inside Source Translation Rules ...........................77
Creating Dynamic Outside Source Translation Rules ........................77
Defining Translation Timeouts ................................................................78
Clearing Dynamic Translations ......................................................................79
NAT Configuration Examples ........................................................................79
NAPT Example ........................................................................................79
Bidirectional NAT Example .....................................................................81
Twice NAT Example ................................................................................83
Cross-VRF Example ................................................................................85
Tunnel Configuration Through NAT Examples ...............................................86
Clients on an Inside Network ..................................................................87
Clients on an Outside Network ...............................................................87
GRE Flows Through NAT ...............................................................................88
Monitoring NAT .............................................................................................88
Displaying the NAT License Key .............................................................88
Displaying Translation Statistics ..............................................................89
Displaying Translation Entries ................................................................91
Displaying Address Pool Information ......................................................92
Displaying Inside and Outside Rule Settings ...........................................93
Chapter 3 Configuring J-Flow Statistics 95
Overview .......................................................................................................95
Interface Sampling ..................................................................................95
Aggregation Caches ................................................................................96
Flow Collection .......................................................................................96
Main Flow Cache Contents ...............................................................96
Cache Flow Export ...........................................................................97
Aging Flows ............................................................................................97
Operation with NAT ................................................................................98
Operation with High Availability .............................................................98
Platform Considerations ................................................................................98
Before You Configure J-Flow Statistics ...........................................................98
Configuring Flow-Based Statistics Collection ..................................................98
Enabling Flow-Based Statistics ................................................................99
Enabling Flow-Based Statistics on an Interface .......................................99
Defining a Sampling Interval .................................................................100
Setting Cache Size .................................................................................101
Defining Aging Timers ..........................................................................101
Specifying the Activity Timer ..........................................................101
Specifying the Inactivity Timer .......................................................102
Specifying Flow Export .........................................................................102
Configuring Aggregation Flow Caches ...................................................103
Table of Contents xi
Table of Contents
Monitoring J-Flow Statistics .........................................................................106
Clearing J-Flow Statistics .......................................................................106
J-Flow show Commands .......................................................................106
Chapter 4 Configuring BFD 113
Bidirectional Forwarding Detection Overview .............................................113
How BFD Works ...................................................................................114
Negotiation of the BFD Liveness Detection Interval ..............................114
BFD Platform Considerations ......................................................................116
BFD References ...........................................................................................116
Configuring a BFD License ..........................................................................117
BFD Version Support ...................................................................................117
Configuring BFD ..........................................................................................118
Managing BFD Adaptive Timer Intervals .....................................................118
Clearing BFD Sessions .................................................................................119
Monitoring BFD ...........................................................................................120
System Event Logs ................................................................................120
Viewing BFD Information .....................................................................121
Chapter 5 Configuring IPSec 125
Overview .....................................................................................................125
IPSec Terms and Acronyms ..................................................................125
Platform Considerations ..............................................................................127
References ..................................................................................................127
IPSec Concepts ............................................................................................128
Secure IP Interfaces ..............................................................................128
RFC 2401 Compliance ....................................................................129
IPSec Protocol Stack .......................................................................129
Security Parameters ..............................................................................130
Manual Versus Signaled Interfaces .................................................131
Operational Virtual Router ..............................................................132
Transport Virtual Router .................................................................132
Perfect Forward Secrecy .................................................................134
Lifetime ..........................................................................................134
Inbound and Outbound SAs ...........................................................135
Transform Sets ...............................................................................135
Other Security Features ........................................................................138
IP Security Policies .........................................................................138
ESP Processing ...............................................................................139
AH Processing ................................................................................139
IPSec Maximums Supported ...........................................................139
DPD and IPSec Tunnel Failover ............................................................139
Tunnel Failover ..............................................................................140
xii Table of Contents
JUNOSe 11.0.x IP Services Configuration Guide
IKE Overview ..............................................................................................140
Main Mode and Aggressive Mode ..........................................................141
Aggressive Mode Negotiations ........................................................141
IKE Policies ...........................................................................................142
Priority ...........................................................................................142
Encryption ......................................................................................143
Hash Function ................................................................................143
Authentication Mode ......................................................................143
Diffie-Hellman Group ......................................................................144
Lifetime ..........................................................................................144
IKE SA Negotiation ................................................................................144
Generating Private and Public Key Pairs ...............................................144
Configuration Tasks .....................................................................................145
Configuring an IPSec License ................................................................145
Configuring IPSec Parameters ...............................................................146
Creating an IPSec Tunnel ......................................................................149
Configuring DPD and IPSec Tunnel Failover .........................................154
Defining an IKE Policy ..........................................................................156
Refreshing SAs ......................................................................................159
Enabling Notification of Invalid Cookies ................................................159
Configuration Examples ..............................................................................160
Configuration Notes ..............................................................................160
Monitoring IPSec .........................................................................................168
System Event Logs ................................................................................168
show Commands ..................................................................................169
Chapter 6 Configuring Dynamic IPSec Subscribers 177
Overview .....................................................................................................177
Dynamic Connection Setup ..................................................................177
Dynamic Connection Teardown ............................................................178
Dynamic IPSec Subscriber Recognition .................................................178
Licensing Requirements ........................................................................178
Inherited Subscriber Functionality ........................................................179
Using IPSec Tunnel Profiles ...................................................................179
Relocating Tunnel Interfaces .................................................................180
User Authentication ..............................................................................180
Platform Considerations ..............................................................................180
References ..................................................................................................181
Creating an IPSec Tunnel Profile .................................................................181
Configuring IPSec Tunnel Profiles ................................................................182
Limiting Interface Instantiations on Each Profile ...................................182
Specifying IKE Settings .........................................................................182
Setting the IKE Local Identity .........................................................182
Setting the IKE Peer Identity ..........................................................183
Appending a Domain Suffix to a Username ..........................................184
Overriding IPSec Local and Peer Identities for SA Negotiations .............184
Specifying an IP Profile for IP Interface Instantiations ...........................185
Defining the Server IP Address .............................................................185
Specifying Local Networks ....................................................................186
Table of Contents xiii
Table of Contents
Defining IPSec Security Association Lifetime Parameters ......................186
Defining User Reauthentication Protocol Values ...................................187
Specifying IPSec Security Association Transforms ................................188
Specifying IPSec Security Association PFS and DH Group
Parameters .....................................................................................188
Defining the Tunnel MTU ......................................................................189
Defining IKE Policy Rules for IPSec Tunnels ................................................189
Specifying a Virtual Router for an IKE Policy Rule .................................189
Defining Aggressive Mode for an IKE Policy Rule ..................................190
Monitoring IPSec Tunnel Profiles .................................................................190
System Event Logs ................................................................................190
show Commands ..................................................................................191
Chapter 7 Configuring ANCP 193
Overview .....................................................................................................193
Access Topology Discovery ...................................................................194
Line Configuration ................................................................................194
Transactional Multicast .........................................................................194
OAM .....................................................................................................195
Retrieval of DSL Line Rate Parameters ..................................................195
Learning the Partition ID from an Access Node .....................................195
Platform Considerations ..............................................................................195
References ..................................................................................................196
Configuring ANCP .......................................................................................196
Creating a Listening TCP Socket for ANCP ............................................196
Accessing L2C Configuration Mode for ANCP ........................................196
Defining the ANCP Session Timeout .....................................................197
Learning the Access Node Partition ID ..................................................197
.............................................................................................................198
Configuring ANCP Interfaces .......................................................................198
Configuring ANCP Neighbors .......................................................................198
Accessing L2C Neighbor Configuration Mode for ANCP ........................199
Defining an ANCP Neighbor ..................................................................199
Limiting Discovery Table Entries ...........................................................200
Clearing ANCP Neighbors .....................................................................200
Configuring Topology Discovery ..................................................................200
Configuring ANCP for QoS Adaptive Mode ..................................................201
Triggering ANCP Line Configuration ............................................................202
Adjusting the Data Rate Reported by ANCP for DSL Lines ...........................202
Configuring Transactional Multicast for IGMP ..............................................203
Creating an IGMP Session for ANCP ......................................................203
ANCP IGMP Configuration Example ......................................................204
Complete Configuration Example .........................................................205
Triggering ANCP OAM .................................................................................205
Monitoring ANCP ........................................................................................206
xiv Table of Contents
JUNOSe 11.0.x IP Services Configuration Guide
Chapter 8 Configuring Digital Certificates 213
Overview .....................................................................................................213
Digital Certificate Terms and Acronyms ................................................213
Platform Considerations ..............................................................................214
References ..................................................................................................214
IKE Authentication with Digital Certificates .................................................215
Signature Authentication .......................................................................215
Generating Public/Private Key Pairs ......................................................216
Obtaining a Root CA Certificate ............................................................216
Obtaining a Public Key Certificate .........................................................217
Offline Certificate Enrollment .........................................................217
Online Certificate Enrollment .........................................................217
Authenticating the Peer ........................................................................218
Verifying CRLs ......................................................................................218
File Extensions ......................................................................................219
Certificate Chains ..................................................................................219
IKE Authentication Using Public Keys Without Digital Certificates ...............220
Configuration Tasks ..............................................................................220
Public Key Format ................................................................................221
Configuring Digital Certificates Using the Offline Method ............................221
Configuring Digital Certificates Using the Online Method ............................227
Configuring Peer Public Keys Without Digital Certificates ............................232
Monitoring Digital Certificates and Public Keys ...........................................237
Chapter 9 Configuring IP Tunnels 245
Overview .....................................................................................................245
GRE Tunnels .........................................................................................246
DVMRP Tunnels ....................................................................................246
Platform Considerations ..............................................................................246
Module Requirements ...........................................................................246
ERX7xx Models, ERX14xx Models, and the ERX310 Router ...........246
E120 Router and E320 Router ........................................................247
Redundancy and Tunnel Distribution ....................................................247
References ..................................................................................................247
Configuration Tasks .....................................................................................248
Configuration Example .........................................................................250
Configuring IP Tunnels to Forward IP Frames .......................................252
Preventing Recursive Tunnels ...............................................................252
Creating Multicast VPNs Using GRE Tunnels .........................................253
Monitoring IP Tunnels .................................................................................253
Chapter 10 Configuring Dynamic IP Tunnels 261
Dynamic IP Tunnel Overview ......................................................................261
Data MDT for Multicast VPNs and Dynamic IP Tunnels ........................261
Mobile IP and Dynamic IP Tunnels .......................................................262
Table of Contents xv
Table of Contents
Combining Dynamic and Static IP Tunnels in the Same Chassis ...........263
Changing and Removing Existing Dynamic IP Tunnels .........................263
Platform Considerations ..............................................................................263
Module Requirements ...........................................................................264
ERX7xx Models, ERX14xx Models, and the ERX310 Router ...........264
E120 Router and E320 Router ........................................................264
Redundancy and Tunnel Distribution ....................................................265
References ..................................................................................................265
Configuring a Destination Profile for Dynamic IP Tunnels ...........................265
Modifying the Default Destination Profile .............................................265
Modifying the Configuration of the Default Destination Profile .......265
Configuring a Destination Profile for GRE Tunnels ................................266
Creating a Destination Profile for DVMRP Tunnels ................................267
Monitoring Dynamic IP Tunnels ..................................................................270
Chapter 11 IP Reassembly for Tunnels 279
Overview .....................................................................................................279
Platform Considerations ..............................................................................280
Module Requirements ...........................................................................280
ERX7xx Models, ERX14xx Models, and the ERX310 Router ...........280
E120 Router and E320 Router ........................................................281
Configuring IP Reassembly ..........................................................................281
Monitoring IP Reassembly ...........................................................................282
Setting Statistics Baselines ....................................................................282
Displaying Statistics ..............................................................................283
Chapter 12 Securing L2TP and IP Tunnels with IPSec 287
Overview .....................................................................................................287
Tunnel Creation ....................................................................................287
IPSec Secured-Tunnel Maximums .........................................................288
Platform Considerations ..............................................................................288
Module Requirements ...........................................................................288
References ..................................................................................................288
L2TP/IPSec Tunnels .....................................................................................289
Setting Up the Secure L2TP Connection ................................................290
L2TP with IPSec Control and Data Frames ............................................291
Compatibility and Requirements ..........................................................291
Client Software Supported ..............................................................291
Interactions with NAT .....................................................................291
Interaction Between IPSec and PPP ................................................292
LNS Change of Port ........................................................................292
Group Preshared Key .....................................................................292
NAT Passthrough Mode .........................................................................292
NAT Traversal .......................................................................................293
How NAT-T Works ..........................................................................293
UDP Encapsulation .........................................................................293
UDP Statistics .................................................................................294
NAT Keepalive Messages ................................................................295
xvi Table of Contents
JUNOSe 11.0.x IP Services Configuration Guide
Configuring and Monitoring NAT-T .................................................295
Single-Shot Tunnels ...............................................................................295
Configuration Tasks for Client PC .........................................................296
Configuration Tasks for E Series Routers ..............................................297
Enabling IPSec Support for L2TP ...........................................................297
Configuring NAT-T ................................................................................298
Configuring Single-Shot Tunnels ...........................................................299
GRE/IPSec and DVMRP/IPSec Tunnels .........................................................300
Setting Up the Secure GRE or DVMRP Connection ................................301
Configuration Tasks ..............................................................................301
Enabling IPSec Support for GRE and DVMRP Tunnels ...........................301
Configuring IPSec Transport Profiles ...........................................................302
Monitoring DVMRP/IPSec, GRE/IPSec, and L2TP/IPSec Tunnels ...................307
System Event Logs ................................................................................307
show Commands ..................................................................................307
Chapter 13 Configuring the Mobile IP Home Agent 315
Mobile IP Overview .....................................................................................315
Mobile IP Agent Discovery ....................................................................316
Mobile IP Registration ...........................................................................316
Home Address Assignment ............................................................316
Authentication ................................................................................316
AAA ................................................................................................317
Subscriber Management .................................................................318
Mobile IP Routing and Forwarding ........................................................318
Mobile IP Platform Considerations ..............................................................319
Mobile IP References ...................................................................................319
Before You Configure the Mobile IP Home Agent ........................................319
Configuring the Mobile IP Home Agent .......................................................320
Monitoring the Mobile IP Home Agent ........................................................325
Part 2 Index
Index ...........................................................................................................333
Table of Contents xvii
Table of Contents
xviii Table of Contents
JUNOSe 11.0.x IP Services Configuration Guide
List of Figures
Part 1 Chapters
Chapter 1 Configuring Routing Policy 3
Figure 1: Applying Route Maps to Routes ........................................................6
Figure 2: Filtering with Access Lists ...............................................................23
Figure 3: Filtering with AS-Path Access Lists ..................................................24
Figure 4: Route Map Filtering ........................................................................25
Figure 5: Community Lists ............................................................................40
Chapter 2 Configuring NAT 63
Figure 6: NAPT Example ...............................................................................80
Figure 7: Bidirectional NAT Example .............................................................82
Figure 8: Twice NAT Example .......................................................................83
Figure 9: Cross-VRF Example ........................................................................85
Figure 10: PPTP Tunnels on an Inside Network .............................................87
Figure 11: PPTP Tunnels on an Outside Network ..........................................87
Chapter 5 Configuring IPSec 125
Figure 12: IPSec Tunneling Stack ................................................................129
Figure 13: IPSec Tunneling Packet Encapsulation ........................................130
Figure 14: IPSec Security Parameters in Relation to the Secure IP
Interface ...............................................................................................131
Figure 15: Customer A's Corporate Frame Relay Network ...........................160
Figure 16: ISP-X Uses ERX Routers to Connect Corporate Offices over the
Internet .................................................................................................161
Figure 17: Connecting Customers Who Use Similar Address Schemes ........164
Chapter 7 Configuring ANCP 193
Figure 18: Using ANCP with an Access Node ...............................................204
Chapter 9 Configuring IP Tunnels 245
Figure 19: IP Tunneling ...............................................................................245
Figure 20: Transport and Tunnel Networks Using Different Routing
Protocols ...............................................................................................253
Chapter 11 IP Reassembly for Tunnels 279
Figure 21: Tunneling Through an IP Network That Fragments Packets ........280
Chapter 12 Securing L2TP and IP Tunnels with IPSec 287
Figure 22: L2TP with IPSec Application .......................................................290
Figure 23: L2TP/IPSec Connection ...............................................................290
Figure 24: L2TP Control Frame Encapsulated by IPSec ...............................291
Figure 25: L2TP Data Frame Encapsulated by IPSec ....................................291
Figure 26: L2TP Control Frame with NAT-T UDP Encapsulation ..................294
Figure 27: L2TP Data Frame with NAT-T UDP Encapsulation ......................294
Figure 28: IKE Packet with NAT-T UDP Encapsulation .................................294
Figure 29: GRE/IPSec Connection ................................................................301
List of Figures xix
xx List of Figures
JUNOSe 11.0.x IP Services 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

Juniper JUNOSe V 11.1 Configuration manual

Category
Software
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