Juniper E-Series Configuration manual

Category
Software
Type
Configuration manual

This manual is also suitable for

JUNOSe Software
for E Series Broadband Services Routers
Policy Management Configuration Guide
Release 10.3.x
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Published: 2009-09-30
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 Policy Management Configuration Guide
Release 10.3.x
Copyright © 2009, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: Subash Babu Asokan, Krupa Chandrashekar, Diane Florio, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
October 2009FRS JUNOSe 10.3.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 Policy Management
Chapter 1 Managing Policies on the E Series Router 3
Chapter 2 Creating Classifier Control Lists for Policies 7
Chapter 3 Creating Policy Lists 17
Chapter 4 Creating Classifier Groups and Policy Rules 31
Chapter 5 Creating Rate-Limit Profiles 61
Chapter 6 Merging Policies 101
Chapter 7 Creating Hierarchical Policies for Interface Groups 129
Chapter 8 Policy Resources 161
Chapter 9 Monitoring Policy Management 183
Part 2 Packet Mirroring
Chapter 10 Packet Mirroring Overview 221
Chapter 11 Configuring CLI-Based Packet Mirroring 227
Chapter 12 Configuring RADIUS-Based Mirroring 239
Chapter 13 Managing Packet Mirroring 247
Chapter 14 Monitoring Packet Mirroring 263
Part 3 Index
Index 281
Abbreviated Table of Contents vii
viii
JUNOSe 10.3.x Policy Management 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 Policy Management
Chapter 1 Managing Policies on the E Series Router 3
Policy Management Overview .........................................................................3
Description of a Policy ....................................................................................5
Policy Platform Considerations ........................................................................5
Policy References ............................................................................................6
Policy Management Configuration Tasks .........................................................6
Chapter 2 Creating Classifier Control Lists for Policies 7
Classifier Control Lists Overview .....................................................................7
Creating or Modifying Classifier Control Lists for ATM Policy Lists ................10
Creating or Modifying Classifier Control Lists for Frame-Relay Policy
Lists ........................................................................................................10
Creating or Modifying Classifier Control Lists for GRE Tunnel Policy Lists .....10
Creating or Modifying Classifier Control Lists for IP Policy Lists ....................11
Creating Classifier Control List for Only IP Policy Lists ............................11
Setting Up an IP Classifier Control List to Accept Traffic from All
Sources .............................................................................................11
Classifying IP Traffic Based on Source and Destination Addresses ..........11
Using IP Classifier Control Lists to Match Route Class Values ..................12
Creating IP Classifier Control Lists for TCP and UDP Ports ......................12
Creating an IP Classifier Control List That Matches the ToS Byte .............13
Creating an IP Classifier Control List That Filters ICMP Echo
Requests ...........................................................................................13
Table of Contents ix
Creating IP Classifier Control Lists That Use TCP or IP Flags ...................13
Creating IP Classifier Control Lists That Match the IP Fragmentation
Offset ...............................................................................................13
Creating or Modifying Classifier Control Lists for IPv6 Policy Lists .................14
Creating or Modifying Classifier Control Lists for L2TP Policy Lists ................14
Creating or Modifying Classifier Control Lists for MPLS Policy Lists ...............14
Creating or Modifying Classifier Control Lists for VLAN Policy Lists ...............15
Chapter 3 Creating Policy Lists 17
Policy Lists Overview ....................................................................................17
Creating Policy Lists for ATM .........................................................................19
Creating Policy Lists for Frame Relay ............................................................21
Creating Policy Lists for GRE Tunnels ............................................................23
Creating Policy Lists for IP .............................................................................24
Creating Policy Lists for IPv6 .........................................................................25
Creating Policy Lists for L2TP ........................................................................27
Creating Policy Lists for MPLS .......................................................................28
Creating Policy Lists for VLANs ......................................................................28
Chapter 4 Creating Classifier Groups and Policy Rules 31
Classifier Groups and Policy Rules Overview .................................................31
Policy Rule Precedence .................................................................................32
Using Policy Rules to Provide Routing Solutions ............................................35
Configuring Policies to Provide Network Security ..........................................35
Creating an Exception Rule within a Policy Classifier Group ..........................36
Defining Policy Rules for Forwarding ............................................................37
Assigning Values to the ATM CLP Bit .............................................................38
Enabling ATM Cell Mode ...............................................................................39
Enabling IP Options Filtering .........................................................................39
Packet Tagging Overview ..............................................................................40
Creating Multiple Forwarding Solutions with IP Policy Lists ...........................40
Creating a Classifier Group for a Policy List ...................................................42
Applying Policy Lists to Interfaces and Profiles Overview ..............................43
Using RADIUS to Create and Apply Policies Overview ...................................46
Construction of IPv6 Classifiers from the Hexadecimal Ascend-Data-Filter
Attribute ...........................................................................................49
Ascend-Data-Filter Attribute for IPv4/IPv6 Subscribers in a Dual
Stack ................................................................................................49
Examples: Using the Ascend-Data-Filter Attribute for IPv4 Subscribers .........51
Examples: Using the Ascend-Data-Filter Attribute for IPv6 Subscribers .........56
Chapter 5 Creating Rate-Limit Profiles 61
Rate Limits for Interfaces Overview ..............................................................62
Hierarchical Rate Limits Overview ................................................................63
Hierarchical Classifier Groups .................................................................64
Hierarchical Rate-Limit Profiles ...............................................................64
x Table of Contents
JUNOSe 10.3.x Policy Management Configuration Guide
Hierarchical Rate-Limit Actions ...............................................................65
Example: Multiple Flows Sharing Preferred Bandwidth Rate-Limiting
Hierarchical Policy ............................................................................67
Example: Multiple Flows Sharing a Rate Limit Hierarchical Policy ..........68
Example: Shared Pool of Additional Bandwidth with Select Flows
Rate-Limiting Hierarchical Policy ......................................................69
Example: Aggregate Marking with Oversubscription Rate-Limiting
Hierarchical Policy ............................................................................70
Color-Aware Configuration for Rate-Limiting Hierarchical Policy .............72
Percent-Based Rates for Rate-Limit Profiles Overview ...................................73
Policy Parameter Reference-Rate ............................................................74
Specifying Rates Within Rate-Limit Profiles ............................................74
Specifying Burst Sizes .............................................................................75
Using Service Manager with Merged Policies ..........................................75
Policy Parameter Configuration Considerations ......................................75
Policy Parameter Quick Configuration ...........................................................77
Creating Rate-Limit Profiles ...........................................................................77
One-Rate Rate-Limit Profiles Overview ..........................................................82
Creating a One-Rate Rate-Limit Profile ..........................................................83
Configuring a TCP-Friendly One-Rate Rate-Limit Profile ................................84
Two-Rate Rate-Limits Overview ....................................................................86
Creating a Two-Rate Rate-Limit Profile ..........................................................89
Setting the Committed Action for a Rate-Limit Profile ...................................89
Setting the Committed Burst for a Rate-Limit Profile .....................................90
Setting the Committed Rate for a Rate-Limit Profile ......................................91
Setting the Conformed Action for a Rate-Limit Profile ...................................91
Setting the Exceeded Action for a Rate-Limit Profile ......................................91
Setting the Excess Burst for a Rate-Limit Profile ............................................92
Setting the Mask Value for MPLS Rate-Limit Profiles ......................................92
Setting the Mask Value for IP and IPv6 Rate-Limit Profiles ............................92
Setting the Peak Burst for Two-Rate Rate-Limit Profiles .................................93
Setting the Peak Rate for Rate-Limit Profiles .................................................93
Setting a One-Rate Rate-Limit Profile ............................................................94
Setting a Two-Rate Rate-Limit-Profile ............................................................95
Bandwidth Management Overview ...............................................................97
Examples: One-Rate Rate-Limit Profile ...................................................98
Examples: Two-Rate Rate-Limit Profile ...................................................99
Examples: Rate-Limiting Individual or Aggregate Packet Flows ...............99
Rate-Limiting Traffic Flows ..........................................................................100
Chapter 6 Merging Policies 101
Merging Policies Overview ..........................................................................101
Resolving Policy Merge Conflicts .................................................................103
Merged Policy Naming Conventions ............................................................105
Reference Counting for Merged Policies ......................................................106
Persistent Configuration Differences for Merged Policies Through Service
Manager ................................................................................................106
Policy Attachment Sequence at Login Through Service Manager .................106
Policy Attachment Rules for Merged Policies ...............................................106
Table of Contents xi
Table of Contents
Error Conditions for Merged Policies ...........................................................108
Merging Policies Configuration ....................................................................108
Parent Group Merge Algorithm ....................................................................120
Overlapping Classification for IP Input Policy ..............................................122
Starting Policy Processing .....................................................................124
Processing the Classifier Result .............................................................125
Processing the Auxiliary-Input Policy Attachment .................................125
Policy Actions .......................................................................................125
Chapter 7 Creating Hierarchical Policies for Interface Groups 129
Hierarchical Policies for Interface Groups Overview ....................................129
External Parent Groups ...............................................................................130
Example: Configuring Hierarchical Policy Parameters .................................130
Hierarchical Aggregation Nodes ..................................................................132
RADIUS and Profile Configuration for Hierarchical Policies .........................133
Applying a Profile to Interfaces with Service Manager .................................133
Hierarchical Policy Configuration Considerations ........................................133
Example: Hierarchical Policy Quick Configuration .......................................134
Example: Configuring Hierarchical Policies .................................................134
Example: VLAN Rate Limit Hierarchical Policy for Interface Groups
Configuration ........................................................................................138
Example: Wholesale L2TP Model Hierarchical Policy Configuration ............142
Example: Aggregate Rate Limit for All Nonvoice Traffic Hierarchical Policy
Configuration ........................................................................................144
Example: Arbitrary Interface Groups Hierarchical Policy Configuration .......147
Example: Service and User Rate-Limit Hierarchy Overlap Hierarchical Policy
Configuration ........................................................................................150
Example: Percentage-Based Hierarchical Rate-Limit Profile for External Parent
Group ....................................................................................................153
Example: PPP Interfaces Hierarchical Policy Configuration .........................155
Chapter 8 Policy Resources 161
Policy Resources Overview ..........................................................................161
FPGA Hardware Classifiers ..........................................................................163
CAM Hardware Classifiers Overview ...........................................................164
Size Limit for IP and IPv6 CAM Hardware Classifiers ...................................165
IP Classifiers and Size Limits .................................................................166
IPv6 Classifiers and Size Limits .............................................................168
Creating and Attaching a Policy with IP Classifiers ......................................170
Variable-Sized CAM Classification for IPv6 Policies Examples .....................173
144-bit IPv6 Classification Example ......................................................173
288-bit IPv6 Classification Example ......................................................175
576-bit IPv6 Classification Example ......................................................175
Performance Impact and Salability Considerations .....................................177
Performance Impact .............................................................................177
Scalability Considerations .....................................................................177
CAM Device Block Size and CAM Entry Allocation ..........................177
Number of CAM Entries Per Allocation and Free Entries ................178
xii Table of Contents
JUNOSe 10.3.x Policy Management Configuration Guide
Software Classifiers Overview .....................................................................180
Interface Attachment Resources Overview ..................................................181
CAM Hardware Classifiers and Interface Attachment Resources ..................182
Range Vector Hardware Classifiers and Interface Attachment Resources ....182
Chapter 9 Monitoring Policy Management 183
Monitoring Policy Management Overview ...................................................183
Setting a Statistics Baseline for Policies .......................................................184
Monitoring the Policy Configuration of ATM Subinterfaces ..........................185
Monitoring Classifier Control Lists ...............................................................186
Monitoring Color-Mark Profiles ....................................................................189
Monitoring Control Plane Policer Information .............................................189
Monitoring the Policy Configuration of Frame Relay Subinterfaces .............190
Monitoring GRE Tunnel Information ............................................................191
Monitoring Interfaces and Policy Lists .........................................................192
Monitoring the Policy Configuration of IP Interfaces ....................................195
Monitoring the Policy Configuration of IPv6 Interfaces ................................198
Monitoring the Policy Configuration of Layer 2 Services over MPLS ............202
Monitoring External Parent Groups .............................................................205
Monitoring Policy Lists ................................................................................205
Monitoring Policy List Parameters ...............................................................210
Monitoring Rate-Limit Profiles .....................................................................211
Monitoring the Policy Configuration of VLAN Subinterfaces ........................213
Packet Flow Monitoring Overview ...............................................................214
Part 2 Packet Mirroring
Chapter 10 Packet Mirroring Overview 221
Packet Mirroring Overview ..........................................................................221
Comparing CLI-Based Mirroring and RADIUS-Based Mirroring ....................222
Configuration ........................................................................................222
Security .................................................................................................222
Application ...........................................................................................223
Packet-Mirroring Terms ...............................................................................224
Packet Mirroring Platform Considerations ...................................................224
Packet Mirroring References .......................................................................225
Chapter 11 Configuring CLI-Based Packet Mirroring 227
CLI-Based Packet Mirroring Overview .........................................................227
Enabling and Securing CLI-Based Packet Mirroring .....................................228
Reloading a CLI-Based Packet-Mirroring Configuration ................................230
Using TACACS+ and Vty Access Lists to Secure Packet Mirroring ...............230
Using Vty Access Lists to Secure Packet Mirroring .......................................230
CLI-Based Packet Mirroring Sequence of Events ..........................................231
Table of Contents xiii
Table of Contents
Configuring CLI-Based Mirroring ..................................................................233
Configuring Triggers for CLI-Based Mirroring ...............................................234
Configuring the Analyzer Device .................................................................235
Configuring the E Series Router ...................................................................235
Example: Configuring CLI-Based Interface-Specific Mirroring ......................236
Example: Configuring CLI-Based User-Specific Mirroring .............................237
Chapter 12 Configuring RADIUS-Based Mirroring 239
RADIUS-Based Mirroring Overview .............................................................239
RADIUS Attributes Used for Packet Mirroring ..............................................240
RADIUS-Based Packet Mirroring Dynamically Created Secure Policies ........241
RADIUS-Based Packet Mirroring MLPPP Sessions ........................................241
RADIUS-Based Mirroring Sequence of Events ..............................................242
Configuring RADIUS-Based Mirroring ..........................................................243
Configuring the RADIUS Server .............................................................244
Disabling RADIUS-Based Mirroring .......................................................244
Configuring the Analyzer Device ...........................................................244
Configuring Router to Start Mirroring When User Logs On ..........................245
Configuring Router to Mirror Users Already Logged In ................................245
Chapter 13 Managing Packet Mirroring 247
Avoiding Conflicts Between Multiple Packet Mirroring Configurations .........247
Understanding the Prepended Header During a Packet Mirroring Session ....249
Format of the Mirror Header Attributes ................................................251
8-Byte Format ................................................................................251
4-Byte Format ................................................................................252
Resolving and Tracking the Analyzer Devices Address ...............................252
Using Multiple Triggers for CLI-Based Packet Mirroring ...............................253
Optimizing Packet Mirroring Performance ..................................................254
Determine Traffic Loads .......................................................................254
Establish Resource Guidelines ...............................................................254
Logging Packet Mirroring Information .........................................................255
Using SNMP Secure Packet Mirroring Traps .................................................256
Additional Packet-Mirroring Traps for CALEA Compliance ....................257
Packet Mirroring Trap Severity Levels ...................................................258
Configuring SNMP Secure Packet Mirroring Traps .......................................259
Capturing SNMP Secure Audit Logs .............................................................260
Chapter 14 Monitoring Packet Mirroring 263
Monitoring Packet Mirroring Overview ........................................................263
Monitoring CLI-Based Packet Mirroring .......................................................264
Monitoring the Packet Mirroring Configuration of IP Interfaces ...................265
Monitoring Failure Messages for Secure Policies ..........................................266
Monitoring Packet Mirroring Triggers ..........................................................267
Monitoring Packet Mirroring Subscriber Information ...................................268
Monitoring RADIUS Dynamic-Request Server Information ..........................268
xiv Table of Contents
JUNOSe 10.3.x Policy Management Configuration Guide
Monitoring Secure CLACL Configurations ....................................................270
Monitoring Secure Policy Lists .....................................................................272
Monitoring Information for Secure Policies .................................................274
Monitoring SNMP Secure Packet Mirroring Traps ........................................275
Monitoring SNMP Secure Audit Logs ...........................................................276
Part 3 Index
Index ...........................................................................................................281
Table of Contents xv
Table of Contents
xvi Table of Contents
JUNOSe 10.3.x Policy Management Configuration Guide
List of Figures
Part 1 Policy Management
Chapter 3 Creating Policy Lists 17
Figure 1: Constructing an IP Policy List .........................................................18
Chapter 5 Creating Rate-Limit Profiles 61
Figure 2: Multiple Flows Sharing Preferred Bandwidth ..................................67
Figure 3: Multiple Packet Flows Sharing a Rate Limit ....................................68
Figure 4: Shared Pool of Additional Bandwidth with Select Flows ..................69
Figure 5: Aggregate Marking with Oversubscription ......................................71
Figure 6: Congestion Management ................................................................98
Chapter 6 Merging Policies 101
Figure 7: Input Policy with Primary Stage and Auxiliary Substage ...............124
Chapter 7 Creating Hierarchical Policies for Interface Groups 129
Figure 8: Configuration Process ...................................................................135
Figure 9: VLAN Rate-Limit Configuration .....................................................138
Figure 10: Interface Stack for Wholesale L2TP Mode ...................................142
Figure 11: Wholesale L2TP Configuration ....................................................143
Figure 12: Interface Stack for Aggregate Rate Limit .....................................145
Figure 13: Aggregate Rate Limit for Nonvoice Traffic Configuration ............146
Figure 14: Interface Stack for Arbitrary Interface Groups .............................148
Figure 15: Arbitrary Interface Groups Configuration ....................................149
Figure 16: Interface Stack for Service and User Rate-Limit Hierarchy
Overlap .................................................................................................151
Figure 17: Service and User Rate-Limit Hierarchy Overlap Configuration ....152
Figure 18: Interface Stack for Hierarchical Policy Configuration ..................157
Part 2 Packet Mirroring
Chapter 11 Configuring CLI-Based Packet Mirroring 227
Figure 19: CLI-Based Interface Mirroring .....................................................228
Figure 20: CLI-Based Packet Mirroring .........................................................231
Chapter 12 Configuring RADIUS-Based Mirroring 239
Figure 21: RADIUS-Based Packet Mirroring .................................................242
Chapter 13 Managing Packet Mirroring 247
Figure 22: Prepended Header ......................................................................250
Figure 23: 8-Byte Format of VSA 26-59 .......................................................252
Figure 24: 4-Byte Format of VSA 26-59 .......................................................252
List of Figures xvii
xviii List of Figures
JUNOSe 10.3.x Policy Management Configuration Guide
List of Tables
About the Documentation xxiii
Table 1: Notice Icons ..................................................................................xxiv
Table 2: Text and Syntax Conventions ........................................................xxiv
Part 1 Policy Management
Chapter 2 Creating Classifier Control Lists for Policies 7
Table 3: CLACL Criteria ...................................................................................7
Chapter 4 Creating Classifier Groups and Policy Rules 31
Table 4: Policy Rule Commands and Precedence ..........................................33
Table 5: Ascend-Data-Filter Fields .................................................................47
Table 6: Ascend-Data-Filter Attribute for an Input Policy on an IPv4
Interface .................................................................................................51
Table 7: Ascend-Data-Filter Attribute Values for a RADIUS Record ................55
Table 8: Ascend-Data-Filter Attribute for an Output Policy on an IPv6
Interface .................................................................................................56
Table 9: Ascend-Data-Filter Attribute for an Input Policy on an IPv6
Interface .................................................................................................57
Chapter 5 Creating Rate-Limit Profiles 61
Table 10: TCP-Friendly One-Rate Rate-Limit Profile Algorithms ....................85
Table 11: Policy Action Applied Based on Rate Settings and Traffic Rate .......87
Table 12: Two-Rate Rate-Limit Profile Algorithms .........................................88
Table 13: One-Rate Rate-Limit-Profile Defaults ..............................................94
Table 14: Two-Rate Rate-Limit-Profile Defaults ..............................................96
Chapter 6 Merging Policies 101
Table 15: Input Action and Secondary Input Actions ...................................127
Chapter 7 Creating Hierarchical Policies for Interface Groups 129
Table 16: Shorthand Notation Mapping .......................................................131
Chapter 8 Policy Resources 161
Table 17: Classifier Support (OC48/STM16, GE-2, and GE-HDE Line
Modules) ...............................................................................................162
Table 18: Classifier Support (All Line Modules Except OC48/STM16, GE-2,
and GE-HDE) .........................................................................................163
Table 19: Size Limit of Individual IP Classifiers ............................................166
Table 20: Size Limit of Combined IP Classifiers ...........................................167
Table 21: Size Limit of Individual IPv6 Classifiers ........................................168
Table 22: Size Limit of Combined IPv6 Classifiers .......................................169
Table 23: Classification Fields for Example 1 ..............................................171
Table 24: Classification Fields for Example 2 ..............................................172
Table 25: IPv6 Classification Fields for a 144-bit CAM Entry ........................174
List of Tables xix
Table 26: IPv6 Classification Fields for a 288-bit CAM Entry ........................175
Table 27: IPv6 Classification Fields for a 576-bit CAM Entry ........................176
Table 28: Maximum Policies with One Classifier per Policy for GE-2 LMs ....178
Table 29: Maximum Policies with Four Classifiers per Policy for GE-2
LMs .......................................................................................................179
Table 30: Resource Consumption ................................................................181
Chapter 9 Monitoring Policy Management 183
Table 31: show atm subinterface Output Fields ...........................................185
Table 32: show classifier-list Output Fields ..................................................187
Table 33: show color-mark-profile Output Fields .........................................189
Table 34: show control-plane policer Output Fields .....................................190
Table 35: show frame-relay subinterface Output Fields ...............................191
Table 36: show gre tunnel Output Fields .....................................................192
Table 37: show interfaces Output Fields ......................................................194
Table 38: show ip interfaces Output Fields ..................................................196
Table 39: show ipv6 interface Output Fields ................................................200
Table 40: show mpls l2transport interface Output Fields .............................203
Table 41: show parent-group Output Fields .................................................205
Table 42: show policy-list Output Fields ......................................................209
Table 43: show policy-parameter Output Fields ...........................................211
Table 44: show rate-limit-profile Output Fields ............................................212
Table 45: show vlan subinterface Output Fields ..........................................213
Part 2 Packet Mirroring
Chapter 10 Packet Mirroring Overview 221
Table 46: Packet-Mirroring Terminology .....................................................224
Chapter 11 Configuring CLI-Based Packet Mirroring 227
Table 47: Commands Made Visible by the mirror-enable Command ...........229
Table 48: Setting Up the CLI-Based Packet-Mirroring Environment .............231
Table 49: CLI-Based User-Specific Mirroring During Session Start ................232
Table 50: CLI-Based Mirroring of Currently Running Session .......................232
Chapter 12 Configuring RADIUS-Based Mirroring 239
Table 51: RADIUS Attributes Used as Packet Mirroring Triggers ..................240
Table 52: RADIUS-Based Mirroring Attributes ..............................................240
Table 53: Setting Up the RADIUS-Based Packet-Mirroring Environment ......242
Table 54: RADIUS-Based Mirroring During Session Start (User-Initiated) .....243
Table 55: RADIUS-Based Mirroring of Currently Running Session
(RADIUS-Initiated) .................................................................................243
Chapter 13 Managing Packet Mirroring 247
Table 56: Prepended Header Field Descriptions ..........................................250
Table 57: Packet-Mirroring SNMP Traps ......................................................257
Table 58: Packet-Mirroring Traps for CALEA Compliance ............................258
Table 59: Packet Mirroring Trap Severity Levels ..........................................258
Chapter 14 Monitoring Packet Mirroring 263
Table 60: show ip interface Output Fields ...................................................265
Table 61: show ip mirror interface Output Fields ........................................266
Table 62: show mirror log Output Fields .....................................................267
Table 63: show mirror rules Output Fields ..................................................267
xx List of Tables
JUNOSe 10.3.x Policy Management 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

Juniper E-Series Configuration manual

Category
Software
Type
Configuration manual
This manual is also suitable for

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

Finding information in a document is now easier with AI