JunosE™ Software
for E Series™ Broadband
Services Routers
Broadband Access
Configuration Guide
Release
11.2.x
Published: 2010-07-20
Copyright © 2010, Juniper Networks, Inc.
Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
Juniper Networks, Junos, Steel-Belted Radius, NetScreen, and ScreenOS are registered trademarks of Juniper Networks, Inc. in the United
States and other countries. The Juniper Networks Logo, the Junos logo, and JunosE are trademarks 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 Broadband Access Configuration Guide
Release 11.2.x
Copyright © 2010, Juniper Networks, Inc.
All rights reserved. Printed in USA.
Writing: Mark Barnard, Diane Florio, Bruce Gillham, Sarah Lesway-Ball, Brian Wesley Simmons, Fran Singer, Poornima Goswami, Chander
Aima, Hema Priya J, Krupa Chandrashekar, Subash Babu Asokan, Sairam Venugopalan
Editing: Benjamin Mann
Illustration: Nathaniel Woodward
Cover Design: Edmonds Design
Revision History
July 2010—FRS JunosE 11.2.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 OS has no known time-related limitations through
the year 2038. However, the NTP application is known to have some difficulty in the year 2036.
Copyright © 2010, Juniper Networks, Inc. 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 THISAGREEMENT. IF YOU DO NOTOR CANNOT AGREE TO THE TERMSCONTAINED
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 Customer’s principal office is located in the Americas) or
Juniper Networks(Cayman)Limited(if the Customer’s principaloffice is locatedoutside the Americas)(such applicable entity beingreferred
to herein as“Juniper”), and (ii)the person ororganizationthat originally purchased from Juniperor 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 oran 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 applicablefeesand the limitations andrestrictions set forthherein, Juniper grantsto 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 limitstoCustomer’suse ofthe Software.Such limitsmay restrict use toa maximum number of seats, registeredendpoints, 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.
Customer’s 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, Customer’s 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 Customer’s
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 anyform, to anythird party; (d)removeany proprietary notices, labels,or marks on or in any copyof the Softwareor anyproduct
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 thesecondhandmarket;(f) use any‘locked’ orkey-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
iii Copyright © 2010, Juniper Networks, Inc.
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.
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 commercialefforts to maintain the Software and associated documentation in confidence,
which at a minimum includes restrictingaccess to the Software to Customer employees and contractors havinga need touse the Software
for Customer’s internal business purposes.
7. Ownership. Juniper and Juniper’s 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
statementthataccompaniesthe Software (the “Warranty Statement”). Nothing inthis Agreement shallgive rise to anyobligation tosupport
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 ORPROCUREMENT OFSUBSTITUTE GOODSOR SERVICES,OR FORANYSPECIAL,INDIRECT, ORCONSEQUENTIALDAMAGES
ARISING OUTOF THIS AGREEMENT,THE SOFTWARE,OR ANY JUNIPEROR JUNIPER-SUPPLIED SOFTWARE. IN NOEVENT 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 Juniper’s 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 Customer’s 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
Customer’s 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 Customer’s non-compliance or delay with its responsibilities herein. Customer’s 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 Customer’s ability to export the Software without
an export license.
Copyright © 2010, Juniper Networks, Inc. iv
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 ofconfidentiality 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 embeddedin the Software and any supplier ofJuniper 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 shallhave theright to enforce this Agreement in its own nameas 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 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 Copyright © 2010, Juniper Networks, Inc.
Copyright © 2010, Juniper Networks, Inc. vi
Abbreviated Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
Part 1 Managing Remote Access
Chapter 1 Configuring Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2 Monitoring and Troubleshooting Remote Access . . . . . . . . . . . . . . . . . . . . . 109
Part 2 Managing RADIUS and TACACS+
Chapter 3 Configuring RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Chapter 4 Configuring RADIUS Dynamic-Request Server . . . . . . . . . . . . . . . . . . . . . . . 231
Chapter 5 Configuring RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Chapter 6 RADIUS Attribute Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Chapter 7 Application Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Chapter 8 Monitoring RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Chapter 9 Configuring TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Chapter 10 Monitoring TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Part 3 Managing L2TP
Chapter 11 L2TP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Chapter 12 Configuring an L2TP LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Chapter 13 Configuring an L2TP LNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Chapter 14 Configuring L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Chapter 15 L2TP Disconnect Cause Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Chapter 16 Monitoring L2TP and L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Part 4 Managing DHCP
Chapter 17 DHCP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Chapter 18 DHCP Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Chapter 19 Configuring DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Chapter 20 Configuring DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Chapter 21 Configuring the DHCP External Server Application . . . . . . . . . . . . . . . . . . . . 511
Chapter 22 Monitoring and Troubleshooting DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Part 5 Managing the Subscriber Environment
Chapter 23 Configuring Subscriber Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
vii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Chapter 24 Monitoring Subscriber Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Chapter 25 Configuring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Chapter 26 Monitoring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
Part 6 Managing Subscriber Services
Chapter 27 Configuring Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Chapter 28 Monitoring Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
Part 7 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
Copyright © 2010, Juniper Networks, Inc. viii
Table of Contents
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
E Series and JunosE Documentation and Release Notes . . . . . . . . . . . . . . . . . . xxxv
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
E Series and JunosE Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . xxxv
Obtaining Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvii
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvii
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvii
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxviii
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxviii
Part 1 Managing Remote Access
Chapter 1 Configuring Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Remote Access Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
B-RAS Data Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Configuring IP Addresses for Remote Clients . . . . . . . . . . . . . . . . . . . . . . . . . . 4
AAA Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Remote Access Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
B-RAS Protocol Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Remote Access References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Before You Configure B-RAS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Remote Access Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Configuring a B-RAS License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Mapping a User Domain Name to a Virtual Router . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Mapping User Requests Without a Valid Domain Name . . . . . . . . . . . . . . . . . 8
Mapping User Requests Without a Configured Domain Name . . . . . . . . . . . . . 9
Using DNIS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Redirected Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
IP Hinting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Setting Up Domain Name and Realm Name Usage . . . . . . . . . . . . . . . . . . . . . . . . . 11
Using the Realm Name as the Domain Name . . . . . . . . . . . . . . . . . . . . . . . . . 12
Using Delimiters Other Than @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Using Either the Domain or the Realm as the Domain Name . . . . . . . . . . . . . 12
Specifying the Domain Name or Realm Name Parse Direction . . . . . . . . . . . . 13
Stripping the Domain Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Domain Name and Realm Name Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Specifying a Single Name for Users from a Domain . . . . . . . . . . . . . . . . . . . . . . . . 16
Configuring RADIUS Authentication and Accounting Servers . . . . . . . . . . . . . . . . . 17
Server Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Server Request Processing Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Authentication and Accounting Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
ix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Supporting Exchange of Extensible Authentication Protocol Messages . . . . 20
Immediate Accounting Updates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Duplicate and Broadcast Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Configuring AAA Duplicate Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Configuring AAA Broadcast Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Overriding AAA Accounting NAS Information . . . . . . . . . . . . . . . . . . . . . . 22
UDP Checksums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Collecting Accounting Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configuring RADIUS AAA Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
SNMP Traps and System Log Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
System Log Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Configuring SNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Configuring Local Authentication Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Creating the Local Authentication Environment . . . . . . . . . . . . . . . . . . . . . . . 38
Creating Local User Databases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Adding User Entries to Local User Databases . . . . . . . . . . . . . . . . . . . . . . . . . 39
Using the username Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Using the aaa local username Command . . . . . . . . . . . . . . . . . . . . . . . . 40
Assigning a Local User Database to a Virtual Router . . . . . . . . . . . . . . . . . . . 40
Enabling Local Authentication on the Virtual Router . . . . . . . . . . . . . . . . . . . . 41
Configuration Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Local Authentication Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Configuring Tunnel Subscriber Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring Name Server Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
DNS Primary and Secondary NMS Configuration . . . . . . . . . . . . . . . . . . 49
WINS Primary and Secondary NMS Configuration . . . . . . . . . . . . . . . . . . 51
Configuring Local Address Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Local Address Pool Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Local Address Pool Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Shared Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
SNMP Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring a Local Address Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring DHCP Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Creating an IP Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Single Clients per ATM Subinterface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
Multiple Clients per ATM Subinterface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Configuring AAA Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Allowing or Denying Domain Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Using Domain Name Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Manually Setting NAS-Port-Type Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Service-Description Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Using RADIUS Route-Download Server to Distribute Routes . . . . . . . . . . . . . . . . 68
Format of Downloaded Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Framed-Route (RADIUS attribute 22) . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Cisco-AVPair (Cisco VSA 26-1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
How the Route-Download Server Downloads Routes . . . . . . . . . . . . . . . . . . 69
Copyright © 2010, Juniper Networks, Inc. x
Table of Contents
Configuring the Route-Download Server to Download Routes . . . . . . . . . . . 69
Using the AAA Logical Line Identifier to Track Subscribers . . . . . . . . . . . . . . . . . . 73
How the Router Obtains and Uses the LLID . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
RADIUS Attributes in Preauthentication Request . . . . . . . . . . . . . . . . . . . . . . 74
Considerations for Using the LLID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Configuring the Router to Obtain the LLID for a Subscriber . . . . . . . . . . . . . . 75
Troubleshooting Subscriber Preauthentication . . . . . . . . . . . . . . . . . . . . . . . . 78
Using VSAs for Dynamic IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
Traffic Shaping for PPP over ATM Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Mapping Application Terminate Reasons to RADIUS Terminate Codes . . . . . . . . . 81
Configuration Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Configuring Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Limiting Active Subscribers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Notifying RADIUS of AAA Failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
Configuring Standard RADIUS IPv6Attributesfor IPv6 Neighbor Discovery Router
Advertisements and DHCPv6 Prefix Delegation . . . . . . . . . . . . . . . . . . . . . . . 87
Duplicate IPv6 Prefix Check Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Configuring Duplicate IPv6 Prefix Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Propagation of LAG Subscriber Information to AAA and RADIUS . . . . . . . . . . . . . 89
Configuring the SRC Client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Retrieval of DSL Line Rate Information from Access Nodes Overview . . . . . . . . . 99
DHCPv6 Local Address Pools for Allocation of IPv6 Prefixes Overview . . . . . . . 100
DHCPv6 Prefix Delegation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Order of Preference in Determining the Local Address Pool for Allocating
Prefixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Order of Preference in Allocating Prefixes and Assigning DNS Addresses to
Requesting Routers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Configuring the DHCPv6 Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Limitation on the Number of Prefixes Used by Clients . . . . . . . . . . . . . . . . . 106
Using DHCPv6 Local Address Pools for Prefix Delegation over non-PPP Links
Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Chapter 2 Monitoring and Troubleshooting Remote Access . . . . . . . . . . . . . . . . . . . . . 109
Setting Baselines for Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
Setting a Baseline for AAA Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Setting a Baseline for AAA Route Downloads . . . . . . . . . . . . . . . . . . . . . . . . . 111
Setting a Baseline for COPS Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Setting a Baseline for Local Address Pool Statistics . . . . . . . . . . . . . . . . . . . . 111
Setting a Baseline for RADIUS Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Setting the Baseline for SRC Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
How to Monitor PPP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Monitoring AAA Accounting Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Monitoring AAA Accounting Default . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Monitoring Accounting Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Monitoring Specific Virtual Router Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Monitoring the Default AAA Authentication Method List . . . . . . . . . . . . . . . . . . . . 114
Monitoring Domain and Realm Name Delimiters . . . . . . . . . . . . . . . . . . . . . . . . . . 114
Monitoring Mapping Between User Domains and Virtual Routers . . . . . . . . . . . . 115
Monitoring Tunnel Subscriber Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
xi Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Monitoring Routing Table Address Lookup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Monitoring the AAA Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Monitoring IP Addresses of Primary and Secondary DNS and WINS Name
Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Monitoring AAA Profile Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Monitoring Statistics about the RADIUS Route-Download Server . . . . . . . . . . . . 119
Monitoring Routes Downloaded by the RADIUS Route-Download Server . . . . . . 121
Monitoring Chassis-Wide Routes Downloaded by RADIUS Route-Download
Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
Monitoring Authentication, Authorization, and Accounting Statistics . . . . . . . . . 124
Monitoring the Number of Active Subscribers Per Port . . . . . . . . . . . . . . . . . . . . . 126
Monitoring the Maximum Number of Active Subscribers Per Virtual Router . . . . 126
Monitoring Session Timeouts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Monitoring Interim Accounting for Users on the Virtual Router . . . . . . . . . . . . . . . 127
Monitoring Virtual Router Groups Configured for AAA Broadcast Accounting . . . 127
Monitoring Configuration Information for AAA Local Authentication . . . . . . . . . . 128
Monitoring AAA Server Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Monitoring the COPS Layer Over SRC Connection . . . . . . . . . . . . . . . . . . . . . . . . . 131
Monitoring Statistics About the COPS Layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
Monitoring Local Address Pool Aliases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Monitoring Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Monitoring Local Address Pool Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Monitoring Shared Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Monitoring the Routing Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Monitoring the B-RAS License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
Monitoring the RADIUS Server Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Monitoring RADIUS Override Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Monitoring the RADIUS Rollover Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Monitoring RADIUS Server Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Monitoring RADIUS Services Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Monitoring RADIUS SNMP Traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Monitoring RADIUS Accounting for L2TP Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . 145
Monitoring RADIUS UDP Checksums . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Monitoring RADIUS Server IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Monitoring the RADIUS Attribute Used for IPv6 Neighbor Discovery Router
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Monitoring the RADIUS Attribute Used for DHCPv6 Prefix Delegation . . . . . . . . 146
Monitoring Duplicate IPv6 Prefixes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Monitoring SRC Client Connection Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Monitoring SRC Client Connection Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
Monitoring the SRC Client Version Number . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Monitoring Subscriber Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Monitoring Application Terminate Reason Mappings . . . . . . . . . . . . . . . . . . . . . . 156
Monitoring IPv6 Local Pools for DHCP Prefix Delegation By All Configured
Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Monitoring IPv6 Local Pools for DHCP Prefix Delegation By Pool Name . . . . . . . 158
Monitoring IPv6 Local Pool Statistics for DHCP Prefix Delegation . . . . . . . . . . . . 160
Copyright © 2010, Juniper Networks, Inc. xii
Table of Contents
Part 2 Managing RADIUS and TACACS+
Chapter 3 Configuring RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
RADIUS Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
RADIUS Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
RADIUS Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
RADIUS References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Subscriber AAA Access Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165
Supported RADIUS IETF Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
Supported Juniper Networks VSAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Subscriber AAA Accounting Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
Supported RADIUS IETF Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174
Supported Juniper Networks VSAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
Tunnel Accounting Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
DSL Forum VSAs in AAA Access and Accounting Messages . . . . . . . . . . . . . . . . 182
CLI AAA Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
CLI Commands Used to Modify RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . 184
RADIUS IETF Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
[4] NAS-IP-Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
[5] NAS-Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185
[8] Framed-IP-Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
[9] Framed-Ip-Netmask . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
[13] Framed-Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
[25] Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
[30] Called-Station-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
[31] Calling-Station-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
[32] NAS-Identifier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195
[41] Acct-Delay-Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
[44] Acct-Session-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
[45] Acct-Authentic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
[49] Acct-Terminate-Cause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199
[50] Acct-Multi-Session-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
[51] Acct-Link-Count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
[52] Acct-Input-Gigawords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
[53] Output-Gigawords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
[55] Event-Timestamp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
[61] NAS-Port-Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
[64] Tunnel-Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
[65] Tunnel-Medium-Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
[66] Tunnel-Client-Endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
[67] Tunnel-Server-Endpoint . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
[68] Acct-Tunnel-Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
[77] Connect-Info . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 205
[82] Tunnel-Assignment-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
[83] Tunnel-Preference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
[87] NAS-Port-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
[90] Tunnel-Client-Auth-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
[91] Tunnel-Server-Auth-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
xiii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
[96] Framed-Interface-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
[97] Framed-Ipv6-Prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
[99] Framed-Ipv6-Route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209
[100] Framed-Ipv6-Pool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
[123] Delegated-Ipv6-Prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
[188] Ascend-Num-In-Multilink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
All Tunnel Server Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Juniper Networks Vendor-Specific Attributes . . . . . . . . . . . . . . . . . . . . . . . . . 212
[26-1] Virtual-Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
[26-10] Ingress-Policy-Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
[26-11] Egress-Policy-Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
[26-14] Service-Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
[26-15] PCR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
[26-16] SCR . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
[26-17] MBS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
[26-24] Pppoe-Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
[26-35] Acct-Input-Gigapackets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
[26-36] Acct-Output-Gigapackets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
[26-44] Tunnel-Interface-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
[26-45] Ipv6-Virtual-Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
[26-46] Ipv6-Local-Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
[26-47] Ipv6-Primary-DNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
[26-48] Ipv6-Secondary-DNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
[26-51] Disconnect-Cause . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
[26-53] Service-Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218
[26-55] DHCP-Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
[26-56] DHCP-MAC-Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
[26-57] DHCP-GI-Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 219
[26-62] MLPPP-Bundle-Name . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
[26-63] Interface-Desc . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
[26-81] L2C-Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
[26-92] L2C-Up-Stream-Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
[26-93] L2C-Down-Stream-Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
[26-129] Ipv6-NdRa-Prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
[26-141] Downstream-Calculated-Qos-Rate . . . . . . . . . . . . . . . . . . . . . 222
[26-142] Upstream-Calculated-Qos-Rate . . . . . . . . . . . . . . . . . . . . . . . 223
[26-143] Max-Clients-Per-Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
[26-150] ICR-Partition-Id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
All IPv6 Accounting Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
[26-159] DHCP-Option 82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
ANCP-Related Juniper Networks VSAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225
DSL Forum Vendor-Specific Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227
Including or Excluding Attributes in RADIUS Messages . . . . . . . . . . . . . . . . . 229
Ignoring Attributes When Receiving Access-Accept Messages . . . . . . . . . . 229
Chapter 4 Configuring RADIUS Dynamic-Request Server . . . . . . . . . . . . . . . . . . . . . . . 231
RADIUS Dynamic-Request Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 231
RADIUS Dynamic-Request Server Platform Considerations . . . . . . . . . . . . . . . . 232
RADIUS Dynamic-Request Server References . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Copyright © 2010, Juniper Networks, Inc. xiv
Table of Contents
How RADIUS Dynamic-Request Server Works . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
RADIUS-Initiated Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Disconnect Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Message Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
Supported Error-Cause Codes (RADIUS Attribute 101) . . . . . . . . . . . . . . . . . 234
Qualifications for Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
Security/Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Configuring RADIUS-Initiated Disconnect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
RADIUS-Initiated Change of Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
Change-of-Authorization Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Message Exchange . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
Supported Error-Cause Codes (RADIUS Attribute 101) . . . . . . . . . . . . . . . . . 236
Qualifications for Change of Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Security/Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Configuring RADIUS-Initiated Change of Authorization . . . . . . . . . . . . . . . . . . . . 238
RADIUS Dynamic-Request Server Commands . . . . . . . . . . . . . . . . . . . . . . . . . . 238
Monitoring RADIUS Dynamic-Request Servers . . . . . . . . . . . . . . . . . . . . . . . . . . 240
Chapter 5 Configuring RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
RADIUS Relay Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
RADIUS Relay Server Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
RADIUS Relay Server References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
How RADIUS Relay Server Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Authentication and Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
Terminating the Wireless Subscriber’s Connection . . . . . . . . . . . . . . . . . . . . 244
RADIUS Relay Server and the SRC Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Using the SRC Software for Addressing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Using the SRC Application for Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Configuring RADIUS Relay Server Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
Monitoring RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Chapter 6 RADIUS Attribute Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
RADIUS IETF Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Juniper Networks VSAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
DSL Forum VSAs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
Pass Through RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
RADIUS Attributes References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
Chapter 7 Application Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
AAA Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
L2TP Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
PPP Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288
RADIUS Client Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Chapter 8 Monitoring RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Monitoring Override Settings of RADIUS IETF Attributes . . . . . . . . . . . . . . . . . . . 297
Monitoring the NAS-Port-Format RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . 298
Monitoring the Calling-Station-Id RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . 299
Monitoring the NAS-Identifier RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . . . . 299
xv Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Monitoring the Format of the Remote-Circuit-ID for RADIUS . . . . . . . . . . . . . . . 299
Monitoring the Delimiter Character in the Remote-Circuit-ID for RADIUS . . . . . 300
Monitoring the Acct-Session-Id RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . . 300
Monitoring the DSL-Port-Type RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . . . 300
Monitoring the Connect-Info RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Monitoring the NAS-Port-ID RADIUS Attribute . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Monitoring Included RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Monitoring Ignored RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
Setting the Baseline for RADIUS Dynamic-Request Server Statistics . . . . . . . . . 304
Monitoring RADIUS Dynamic-Request Server Statistics . . . . . . . . . . . . . . . . . . . 304
Monitoring the Configuration of the RADIUS Dynamic-Request Server . . . . . . . 305
Setting a Baseline for RADIUS Relay Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Monitoring RADIUS Relay Server Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
Monitoring the Configuration of the RADIUS Relay Server . . . . . . . . . . . . . . . . . 308
Monitoring the Status of RADIUS Relay UDP Checksums . . . . . . . . . . . . . . . . . . 309
Monitoring the Status of ICR Partition Accounting . . . . . . . . . . . . . . . . . . . . . . . 309
Chapter 9 Configuring TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
TACACS+ Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
AAA Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Administrative Login Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Privilege Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Login Authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
TACACS+ Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
TACACS+ References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Before You Configure TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Configuring TACACS+ Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Configuring Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Configuring Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
Chapter 10 Monitoring TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Setting Baseline TACACS+ Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Monitoring TACACS+ Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Monitoring TACACS+ Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
Part 3 Managing L2TP
Chapter 11 L2TP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
L2TP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
L2TP Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Implementing L2TP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Packet Fragmentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
L2TP Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333
L2TP Module Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Sessions and Tunnels Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
Sequence of Events on the LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 331
Sequence of Events on the LNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332
ERX7xx Models, ERX14xx Models, and the ERX310 Router . . . . . . . . . . . . . . 334
E120 Router and E320 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 334
Copyright © 2010, Juniper Networks, Inc. xvi
Table of Contents
L2TP References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 336
Chapter 12 Configuring an L2TP LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
LAC Configuration Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Modifying L2TP LAC Default Settings for Managing Destinations, Tunnels, and
Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
Generating UDP Checksums in Packets to L2TP Peers . . . . . . . . . . . . . . . . . . . . 339
Specifying a Destruct Timeout for L2TP Tunnels and Sessions . . . . . . . . . . . . . 339
Preventing Creation of New Destinations, Tunnels, and Sessions . . . . . . . . . . . . 340
Preventing Creation of New Destinations, Tunnels, and Sessions on the
Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340
Preventing Creation of New Tunnels and Sessions at a Destination . . . . . . 340
Preventing Creation of New Sessions for a Tunnel . . . . . . . . . . . . . . . . . . . . . 341
Specifying a Drain Timeout for a Disconnected Tunnel . . . . . . . . . . . . . . . . . 341
Shutting Down Destinations, Tunnels, and Sessions . . . . . . . . . . . . . . . . . . . . . . 341
Closing Existing and Preventing New Destinations, Tunnels, and Sessions
on the Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 341
Closing Existing and Preventing New Tunnels and Sessions for a
Destination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Closing Existing and Preventing New Sessions in a Specific Tunnel . . . . . . . 342
Closing a Specific Session . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
Specifying the Number of Retransmission Attempts . . . . . . . . . . . . . . . . . . . . . . 342
Configuring Calling Number AVP Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
Calling Number AVP 22 Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . 347
Configuring the Fallback Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Disabling the Calling Number AVP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
Mapping a User Domain Name to an L2TP Tunnel Overview . . . . . . . . . . . . . . . . 351
Mapping User Domain Names to L2TP Tunnels from Domain Map Tunnel
Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
Mapping User Domain Names to L2TP Tunnels from Tunnel Group Tunnel
Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Configuring the RX Speed on the LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358
Managing the L2TP Destination Lockout Process . . . . . . . . . . . . . . . . . . . . . . . . 359
Modifying the Lockout Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 359
Verifying That a Locked-Out Destination Is Available . . . . . . . . . . . . . . . . . . 360
Configuring a Lockout Timeout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Unlocking a Destination that is Currently Locked Out . . . . . . . . . . . . . . . . . . 361
Starting an Immediate Lockout Test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 361
Managing Address Changes Received from Remote Endpoints . . . . . . . . . . . . . . 361
Configuring LAC Tunnel Selection Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Configuring the Failover Between Preference Levels Method . . . . . . . . . . . . 363
Configuring the Failover Within a Preference Level Method . . . . . . . . . . . . . 364
Configuring the Maximum Sessions per Tunnel . . . . . . . . . . . . . . . . . . . . . . 364
Configuring the Weighted Load Balancing Method . . . . . . . . . . . . . . . . . . . . 365
Chapter 13 Configuring an L2TP LNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
LNS Configuration Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Configuring an LNS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368
Creating an L2TP Destination Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 370
Creating an L2TP Host Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371
xvii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Configuring the Maximum Number of LNS Sessions . . . . . . . . . . . . . . . . . . . . . . 372
Configuring the RADIUS Connect-Info Attribute on the LNS . . . . . . . . . . . . . . . . 372
Overriding LNS Out-of-Resource Result Codes 4 and 5 . . . . . . . . . . . . . . . . . . . . 373
Overriding the Result Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Displaying the Current Override Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Selecting Service Modules for LNS Sessions Using MLPPP . . . . . . . . . . . . . . . . . 374
Assigning Bundled Group Identifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Overriding All Endpoint Discriminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375
Enabling Tunnel Switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Creating Persistent Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Testing Tunnel Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Managing L2TP Destinations, Tunnels, and Sessions . . . . . . . . . . . . . . . . . . . . . . 377
Configuring Disconnect Cause Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Generating the Disconnect Cause AVP Globally . . . . . . . . . . . . . . . . . . . . . . 378
Generating the Disconnect Cause AVP with a Host Profile . . . . . . . . . . . . . . 378
Enabling RADIUS Accounting for Disconnect Cause . . . . . . . . . . . . . . . . . . . 378
Displaying Disconnect Cause Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Configuring the Receive Window Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379
Configuring the Default Receive Window Size . . . . . . . . . . . . . . . . . . . . . . . . 379
Configuring the Receive Window Size on the LAC . . . . . . . . . . . . . . . . . . . . 380
Configuring the Receive Window Size on the LNS . . . . . . . . . . . . . . . . . . . . . 381
Configuring Peer Resynchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
Configuring Peer ResynchronizationforL2TP HostProfiles andAAA Domain
Map Tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
Configuring the Global L2TP Peer Resynchronization Method . . . . . . . . . . . 384
Using RADIUS to Configure Peer Resynchronization . . . . . . . . . . . . . . . . . . . 385
Configuring L2TP Tunnel Switch Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Applying the L2TP Tunnel Switch Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Configuration Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Configuring L2TP AVPs for Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
Enabling Tunnel Switching on the Router . . . . . . . . . . . . . . . . . . . . . . . . 387
Configuring L2TP Tunnel Switch Profiles . . . . . . . . . . . . . . . . . . . . . . . . 387
Applying L2TP Tunnel Switch Profiles by Using AAA Domain Maps . . . 388
Applying L2TP Tunnel Switch Profiles by Using AAA Tunnel Groups . . 389
Applying Default L2TP Tunnel Switch Profiles . . . . . . . . . . . . . . . . . . . . 389
Applying L2TP Tunnel Switch Profiles by Using RADIUS . . . . . . . . . . . . 390
Configuring the Transmit Connect Speed Calculation Method . . . . . . . . . . . . . . 391
Transmit Connect Speed Calculation Methods . . . . . . . . . . . . . . . . . . . . . . . 391
Static Layer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Dynamic Layer 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Actual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
Transmit Connect Speed Calculation Examples . . . . . . . . . . . . . . . . . . . . . . 393
Example 1: L2TP Session over ATM 1483 Interface . . . . . . . . . . . . . . . . 393
Example 2: L2TP Session over Ethernet VLAN Interface . . . . . . . . . . . . 394
Transmit Connect Speed Reporting Considerations . . . . . . . . . . . . . . . . . . . 394
Session Termination for Dynamic Speed Timeout . . . . . . . . . . . . . . . . . 394
Advisory Speed Precedence for VLANs over Bridged Ethernet . . . . . . . 394
Copyright © 2010, Juniper Networks, Inc. xviii
Table of Contents
Using AAA Domain Maps to Configure the Transmit Connect Speed
Calculation Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Using AAA Tunnel Groups to Configure the Transmit Connect Speed
Calculation Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 395
Using AAA Default Tunnel Parameters to Configure the Transmit Connect
Speed Calculation Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 396
Using RADIUS to Configure the Transmit Connect Speed Calculation
Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397
PPP Accounting Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 398
Chapter 14 Configuring L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
L2TP Dial-Out Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Network Model for Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Dial-Out Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Dial-Out Operational States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403
Virtual Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Targets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404
Outgoing Call Setup Details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Access-Request Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Access-Accept Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Outgoing Call . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Mutual Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Route Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
L2TP Dial-Out Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
L2TP Dial-Out References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Before You Configure L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Configuring L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 409
Monitoring L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Chapter 15 L2TP Disconnect Cause Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
L2TP Disconnect Cause Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Chapter 16 Monitoring L2TP and L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Monitoring the Mapping for User Domains and Virtual Routers with AAA . . . . . . 417
Monitoring Configured Tunnel Groups with AAA . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Monitoring Configuration of Tunnel Parameters with AAA . . . . . . . . . . . . . . . . . 422
Monitoring Global Configuration Status on E Series Routers . . . . . . . . . . . . . . . . 423
Monitoring Detailed Configuration Information for Specified Destinations . . . . . 425
Monitoring Locked Out Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Monitoring Configured Destination Profiles or Host Profiles . . . . . . . . . . . . . . . . 427
Monitoring Configured and Operational Status of all Destinations . . . . . . . . . . . 429
Monitoring Statistics on the Cause of a Session Disconnection . . . . . . . . . . . . . 430
Monitoring Detailed Configuration Information about Specified Sessions . . . . . 431
Monitoring Configured and Operational Summary Status . . . . . . . . . . . . . . . . . . 432
Monitoring Configured Switch Profiles on Router . . . . . . . . . . . . . . . . . . . . . . . . . 433
Monitoring Detailed Configuration Information about Specified Tunnels . . . . . . 434
Monitoring Configured and Operational Status of All Tunnels . . . . . . . . . . . . . . 436
xix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Monitoring Chassis-wide Configuration for L2TP Dial-out . . . . . . . . . . . . . . . . . . 437
Monitoring Status of Dial-out Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442
Monitoring Dial-out Targets within the Current VR Context . . . . . . . . . . . . . . . . . 443
Monitoring Operational Status within the Current VR Context . . . . . . . . . . . . . . 444
Part 4 Managing DHCP
Chapter 17 DHCP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
DHCP Overview Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 449
Session and Resource Control Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
DHCP Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 450
DHCP References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Configuring the DHCP Access Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Configuring DHCP Proxy Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 451
Logging DHCP Packet Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Viewing and Deleting DHCP Client Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 453
Chapter 18 DHCP Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Embedded DHCP Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
DHCP Local Server and Client Configuration . . . . . . . . . . . . . . . . . . . . . . . . . 457
Equal-Access Mode Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Local Pool Selection and Address Allocation . . . . . . . . . . . . . . . . . . . . . . . . 458
The Connection Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Standalone Mode Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Local Pool Selection and Address Allocation . . . . . . . . . . . . . . . . . . . . . . . . 460
Server Management Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
DHCP Local Server Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 462
DHCP Local Server Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Chapter 19 Configuring DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Configuring the DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Basic Configuration of DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Limiting the Number of IP Addresses Supplied by DHCP Local Server . . . . 466
Excluding IP Addresses from Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . 467
Configuring DHCP Local Server to Support Creation of Dynamic Subscriber
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 467
Differentiating Between Clients with the Same Client ID or Hardware
Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Logging Out DHCP Local Server Subscribers . . . . . . . . . . . . . . . . . . . . . . . . 469
Clearing an IP DHCP Local Server Binding . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Using SNMP Traps to Monitor DHCP Local Server Events . . . . . . . . . . . . . . 470
Using DHCP Local Server Event Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Configuring DHCP Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Basic Configuration of DHCP Local Address Pools . . . . . . . . . . . . . . . . . . . . 471
Linking Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
Setting Grace Periods for Address Leases . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Configuring AAA Authentication for DHCP Local Server Standalone Mode . . . . 474
Configuring the DHCPv6 Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Deleting DHCPv6 Client Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Configuring the Router to Work with the SRC Software . . . . . . . . . . . . . . . . . . . . 479
Copyright © 2010, Juniper Networks, Inc. xx
Table of Contents
Chapter 20 Configuring DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Configuring DHCP Relay and BOOTP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Enabling DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 484
Removing Access Routes from Routing Tables and NVS . . . . . . . . . . . . . . . 484
Treating All Packets as Originating at Trusted Sources . . . . . . . . . . . . . . . . . 485
Assigning the Giaddr to Source IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . 485
Protecting Against Spoofed Giaddr and Relay Agent Option Values . . . . . . 485
Using the Broadcast Flag Setting to Control Transmission of DHCP Reply
Packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 486
Interaction with Layer 2 Unicast Transmission Method . . . . . . . . . . . . . 487
Preventing DHCP Relay from Installing Host Routes by Default . . . . . . . . . 488
Configuration Example—Preventing Installation of Host Routes . . . . . 488
Including Relay Agent Option Values in the PPPoE Remote Circuit ID . . . . . 489
Using the Giaddr to Identify the Primary Interface for Dynamic Subscriber
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Configuring Layer 2 Unicast Transmission Method for Reply Packets to
DHCP Clients . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 490
Using Option 60 Strings to Forward Client Traffic to Specific DHCP
Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
ConfigurationExample—UsingDHCP Relay Option 60 toSpecify Traffic
Forwarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 493
Relaying DHCP Packets That Originate from a Cable Modem . . . . . . . . . . . 494
Configuring Relay Agent Option 82 Information . . . . . . . . . . . . . . . . . . . . . . 494
Preventing Option 82 Information from Being Stripped from Trusted Client
Packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Configuring Relay Agent Information Option (Option 82) Suboption
Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 495
Format of the JunosE Data Field in the Vendor-Specific Suboption for
Option 82 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
Using the set dhcp relay agent sub-option Command to Enable Option
82 Suboption Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
Configuration Example—Using DHCP Relay Option 82 to Pass IEEE
802.1p Values to DHCP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
Using the set dhcp relay agent Command to Enable Option 82
Suboption Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 504
Rate of DHCP Client Packets Processed by DHCP Relay Overview . . . . . . . . . . 506
Manually Configuring the Maximum Rate of Client Packets Processed Per
Second by DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 506
Configuring the Rate of Client Packets Processed by DHCP Relay . . . . . . . . . . . 507
Configuring DHCP Relay Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Enabling DHCP Relay Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Use the First Offer from a DHCP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 507
Set a Timeout for DHCP Client Renewal Messages . . . . . . . . . . . . . . . . . . . 508
Managing Host Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 508
Selecting the DHCP Server Response . . . . . . . . . . . . . . . . . . . . . . . . . . 509
Behavior for Bound Clients and Address Renewals . . . . . . . . . . . . . . . . 509
xxi Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Chapter 21 Configuring the DHCP External Server Application . . . . . . . . . . . . . . . . . . . . 511
DHCP External Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 511
Preservation of Dynamic Subscriber Interfaces with DHCP External Server
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 513
DHCP External Server Identification of Clients with Duplicate MAC Addresses
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514
Configuration Guidelines for Using Duplicate MAC Mode . . . . . . . . . . . . . . . 515
Restrictions for Using Duplicate MAC Mode to Manage Clients . . . . . . . . . . 515
DHCP External Server Configuration Requirements . . . . . . . . . . . . . . . . . . . . . . . 516
Enabling and Disabling the DHCP External Server Application . . . . . . . . . . . . . . 516
Monitoring DHCP Traffic Between Remote Clients and DHCP Servers . . . . . . . . 516
Synchronizing the DHCP External Application and the Router . . . . . . . . . . . . . . . 517
Configuring Interoperation with Ethernet DSLAMs . . . . . . . . . . . . . . . . . . . . . . . . 517
Configuring the DHCP External Server to Support the Creation of Dynamic
Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 518
Configuring DHCP ExternalServerto Control Preservation ofDynamic Subscriber
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 519
Configuring Dynamic Subscriber Interfaces for Interoperation with DHCP Relay
and DHCP Relay Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 520
Deleting Clients from a Virtual Router’s DHCP Binding Table . . . . . . . . . . . . . . . . 521
Configuring DHCP External Server to Uniquely Identify Clients with Duplicate
MAC Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 522
Configuring DHCP External Server to Re-Authenticate Auto-Detected Dynamic
Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 523
Chapter 22 Monitoring and Troubleshooting DHCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 525
Setting Baselines for DHCP Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 526
Setting a Baseline for DHCP Relay and Relay Proxy . . . . . . . . . . . . . . . . . . . 526
Setting a Baseline for DHCP Proxy Server Statistics . . . . . . . . . . . . . . . . . . . 526
Setting a Baseline for DHCP External Server Statistics . . . . . . . . . . . . . . . . . 526
Setting a Baseline for DHCP Local Server Statistics . . . . . . . . . . . . . . . . . . . 527
Monitoring Addresses Excluded from DHCP Local Server Use . . . . . . . . . . . . . . . 527
Monitoring DHCP Bindings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
Monitoring DHCP Binding Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 528
Monitoring DHCP Binding Count Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 531
Monitoring DHCP Binding Host Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 533
Monitoring DHCP Bindings (Displaying IP Address-to-MAC Address
Bindings) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 535
Monitoring DHCP Bindings (Displaying DHCP Bindings Based on Binding ID) . . 536
Monitoring DHCP Bindings (Local Server Binding Information) . . . . . . . . . . . . . . 537
Monitoring DHCP External Server Configuration Information . . . . . . . . . . . . . . . 538
Monitoring DHCP External Server Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 539
Monitoring DHCP External Server Duplicate MAC Address Setting . . . . . . . . . . . 540
Monitoring DHCP Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 540
Monitoring DHCP Local Server Authentication Information . . . . . . . . . . . . . . . . 543
Monitoring DHCP Local Server Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Monitoring DHCP Local Server Leases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 544
Monitoring DHCP Local Server Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 546
Monitoring DHCP Option 60 Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
Copyright © 2010, Juniper Networks, Inc. xxii
Monitoring DHCP Packet Capture Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 549
Monitoring DHCP Relay Configuration Information . . . . . . . . . . . . . . . . . . . . . . . 550
Monitoring DHCP Relay Proxy Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 551
Monitoring DHCP Relay Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 553
Monitoring DHCP Server and DHCP Relay Agent Statistics . . . . . . . . . . . . . . . . . 556
Monitoring DHCP Server and Proxy Client Information . . . . . . . . . . . . . . . . . . . . 557
Monitoring DHCPv6 Local Server Binding Information . . . . . . . . . . . . . . . . . . . . 558
Monitoring DHCPv6 Local Server DNS Search Lists . . . . . . . . . . . . . . . . . . . . . . . 559
Monitoring DHCPv6 Local Server DNS Servers . . . . . . . . . . . . . . . . . . . . . . . . . . 559
Monitoring DHCPv6 Local Server Prefix Lifetime . . . . . . . . . . . . . . . . . . . . . . . . . 559
Monitoring DHCPv6 Local Server Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
Monitoring Duplicate MAC Addresses Use By DHCP Local Server Clients . . . . . . 561
Monitoring the Maximum Number of Available Leases . . . . . . . . . . . . . . . . . . . . 562
Monitoring Static IP Address and MAC Address Pairs Supplied by DHCP Local
Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 563
Monitoring Status of DHCP Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564
Part 5 Managing the Subscriber Environment
Table of Contents
Chapter 23 Configuring Subscriber Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Subscriber Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
Subscriber Management Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . 568
Subscriber Management Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Dynamic IP Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 568
Subscriber Management Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Configuring Subscriber Management with an External DHCP Server . . . . . 570
Subscriber Management Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 571
Subscriber Management Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . 578
Username with ATM Circuit Identifier and No Circuit Type . . . . . . . . . . . . . . 579
Username with VLAN Circuit Identifier and Circuit Type . . . . . . . . . . . . . . . . 579
Username with MAC Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 580
Chapter 24 Monitoring Subscriber Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Monitoring IP Service Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 581
Monitoring Active IP Subscribers Created by Subscriber Management . . . . . . . . 582
Chapter 25 Configuring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Subscriber Interfaces Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Dynamic Interfaces and Dynamic Subscriber Interfaces . . . . . . . . . . . . . . . 586
Relationship to Shared IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Relationship to Primary IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 587
Ethernet Interfaces and VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 588
Moving Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Preventing IP Spoofing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Routing Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Policies and QoS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
xxiii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
Directing Traffic Toward Special Local Content . . . . . . . . . . . . . . . . . . . 589
Differentiating Traffic for VPNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 590
Subscriber Interfaces Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Interface Specifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
Subscriber Interfaces References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
Dynamic Creation of Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
DHCP Servers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 592
DHCP Local Server and Address Allocation . . . . . . . . . . . . . . . . . . . . . . 593
DHCP External Server and Address Allocation . . . . . . . . . . . . . . . . . . . 593
DHCP Relay Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Supported Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 593
Packet Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 594
Designating Traffic for the Primary IP Interface . . . . . . . . . . . . . . . . . . . . . . . 595
Using Framed Routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
Inheritance of MAC Address Validation State for Dynamic Subscriber
Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 595
How MAC Address Validation State Inheritance Works . . . . . . . . . . . . . 595
Configuration of MAC Address Validation State Inheritance . . . . . . . . . 596
Verification of MAC Address Validation State Inheritance . . . . . . . . . . . 596
Configuring Static Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597
Using a Destination Address to Demultiplex Traffic . . . . . . . . . . . . . . . . . . . 597
Using a Source Address to Demultiplex Traffic . . . . . . . . . . . . . . . . . . . . . . . 599
Configuring Dynamic Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603
Configuring Dynamic Subscriber Interfaces over Ethernet . . . . . . . . . . . . . . 604
Configuring Dynamic Subscriber Interfaces over VLANs . . . . . . . . . . . . . . . 604
Configuring Dynamic Subscriber Interfaces over Bridged Ethernet . . . . . . . 606
Configuring Dynamic Subscriber Interfaces over GRE Tunnels . . . . . . . . . . . 607
Dynamic Subscriber Interface Configuration Example . . . . . . . . . . . . . . . . . 608
Chapter 26 Monitoring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
Monitoring Subscriber Interfaces Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
Monitoring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617
Monitoring Active IP Subscribers Created by Subscriber Management . . . . . . . . 618
Part 6 Managing Subscriber Services
Chapter 27 Configuring Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Service Manager Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Service Manager Platform Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
Service Manager References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
Service Manager Configuration Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 625
Service Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Referencing Policies in Service Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 632
Service Manager Terms and Acronyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 624
Creating Service Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 628
Managing Your Service Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630
Copyright © 2010, Juniper Networks, Inc. xxiv
Table of Contents
Referencing QoS Configurations in Service Definitions . . . . . . . . . . . . . . . . . . . . 632
Specifying QoS Profiles in a Service Definition . . . . . . . . . . . . . . . . . . . . . . . 632
Configuring a QoS Profile for Service Manager . . . . . . . . . . . . . . . . . . . 633
Specifying QoS Profiles in a Service Definition . . . . . . . . . . . . . . . . . . . . 633
Specifying QoS Parameter Instances in a Service Definition . . . . . . . . . . . . 634
Creating a Parameter Instance in a Profile . . . . . . . . . . . . . . . . . . . . . . . 634
Specifying QoS Parameter Instances in a Service Definition . . . . . . . . . 635
Modifying QoS Configurations with Service Manager . . . . . . . . . . . . . . . . . . 636
Modifying Parameter Instances . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
Modifying QoS Configurations in a Single Service Manager Event . . . . 637
Modifying QoS Configurations Using Other Sources . . . . . . . . . . . . . . . 638
Removing QoS Configurations Referenced by Service Manager . . . . . . . . . 639
QoS for Service Manager Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
RADIUS or Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Interoperability with Other Service Components . . . . . . . . . . . . . . . . . 640
QoS Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Ranges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Configuring the Service Manager License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 640
Managing and Activating Service Sessions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
Using RADIUS to Manage Subscriber Service Sessions . . . . . . . . . . . . . . . . . . . . 641
Using RADIUS to Activate Subscriber Service Sessions . . . . . . . . . . . . . . . . 642
Service Manager RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
Using Tags with RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
Using RADIUS to Deactivate Service Sessions . . . . . . . . . . . . . . . . . . . . . . . 647
Setting Thresholds . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
Using the Deactivate-Service Attribute . . . . . . . . . . . . . . . . . . . . . . . . . 648
Using Mutex Groups to Activate and Deactivate Subscriber Services . . . . . . . . . 648
Activating and Deactivating Multiple Services . . . . . . . . . . . . . . . . . . . . . . . 648
Configuring a Mutex Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
Combined and Independent IPv4 and IPv6 Services in a Dual Stack Overview . . 650
Activation and Deactivation of IPv4 and IPv6 Services in a Dual Stack . . . . . . . 652
Independent IPv4 and IPv6 Services in a Dual Stack . . . . . . . . . . . . . . . . . . 652
Combined IPv4 and IPv6 Service in a Dual Stack . . . . . . . . . . . . . . . . . . . . . 652
PerformanceImpact on theRouterand Compatibility with Previous Releases
for an IPv4 and IPv6 Dual Stack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
Configuring RADIUS Accounting for Service Manager . . . . . . . . . . . . . . . . . . . . . 653
Configuring Service Interim Accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
Service Interim Accounting for IPv4 and IPv6 Services in a Dual Stack
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658
Using the CLI to Manage Subscriber Service Sessions . . . . . . . . . . . . . . . . . . . . 658
Using the CLI to Activate Subscriber Service Sessions . . . . . . . . . . . . . . . . . 659
Preprovisioning Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661
Using Service Session Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 662
Using the CLI to Deactivate Subscriber Service Sessions . . . . . . . . . . . . . . . 665
Gracefully Deactivating Subscriber Service Sessions . . . . . . . . . . . . . . 665
Forcing Immediate Deactivation of Subscriber Service Sessions . . . . . 666
Using Service Session Profiles to Deactivate Service Sessions . . . . . . . 666
xxv Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Configuring Service Manager Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
Setting Up the Service Definition File for Statistics Collection . . . . . . . . . . . 667
Enabling Statistics Collection with RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . 669
Enabling Statistics Collection with the CLI . . . . . . . . . . . . . . . . . . . . . . . . . . 669
External Parent Group Statistics Collection Setup . . . . . . . . . . . . . . . . . . . . 670
Service Manager Performance Considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Service Definition Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Tiered Service Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 672
Video-on-Demand Service Definition Example . . . . . . . . . . . . . . . . . . . . . . . 672
Voice-over-IP Service Definition Example . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Guided Entrance Service Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 674
Guided Entrance Service Definition Example . . . . . . . . . . . . . . . . . . . . . 675
Using CoA Messages with Guided Entrance Services . . . . . . . . . . . . . . 676
Configuring the HTTP Local Server to Support Guided Entrance . . . . . 677
Combined IPv4 and IPv6 Service in a Dual Stack Example . . . . . . . . . . . . . 682
Chapter 28 Monitoring Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 687
Setting a Baseline for HTTP Local Server Statistics . . . . . . . . . . . . . . . . . . . . . . . 687
Monitoring the Connections to the HTTP Local Server . . . . . . . . . . . . . . . . . . . . 688
Monitoring the Configuration of the HTTP Local Server . . . . . . . . . . . . . . . . . . . 688
Monitoring Statistics for Connections to the HTTP Local Server . . . . . . . . . . . . 689
Monitoring Profiles for the HTTP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
Monitoring the Default Interval for Interim Accounting of Services . . . . . . . . . . . 691
Monitoring the Status of the Service Manager License . . . . . . . . . . . . . . . . . . . . . 691
Monitoring Profiles for Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
Monitoring IPv4 and IPv6 Interfaces for Service Manager . . . . . . . . . . . . . . . . . . 693
Monitoring Service Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 703
Monitoring Service Session Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
Monitoring Active Owner Sessions with Service Manager . . . . . . . . . . . . . . . . . . 705
Monitoring Active Subscriber Sessions with Service Manager . . . . . . . . . . . . . . . 708
Monitoring the Number of Active Subscriber and Service Sessions with
Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710
Part 7 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
Copyright © 2010, Juniper Networks, Inc. xxvi
List of Figures
Part 1 Managing Remote Access
Chapter 1 Configuring Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Figure 1: Local Address Pool Hierarchy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Figure 2: Shared Local Address Pools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Figure 3: Single PPP Clients per ATM Subinterface . . . . . . . . . . . . . . . . . . . . . . . . 58
Figure 4: Multiple PPP Clients per ATM Subinterface . . . . . . . . . . . . . . . . . . . . . . . 59
Part 2 Managing RADIUS and TACACS+
Chapter 4 Configuring RADIUS Dynamic-Request Server . . . . . . . . . . . . . . . . . . . . . . . 231
Figure 5: Sample Remote Access Network Using RADIUS . . . . . . . . . . . . . . . . . . 232
Chapter 5 Configuring RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Figure 6: RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
Part 3 Managing L2TP
Chapter 11 L2TP Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Figure 7: Using the E Series Router as an LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Figure 8: Using the E Series Router as an LNS . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Chapter 12 Configuring an L2TP LAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
Figure 9: Lockout States . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 360
Chapter 14 Configuring L2TP Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401
Figure 10: Network Model for Dial-Out . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 402
Part 4 Managing DHCP
Chapter 18 DHCP Local Server Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Figure 11: Non-PPP Equal Access via the Router . . . . . . . . . . . . . . . . . . . . . . . . . 460
Chapter 19 Configuring DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Figure 12: Non-PPP Equal-Access Configuration Example . . . . . . . . . . . . . . . . . 480
Chapter 20 Configuring DHCP Relay . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 483
Figure 13: Passing 802.1p Values to the DHCP Server . . . . . . . . . . . . . . . . . . . . . . 501
Chapter 21 Configuring the DHCP External Server Application . . . . . . . . . . . . . . . . . . . . 511
Figure 14: DHCP External Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 512
Part 5 Managing the Subscriber Environment
Chapter 23 Configuring Subscriber Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 567
xxvii Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Figure 15: DHCP External Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 569
Chapter 25 Configuring Subscriber Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585
Figure 16: Example of a Dynamic Interface Stack . . . . . . . . . . . . . . . . . . . . . . . . 586
Figure 17: Example of a Dynamic Subscriber Interface . . . . . . . . . . . . . . . . . . . . . 587
Figure 18: Subscriber Interfaces over Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . 588
Figure 19: Subscriber Interfaces in a Cable Modem Network . . . . . . . . . . . . . . . . 590
Figure 20: Associating Subnets with a VPN Using Subscriber Interfaces . . . . . . . 591
Figure 21: IP over Ethernet Dynamic Subscriber Interface Configuration . . . . . . . 594
Figure 22: Subscriber Interfaces Using a Destination Address to Demultiplex
Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598
Figure 23: Subscriber Interfaces Using a Source Address to Demultiplex
Traffic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600
Figure 24: IP over Ethernet Dynamic Subscriber Interface Configuration . . . . . . 604
Figure 25: IP over VLAN over Ethernet Dynamic Subscriber Interface
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605
Figure 26: IP over Bridged Ethernet over ATM Dynamic Subscriber Interface
Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607
Figure 27: GRE Tunnel Dynamic Subscriber Interface Configuration . . . . . . . . . . 608
Part 6 Managing Subscriber Services
Chapter 27 Configuring Service Manager . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 623
Figure 28: Service Manager Configuration Flowchart . . . . . . . . . . . . . . . . . . . . . . 627
Figure 29: Sample Service Definition Macro File . . . . . . . . . . . . . . . . . . . . . . . . . 630
Figure 30: QoS Configuration Dependency Chain . . . . . . . . . . . . . . . . . . . . . . . . 639
Figure 31: Comparing RADIUS Login and RADIUS CoA Methods . . . . . . . . . . . . . 642
Figure 32: Guided Entrance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 675
Figure 33: Input Traffic Flow with Rate-Limit Profile on an External Parent Group
for a Combined IPv4/IPv6 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
Figure 34: Output Traffic Flow with Rate-Limit Profile on an External Parent
Group for a Combined IPv4/IPv6 Service . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
Copyright © 2010, Juniper Networks, Inc. xxviii
List of Tables
About the Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxv
Table 1: Notice Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvi
Table 2: Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxxvi
Part 1 Managing Remote Access
Chapter 1 Configuring Remote Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Username and Domain Name Examples . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Table 4: Local UDP Port Ranges by RADIUS Request Type . . . . . . . . . . . . . . . . . . 19
Table 5: RADIUS IETF Attributes in Preauthentication Request . . . . . . . . . . . . . . . 74
Table 6: VSAs That Apply to Dynamic IP Interfaces . . . . . . . . . . . . . . . . . . . . . . . . 78
Table 7: Traffic-Shaping VSAs That Apply to Dynamic IP Interfaces . . . . . . . . . . . 80
Table 8: Supported RADIUS Acct-Terminate-Cause Codes . . . . . . . . . . . . . . . . . . 81
Table 9: RADIUS Attributes Specifying LAG Interface . . . . . . . . . . . . . . . . . . . . . . . 91
Table 10: SRC Client and COPS Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Chapter 2 Monitoring and Troubleshooting Remote Access . . . . . . . . . . . . . . . . . . . . . 109
Table 11: show aaa accounting Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Table 12: show aaa accounting vr-group Output Fields . . . . . . . . . . . . . . . . . . . . . 114
Table 13: show aaa domain-map Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Table 14: show aaa profile Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Table 15: show aaa route-download Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 120
Table 16: show aaa route-download routes Output Fields . . . . . . . . . . . . . . . . . . 121
Table 17: show aaa route-download routes global Output Fields . . . . . . . . . . . . . 123
Table 18: show aaa statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
Table 19: show configuration category aaa global-attributes Output Fields . . . . 127
Table 20: show configuration category aaa local-authentication Output
Table 21: show configuration category aaa server-attributes include-defaults
Table 22: show cops info Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
Table 23: show cops statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134
Table 24: show ip local alias Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
Table 25: show ip local pool Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136
Table 26: show ip local shared-pool Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 138
Table 27: show radius override Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
Table 28: show radius servers Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
Table 29: show radius statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
Table 30: show sscc info Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
Table 31: show sscc statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
Table 32: show subscribers Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
xxix Copyright © 2010, Juniper Networks, Inc.
JunosE 11.2.x Broadband Access Configuration Guide
Table 33: show terminate-code Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
Table 34: show ipv6 local pool Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158
Table 35: show ipv6 local pool poolName Output Fields . . . . . . . . . . . . . . . . . . . 159
Table 36: show ipv6 local pool statistics Output Fields . . . . . . . . . . . . . . . . . . . . 160
Part 2 Managing RADIUS and TACACS+
Chapter 3 Configuring RADIUS Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
Table 37: AAA Access Message RADIUS IETF Attributes Supported . . . . . . . . . . 166
Table 38: AAA Access Message Juniper Networks (Vendor ID 4874) VSAs
Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169
Table 39: AAA Accounting Message RADIUS IETF Attributes Supported . . . . . . . 175
Table 40: AAA Accounting Message Juniper Network (Vendor ID 4874) VSAs
Supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
Table 41: AAA Accounting Tunnel Message RADIUS Attributes Supported . . . . . 181
Table 42: DSL Forum (Vendor ID 3561) VSAs Supported in AAA Access and
Accounting Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182
Table 43: CLI AAA Access Message RADIUS Attributes Supported . . . . . . . . . . . 183
Table 44: ANCP (L2C)-Related Keywords for radius include Command . . . . . . . 226
Chapter 4 Configuring RADIUS Dynamic-Request Server . . . . . . . . . . . . . . . . . . . . . . . 231
Table 45: Error-Cause Codes (RADIUS Attribute 101) . . . . . . . . . . . . . . . . . . . . . 234
Table 46: Error-Cause Codes (RADIUS Attribute 101) . . . . . . . . . . . . . . . . . . . . . 236
Chapter 5 Configuring RADIUS Relay Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241
Table 47: Required RADIUS Access-Request Attributes . . . . . . . . . . . . . . . . . . . . 243
Table 48: Required RADIUS Accounting Attributes . . . . . . . . . . . . . . . . . . . . . . . 244
Chapter 6 RADIUS Attribute Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Table 49: RADIUS IETF Attributes Supported by JunosE Software . . . . . . . . . . . 249
Table 50: Juniper Networks (Vendor ID 4874) VSA Formats . . . . . . . . . . . . . . . . 256
Table 51: JunosE Software DSL Forum (Vendor ID 3561) VSA Formats . . . . . . . . 267
Table 52: RADIUS Attribute Passed Through by JunosE Software . . . . . . . . . . . 268
Chapter 7 Application Terminate Reasons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Table 53: Default AAA Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 271
Table 54: Default L2TP Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Table 55: Default PPP Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
Table 56: Default RADIUS Client Mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295
Chapter 8 Monitoring RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Table 57: show radius override Output Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298
Table 58: show radius attributes-included Output Fields . . . . . . . . . . . . . . . . . . 303
Table 59: show radius dynamic-request statistics Output Fields . . . . . . . . . . . . 304
Table 60: show radius dynamic-request servers Output Fields . . . . . . . . . . . . . 306
Table 61: show radius relay statistics Output Fields . . . . . . . . . . . . . . . . . . . . . . . 307
Table 62: show radius relay servers Output Fields . . . . . . . . . . . . . . . . . . . . . . . . 308
Table 63: show radius relay udp-checksum Output Fields . . . . . . . . . . . . . . . . . 309
Chapter 9 Configuring TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Table 64: TACACS-Related Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
Table 65: TACACS+ Accounting Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
Copyright © 2010, Juniper Networks, Inc. xxx