You are on page 1of 182

Junos® OS

Broadband Subscriber Management Solutions


Guide

Release

11.4

Published: 2011-11-14

Copyright © 2011, Juniper Networks, Inc.


Juniper Networks, Inc.
1194 North Mathilda Avenue
Sunnyvale, California 94089
USA
408-745-2000
www.juniper.net
This product includes the Envoy SNMP Engine, developed by Epilogue Technology, an Integrated Systems Company. Copyright © 1986-1997,
Epilogue Technology Corporation. All rights reserved. This program and its documentation were developed at private expense, and no part
of them is in the public domain.

This product includes memory allocation software developed by Mark Moraes, copyright © 1988, 1989, 1993, University of Toronto.

This product includes FreeBSD software developed by the University of California, Berkeley, and its contributors. All of the documentation
and software included in the 4.4BSD and 4.4BSD-Lite Releases is copyrighted by the Regents of the University of California. Copyright ©
1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994. The Regents of the University of California. All rights reserved.

GateD software copyright © 1995, the Regents of the University. All rights reserved. Gate Daemon was originated and developed through
release 3.0 by Cornell University and its collaborators. Gated is based on Kirton’s EGP, UC Berkeley’s routing daemon (routed), and DCN’s
HELLO routing protocol. Development of Gated has been supported in part by the National Science Foundation. Portions of the GateD
software copyright © 1988, Regents of the University of California. All rights reserved. Portions of the GateD software copyright © 1991, D.
L. S. Associates.

This product includes software developed by Maker Communications, Inc., copyright © 1996, 1997, Maker Communications, Inc.

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.

®
Junos OS Broadband Subscriber Management Solutions Guide
Release 11.4
Copyright © 2011, Juniper Networks, Inc.
All rights reserved.

Revision History
November 2011—R1 Junos OS 11.4

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. 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.

END USER LICENSE AGREEMENT

The Juniper Networks product that is the subject of this technical documentation consists of (or is intended for use with) Juniper Networks
software. Use of such software is subject to the terms and conditions of the End User License Agreement (“EULA”) posted at
http://www.juniper.net/support/eula.html. By downloading, installing or using such software, you agree to the terms and conditions
of that EULA.

ii Copyright © 2011, Juniper Networks, Inc.


Table of Contents
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
JUNOS Documentation and Release Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Supported Routing Platforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Using the Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Using the Examples in This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Merging a Full Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Merging a Snippet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Documentation Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Documentation Feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Requesting Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
Self-Help Online Tools and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Opening a Case with JTAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix

Part 1 Broadband Subscriber Management Overview


Chapter 1 Subscriber Management Basics Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Broadband Subscriber Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Broadband Subscriber Management Platform Support . . . . . . . . . . . . . . . . . . . . . 4
Broadband Subscriber Management Network Topology Overview . . . . . . . . . . . . . 4
Broadband Subscriber Management Solutions Terms and Acronyms . . . . . . . . . . 5
Supporting Documentation for Broadband Subscriber Management . . . . . . . . . . . 7
Triple Play and Multiplay Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 2 Residential Broadband Technology Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Broadband History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
PPP in Broadband Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
DHCP in Broadband Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Broadband Service Delivery Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Digital Subscriber Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Active Ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Passive Optical Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Hybrid Fiber Coaxial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Broadband Delivery and FTTx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Copyright © 2011, Juniper Networks, Inc. iii


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Chapter 3 Broadband Subscriber Management Solution Hardware Overview . . . . . . 15


Broadband Subscriber Management Edge Router Overview . . . . . . . . . . . . . . . . . 15
Broadband Services Router Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
High-Speed Internet Access Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
IPTV Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Video Services Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Services Router Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Single-Edge Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Multiedge Placement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Multiservice Access Node Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Ethernet MSAN Aggregation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Direct Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Ethernet Aggregation Switch Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Ring Aggregation Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 4 Broadband Subscriber Management Solution Software Overview . . . . . . . 21
Broadband Subscriber Management Solution Topology and Configuration
Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Broadband Subscriber Management VLAN Architecture Overview . . . . . . . . . . . . 22
Broadband Subscriber Management VLANs Across an MSAN . . . . . . . . . . . . 23
Customer VLANs and Ethernet Aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . 23
VLANs and Residential Gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Broadband Subscriber Management IGMP Model Overview . . . . . . . . . . . . . . . . . 24
DHCP and Broadband Subscriber Management Overview . . . . . . . . . . . . . . . . . . 25
Extended DHCP Local Server and Broadband Subscriber Management
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Extended DHCP Relay and Broadband Subscriber Management
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
AAA Service Framework and Broadband Subscriber Management Overview . . . 26
Class of Service and Broadband Subscriber Management Overview . . . . . . . . . . 26
Policy and Control for Broadband Subscriber Management Overview . . . . . . . . . 27
Subscriber Management Licensing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Chapter 5 Broadband Subscriber Management Wholesale Overview . . . . . . . . . . . . . 29
Layer 2 and Layer 3 Wholesale Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Wholesale Network Configuration Options and Considerations . . . . . . . . . . . . . . 30
PPPoE Layer 3 Wholesale Configuration Interface Support . . . . . . . . . . . . . . . . . . 31
DHCP Layer 3 Wholesale Configuration Interface Support . . . . . . . . . . . . . . . . . . . 31
Layer 3 Wholesale Configuration DHCP Support . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Subscriber to Logical System and Routing Instance Relationship . . . . . . . . . . . . . 32
RADIUS VSAs and Broadband Subscriber Management Wholesale Configuration
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Part 2 Broadband Subscriber Management Triple Play Solution


Chapter 6 Broadband Subscriber Management Triple Play Overview . . . . . . . . . . . . . . 37
Triple Play Subscriber Management Network Topology Overview . . . . . . . . . . . . . 37

iv Copyright © 2011, Juniper Networks, Inc.


Table of Contents

Chapter 7 Configuring a Basic Triple Play Subscriber Management Network . . . . . . . 39


Configuring Top-Level Broadband Subscriber Management Elements . . . . . . . . 39
Configuring a Loopback Interface for the Broadband Subscriber Management
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Configuring Static Customer VLANs for the Broadband Subscriber Management
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Configuring Dynamic Customer VLANs for the Broadband Subscriber
Management Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
Configuring a Global Class of Service Profile for the Broadband Subscriber
Management Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Configuring a Class of Service Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Configuring CoS Fowarding Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
Configuring CoS Schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
Configuring Scheduler Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring CoS Classifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
Configuring CoS Interface Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
Configuring Dynamic Firewall Filter Services for Use in Dynamic Profiles . . . . . . . 50
Configuring AAA Service Framework for the Broadband Subscriber Management
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring RADIUS Server Access Information . . . . . . . . . . . . . . . . . . . . . . . . 51
Configuring RADIUS Server Access Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Configuring Address Server Elements for the Broadband Subscriber Management
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Configuring a DHCPv4 Address Assignment Pool . . . . . . . . . . . . . . . . . . . . . . 53
Configuring Extended DHCP Local Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
Configuring a PPPoE Dynamic Profile for the Triple Play Solution . . . . . . . . . . . . . 56
Configuring a DHCP Dynamic Profile for the Triple Play Solution . . . . . . . . . . . . . 58

Part 3 Broadband Subscriber Management DHCPv4 Layer 3 Wholesale


Network Solution
Chapter 8 Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network
Solution Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and
Configuration Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Chapter 9 Configuring the Broadband Subscriber Management DHCPv4 Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
DHCPv4 Layer 3 Wholesale Network Topology Overview . . . . . . . . . . . . . . . . . . . 65
Configuring Loopback Interfaces for the DHCPv4 Layer 3 Wholesale Solution . . 66
Configuring VLANs for the DHCPv4 Layer 3 Wholesale Network Solution . . . . . . 67
Configuring Static Customer VLANs for the DHCPv4 Layer 3 Wholesale
Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
Configuring Dynamic VLANs for the DHCPv4 Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
Configuring Access Components for the DHCP Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Configuring RADIUS Server Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Configuring a DHCP Wholesaler Access Profile . . . . . . . . . . . . . . . . . . . . . . . . 71

Copyright © 2011, Juniper Networks, Inc. v


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring DHCP Retailer Access Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71


Configuring Dynamic Profiles for the DHCPv4 Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Configuring a Wholesale Dynamic Profile for use in the DHCPv4
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Configuring a Dynamic Profile for use by a Retailer in the DHCPv4
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
Configuring Separate Routing Instances for DHCPv4 Service Retailers . . . . . . . . . 75
Configure Default Forwarding Options for the DHCPv4 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
Chapter 10 Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
Example: Wholesaler Dynamic Profile for a DHCPv4 Wholesale Network . . . . . . 81
Example: Retailer Dynamic Profile for a DHCPv4 Wholesale Network . . . . . . . . . 82
Example: Default Forwarding Options Configuration for the DHCPv4 Wholesale
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Example: Retailer Routing Instances for a DHCPv4 Wholesale Network . . . . . . . 83

Part 4 Broadband Subscriber Management DHCPv6 Layer 3 Wholesale


Network Solution
Chapter 11 Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network
Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Topology and
Configuration Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Chapter 12 Configuring the Broadband Subscriber Management DHCPv6 Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
DHCPv6 Layer 3 Wholesale Network Topology Overview . . . . . . . . . . . . . . . . . . . 91
Configuring Loopback Interfaces for the DHCPv6 Layer 3 Wholesale Solution . . 92
Configuring VLANs for the DHCPv6 Layer 3 Wholesale Network Solution . . . . . . 93
Configuring Static Customer VLANs for the DHCPv6 Layer 3 Wholesale
Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Configuring Dynamic Customer VLANs for the DHCPv6 Layer 3 Wholesale
Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
Configuring Access Components for the DHCP Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Configuring RADIUS Server Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
Configuring a DHCP Wholesaler Access Profile . . . . . . . . . . . . . . . . . . . . . . . . 97
Configuring DHCP Retailer Access Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
Configuring Dynamic Profiles for the DHCPv6 Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Configuring a Wholesale Dynamic Profile for use in the DHCPv6
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Configuring a Dynamic Profile for use by Each Retailer in the DHCPv6
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Configuring Separate Routing Instances for DHCPv6 Service Retailers . . . . . . . . 101

vi Copyright © 2011, Juniper Networks, Inc.


Table of Contents

Configuring Address Server Elements for the DHCPv6 Layer 3 Wholesale


Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Configuring a DHCPv6 Address Assignment Pool . . . . . . . . . . . . . . . . . . . . . 101
Configuring Extended DHCPv6 Local Server . . . . . . . . . . . . . . . . . . . . . . . . . 103
Chapter 13 Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Example: Retailer Dynamic Profile for a DHCPv6 Wholesale Network . . . . . . . . 105
Example: Retailer Routing Instances for a DHCPv6 Wholesale Network . . . . . . 106
Example: DHCPv6 Address Assignment Pool That Provides Full 128-bit IPV6
Addresses for a DHCPv6 Wholesale Network . . . . . . . . . . . . . . . . . . . . . . . . 106
Example: DHCPv6 Address Assignment Pool That Provides 74-bit IPV6 Prefixes
for a DHCPv6 Wholesale Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Example: Extended DHCPv6 Local Server for a DHCPv6 Wholesale Network . . 107

Part 5 Broadband Subscriber Management PPPoE Layer 3 Wholesale


Network Solution
Chapter 14 Broadband Subscriber Management PPPoE Layer 3 Wholesale Network
Solution Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Broadband Subscriber Management PPPoE Layer 3 Wholesale Topology and
Configuration Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Chapter 15 Configuring the Broadband Subscriber Management PPPoE Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
PPPoE Layer 3 Wholesale Network Topology Overview . . . . . . . . . . . . . . . . . . . . 113
Configuring Loopback Interfaces for the PPPoE Layer 3 Wholesale Solution . . . . 114
Configuring Static Customer VLANs for the PPPoE Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
Configuring Access Components for the PPPoE Wholesale Network Solution . . 116
Configuring RADIUS Server Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
Configuring a PPPoE Wholesaler Access Profile . . . . . . . . . . . . . . . . . . . . . . . 117
Configuring PPPoE Retailer Access Profiles . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
Configuring Dynamic Profiles for the PPPoE Layer 3 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
Configuring a Wholesale Dynamic Profile for use in the PPPoE Solution . . . 119
Configuring Separate Routing Instances for PPPoE Service Retailers . . . . . . . . . 120
Chapter 16 Broadband Subscriber Management PPPoE Wholesale Network
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
Example: Wholesaler Dynamic Profile for a PPPoE Wholesale Network . . . . . . . 123
Example: Retailer Routing Instances for a PPPoE Wholesale Network . . . . . . . . 124

Part 6 Broadband Subscriber Management Layer 2 Wholesale Network


Solution
Chapter 17 Broadband Subscriber Management Layer 2 Wholesale Network Solution
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Broadband Subscriber Management Layer 2 Wholesale Topology and
Configuration Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127

Copyright © 2011, Juniper Networks, Inc. vii


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Chapter 18 Configuring the Broadband Subscriber Management Layer 2 Wholesale


Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Layer 2 Wholesale Network Topology Overview . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Configuring a Retail Dynamic Profile for Use in the Layer 2 Wholesale
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
Stacking and Rewriting VLAN Tags for the Layer 2 Wholesale Solution . . . . . . . . 132
Configuring VLAN Interfaces for the Layer 2 Wholesale Solution . . . . . . . . . . . . . 134
Configuring Encapsulation for Layer 2 Wholesale VLAN Interfaces . . . . . . . . . . . 135
Configuring NNI ISP-Facing Interfaces for the Layer 2 Wholesale Solution . . . . . 136
Configuring Direct ISP-Facing Interfaces for the Layer 2 Wholesale Solution . . . 137
Configuring Separate Access Routing Instances for Layer 2 Wholesale Service
Retailers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
Configuring Separate NNI Routing Instances for Layer 2 Wholesale Service
Retailers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
Configuring Access Components for the Layer 2 Wholesale Network
Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Configuring RADIUS Server Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
Configuring a Layer 2 Wholesaler Access Profile . . . . . . . . . . . . . . . . . . . . . . 142
Chapter 19 Broadband Subscriber Management Layer 2 Wholesale Network
Configuration Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Example: Retailer Dynamic Profile for a Layer 2 Wholesale Network . . . . . . . . . . 145
Example: Access Interface for a Layer 2 Wholesale Network . . . . . . . . . . . . . . . . 146
Example: Retailer Access Routing Instances for a Layer 2 Wholesale
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
Example: Retailer NNI ISP-Facing Interfaces for a Layer 2 Wholesale
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
Example: Retailer Direct ISP-Facing Interface for a Layer 2 Wholesale
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147

Part 7 Monitoring Broadband Subscriber Management Solutions


Chapter 20 Related Broadband Subscriber Management CLI Commands . . . . . . . . . . 151
Subscriber Management AAA and Address Assignment Pool CLI Commands . . 151
Subscriber Management DHCPv4 Local Server CLI Commands . . . . . . . . . . . . . 152
Subscriber Management DHCPv6 Local Server CLI Commands . . . . . . . . . . . . . 152
Subscriber Management DHCP Relay CLI Commands . . . . . . . . . . . . . . . . . . . . . 152
Subscriber Management Interface CLI Commands . . . . . . . . . . . . . . . . . . . . . . . 153
Subscriber Management Dynamic Protocol CLI Commands . . . . . . . . . . . . . . . . 153
Subscriber Management Subscriber CLI Commands . . . . . . . . . . . . . . . . . . . . . . 154

Part 8 Index
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157

viii Copyright © 2011, Juniper Networks, Inc.


List of Figures
Part 1 Broadband Subscriber Management Overview
Chapter 1 Subscriber Management Basics Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Figure 1: Subscriber Management Residential Broadband Network Example . . . . . 5
Chapter 3 Broadband Subscriber Management Solution Hardware Overview . . . . . . 15
Figure 2: Choosing an MSAN Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Chapter 4 Broadband Subscriber Management Solution Software Overview . . . . . . . 21
Figure 3: Basic Subscriber Management Solution Topology for a DHCP Subscriber
Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

Part 2 Broadband Subscriber Management Triple Play Solution


Chapter 6 Broadband Subscriber Management Triple Play Overview . . . . . . . . . . . . . . 37
Figure 4: Triple Play Network Reference Topology . . . . . . . . . . . . . . . . . . . . . . . . . 37

Part 3 Broadband Subscriber Management DHCPv4 Layer 3 Wholesale


Network Solution
Chapter 8 Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network
Solution Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Figure 5: Basic Subscriber Management Layer 3 Wholesale Solution
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Chapter 9 Configuring the Broadband Subscriber Management DHCPv4 Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Figure 6: DHCPv4 Layer 3 Wholesale Network Reference Topology . . . . . . . . . . . 66

Part 4 Broadband Subscriber Management DHCPv6 Layer 3 Wholesale


Network Solution
Chapter 11 Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network
Configuration Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Figure 7: Basic Subscriber Management DHCPv6 Layer 3 Wholesale Solution
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
Chapter 12 Configuring the Broadband Subscriber Management DHCPv6 Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Figure 8: DHCPv6 Layer 3 Wholesale Network Reference Topology . . . . . . . . . . . 92

Copyright © 2011, Juniper Networks, Inc. ix


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Part 5 Broadband Subscriber Management PPPoE Layer 3 Wholesale


Network Solution
Chapter 14 Broadband Subscriber Management PPPoE Layer 3 Wholesale Network
Solution Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Figure 9: Basic Subscriber Management PPPoE Layer 3 Wholesale Solution
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Chapter 15 Configuring the Broadband Subscriber Management PPPoE Layer 3
Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Figure 10: PPPoE Layer 3 Wholesale Network Reference Topology . . . . . . . . . . . . 114

Part 6 Broadband Subscriber Management Layer 2 Wholesale Network


Solution
Chapter 17 Broadband Subscriber Management Layer 2 Wholesale Network Solution
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Figure 11: Basic Subscriber Management Layer 2 Wholesale Solution
Topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
Chapter 18 Configuring the Broadband Subscriber Management Layer 2 Wholesale
Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Figure 12: Layer 2 Wholesale Network Reference Topology . . . . . . . . . . . . . . . . . 130

x Copyright © 2011, Juniper Networks, Inc.


List of Tables
About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Table 1: Notice Icons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
Table 2: Text and Syntax Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii

Part 1 Broadband Subscriber Management Overview


Chapter 1 Subscriber Management Basics Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Table 3: Triple Play and Multiplay Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Chapter 3 Broadband Subscriber Management Solution Hardware Overview . . . . . . 15
Table 4: Ethernet MSAN Aggregation Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Chapter 5 Broadband Subscriber Management Wholesale Overview . . . . . . . . . . . . . 29
Table 5: Required Juniper Networks VSAs for the Broadband Subscriber
Management Wholesale Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Part 2 Broadband Subscriber Management Triple Play Solution


Chapter 7 Configuring a Basic Triple Play Subscriber Management Network . . . . . . . 39
Table 6: Class of Service Queue Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45

Part 6 Broadband Subscriber Management Layer 2 Wholesale Network


Solution
Chapter 18 Configuring the Broadband Subscriber Management Layer 2 Wholesale
Network Solution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Table 7: Rewrite Operations on Single-Tagged and Dual-Tagged Frames . . . . . . 132
Table 8: Applying Rewrite Operations to VLAN Maps . . . . . . . . . . . . . . . . . . . . . . 133
Table 9: Encapsulation Combinations for Layer 2 Wholesale Interfaces . . . . . . . 135

Part 7 Monitoring Broadband Subscriber Management Solutions


Chapter 20 Related Broadband Subscriber Management CLI Commands . . . . . . . . . . 151
Table 10: Subscriber Management AAA and Address Assignment Pools CLI
Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Table 11: Subscriber Management DHCPv4 Local Server CLI Commands . . . . . . 152
Table 12: Subscriber Management DHCPv6 Local Server CLI Commands . . . . . . 152
Table 13: Subscriber Management DHCP Relay CLI Commands . . . . . . . . . . . . . 153
Table 14: Subscriber Management Interface CLI Commands . . . . . . . . . . . . . . . . 153
Table 15: Subscriber Management Dynamic Protocol CLI Commands . . . . . . . . 154
Table 16: Subscriber Management Subscriber CLI Commands . . . . . . . . . . . . . . 154

Copyright © 2011, Juniper Networks, Inc. xi


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

xii Copyright © 2011, Juniper Networks, Inc.


About This Guide
®
This preface provides the following guidelines for using the Junos OS Broadband
Subscriber Management Solutions Guide:

• JUNOS Documentation and Release Notes on page xiii


• Objectives on page xiv
• Audience on page xiv
• Supported Routing Platforms on page xv
• Using the Index on page xv
• Using the Examples in This Manual on page xv
• Documentation Conventions on page xvi
• Documentation Feedback on page xviii
• Requesting Technical Support on page xviii

JUNOS Documentation and Release Notes

For a list of related JUNOS documentation, see


http://www.juniper.net/techpubs/software/junos/ .

If the information in the latest release notes differs from the information in the
documentation, follow the JUNOS Release Notes.
®
To obtain the most current version of all Juniper Networks technical documentation,
see the product documentation page on the Juniper Networks website at
http://www.juniper.net/techpubs/ .

Juniper Networks supports a technical book program to publish books by Juniper Networks
engineers and subject matter experts with book publishers around the world. These
books go beyond the technical documentation to explore the nuances of network
architecture, deployment, and administration using the Junos operating system (Junos
OS) and Juniper Networks devices. In addition, the Juniper Networks Technical Library,
published in conjunction with O'Reilly Media, explores improving network security,
reliability, and availability using Junos OS configuration techniques. All the books are for
sale at technical bookstores and book outlets around the world. The current list can be
viewed at http://www.juniper.net/books .

Copyright © 2011, Juniper Networks, Inc. xiii


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Objectives

This guide provides an overview of broadband subscriber management using Junos OS


and describes how to configure and manage remote subscribers on the routing platform.

NOTE: For additional information about Junos OS—either corrections to or


information that might have been omitted from this guide—see the software
release notes at http://www.juniper.net.

Audience

This guide is designed for network administrators who are configuring and monitoring a
Juniper Networks MX Series 3D Universal Edge Router.

To use this guide, you need a broad understanding of networks in general, the Internet
in particular, networking principles, and network configuration. You must also be familiar
with one or more of the following Internet routing protocols:

• Border Gateway Protocol (BGP)

• Distance Vector Multicast Routing Protocol (DVMRP)

• Intermediate System-to-Intermediate System (IS-IS)

• Internet Control Message Protocol (ICMP) router discovery

• Internet Group Management Protocol (IGMP)

• Multiprotocol Label Switching (MPLS)

• Open Shortest Path First (OSPF)

• Protocol-Independent Multicast (PIM)

• Resource Reservation Protocol (RSVP)

• Routing Information Protocol (RIP)

• Simple Network Management Protocol (SNMP)

Personnel operating the equipment must be trained and competent; must not conduct
themselves in a careless, willfully negligent, or hostile manner; and must abide by the
instructions provided by the documentation.

xiv Copyright © 2011, Juniper Networks, Inc.


About This Guide

Supported Routing Platforms

For the features described in this manual, the Junos OS currently supports the following
router:

• MX Series 3D Universal Edge Router

Using the Index

This reference contains a complete index that includes topic entries.

Using the Examples in This Manual

If you want to use the examples in this manual, you can use the load merge or the load
merge relative command. These commands cause the software to merge the incoming
configuration into the current candidate configuration. The example does not become
active until you commit the candidate configuration.

If the example configuration contains the top level of the hierarchy (or multiple
hierarchies), the example is a full example. In this case, use the load merge command.

If the example configuration does not start at the top level of the hierarchy, the example
is a snippet. In this case, use the load merge relative command. These procedures are
described in the following sections.

Merging a Full Example


To merge a full example, follow these steps:

1. From the HTML or PDF version of the manual, copy a configuration example into a
text file, save the file with a name, and copy the file to a directory on your routing
platform.

For example, copy the following configuration to a file and name the file ex-script.conf.
Copy the ex-script.conf file to the /var/tmp directory on your routing platform.

system {
scripts {
commit {
file ex-script.xsl;
}
}
}
interfaces {
fxp0 {
disable;
unit 0 {
family inet {
address 10.0.0.1/24;
}
}
}

Copyright © 2011, Juniper Networks, Inc. xv


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

2. Merge the contents of the file into your routing platform configuration by issuing the
load merge configuration mode command:

[edit]
user@host# load merge /var/tmp/ex-script.conf
load complete

Merging a Snippet
To merge a snippet, follow these steps:

1. From the HTML or PDF version of the manual, copy a configuration snippet into a text
file, save the file with a name, and copy the file to a directory on your routing platform.

For example, copy the following snippet to a file and name the file
ex-script-snippet.conf. Copy the ex-script-snippet.conf file to the /var/tmp directory
on your routing platform.

commit {
file ex-script-snippet.xsl; }

2. Move to the hierarchy level that is relevant for this snippet by issuing the following
configuration mode command:

[edit]
user@host# edit system scripts
[edit system scripts]

3. Merge the contents of the file into your routing platform configuration by issuing the
load merge relative configuration mode command:

[edit system scripts]


user@host# load merge relative /var/tmp/ex-script-snippet.conf
load complete

For more information about the load command, see the Junos OS CLI User Guide.

Documentation Conventions

Table 1 on page xvii defines notice icons used in this guide.

xvi Copyright © 2011, Juniper Networks, Inc.


About This Guide

Table 1: Notice Icons


Icon Meaning Description

Informational note Indicates important features or instructions.

Caution Indicates a situation that might result in loss of data or hardware damage.

Warning Alerts you to the risk of personal injury or death.

Laser warning Alerts you to the risk of personal injury from a laser.

Table 2 on page xvii defines the text and syntax conventions used in this guide.

Table 2: Text and Syntax Conventions


Convention Description Examples

Bold text like this Represents text that you type. To enter configuration mode, type the
configure command:

user@host> configure

Fixed-width text like this Represents output that appears on the user@host> show chassis alarms
terminal screen.
No alarms currently active

Italic text like this • Introduces important new terms. • A policy term is a named structure
• Identifies book names. that defines match conditions and
actions.
• Identifies RFC and Internet draft titles.
• Junos OS System Basics Configuration
Guide
• RFC 1997, BGP Communities Attribute

Italic text like this Represents variables (options for which Configure the machine’s domain name:
you substitute a value) in commands or
configuration statements. [edit]
root@# set system domain-name
domain-name

Text like this Represents names of configuration • To configure a stub area, include the
statements, commands, files, and stub statement at the [edit protocols
directories; interface names; ospf area area-id] hierarchy level.
configuration hierarchy levels; or labels • The console port is labeled CONSOLE.
on routing platform components.

< > (angle brackets) Enclose optional keywords or variables. stub <default-metric metric>;

Copyright © 2011, Juniper Networks, Inc. xvii


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Table 2: Text and Syntax Conventions (continued)


Convention Description Examples

| (pipe symbol) Indicates a choice between the mutually broadcast | multicast


exclusive keywords or variables on either
side of the symbol. The set of choices is (string1 | string2 | string3)
often enclosed in parentheses for clarity.

# (pound sign) Indicates a comment specified on the rsvp { # Required for dynamic MPLS only
same line as the configuration statement
to which it applies.

[ ] (square brackets) Enclose a variable for which you can community name members [
substitute one or more values. community-ids ]

Indention and braces ( { } ) Identify a level in the configuration [edit]


hierarchy. routing-options {
static {
route default {
; (semicolon) Identifies a leaf statement at a
nexthop address;
configuration hierarchy level.
retain;
}
}
}

J-Web GUI Conventions


Bold text like this Represents J-Web graphical user • In the Logical Interfaces box, select
interface (GUI) items you click or select. All Interfaces.
• To cancel the configuration, click
Cancel.

> (bold right angle bracket) Separates levels in a hierarchy of J-Web In the configuration editor hierarchy,
selections. select Protocols>Ospf.

Documentation Feedback

We encourage you to provide feedback, comments, and suggestions so that we can


improve the documentation. You can send your comments to
techpubs-comments@juniper.net, or fill out the documentation feedback form at
https://www.juniper.net/cgi-bin/docbugreport/ . If you are using e-mail, be sure to include
the following information with your comments:

• Document or topic name

• URL or page number

• Software release version (if applicable)

Requesting Technical Support

Technical product support is available through the Juniper Networks Technical Assistance
Center (JTAC). If you are a customer with an active J-Care or JNASC support contract,

xviii Copyright © 2011, Juniper Networks, Inc.


About This Guide

or are covered under warranty, and need postsales technical support, you can access
our tools and resources online or open a case with JTAC.

• JTAC policies—For a complete understanding of our JTAC procedures and policies,


review the JTAC User Guide located at
http://www.juniper.net/us/en/local/pdf/resource-guides/7100059-en.pdf .

• JTAC Hours of Operation —The JTAC centers have resources available 24 hours a day,
7 days a week, 365 days a year.

Self-Help Online Tools and Resources


For quick and easy problem resolution, Juniper Networks has designed an online
self-service portal called the Customer Support Center (CSC) that provides you with the
following features:

• Find CSC offerings: http://www.juniper.net/customers/support/

• Find product documentation: http://www.juniper.net/techpubs/

• Find solutions and answer questions using our Knowledge Base: http://kb.juniper.net/

• Download the latest versions of software and review release notes:


http://www.juniper.net/customers/csc/software/

• Search technical bulletins for relevant hardware and software notifications:


https://www.juniper.net/alerts/

• Join and participate in the Juniper Networks Community Forum:


http://www.juniper.net/company/communities/

• Open a case online in the CSC Case Management tool: http://www.juniper.net/cm/

To verify service entitlement by product serial number, use our Serial Number Entitlement
(SNE) Tool: https://tools.juniper.net/SerialNumberEntitlementSearch/

Opening a Case with JTAC


You can open a case with JTAC on the Web or by telephone.

• Use the Case Management tool in the CSC at http://www.juniper.net/cm/ .

• Call 1-888-314-JTAC (1-888-314-5822 toll-free in the USA, Canada, and Mexico).

For international or direct-dial options in countries without toll-free numbers, visit us at


http://www.juniper.net/support/requesting-support.html

Copyright © 2011, Juniper Networks, Inc. xix


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

xx Copyright © 2011, Juniper Networks, Inc.


PART 1

Broadband Subscriber Management


Overview
• Subscriber Management Basics Overview on page 3
• Residential Broadband Technology Overview on page 9
• Broadband Subscriber Management Solution Hardware Overview on page 15
• Broadband Subscriber Management Solution Software Overview on page 21
• Broadband Subscriber Management Wholesale Overview on page 29

Copyright © 2011, Juniper Networks, Inc. 1


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

2 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 1

Subscriber Management Basics Overview

• Broadband Subscriber Management Overview on page 3


• Broadband Subscriber Management Platform Support on page 4
• Broadband Subscriber Management Network Topology Overview on page 4
• Broadband Subscriber Management Solutions Terms and Acronyms on page 5
• Supporting Documentation for Broadband Subscriber Management on page 7
• Triple Play and Multiplay Overview on page 8

Broadband Subscriber Management Overview

Broadband Subscriber Management is a method of dynamically provisioning and


managing subscriber access in a multiplay or triple play network environment. This
method uses AAA configuration in conjunction with dynamic profiles to provide dynamic,
per-subscriber authentication, addressing, access, and configuration for a host of
broadband services including Internet access, gaming, IPTV, Video on Demand (VoD),
and subscriber wholesaling.

NOTE: The Junos OS broadband subscriber management solution currently


supports Dynamic Host Configuration Protocols (DHCP)-based and
Point-to-Point Protocol /Point-to-Point Protocol over Ethernet
(PPP/PPPoE)-based configuration and RADIUS authentication and
authorization.

This guide focuses on the general components necessary for configuring a Juniper
Networks MX Series 3D Universal Edge Router to dynamically provision and manage
subscribers. However, you can also use a Juniper Networks EX Series Ethernet Switch in
a subscriber network.

Managing subscribers in a DHCP-based or PPP/PPPoE-based residential broadband


network using an MX Series router requires the following:

• Planning and configuring a virtual LAN (VLAN) architecture for the access network.

• Configuring an authentication, authorization, and accounting (AAA) framework for


subscriber authentication and authorization through external servers (for example,
RADIUS) as well as accounting and dynamic-request change of authorization (CoA)

Copyright © 2011, Juniper Networks, Inc. 3


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

and disconnect operations through external servers, and address assignment through
a combination of local address-assignment pools and RADIUS.

• Configuring DHCP local server or DHCP relay for subscriber address assignment for
DHCP-based networks.

• Configuring address assignment pools for PPPoE-based networks.

• Configuring dynamic profiles to include dynamic IGMP, firewall filter, and class of
service (CoS) configuration for subscriber access.

• Configuring multicast access to the core network.

To better understand the subscriber access network, this guide also provides general
information about some hardware not from Juniper Networks and suggests methods for
choosing different network configuration options. You can configure a subscriber network
in many different ways. This guide does not cover all configuration scenarios. It is intended
as a starting point for understanding subscriber management and how you can use
Juniper Networks hardware and software to plan and build your own subscriber
management solution.

Related • Broadband Subscriber Management Platform Support on page 4


Documentation
• Broadband Subscriber Management Network Topology Overview on page 4

• Broadband Subscriber Management Solutions Terms and Acronyms on page 5

• Supporting Documentation for Broadband Subscriber Management on page 7

• Triple Play and Multiplay Overview on page 8

• Broadband History on page 9

Broadband Subscriber Management Platform Support

Juniper Networks currently supports DHCP and PPP/PPPoE broadband subscriber


management solutions on MX Series routers and PPP/PPPoE broadband subscriber
management solutions on M120 and M320 routers.

NOTE: This guide describes configuration on MX Series routers.

Related • Broadband Subscriber Management Overview on page 3


Documentation
• Broadband Subscriber Management Edge Router Overview on page 15

Broadband Subscriber Management Network Topology Overview

Figure 1 on page 5 illustrates how network elements can make up a residential broadband
access network.

4 Copyright © 2011, Juniper Networks, Inc.


Chapter 1: Subscriber Management Basics Overview

Figure 1: Subscriber Management Residential Broadband Network


Example
VHO/Regional Data Center

BSR

Apps
EX Series

g016989
VSO/Central Office

SIP
MX Series MX Series MX Series

MX Series EX Series
MSAN
VSR and MX Series MX Series MX Series Video
Aggregation
Switch

Edge Access Metro Core Super Core Super Head-End

Related • Broadband Subscriber Management Overview on page 3


Documentation

Broadband Subscriber Management Solutions Terms and Acronyms

• AAA (authentication, authorization, and accounting)—An IP-based networking system


that controls user access to computer resources and manages the activity of users
over a network.

• ASM (Any Source Multicast)—A method of allowing a multicast receiver to listen to


all traffic sent to a multicast group, regardless of its source.

• BSR (broadband services router)—A router used for subscriber management and
edge routing.

• CoA (change of authorization)—RADIUS messages that contain information for


dynamically changing session authorizations.

• CoS (class of service)—A method of managing network traffic by grouping similar


types of traffic together and treating each traffic type as a “class” with a defined service
priority.

• DHCP (Dynamic Host Configuration Protocol )—A mechanism through which hosts
using TCP/IP can obtain protocol configuration parameters automatically from a DHCP
server on the network; allocates IP addresses dynamically so that they can be reused
when no longer needed.

• IGMP (Internet Group Membership Protocol)—A host-to-router signaling protocol


for IPv4 used to support IP multicasting.

Copyright © 2011, Juniper Networks, Inc. 5


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

• IS-IS (Intermediate System-to-Intermediate System)—A link-state interior gateway


routing protocol (IGRP) for IP networks that uses the shortest-path-first (SPF) algorithm
to determine routes.

• LSP (label-switched path)—The path traversed by a packet that is routed by MPLS.


Some LSPs act as tunnels. LSPs are unidirectional, carrying traffic only in the
downstream direction from an ingress node to an egress node.

• MPLS (Multiprotocol Label Switching)—A mechanism for engineering network traffic


patterns that functions by assigning to network packets short labels that describe how
to forward the packets through the network.

• MSAN (multiservice access node)—A group of commonly used aggregation devices


including digital subscriber line access multiplexers (DSLAMs) used in xDSL networks,
optical line termination (OLT) for PON/FTTx networks, and Ethernet switches for
Active Ethernet connections.

• Multiplay—A networking paradigm that enables the ability to add new and robust
networking services that individual subscribers can access.

• OIF (outgoing interface)—An interface used by multicast functions within a router to


determine which egress ports to use for fowarding multicast groups.

• OSPF (Open Shortest Path First)—A link-state interior gateway protocol (IGP) that
makes routing decisions based on the shortest-path-first (SPF) algorithm (also referred
to as the Dijkstra algorithm).

• PIM (Protocol Independent Multicast)—A multicast routing protocol used for delivering
multicast messages in a routed environment.

• PPP (Point-to-Point Protocol)—A link-layer protocol that provides multiprotocol


encapsulation. PPP is used for link-layer and network-layer configuration. Provides a
standard method for transporting multiprotocol datagrams over point-to-point links.

• PPPoE (Point-to-Point Protocol over Ethernet)—A network protocol that encapsulates


PPP frames in Ethernet frames and connects multiple hosts over a simple bridging
access device to a remote access concentrator.

• RADIUS (Remote Authentication Dial-In User Service)—A networking protocol that


provides centralized access, authorization, and accounting management for subscribers
to connect and use a network service.

• Residential gateway—A firewall, Network Address Translation (NAT) router, or other


routing device used as a customer premises equipment (CPE) terminator in the home,
office, or local point of presence (POP).

• SSM (single-source multicast)—A routing method that allows a multicast receiver


to detect only a specifically identified sender within a multicast group.

• set-top box—The end host or device used to receive IPTV video streams.

• Triple play—A networking paradigm that dedicates bandwidth to data, voice, and
video service.

6 Copyright © 2011, Juniper Networks, Inc.


Chapter 1: Subscriber Management Basics Overview

• VOD (video on demand)—A unicast streaming video offering by service providers that
enables the reception of an isolated video session per user with rewind, pause, and
similar VCR-like capabilities.

• VSR (video services router)—A router used in a video services network to route video
streams between an access network and a metro or core network. The video services
router is any M Series Multiservice Edge Router or MX Series router that supports the
video routing package provided with Junos OS Release 8.3 or later.

Related • Broadband Subscriber Management Overview on page 3


Documentation

Supporting Documentation for Broadband Subscriber Management

The Junos OS Broadband Subscriber Management Solutions Guide relies heavily on existing
configuration documentation. In particular, this guide references configuration material
presented in the Junos OS Subscriber Access Configuration Guide. We recommend you
become familiar with the configuration options presented for subscriber access before
reading this guide.

Several guides in the Junos OS documentation set provide detailed configuration


information that is not fully covered in this guide. This guide might reference other Junos
OS configuration and solutions documents that can provide more detail about a specific
feature or configuration option.

For more detailed configuration information, see the following Junos OS documents:

• Junos OS Subscriber Access Configuration Guide

• Junos OS Layer 2 Configuration Guide

• Junos OS Multicast Protocols Configuration Guide

• Junos OS Network Interfaces Configuration Guide

• Junos OS Routing Policy Configuration Guide

For other solution examples, see the following Junos OS solutions guides:

• Junos OS MX Series 3D Universal Edge Routers Solutions Guide

• Session Border Control Solutions Guide Using BGF and IMSG

In addition to related Junos OS documentation, you can obtain useful information from
the JunosE Software documentation. Many features described in the JunosE Broadband
Access Configuration Guide are similar to those described in both this guide and the Junos
OS Subscriber Access Configuration Guide.

Related • Broadband Subscriber Management Overview on page 3


Documentation

Copyright © 2011, Juniper Networks, Inc. 7


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Triple Play and Multiplay Overview

This document defines triple play and multiplay networks as different entities:

• A triple play network dedicates bandwidth to each possible service—data, voice, and
video. This method works well when a limited number of services are deployed and
sufficient bandwidth is available.

• A multiplay network refers to the ability to add new and robust networking services
that each subscriber can access. This method requires the integration of dynamic
bandwidth management and the ability to manage subscribers dynamically though
the use of features such as hierarchical quality of service (QoS) and a AAA service
framework that provides authentication, accounting, dynamic change of authorization
(CoA), and dynamic address assignment.

Table 3 on page 8 provides some comparison between a triple play and multiplay
network and the level of flexibility associated with certain networking options.

Table 3: Triple Play and Multiplay Comparison


Flexibility Triple Play Multiplay

Bandwidth Fixed bandwidth allocation for each service. One bandwidth pool for each subscriber is shared by all
Management services.

Adding New Services Requires deallocating bandwidth from one The existence of one shared bandwidth pool eliminates
service and allocating that bandwith to the the need to reallocate bandwidth to new services.
new service.

Subscriber Flexibility Limited subscriber flexibility because a fixed Subscribers can use their share of bandwidth for
bandwidth is allocated to each service or whatever applications they want to run.
application.

Client Device Types Client devices (PCs or set-top boxes) are Client devices are not assigned to any specific ports.
dedicated to specific services and often This flexibility enables the ability to use client devices
assigned to specific ports on customer for various services (for example, adding software to a
premise equipment. PC to enable television broadcasts) and allows different
client devices (PCs, Voice-over-IP phones, and set-top
boxes) to reside on a single LAN.

With software and hardware now available to enable client devices to access and use
the network in a variety of ways, bandwidth demands increasing, and new networking
business models emerging, dynamic support of new applications is required to ensure
subscriber satisfaction. A dynamic multiplay network configuration can provide the
flexibility to meet these demands.

Related • Broadband Subscriber Management Overview on page 3


Documentation

8 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 2

Residential Broadband Technology


Overview

• Broadband History on page 9


• PPP in Broadband Networks on page 10
• DHCP in Broadband Networks on page 11
• Broadband Service Delivery Options on page 11
• Broadband Delivery and FTTx on page 13

Broadband History

Residential broadband services developed using a mainly ATM-based infrastructure and


early Internet access required that each subscriber access the network using a dial-up
modem to connect from a PC to a Remote Access Server (RAS), or bank of servers, which
was connected directly to the Internet. Point-to-Point Protocol (PPP), originally defined
by the IETF in RFC 1661, was already in use on leased lines. It was well suited for use on
the existing ATM infrastructure and enabled operators to better manage subscriber
connections by providing authentication and accounting, along with a level of protocol
flexibility due to it being connection-oriented and enabling service providers to customize
it to their needs. The use of the PPP model, however, required special software (including
the PPP protocol stack) be installed on each PC to communicate within the PPP network.
After establishing a connection to the Internet, the subscriber logged in using a PPP user
identifier provided by the service provider.

This always on model quickly evolved in several ways. Dedicated broadband access such
as DSL replaced dial-up service, replacing the dial-up modem with a DSL modem. Dial-up
remote access servers were replaced by the Broadband Remote Access Server (B-RAS)
and residential gateways were introduced to allow multiple PCs from one site to connect
to the broadband network. Residential gateways have since evolved to provide a wide
range of functions including firewall and wireless (802.1b/g/n wi-fi) connectivity. The
residential gateway also became the termination point for the PPP connection, eliminating
the need for the installation of special PC software.

Copyright © 2011, Juniper Networks, Inc. 9


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

These new broadband networks were built based on the following two key assumptions:

• Only a small percentage of subscribers were expected to be using network bandwidth


at any given time and, even if many subscribers logged in to the network concurrently,
few subscribers were likely to enter data at the exact same time.

• Traffic was TCP-based and not real-time. If a packet was lost due to network
congestion, TCP detected the loss and retransmitted the packets.

Based on these assumptions, operators over-subscribed the network, enabling more


subscribers than a limited amount of bandwidth can support if all subscribers were to
access the network simultaneously. For example, if 50 subscribers were to sign up for
service that required bandwidth of 1 Mbps for each subscriber, the network did not
necessarily need to support a full 50 Mbps of throughput. Instead, operators designed
the network to support much lower traffic volumes, expecting maximum traffic flow for
all subscribers to occur rarely, if ever. For example, a 50:1 over-subscription needed to
support only 1 Mbps of bandwidth. Bandwidth requirements have changed significantly
over the years and this method of access is becoming more difficult to maintain.

The basic broadband architecture was initially defined by DSL Forum TR-025 (November
1999). This specification assumed only one service was provided to subscribers—Internet
Access (or data). DSL Forum TR-059 (September 2003) introduced quality of service
(QoS) to allow broadband networks to deliver voice over IP (VoIP) in addition to data.
Because VoIP is a small percentage of overall network traffic, its introduction has not
significantly altered the broadband delivery landscape. It is also worth noting that these
original standards specified ATM as the Layer 2 protocol on the broadband network.

Related • PPP in Broadband Networks on page 10


Documentation
• DHCP in Broadband Networks on page 11

• Broadband Service Delivery Options on page 11

• Broadband Delivery and FTTx on page 13

PPP in Broadband Networks

Point-to-Point Protocol (PPP) is used for communications between two nodes, such as
between a client and a server. Originally defined by the IETF in RFC 1661, and used for
direct connection between devices over a leased line using ISO 3309 framing, several
methods have been defined to establish PPP connections across other media. Because
residential broadband services historically used an ATM infrastructure, Point-to-Point
Protocol over ATM (PPPoA) was originally the dominant access protocol in service
provider networks. However, as networks have transitioned to Ethernet, Point-to-Point
Protocol over Ethernet (PPPoE) has emerged as an alternative to PPPoA.

The connection-oriented nature of PPP, indicating the availability of a connection as well


as whether IP connectivity is established, is well-suited for a subscriber access network.
When links are not active, echo-request and echo-reply packets provide link confirmation
for any connected peers. When links are active, these link-checking packets are not sent;
the presence of data alone indicates that the link is functioning.

10 Copyright © 2011, Juniper Networks, Inc.


Chapter 2: Residential Broadband Technology Overview

The usage of PPP for subscriber access is not without its challenges, however. As more
client connections are managed, the amount of state information maintained by the
routers increases. The management of this state information can become more complex
when using advanced features and when managing clients dynamically.

Related • Broadband Service Delivery Options on page 11


Documentation

DHCP in Broadband Networks

Dynamic Host Configuration Protocol (DHCP) is an alternative to PPP for assigning IP


addresses and provisioning services in broadband networks. Using DHCP helps to simplify
network configuration by decreasing (and in some cases eliminating) the need for
manually configuring static IP addresses on network devices. For example, DHCP enables
PCs and other devices within a subscriber residence to obtain IP addresses to access the
Internet. Due to its general simplicity and scalability, along with the increased usage of
Ethernet in access networks, DHCP deployments in broadband networks have increased.

Related • Broadband Service Delivery Options on page 11


Documentation

Broadband Service Delivery Options

Four primary delivery options exist today for delivering broadband network service. These
options include the following:

• Digital Subscriber Line

• Active Ethernet

• Passive Optical Networking

• Hybrid Fiber Coaxial

The following sections briefly describe each delivery option.

Digital Subscriber Line


Digital subscriber line (DSL) is the most widely deployed broadband technology
worldwide. This delivery option uses existing telephone lines to send broadband
information on a different frequency than is used for the existing voice service. Many
generations of DSL are used for residential service, including Very High Speed Digital
Subscriber Line 2 (VDSL2) and versions of Asymmetric Digital Subscriber Line (ADSL,
ADSL2, and ADSL2+). These variations of DSL primarily offer asymmetric residential
broadband service where different upstream and downstream speeds are implemented.
(VDSL2 also supports symmetric operation.) Other DSL variations, like High bit rate Digital
Subscriber Line (HDSL) and Symmetric Digital Subscriber Line (SDSL), provide symmetric
speeds and are typically used in business applications.

The head-end to a DSL system is the Digital Subscriber Line Access Multiplexer (DSLAM).
The demarcation device at the customer premise is a DSL modem. DSL service models
are defined by the Broadband Forum (formerly called the DSL Forum).

Copyright © 2011, Juniper Networks, Inc. 11


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Active Ethernet
Active Ethernet uses traditional Ethernet technology to deliver broadband service across
a fiber-optic network. Active Ethernet does not provide a separate channel for existing
voice service, so VoIP (or TDM-to-VoIP) equipment is required. In addition, sending
full-speed (10 or 100 Mbps) Ethernet requires significant power, necessitating distribution
to Ethernet switches and optical repeaters located in cabinets outside of the central
office. Due to these restrictions, early Active Ethernet deployments typically appear in
densely populated areas.

Passive Optical Networking


Passive Optical Networking (PON), like Active Ethernet, uses fiber-optic cable to deliver
services to the premises. This delivery option provides higher speeds than DSL but lower
speeds than Active Ethernet. Though PON provides higher speed to each subscriber, it
requires a higher investment in cable and connectivity.

A key advantage of PON is that it does not require any powered equipment outside of
the central office. Each fiber leaving the central office is split using a non-powered optical
splitter. The split fiber then follows a point-to-point connection to each subscriber.

PON technologies fall into three general categories:

• ATM PON (APON), Broadband PON (BPON), and Gigabit-capable PON (GPON)—PON
standards that use the following different delivery options:

• APON—The first passive optical network standard is primarily used for business
applications.

• BPON—Based on APON, BPON adds wave division multiplexing (WDM), dynamic


and higher upstream bandwidth allocation, and a standard management interface
to enable mixed-vendor networks.

• GPON—The most recent PON adaptation, GPON is based on BPON but supports
higher rates, enhanced security, and a choice of which Layer 2 protocol to use (ATM,
Generic Equipment Model [GEM], or Ethernet).

• Ethernet PON (EPON)—Provides capabilities similar to GPON, BPON, and APON, but
uses Ethernet standards. These standards are defined by the IEEE. Gigabit Ethernet
PON (GEPON) is the highest speed version.

• Wave Division Multiplexing PON (WDM-PON)—A nonstandard PON which, as the


name implies, provides a separate wavelength to each subscriber.

The head-end to a PON system is an Optical Line Terminator (OLT). The demarcation
device at the customer premises is an Optical Network Terminator (ONT). The ONT
provides subscriber-side ports for connecting Ethernet (RJ-45), telephone wires (RJ-11)
or coaxial cable (F-connector).

12 Copyright © 2011, Juniper Networks, Inc.


Chapter 2: Residential Broadband Technology Overview

Hybrid Fiber Coaxial


Multi-System Operators (MSOs; also known as cable TV operators) offer broadband
service through their hybrid fiber-coaxial (HFC) network. The HFC network combines
optical fiber and coaxial cable to deliver service directly to the customer. Services leave
the central office (CO) using a fiber-optic cable. The service is then converted outside
of the CO to a coaxial cable tree using a series of optical nodes and, where necessary,
through a trunk radio frequency (RF) amplifier. The coaxial cables then connect to multiple
subscribers. The demarcation device is a cable modem or set-top box, which talks to a
Cable Modem Termination System (CMTS) at the MSO head-end or master facility that
receives television signals for processing and distribution. Broadband traffic is carried
using the Data Over Cable Service Interface Specification (DOCSIS) standard defined
by CableLabs and many contributing companies.

Related • Broadband Delivery and FTTx on page 13


Documentation

Broadband Delivery and FTTx

Many implementations use existing copper cabling to deliver signal to the premises, but
fiber-optic cable connectivity is making its way closer to the subscriber. Most networks
use a combination of both copper and fiber-optic cabling. The term fiber to the x (FTTx)
describes how far into the network fiber-optic cabling runs before a switch to copper
cabling takes place. Both PON and Active Ethernet can use fiber-optic portion of the
network, while xDSL is typically used on the copper portion. This means that a single
fiber-optic strand may support multiple copper-based subscribers.

Increasing the use of fiber in the network increases cost but it also increases network
access speed to each subscriber.

The following terms are used to describe the termination point of fiber-optic cable in a
network:

• Fiber to the Premises (FTTP), Fiber to the Home (FTTH), Fiber to the Business
(FTTB)—Fiber extends all the way to the subscriber. PON is most common for residential
access, although Active Ethernet can be efficiently used in dense areas such as
apartment complexes. Active Ethernet is more common for delivering services to
businesses.

• Fiber to the Curb (FTTC)—Fiber extends most of the way (typically, 500 feet/150
meters or less) to the subscriber. Existing copper is used for the remaining distance to
the subscriber.

• Fiber to the Node/Neighborhood (FTTN)—Fiber extends to within a few thousand feet


of the subscriber and converted to xDSL for the remaining distance to the subscriber.

• Fiber to the Exchange (FTTE)—A typical central office-based xDSL implementation


in which fiber is used to deliver traffic to the central office and xDSL is used on the
existing local loop.

Copyright © 2011, Juniper Networks, Inc. 13


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Related • Broadband Service Delivery Options on page 11


Documentation

14 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 3

Broadband Subscriber Management


Solution Hardware Overview

• Broadband Subscriber Management Edge Router Overview on page 15


• Multiservice Access Node Overview on page 17
• Ethernet MSAN Aggregation Options on page 19

Broadband Subscriber Management Edge Router Overview

The edge router is the demarcation point between the residential broadband access
network and the core network. The Juniper Networks MX Series router (along with the
Juniper Networks EX Series Ethernet Switch) can play multiple roles as an edge router.
The most common include the following:

• Broadband services router (BSR)—This router supports high speed Internet access
along with several other subscriber-based services including VoIP, IPTV, and gaming.

• Video services router (VSR)—The video services router capabilities are a subset of
those provided by a broadband services router. In general, using the MX Series router
as a video services router provides bi-directional traffic destined for the set-top box
(STB). This traffic includes IPTV and video on demand (VoD) streams as well as
associated control traffic such as IGMP and electronic program guide (EPG) updates.

You can also use the MX Series router in certain Layer 2 solutions. For information about
configuring the MX Series router in Layer 2 scenarios, see the Junos OS Layer 2 Configuration
Guide or the Junos OS MX Series 3D Universal Edge Routers Solutions Guide.

Broadband Services Router Overview


A broadband services router is an edge router that traditionally supports primarily
Internet-bound traffic. This router replaces and provides a superset of the functionality
provided by a Broadband Remote Access Server (B-RAS). The broadband services router
functions can be broken into two key areas—high speed Internet access and IPTV support.

High-Speed Internet Access Support

The broadband services router communicates with the RADIUS server to enforce which
services each subscriber can access. For example, one subscriber might have signed up
for a smaller Internet access service of 1 Mbps where another subscriber might have

Copyright © 2011, Juniper Networks, Inc. 15


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

signed up for a higher, 10 Mbps service. The broadband services router manages the
traffic to each subscriber, ensuring that each subscriber obtains the level of access service
they have purchased, while also ensuring that any VoIP traffic receives priority. The
broadband services router also makes traffic forwarding decisions based on aggregate
bandwidth detected on any adjacent multiservice access node (MSAN).

IPTV Support

The broadband services router supports IPTV traffic including support for IGMP multicast
group start and stop requests from downstream MSANs. The broadband services router
manages the bandwidth allocations associated with high-bandwidth IPTV as well as
video on demand (VoD) traffic to ensure high quality service delivery.

Video Services Router


When configuring a multiedge network, you can use the MX Series router as a video
services router (VSR) to support only video traffic without supporting the high-speed
Internet access (HSIA) capabilities.

NOTE: We recommend a single-edge network model but the MX Series router


allows for flexibility when defining a multiplay network topology.

Some advantages of using a separate video services router for video traffic include the
following:

• Provides the ability to add IPTV service without the need to modify an existing edge
router that is performing other functions.

• Reduces network bandwidth by moving the video edge further out to the network edge
while still allowing for centralized broadband services router operation.

• Typically requires less capital investment because the video services router does not
need to provide per-subscriber management.

Services Router Placement


Depending on the type of network you are creating—single edge or multiedge—you can
place a broadband services router or video services router in various locations.

Single-Edge Placement

In a single-edge network, you use only broadband services routers because the single
device must perform all of the necessary edge functions—providing subscriber
management for high-speed Internet access and IPTV services. You can use the two
following topology models when placing the broadband services router:

• Centralized single edge—The edge router is centrally located and placed at one location
to cover a particular region. A secondary router is sometimes placed in this location to
act as a backup. Downstream MSANs are connected to the broadband services router
using a ring or mesh topology.

16 Copyright © 2011, Juniper Networks, Inc.


Chapter 3: Broadband Subscriber Management Solution Hardware Overview

• Distributed single edge—The edge router is placed further out into the network, typically
in the central office (CO) closest to the subscribers that it services. Downstream MSANs
are typically connected directly to the broadband services router (in a true, single edge
topology) or through an Ethernet aggregation switch.

In general, the addition of IPTV service favors a more distributed model because it pushes
the need for subscriber management farther out into the network.

Multiedge Placement

In a multiedge network, you use both broadband services routers and video services
routers. The broadband services router controls any high-speed Internet traffic and the
video services router controls video traffic. You can use the two following topology models
when placing service routers in a multiedge network topology:

• Co-located multiedge—The broadband services router and video services router are
housed in the same location and an Ethernet switch directs traffic in the CO to the
appropriate edge router.

NOTE: A single MX Series router can serve as both Ethernet switch and
video services router. For information about configuring the MX Series
router in Layer 2 scenarios, see the Junos OS Layer 2 Configuration Guide or
the Junos OS MX Series 3D Universal Edge Routers Solutions Guide.

• Split multiedge—The video services router and broadband services router reside in
different locations. In this model, the broadband services router is typically located
more centrally and video services routers are distributed.

Related • Multiservice Access Node Overview on page 17


Documentation
• Ethernet MSAN Aggregation Options on page 19

• Broadband Subscriber Management Platform Support on page 4

Multiservice Access Node Overview

A multiservice access node is a broader term that refers to a group of commonly used
aggregation devices. These devices include digital subscriber line access multiplexers
(DSLAMs) used in xDSL networks, optical line termination (OLT) for PON/FTTx networks,
and Ethernet switches for Active Ethernet connections. Modern MSANs often support
all of these connections, as well as providing connections for additional circuits such as
plain old telephone service (referred to as POTS) or Digital Signal 1 (DS1 or T1).

The defining function of a multiservice access node is to aggregate traffic from multiple
subscribers. At the physical level, the MSAN also converts traffic from the last mile
technology (for example, ADSL) to Ethernet for delivery to subscribers.

Copyright © 2011, Juniper Networks, Inc. 17


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

You can broadly categorize MSANs into three types based on how they forward traffic
in the network:

• Layer–2 MSAN—This type of MSAN is essentially a Layer 2 switch (though typically


not a fully functioning switch) with some relevant enhancements. These MSANs use
Ethernet (or ATM) switching to forward traffic. The MSAN forwards all subscriber traffic
upstream to an edge router that acts as the centralized control point and prevents
direct subscriber-to-subscriber communication. Ethernet Link Aggregation (LAG)
provides the resiliency in this type of network.

Layer 2 DSLAMs cannot interpret IGMP, so they cannot selectively replicate IPTV
channels.

• Layer–3 aware MSAN—This IP-aware MSAN can interpret and respond to IGMP
requests by locally replicating a multicast stream and forwarding the stream to any
subscriber requesting it. Layer 3 awareness is important when supporting IPTV traffic
to perform channel changes (sometimes referred to as channel zaps). Static IP-aware
MSANs always receive all multicast television channels. They do not have the ability
to request that specific channels be forwarded to the DSLAM. Dynamic IP-aware
DSLAMs, however, can inform the network to begin (or discontinue) sending individual
channels to the DSLAM. Configuring IGMP proxy or IGMP snooping on the DSLAM
accomplishes this function.

• Layer–3 MSAN—These MSANs use IP routing functionality rather than Layer 2


technologies to forward traffic. The advantage of this forwarding method is the ability
to support multiple upstream links going to different upstream routers and improving
network resiliency. However, to accomplish this level of resiliency, you must assign a
separate IP subnetwork to each MSAN, adding a level of complexity that can be more
difficult to maintain or manage.

In choosing a MSAN type, refer to Figure 2 on page 18:

Figure 2: Choosing an MSAN Type

Start

Replicate Yes Yes At BSR


Usage Tracking L3 MSAN with
Multicast Where?
or QoS Adjust? IGMP Snooping
at DSLAM

No No At MSAN
g017267

L3 MSAN with
L2 MSAN L3-aware MSAN
IGMP Proxy

Related • Ethernet MSAN Aggregation Options on page 19


Documentation

18 Copyright © 2011, Juniper Networks, Inc.


Chapter 3: Broadband Subscriber Management Solution Hardware Overview

Ethernet MSAN Aggregation Options

Each MSAN can connect directly to an edge router (broadband services router or video
services router), or an intermediate device (for example, an Ethernet switch) can
aggregate MSAN traffic before being sent to the services router. Table 4 on page 19 lists
the possible MSAN aggregation methods and under what conditions they are used.

Table 4: Ethernet MSAN Aggregation Methods


Method When Used

Direct connection Each MSAN connects directly to the broadband services router and optional video
services router.

Ethernet aggregation switch connection Each MSAN connects directly to an intermediate Ethernet switch. The switch, in turn,
connects to the broadband services router or optional video services router.

Ethernet ring aggregation connection Each MSAN connects to a ring topology of MSANs. The head-end MSAN (the device
closest to the upstream edge router) connects to the broadband services router.

You can use different aggregation methods in different portions of the network. You can
also create multiple layers of traffic aggregation within the network. For example, an
MSAN can connect to a central office terminal (COT), which, in turn, connects to an
Ethernet aggregation switch, or you can create multiple levels of Ethernet aggregation
switches prior to connecting to the edge router.

Direct Connection
In the direct connection method, each MSAN has a point-to-point connection to the
broadband services router. If an intermediate central office exists, traffic from multiple
MSANs can be combined onto a single connection using wave-division multiplexing
(WDM). You can also connect the MSAN to a video services router. However, this
connection method requires that you use a Layer 3 MSAN that has the ability to determine
which link to use when forwarding traffic.

When using the direct connection method, keep the following in mind:

• We recommend this approach when possible to simplify network management.

• Because multiple MSANs are used to connect to the services router, and Layer 3 MSANs
generally require a higher equipment cost, this method is rarely used in a multiedge
subscriber management model.

• Direct connection is typically used when most MSAN links are utilized less than 33
percent and there is little value in combining traffic from multiple MSANs.

Ethernet Aggregation Switch Connection


An Ethernet aggregation switch aggregates traffic from multiple downstream MSANs
into a single connection to the services router (broadband services router or optional
video services router).

Copyright © 2011, Juniper Networks, Inc. 19


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

When using the Ethernet aggregation switch connection method, keep the following in
mind:

• Ethernet aggregation is typically used when most MSAN links are utilized over 33
percent or to aggregate traffic from lower speed MSANs (for example, 1 Gbps) to a
higher speed connection to the services router (for example, 10 Gbps).

• You can use an MX Series router as an Ethernet aggregation switch. For information
about configuring the MX Series router in Layer 2 scenarios, see the Junos OS Layer 2
Configuration Guide or the Junos OS MX Series 3D Universal Edge Routers Solutions Guide.

Ring Aggregation Connection


In a ring topology, the remote MSAN that connects to subscribers is called the remote
terminal (RT). This device can be located in the outside plant (OSP) or in a remote central
office (CO). Traffic traverses the ring until it reaches the central office terminal (COT)
at the head-end of the ring. The COT then connects directly to the services router
(broadband services router or video services router).

NOTE: The RT and COT must support the same ring resiliency protocol.

You can use an MX Series router in an Ethernet ring aggregation topology. For information
about configuring the MX Series router in Layer 2 scenarios, see the Junos OS Layer 2
Configuration Guide or the Junos OS MX Series 3D Universal Edge Routers Solutions Guide.

Related • Multiservice Access Node Overview on page 17


Documentation

20 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 4

Broadband Subscriber Management


Solution Software Overview

• Broadband Subscriber Management Solution Topology and Configuration


Elements on page 21
• Broadband Subscriber Management VLAN Architecture Overview on page 22
• Broadband Subscriber Management IGMP Model Overview on page 24
• DHCP and Broadband Subscriber Management Overview on page 25
• AAA Service Framework and Broadband Subscriber Management Overview on page 26
• Class of Service and Broadband Subscriber Management Overview on page 26
• Policy and Control for Broadband Subscriber Management Overview on page 27
• Subscriber Management Licensing on page 27

Broadband Subscriber Management Solution Topology and Configuration Elements

The network topology for the broadband subscriber management solution focuses on
configuring the access network to which the MX Series routers connect. There are many
possible broadband subscriber management configurations. Figure 3 on page 21 illustrates
an example of a basic DHCP topology model.

Figure 3: Basic Subscriber Management Solution Topology for a DHCP


Subscriber Network
Access Network Core Network

Edge Access
DHCP
server
MSAN
MX Series

RADIUS
Access Network Configuration server
AAA Service Framework
DHCP Relay / DHCP Local Server
Dynamic Profiles
- Interfaces
g017268

- Firewall filters SRC


- Protocols (IGMP)
- Class of Service

Copyright © 2011, Juniper Networks, Inc. 21


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

When configuring the broadband subscriber management solution, specific configuration


elements come into play. In one form or another, you must configure each of these
elements for the subscriber management solution to function.

The configuration elements include the following:

• Subscriber network VLAN configuration

• AAA Service Framework configuration

• Addressing server or addressing server access configuration

• Dynamic profile configuration

• Core network configuration

Related • Triple Play Subscriber Management Network Topology Overview on page 37


Documentation
• Configuring Top-Level Broadband Subscriber Management Elements on page 39

Broadband Subscriber Management VLAN Architecture Overview

The subscriber management logical network architecture is as important as the physical


network architecture. You configure the logical portion of the subscriber management
network using virtual local area networks (VLANs).

Three VLAN models deliver multiple services to subscribers. These models include the
following:

• Service VLAN—The service VLAN (S-VLAN) provides many-to-one (N:1)


subscriber-to-service connectivity: The service VLAN carries a service (for example,
data, video, or voice) to all subscribers instead of having different services share a
VLAN. Adding a new service requires adding a new VLAN and allocating bandwidth to
the new service. The service VLAN model enables different groups that are using the
broadband network (for example, external application providers) to manage a given
service. One limitation of service VLANs is the absence of any logical isolation between
user sessions at the VLAN level. This lack of isolation requires that the multiservice
access node (MSAN) and broadband services router provide the necessary security
filtering.

• Customer VLAN—The customer VLAN (C-VLAN) provides one-to-one (1:1)


subscriber-to-service connectivity: One VLAN carries all traffic to each subscriber on
the network. Having a single VLAN per subscriber simplifies operations by providing a
1:1 mapping of technology (VLANs) to subscribers. You can also understand what
applications any subscriber is using at any given time. Because you use only one VLAN
to carry traffic to each subscriber, this approach is not affected when adding new
services. However, using a pure C-VLAN model consumes more bandwidth because
a single television channel being viewed by multiple subscribers is carried across the
network several times—once on each C-VLAN. This approach requires a more scalable,
robust edge router that can support several thousand VLANs.

• Hybrid C-VLAN—The hybrid VLAN combines the best of both previous VLANs by using
one VLAN per subscriber to carry unicast traffic and one shared multicast VLAN

22 Copyright © 2011, Juniper Networks, Inc.


Chapter 4: Broadband Subscriber Management Solution Software Overview

(M-VLAN) for carrying broadcast (multicast) television traffic. You can use both the
pure and hybrid C-VLAN models in different portions of the network, depending upon
available bandwidth and MSAN capabilities.

NOTE: The term C-VLAN, when used casually, often refers to a hybrid
C-VLAN implementation.

We recommend using one of the C-VLAN models to simplify configuration and


management when expanding services. However, some MSANs are limited to the number
of VLANs they can support, limiting the ability to use either C-VLAN model.

NOTE: Most MSANs can support the service VLAN model.

Broadband Subscriber Management VLANs Across an MSAN


You configure VLANs to operate between the MSAN and the edge router (broadband
services router or video services router). However, the MSAN might modify VLAN identifiers
before forwarding information to the subscriber in the following ways:

NOTE: Not all MSANs support these options.

• The VLAN identifiers can be carried within the ATM VCs or they can be removed. The
value of keeping the VLAN header is that it carries the IEEE 802.1p Ethernet priority
bits. These priority bits can be added to upstream traffic by the residential gateway,
allowing the DSLAM to easily identify and prioritize more important traffic (for example,
control and VoIP traffic). Typically, a VLAN identifier of zero (0) is used for this purpose.

• In a C-VLAN model, the MSAN might modify the VLAN identifier so that the same VLAN
is sent to each subscriber. This enables the use of the same digital subscriber line (DSL)
modem and residential gateway configuration for all subscribers without the need to
define a different VLAN for each device.

Customer VLANs and Ethernet Aggregation


The 12-bit VLAN identifier (VLAN ID) can support up to 4095 subscribers. When using
an aggregation switch with a C-VLAN topology, and fewer than 4095 subscribers are
connected to a single edge router port, the aggregation switch can transparently pass
all VLANs. However, if the VLAN can exceed 4095 subscribers per broadband services
router port, you must use VLAN stacking (IEEE 802.1ad, also known as Q-in-Q). VLAN
stacking includes two VLAN tags—an outer tag to identify the destination MSAN and an
inner tag to identify the subscriber. For downstream traffic (that is, from the broadband
services router or Ethernet switch to the MSAN), the outer tag determines which port to
forward traffic. The forwarding device then uses the VLAN pop function on this tag before
forwarding the traffic with a single tag. The reverse process occurs for upstream traffic.

Copyright © 2011, Juniper Networks, Inc. 23


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

VLAN stacking is not necessary for S-VLANs or M-VLANs. However, for the hybrid (C-VLAN
and M-VLAN) model, the Ethernet switch or services router must be able to pop or push
tags onto C-VLAN traffic while not modifying M-VLAN packets.

VLANs and Residential Gateways


One function provided by a residential gateway is to enable each subscriber to have a
private (in-home) network, unseen by other broadband subscribers, while enabling the
subscriber to have multiple devices connected to the broadband network. This private
network is made possible by using Network Address Translation (NAT).

Most conditional access systems (for example, video on demand) require detecting the
real IP address of the set-top box (STB). This security measure means that traffic to and
from the STB must be bridged, not routed, across all network elements including
aggregation switches, MSANs, and residential gateways. NAT cannot be used at the
residential gateway for traffic to and from the STB. In addition, some residential gateways
associate VLANs (or ATM virtual circuits) with ports. Traffic on a given VLAN is always
forwarded to specific downstream port. Use caution when mapping VLANs on an MSAN.

Related • Static Subscriber Interfaces and VLAN Overview in the Junos OS Subscriber Access
Documentation Configuration Guide.

Broadband Subscriber Management IGMP Model Overview

In an IPTV network, channel changes occur when a set-top box (STB) sends IGMP
commands that inform an upstream device (for example, a multiservice access node
[MSAN] or services router) whether to start or stop sending multicast groups to the
subscriber. In addition, IGMP hosts periodically request notification from the STB about
which channels (multicast groups) are being received.

You can implement IGMP in the subscriber management network in the following ways:

• Static IGMP—All multicast channels are sent to the MSAN. When the MSAN receives
an IGMP request to start or stop sending a channel, it adds the subscriber to the
multicast group and then discards the IGMP packet.

• IGMP Proxy—Only multicast channels currently being viewed are sent to the MSAN.
If the MSAN receives a request to view a channel that is not currently being forwarded
to the MSAN, it forwards the request upstream. However, the upstream device does
not see all channel change requests from each subscriber, limiting bandwidth control
options.

• IGMP Snooping—Only multicast channels currently being viewed are sent to the MSAN.
The MSAN forwards all IGMP requests upstream, unaltered, even if it is already receiving
the channel. The upstream device sees all channel change requests from each
subscriber. Using IGMP snooping enables the broadband services router to determine
the mix of services and the bandwidth requirements of each subscriber and adjust the
bandwidth made available to each service.

• IGMP Passthrough—The MSAN transparently passes IGMP packets upstream to the


broadband services router.

24 Copyright © 2011, Juniper Networks, Inc.


Chapter 4: Broadband Subscriber Management Solution Software Overview

IGMP hosts (sources) also periodically verify that they are sending the correct traffic by
requesting that each client send information about what multicast groups it wants to
receive. The responses to this IGMP query can result in a substantial upstream traffic
burst.

IGMPv2 is the minimum level required to support IPTV, and is the most widely deployed.
Emerging standards specify IGMPv3.

Related • Dynamic IGMP Configuration Overview in the Junos OS Subscriber Access Configuration
Documentation Guide.

DHCP and Broadband Subscriber Management Overview

You use DHCP in broadband networks to provide IP address configuration and service
provisioning. DHCP, historically a popular protocol in LANs, works well with Ethernet
connectivity and is becoming increasingly popular in broadband networks as a simple,
scalable solution for assigning IP addresses to subscriber home PCs, set-top boxes
(STBs), and other devices.

The Junos OS broadband subscriber management solution currently supports the


following DHCP allocation models:

• DHCP Local Server

• DHCP Relay

DHCP uses address assignment pools from which to allocate subscriber addresses.
Address-assignment pools support both dynamic and static address assignment:

• Dynamic address assignment—A subscriber is automatically assigned an address from


the address-assignment pool.

• Static address assignment—Addresses are reserved and always used by a particular


subscriber.

NOTE: Addresses that are reserved for static assignment are removed
from the dynamic address pool and cannot be assigned to other clients.

Extended DHCP Local Server and Broadband Subscriber Management Overview


You can enable the services router to function as an extended DHCP local server. As an
extended DHCP local server the services router, and not an external DHCP server, provides
an IP address and other configuration information in response to a client request. The
extended DHCP local server supports the use of external AAA authentication services,
such as RADIUS, to authenticate DHCP clients.

Extended DHCP Relay and Broadband Subscriber Management Overview


You can configure extended DHCP relay options on the router and enable the router to
function as a DHCP relay agent. A DHCP relay agent forwards DHCP request and reply

Copyright © 2011, Juniper Networks, Inc. 25


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

packets between a DHCP client and a DHCP server. You can use DHCP relay in carrier
edge applications such as video and IPTV to obtain configuration parameters, including
an IP address, for your subscribers. The extended DHCP relay agent supports the use of
external AAA authentication services, such as RADIUS, to authenticate DHCP clients.

Related • Extended DHCP Local Server Overview in the Junos OS Subscriber Access Configuration
Documentation Guide.

• Extended DHCP Relay Agent Overview in the Junos OS Subscriber Access Configuration
Guide.

• Address-Assignment Pools Overview in the Junos OS Subscriber Access Configuration


Guide.

AAA Service Framework and Broadband Subscriber Management Overview

You use AAA Service Framework for all authentication, authorization, accounting, address
assignment, and dynamic request services that the services router uses for network
access. The framework supports authentication and authorization through external
servers, such as RADIUS. The framework also supports accounting and dynamic-request
CoA and disconnect operations through external servers, and address assignment through
a combination of local address-assignment pools and RADIUS.

NOTE: The broadband subscriber management solution currently supports


the use of only RADIUS servers.

The broadband services router interacts with external servers to determine how individual
subscribers access the broadband network. The router also obtains information from
external servers for the following:

• Methods used for authentication and accounting.

• How accounting statistics are collected and used.

• How dynamic requests are handled.

Related • AAA Service Framework Overview in the Junos OS Subscriber Access Configuration Guide.
Documentation
• RADIUS-Initiated Change of Authorization (CoA) Overview in the Junos OS Subscriber
Access Configuration Guide.

• RADIUS-Initiated Disconnect Overview in the Junos OS Subscriber Access Configuration


Guide.

Class of Service and Broadband Subscriber Management Overview

Class of service (CoS) is a mechanism that enables you to divide traffic into classes and
offer various levels of throughput and acceptable packet loss when congestion occurs.
CoS also provides the option of using differentiated services when best-effort traffic

26 Copyright © 2011, Juniper Networks, Inc.


Chapter 4: Broadband Subscriber Management Solution Software Overview

delivery is insufficient. You can also configure the services router to provide hierarchical
scheduling for subscribers by dynamically adding or deleting queues when subscribers
require services.

By using a dynamic profile, you can provide all subscribers in your network with default
CoS parameters when they log in. For example, you can configure an access dynamic
profile to specify that all subscribers receive a basic data service. If you use RADIUS
variables in the dynamic profile, you can enable the service to be activated for those
subscribers at login. You can also use variables to configure a service profile that enables
subscribers to activate a service or upgrade to different services through RADIUS
change-of-authorization (CoA) messages following initial login.

Related • CoS for Subscriber Access Overview in the Junos OS Subscriber Access Configuration
Documentation Guide.

Policy and Control for Broadband Subscriber Management Overview

You can use the Juniper Networks Session and Resource Control (SRC) software to
implement policy and control in the subscriber management network. The SRC software
provides policy management, subscriber management, and network resource control
functions that enable the creation and delivery of services across the network.

For additional information about the Juniper Networks SRC software, go to


http://www.juniper.net/techpubs/software/management/src/.

Subscriber Management Licensing

To enable some Junos OS subscriber management software features or router scaling


levels, you must purchase, install, and manage certain software license packs. The
presence on the router of the appropriate software license keys (passwords) determines
whether you can configure and use certain features or configure a feature to a
predetermined scale.

For information about how to purchase Juniper Networks Junos OS licenses, contact your
Juniper Networks sales representative. For information about installing and managing
software licenses that pertain to your broadband subscriber management network, see
the Junos OS Installation and Upgrade Guide.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation

Copyright © 2011, Juniper Networks, Inc. 27


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

28 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 5

Broadband Subscriber Management


Wholesale Overview

• Layer 2 and Layer 3 Wholesale Overview on page 29


• Wholesale Network Configuration Options and Considerations on page 30
• PPPoE Layer 3 Wholesale Configuration Interface Support on page 31
• DHCP Layer 3 Wholesale Configuration Interface Support on page 31
• Layer 3 Wholesale Configuration DHCP Support on page 31
• Subscriber to Logical System and Routing Instance Relationship on page 32
• RADIUS VSAs and Broadband Subscriber Management Wholesale Configuration
Overview on page 33

Layer 2 and Layer 3 Wholesale Overview

In general, wholesaling broadband services allows service providers to resell broadband


services and allows other providers to deploy their own services over the incumbent
network. There are different methods to partitioning an access network for resale. The
two most common approaches are based on either Layer 2 or Layer 3 information.
Wholesale access is the process by which the access network provider (the wholesaler)
partitions the access network into separately manageable and accountable subscriber
segments for resale to other network providers (or retailers).

In a Layer 3 wholesale configuration, you partition the wholesaler access network at the
network layer or the subscriber IP component by associating the IP component with a
distinct Layer 3 domain. In a Layer 2 wholesale configuration, you partition the access
network at the subscriber circuit or customer VLAN (C-VLAN) by backhauling the
connection through the service provider backbone network to the subscribing retailer
network where the access traffic can be managed at higher layers.

In a Junos OS Dynamic Host Configuration Protocol (DHCP) or Point-to-Point Protocol


over Ethernet (PPPoE) subscriber access configuration, wholesale partitioning is
accomplished through the use of logical systems and routing instances within the router.
Logical systems offer a stricter partitioning of routing resources than routing instances.
The purpose behind the use of logical systems is to distinctly partition the physical router
into separate administrative domains. This partitioning enables multiple providers to
administer the router simultaneously, with each provider having access only to the portions

Copyright © 2011, Juniper Networks, Inc. 29


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

of the configuration relevant to their logical system. Junos OS supports up to 15 named


logical systems in addition to the default logical system (that is, inet.0). Unless otherwise
specified in configuration, all interfaces belong to the default logical system.

NOTE: This Junos OS release supports the use of only the default logical
system. Partitioning currently occurs through the use of separate routing
instances.

A logical system can have one or more routing instances. Typically used in Layer 3 VPN
scenarios, a routing instance does not have the same level of administrative separation
as a logical system because it does not offer administrative isolation. However, the routing
instance defines a distinct routing table, set of routing policies, and set of interfaces.

Related • Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and


Documentation Configuration Elements on page 63

• Broadband Subscriber Management PPPoE Layer 3 Wholesale Topology and


Configuration Elements on page 111

• Broadband Subscriber Management Layer 2 Wholesale Topology and Configuration


Elements on page 127

Wholesale Network Configuration Options and Considerations

You can configure a wholesale network any number of ways using Juniper Hardware and
JUNOS software. For information about subscriber management hardware support, see
Subscriber Access Support Considerations in the Junos OS Subscriber Access Configuration
Guide. The general configuration options, and considerations for each, are provided below:

Wholesale Configuration Options Considerations

Fully Static (all interfaces, VLANs, and Providing more control over retailer space and access, this option is more labor
routing instances are configured intensive and can require more detailed planning of the network, address allocation,
statically) and so on.

Static VLANs and Dynamic Demux Service VLANS are created statically and must be managed. Demux interfaces are
Interfaces dynamically created over the service VLANs. This option uses more logical interfaces;
one for each VLAN and one for each dynamic demux interface that runs over each
VLAN.

Dynamic VLANs Only (dedicated Dynamic (auto-sensed) VLANs are authenticated and installed in the correct
customer VLANs for each subscriber) non-default routing instance before DHCP is instantiated. This method helps to
conserve logical interfaces by avoiding the need for additional logical interfaces being
created for each demux interface.

NOTE: In a customer VLAN model, each VLAN functions on a 1:1 basis for each
customer (in this case, per household).

30 Copyright © 2011, Juniper Networks, Inc.


Chapter 5: Broadband Subscriber Management Wholesale Overview

Wholesale Configuration Options Considerations

Dynamic VLANs and Dynamic Demux Allows for the greatest ease of use and flexibility in configuring subscribers, by enabling
Interfaces access over a service VLAN and targetting more service levels over individual,
dynamically-created demux interfaces over the service VLAN. This option uses more
logical interfaces; one for each VLAN and one for each demux interface that runs
over each VLAN.

PPPoE Layer 3 Wholesale Configuration Interface Support

PPPoE Layer 3 wholesale requires the use of PPP interfaces. This means that you must
specify the PP0 interface when configuring Layer 3 wholesaling in a PPPoE network.

For general additional information about configuring PPPoE interfaces, see the Junos OS
Network Interfaces Configuration Guide.

Related • Junos OS Network Interfaces Configuration Guide


Documentation
• Configuring a Basic PPPoE Dynamic Profile in the Junos OS Subscriber Access
Configuration Guide.

• Configuring Dynamic PPPoE Subscriber Interfaces Using Dynamic Profiles in the Junos
OS Subscriber Access Configuration Guide.

• Configuring a PPPoE Dynamic Profile with Additional Options in the Junos OS Subscriber
Access Configuration Guide.

DHCP Layer 3 Wholesale Configuration Interface Support

DHCP Layer 3 wholesale currently supports only the use of IP demux interfaces.

For general additional information about configuring IP demux interfaces, see the Junos
OS Network Interfaces Configuration Guide.

Related • Junos OS Network Interfaces Configuration Guide


Documentation
• Subscriber Interfaces and Demultiplexing Overview in the Junos OS Subscriber Access
Configuration Guide.

• Configuring Dynamic Subscriber Interfaces Using IP Demux Interfaces in Dynamic


Profiles in the Junos OS Subscriber Access Configuration Guide.

• Configuring a Subscriber Interface Using a Set of Static IP Demux Interfaces in the


Junos OS Subscriber Access Configuration Guide.

Layer 3 Wholesale Configuration DHCP Support

DHCP Layer 3 wholesale supports the following DHCP configuration options:

• DHCP Relay

• DHCP Relay Proxy

Copyright © 2011, Juniper Networks, Inc. 31


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

• DHCP Local Server

NOTE: All routing instances within the same wholesale network must use
the same DHCP configuration option.

For additional information about any of these DHCP options, see the AAA Service
Framework Overview in the Junos OS Subscriber Access Configuration Guide.

Related • Extended DHCP Relay Agent Overview in the Junos OS Subscriber Access Configuration
Documentation Guide.

• DHCP Relay Proxy Overview in the Junos OS Subscriber Access Configuration Guide.

• Extended DHCP Local Server Overview in the Junos OS Subscriber Access Configuration
Guide.

Subscriber to Logical System and Routing Instance Relationship

As subscriber sessions are established, subscriber to logical system/routing instance


memberships are established by the AAA framework configured for the default logical
system. When configuring Layer 3 wholesaling, you typically configure global (wholesale)
information within the default (master) logical system and default routing instance.
Incoming subscribers must then be authenticated, but this authentication can be handled
in one of two ways:

• Single (wholesaler only) authentication—Incoming subscribers are authenticated by


the wholesaler RADIUS server. After authentication, the subscribers are assigned values
specified by dynamic profiles (routing instances, interfaces, and any configuration
values) specific to a particular retailer.

• Dual (wholesaler and retailer) authentication—Sometimes referred to as double-dip


authentication. Incoming subscribers are initially authenticated by RADIUS using the
wholesale configuration. Authenticated subscribers are then redirected to other routing
instances associated with individual retailer network space. When you redirect
subscribers, and those subscribers are to be authenticated by AAA servers owned by
individual retailers, the subscribers must be authenticated again by the AAA servers
before they are provided an address and any dynamic profile values are assigned. After
reauthentication, however, the subscribers are managed normally using any values
specific to the retailer routing instance to which they are assigned.

Related • See Routing Instances Overview in the Junos OS Routing Protocols Configuration Guide.
Documentation

32 Copyright © 2011, Juniper Networks, Inc.


Chapter 5: Broadband Subscriber Management Wholesale Overview

RADIUS VSAs and Broadband Subscriber Management Wholesale Configuration


Overview

You can use RADIUS to assign various values through the use of dynamic variables within
dynamic profiles. However, the configuration of at least one of the two VSAs described
in Table 5 on page 33 is required for a wholesale network to function.

Table 5: Required Juniper Networks VSAs for the Broadband Subscriber


Management Wholesale Network Solution
Attribute Number Attribute Name Description Value

26-1 LSRI-Name Client logical string: logical


system/routing system:routing
instance membership instance
name. Allowed only
from RADIUS server
for “default” logical
system/routing
instance membership.

26-25 Redirect-LSRI-Name Client logical string: logical


system/routing system:routing
instance membership instance
name indicating to
which logical
system/routing
instance membership
the request is
redirected for user
authentication.

Specifying the $junos-routing-instance dynamic variable in a dynamic profile triggers a


RADIUS access-accept response of either the LSRI-Name VSA or the Redirect-LSRI-Name
VSA. Returning an LSRI-Name attribute in the access-accept response provides the
logical system and routing instance in which the logical interface is to be created and
the router updates the session database with the specified routing instance value.
Returning a Redirect-LSRI-Name attribute in the access-accept response results in the
router immediately sending a second access-request message (sometimes referred to
as a double-dip) to the RADIUS server specified by the logical system:routing instance
attribute specified by the Redirect-LSRI-Name VSA.

NOTE: Attributes returned as a result of a second access-request message


to the logical system/routing instance membership specified by the
Redirect-LSRI-Name VSA override any prior attributes returned by initial
access-accept responses to the default logical system/routing instance
membership.

Related • Juniper Networks VSAs Supported by the AAA Service Framework in the Junos OS
Documentation Subscriber Access Configuration Guide.

Copyright © 2011, Juniper Networks, Inc. 33


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

34 Copyright © 2011, Juniper Networks, Inc.


PART 2

Broadband Subscriber Management Triple


Play Solution
• Broadband Subscriber Management Triple Play Overview on page 37
• Configuring a Basic Triple Play Subscriber Management Network on page 39

Copyright © 2011, Juniper Networks, Inc. 35


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

36 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 6

Broadband Subscriber Management Triple


Play Overview

• Triple Play Subscriber Management Network Topology Overview on page 37

Triple Play Subscriber Management Network Topology Overview

This configuration explains the basics in configuring a basic triple-play (data, voice, and
video) network. Figure 4 on page 37 provides the reference topology for this configuration
example.

Figure 4: Triple Play Network Reference Topology


Access Network Core Network

GE-1/3/0 GE-1/3/1
MX Series
MSAN

RADIUS
server

Access Network Elements


Access Network Interface: GE-1/3/0
Loopback (lo0) Interface Address: 33.33.0.1/32
C-VLANs: Five (unit 1 to 5); Outer tag: 3; Inner tags: 1 to 5
Logical Interfaces: GE-1/3/0.1 to GE-1/3/0.5
Extended DHCP Local Server Address Pool Network: 33.33.0.0/16
Address Pool Range: 33.33.0.10 to 33.33.127.254
RADIUS Authentication Server Address: 222.222.222.42
g017269

RADIUS Accounting Server Address: 222.222.222.42


Dynamic Profile: Profile-Triple-Play

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation

Copyright © 2011, Juniper Networks, Inc. 37


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

38 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 7

Configuring a Basic Triple Play Subscriber


Management Network

• Configuring Top-Level Broadband Subscriber Management Elements on page 39


• Configuring a Loopback Interface for the Broadband Subscriber Management
Solution on page 40
• Configuring Static Customer VLANs for the Broadband Subscriber Management
Solution on page 41
• Configuring Dynamic Customer VLANs for the Broadband Subscriber Management
Solution on page 42
• Configuring a Global Class of Service Profile for the Broadband Subscriber Management
Solution on page 44
• Configuring Dynamic Firewall Filter Services for Use in Dynamic Profiles on page 50
• Configuring AAA Service Framework for the Broadband Subscriber Management
Solution on page 51
• Configuring Address Server Elements for the Broadband Subscriber Management
Solution on page 53
• Configuring a PPPoE Dynamic Profile for the Triple Play Solution on page 56
• Configuring a DHCP Dynamic Profile for the Triple Play Solution on page 58

Configuring Top-Level Broadband Subscriber Management Elements

When configuring an MX Series router to act as a broadband services router (BSR) or


video services router (VSR), you initially define elements that the router uses to define
both subscriber access and the level of service a subscriber can have in your network.
Many of these elements are profiles (groups of configuration statements) or static
configuration components (like firewall filters) that typically do not change after you
create them. After you define these elements, the router can use them to enable
subscribers to gain access to your network.

Copyright © 2011, Juniper Networks, Inc. 39


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

The top-level steps for configuring the edge access in the subscriber management network
include the following:

1. Configure the subscriber loopback interface and VLANs.

See “Configuring Static Customer VLANs for the Broadband Subscriber Management
Solution” on page 41.

2. Configure a class of service profile.

See “Configuring a Global Class of Service Profile for the Broadband Subscriber
Management Solution” on page 44.

3. Configure a firewall filter for use with the dynamic profile.

See “Configuring Dynamic Firewall Filter Services for Use in Dynamic Profiles” on
page 50.

4. Configure AAA Framework Services.

See “Configuring AAA Service Framework for the Broadband Subscriber Management
Solution” on page 51.

5. Configure an address assignment pool for use by the address server.

See “Configuring Address Server Elements for the Broadband Subscriber Management
Solution” on page 53.

6. Configure DHCP local server to assign subscriber addresses.

See “Configuring Address Server Elements for the Broadband Subscriber Management
Solution” on page 53.

Related • Triple Play Subscriber Management Network Topology Overview on page 37


Documentation
• Broadband Subscriber Management Solution Topology and Configuration Elements
on page 21

Configuring a Loopback Interface for the Broadband Subscriber Management Solution

You must configure a loopback interface for use in the subscriber management access
network. The loopback interface is automatically used for unnumbered interfaces.

NOTE: If you do not configure the loopback interface, the routing platform
chooses the first interface to come online as the default. If you configure
more than one address on the loopback interface, we recommend that you
configure one to be the primary address to ensure that it is selected for use
with unnumbered interfaces. By default, the primary address is used as the
source address when packets originate from the interface.

To configure a loopback interface:

1. Edit the loopback interface.

40 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

[edit]
user@host# edit interfaces lo0

2. Edit the loopback interface unit.

[edit interfaces lo0]


user@host# edit unit 0

3. Edit the loopback interface family.

[edit interfaces lo0 unit 0]


user@host# edit family inet

4. Specify the loopback interface address.

[edit interfaces lo0 unit 0]


user@host# set address 33.33.0.1/32

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Junos OS Network Interfaces Configuration Guide

Configuring Static Customer VLANs for the Broadband Subscriber Management


Solution

In this example configuration, the access interface (ge-1/3/0) connects to a device (that
is, a DSLAM) on the access side of the network. You can define static customer VLANs
(C-VLANs) for use by the access network subscribers.

For a PPPoE solution, to configure the customer VLANs:

1. Edit the access side interface.

[edit]
user@host# edit interfaces ge-1/3/0

2. Edit the interface unit for the first VLAN.

[edit interfaces ge-1/3/0]


user@host# edit unit 1

3. Define the VLAN tags for the first VLAN.

[edit interfaces ge-1/3/0 unit 1]


user@host# set vlan-tags outer 3 inner 1

4. Repeat steps 2 through 3for VLAN interface units 2 through 5.

For a DHCP solution, to configure the customer VLANs:

1. Edit the access side interface.

[edit]
user@host# edit interfaces ge-1/3/0

2. Edit the interface unit for the first VLAN.

[edit interfaces ge-1/3/0]


user@host# edit unit 1

Copyright © 2011, Juniper Networks, Inc. 41


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

3. Define the VLAN tags for the first VLAN.

[edit interfaces ge-1/3/0 unit 1]


user@host# set vlan-tags outer 3 inner 1

4. Specify that you want to create IPv4 demux interfaces.

[edit interfaces ge-1/3/0 unit 1]


user@host# set demux-source inet

5. Edit the family for the first VLAN.

[edit interfaces ge-1/3/0 unit 1]


user@host# edit family inet

6. Define the unnumbered address and the preferred source address for the first VLAN.

[edit interfaces ge-1/3/0 unit 1 family inet]


user@host# set unnumbered-address lo0.0 preferred-source-address 33.33.0.1

7. Repeat steps 2 through 6for VLAN interface units 2 through 5.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Junos OS Network Interfaces Configuration Guide

Configuring Dynamic Customer VLANs for the Broadband Subscriber Management


Solution

In this example configuration, the access interface (ge-1/3/0) connects to a device (that
is, a DSLAM) on the access side of the network. This procedure enables the dynamic
creation of up to five customer VLANs (C-VLANs) for use by the access network
subscribers.

NOTE: Dynamic customer VLAN configuration is currently not supported for


PPPoE. You must configure static VLANs for PPPoE. For an example of how
to configure static customer VLANs for PPPoE, see “Configuring Static
Customer VLANs for the PPPoE Layer 3 Wholesale Network Solution” on
page 115.

To configure dynamic VLANs for the solution:

1. Configure a dynamic profile for dynamic VLAN creation.

a. Name the profile.

[edit]
user@host# edit dynamic-profiles VLAN-PROF

b. Define the interfaces statement with the internal $junos-interface-ifd-name variable


used by the router to match the interface name of the receiving interface.

[edit dynamic-profiles VLAN-PROF]


user@host# edit interfaces $junos-interface-ifd-name

42 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

c. Define the unit statement with the predefined $junos-interface-unit variable:

[edit dynamic-profiles VLAN-PROF interfaces “$junos-interface-ifd-name”]


user@host# set unit $junos-interface-unit

d. (Optional) To configure the router to respond to any ARP request, specify the
proxy-arp statement.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set proxy-arp

e. Specify that you want to create IPv4 demux interfaces.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set demux-source inet

f. Specify the VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags outer $junos-stacked-vlan-id

The variable is dynamically replaced with an outer VLAN ID within the VLAN range
specified at the [edit interfaces] hierarchy level.

g. Specify the inner VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags inner $junos-vlan-id

The variable is dynamically replaced with an inner VLAN ID within the VLAN range
specified at the [edit interfaces] hierarchy level.

h. Specify the family type.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set family inet

i. (Optional) Enable IP and MAC address validation for dynamic IP demux interfaces
in a dynamic profile.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit" family inet]
user@host# set mac-validate strict

j. Specify the unnumbered address and preferred source address.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit" family inet]
user@host# set unnumbered-address lo.0 preferred-source-address 33.33.0.1

2. Associate the dynamic profile with the VLAN interface.

a. Access the interface that you want to use for creating VLANs.

[edit interfaces]

Copyright © 2011, Juniper Networks, Inc. 43


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

user@host# edit interfaces ge-1/3/0

b. Specify that you want to automatically configure VLAN interfaces.

[edit interfaces ge-1/3/0]


user@host# edit auto-configure

c. Specify that you want to configure stacked VLANs.

[edit interfaces ge-1/3/0 auto-configure]


user@host# edit stacked-vlan-ranges

d. Specify the dynamic VLAN profile that you want the interface to use.

[edit interfaces ge-1/3/0 auto-configure stacked-vlan-ranges]


user@host# set dynamic-profile VLAN-PROF

3. Specify the Ethernet packet type that the VLAN dynamic profile can accept.

[edit interfaces ge-1/3/0 auto-configure stacked-vlan-ranges VLAN-PROF]


user@host# set accept inet

4. Define VLAN ranges for use by the dynamic profile when dynamically creating VLAN
IDs. For this solution, specify the outer and inner stacked VLAN ranges that you want
the dynamic profile to use. To mimic the static VLAN configuration, the following
example specifies an outer stacked VLAN ID range of 3–3 (enabling only the outer
range of 3) and an inner stacked VLAN ID range of 1–5 (enabling a range from 1 through
5 for the inner stacked VLAN ID).

[edit interfaces ge-0/0/0 auto-configure vlan-ranges]


user@host# set ranges 3–3,1–5

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Broadband Subscriber Management VLAN Architecture Overview on page 22

• Dynamic 802.1Q VLAN Overview in the Junos OS Network Interfaces Configuration Guide

• Configuring VLAN Dynamic Profiles in the Junos OS Subscriber Access Configuration Guide

• Configuring VLAN Interfaces to Use Dynamic Profiles in the Junos OS Subscriber Access
Configuration Guide

• Configuring Which VLAN Ethernet Packet Types Dynamic Profiles Can Accept in the
Junos OS Subscriber Access Configuration Guide

• Configuring VLAN Ranges for Use with Dynamic Profiles in the Junos OS Subscriber
Access Configuration Guide

• Junos OS Network Interfaces Configuration Guide

Configuring a Global Class of Service Profile for the Broadband Subscriber Management
Solution

Junos OS CoS enables you to divide traffic into classes and offer various levels of
throughput and packet loss (when congestion occurs) in accordance to service rules
that you specify. The Junos OS CoS features provide a set of mechanisms that you can

44 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

use to provide differentiated (video, voice, and data) services over the same network for
subscribers.

• Configuring a Class of Service Profile on page 45


• Configuring CoS Fowarding Classes on page 46
• Configuring CoS Schedulers on page 47
• Configuring Scheduler Maps on page 48
• Configuring CoS Classifiers on page 48
• Configuring CoS Interface Properties on page 49

Configuring a Class of Service Profile


You can configure class of service (CoS) for all subscribers that successfully establish
connection to the broadband network. After you create the CoS profile, you can attach
it to subscriber interfaces using a dynamic profile.

Configuring a CoS profile includes the following general steps:

1. Configuring forwarding classes.

2. Configuring schedulers.

3. Configuring scheduler maps.

4. Configuring classifiers.

5. Configuring CoS interface properties.

In the configuration we build in this section, we configure three forwarding classes, each
with its own scheduler, and an IP precedence classifier for the traffic destined for the
access network. Table 6 on page 45 provides an overview of the queue configuration:

Table 6: Class of Service Queue Configuration


Differentiated Services
Classification Bandwidth Priority Purpose

Expedited forwarding (EF) 128 Kbps strict high voice traffic

Assured forwarding (AF) 29.4 Mbps low video traffic

Best effort (BE) remainder low data traffic

NOTE: The network control forwarding class is not configured in this solution.

Copyright © 2011, Juniper Networks, Inc. 45


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring CoS Fowarding Classes


Forwarding classes identify output queues for packets. For a classifier to assign an output
queue to each packet, it must associate the packet with one of the following forwarding
classes:

• Expedited forwarding (EF)—Provides a low loss, low latency, low jitter, assured
bandwidth, end-to-end service.

• Assured forwarding (AF)—Provides a group of values you can define and includes four
subclasses: AF1, AF2, AF3, and AF4, each with three drop probabilities: low, medium,
and high.

• Best effort (BE)—Provides no service profile. For the BE forwarding class, loss priority
is typically not carried in a class-of-service (CoS) value, and random early detection
(RED) drop profiles are more aggressive.

• Network control (NC)—This class is typically high priority because it supports protocol
control.

NOTE: The MX Series router enables you to configure up to eight forwarding


class queues.

To configure forwarding class queues:

1. Edit the best effort queue.

[edit]
user@host# edit class-of-service forwarding-classes queue 0

2. Name the queue.

[edit class-of-service forwarding-classes queue 0]


user@host# set fc_be

3. Edit the expedited forwarding queue.

[edit]
user@host# edit class-of-service forwarding-classes queue 1

4. Name the queue.

[edit class-of-service forwarding-classes queue 1]


user@host# set fc_ef

5. Edit the assured forwarding queue.

[edit]
user@host# edit class-of-service forwarding-classes queue 2

6. Name the queue.

[edit class-of-service forwarding-classes queue 1]


user@host# set fc_af

46 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

Configuring CoS Schedulers


CoS schedulers define the properties of output queues. These properties can include the
amount of interface bandwidth assigned to the queue, the size of the memory buffer
allocated for storing packets, the priority of the queue, and the random early detection
(RED) drop profiles associated with the queue.

To configure CoS schedulers for the existing queues:

1. Create a scheduler and name it for the best effort traffic.

[edit]
user@host# edit class-of-service schedulers sched_be

2. Define the best effort scheduler buffer size.

[edit class-of-service schedulers sched_be]


user@host# set buffer-size remainder

3. Set the priority of the best effort scheduler.

[edit class-of-service schedulers sched_be]


user@host# set priority low

4. Create a scheduler and name it for the expedited forwarding traffic.

[edit]
user@host# edit class-of-service schedulers sched_ef

5. Configure the transmit rate for the expedited forwarding scheduler.

[edit class-of-service schedulers sched_ef]


user@host# set transmit-rate 128k

6. Define the expedited forwarding scheduler buffer size.

[edit class-of-service schedulers sched_ef]


user@host# set buffer-size remainder

7. Set the priority of the expedited forwarding scheduler.

[edit class-of-service schedulers sched_ef]


user@host# set priority strict-high

8. Create a scheduler and name it for the assured forwarding traffic.

[edit]
user@host# edit class-of-service schedulers sched_af

9. Configure the transmit rate for the assured forwarding scheduler.

[edit class-of-service schedulers sched_af]


user@host# set transmit-rate 29400000

10. Define the assured forwarding scheduler buffer size.

[edit class-of-service schedulers sched_af]


user@host# set buffer-size remainder

11. Set the priority of the expedited forwarding scheduler.

[edit class-of-service schedulers sched_af]


user@host# set priority low

Copyright © 2011, Juniper Networks, Inc. 47


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring Scheduler Maps


After configuring both CoS forwarding classes and schedulers, you must use scheduler
maps to associate them.

To map CoS forwarding classes to schedulers:

1. Create a forwarding map and name it.

[edit]
user@host# edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic

2. Edit the best effort forwarding class queue.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic]


user@host# edit forwarding-class fc_be

3. Associate the scheduler that you want this forwarding class to use.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic forwarding-class


fc_be]
user@host# set scheduler sched_be

4. Edit the expedited forwarding class queue.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic]


user@host# edit forwarding-class fc_ef

5. Associate the scheduler that you want this forwarding class to use.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic forwarding-class


fc_ef]
user@host# set scheduler sched_ef

6. Edit the assured forwarding class queue.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic]


user@host# edit forwarding-class fc_af

7. Associate the scheduler that you want this forwarding class to use.

[edit class-of-service scheduler-maps SchedulerMap_Triple_Play_Basic forwarding-class


fc_af]
user@host# set scheduler sched_af

Configuring CoS Classifiers


You can override the default IP precedence classifier by defining a custom classifier. You
can then apply the classifier to a logical interface.

To define a custom CoS classifier:

1. Create a Differentiated Services code point (DSCP) classifier and name it.

[edit]
user@host# edit class-of-service classifiers dscp Class_DSCP

NOTE: DSCP classifiers handle incoming IPv4 packets.

48 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

2. Edit the best effort forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP]


user@host# edit forwarding-class fc_be

3. Edit the loss priority level for the forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_be]


user@host# edit loss-priority high

4. Set code points for the loss priority level.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_be loss-priority


low]
user@host# set code-points be

5. Edit the expedited forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP]


user@host# edit forwarding-class fc_ef

6. Edit the loss priority level for the forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_ef]


user@host# edit loss-priority low

7. Set code points for the loss priority level.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_ef loss-priority


low]
user@host# set code-points ef

8. Edit the assured forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP]


user@host# edit forwarding-class fc_af

9. Edit the loss priority level for the forwarding class queue.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_af]


user@host# edit loss-priority low

10. Set code points for the loss priority level.

[edit class-of-service classifiers dscp Class_DSCP forwarding-class fc_af loss-priority


low]
user@host# set code-points af41

Configuring CoS Interface Properties


Configuring CoS interface properties enables the router to throttle and classify the traffic
from the Internet that is sent to subscriber local loops. Limiting the traffic to the access
network ensures that the traffic sent to the subscriber local loops does not exceed the
current data transmission rate of those lines. Limiting traffic also ensures that changes
to subscriber local loop speeds do not cause bandwidth contention at the subscriber’s
residential gateway. You apply the classifier to the core-facing interface to classify
incoming traffic for the queues you are using in the access network.

To configure CoS interfaces:

1. Edit the core CoS interface you want to configure.

Copyright © 2011, Juniper Networks, Inc. 49


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit]
user@host# edit class-of-service interfaces ge-1/3/0

2. Edit the interface shaping rate.

[edit class-of-service interfaces ge-1/3/0]


user@host# edit class-of-service interfaces ge-1/3/0 shaping-rate

3. Set the shaping rate value to throttle traffic to the subscriber local loops.

[edit class-of-service interfaces ge-1/3/0 shaping-rate]


user@host# set 500m

4. Edit the interface connected to the core network.

[edit]
user@host# edit class-of-service interfaces ge-1/3/1

5. Edit the interface unit.

[edit class-of-service interfaces ge-1/3/1]


user@host# edit unit 0

6. Edit the interface unit classifiers.

[edit class-of-service interfaces ge-1/3/1 unit 0]


user@host# edit classifiers

7. Apply the classifier to the interface to classify traffic coming from the Internet.

[edit class-of-service interfaces ge-1/3/1 unit 0 classifiers]


user@host# set dscp Class_DSCP

Configuring Dynamic Firewall Filter Services for Use in Dynamic Profiles

Firewall filters provide rules that define whether to permit or deny packets that are
transiting an interface on a router. You can configure firewall filters for use in dynamic
profiles. After you configure dynamic firewall filters, you can specify which filters you
want to apply to subscriber interfaces using a dynamic profile.

To create a firewall filter:

1. Create and name a firewall filter.

[edit]
user@host# edit firewall filter fw_fltr_af41

2. Specify the filter to be interface specific.

[edit firewall filter fw_fltr_af41]


user@host# set interface-specific

3. Edit a first term for the firewall filter.

[edit firewall filter fw_fltr_af41]


user@host# edit term 1

4. Set the from match condition.

[edit firewall filter fw_fltr_af41 term 1]


user@host# set from dscp af41

50 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

5. Set the then action to take when a match occurs.

[edit firewall filter fw_fltr_af41 term 1]


user@host# set then count c2 accept

6. Edit a second term for the firewall filter.

[edit firewall filter fw_fltr_af41]


user@host# edit term 2

7. Set the then action to take when a match occurs for term 2.

[edit firewall filter fw_fltr_af41 term 2]


user@host# set then accept

8. Apply the dynamic firewall filter to interfaces using a dynamic profile.

See “Configuring a DHCP Dynamic Profile for the Triple Play Solution” on page 58.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Dynamic Firewall Filters Overview in the Junos OS Subscriber Access Configuration Guide.

• Dynamic Profiles Overview in the Junos OS Subscriber Access Configuration Guide.

• Junos OS Routing Policy Configuration Guide

Configuring AAA Service Framework for the Broadband Subscriber Management


Solution

• Configuring RADIUS Server Access Information on page 51


• Configuring RADIUS Server Access Profile on page 52

Configuring RADIUS Server Access Information


Define the RADIUS server address and secret data that RADIUS access profiles can
reference. Define an access profile that includes specific RADIUS configuration.

To configure RADIUS server access:

1. Edit router access to the RADIUS server.

[edit]
user@host# edit access radius-server

2. Set the address to the RADIUS server.

[edit access radius-server]


user@host# set 222.222.222.42

3. Edit the RADIUS server.

[edit access radius-server]


user@host# edit 222.222.222.42

4. Configure the source address for the RADIUS server.

[edit access radius-server 222.222.222.42]


user@host# set source-address 222.222.222.1

Copyright © 2011, Juniper Networks, Inc. 51


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

5. Configure the secret for the RADIUS server.

[edit access radius-server 222.222.222.42]


user@host# set secret "$EcReTRad1uSdAta4f0rTh3rtR"

Configuring RADIUS Server Access Profile


You can define a RADIUS access profile that references defined RADIUS servers and
includes specific RADIUS configuration for authentication and accounting.

To configure a RADIUS access profile:

1. Create and name a RADIUS access profile.

[edit]
user@host# edit access profile AccessProfile_general

2. Edit the order in which authentication mechanisms are used.

[edit access profile AccessProfile_general]


user@host# set authentication-order radius

3. Edit the RADIUS access addresses.

[edit access profile AccessProfile_general]


user@host# edit access profile AccessProfile_general radius

4. Set the address or address list for the RADIUS authentication server.

[edit access profile AccessProfile_general radius]


user@host# set authentication-server 222.222.222.42

5. Set the address or address list for the RADIUS accounting server.

[edit access profile AccessProfile_general radius]


user@host# set accounting-server 222.222.222.42

6. Edit the RADIUS accounting values for the access profile.

[edit access profile AccessProfile_general]


user@host# edit accounting

7. Set the RADIUS accounting order.

[edit access profile AccessProfile_general accounting]


user@host# set order radius

8. Specify that RADIUS accounting stop when a user fails authentication but is granted
access.

[edit access profile AccessProfile_general accounting]


user@host# set accounting-stop-on-failure

9. Specify that RADIUS accounting stop when access is denied to a subscriber.

[edit access profile AccessProfile_general accounting]


user@host# set accounting-stop-on-access-deny

10. Specify that RADIUS provide immediate updates.

[edit access profile AccessProfile_general accounting]


user@host# set immediate-update

52 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

11. Specify the amount of time (in minutes) between RADIUS updates.

[edit access profile AccessProfile_general accounting]


user@host# set update-interval 10

12. Specify that RADIUS accounting report only subscriber uptime.

[edit access profile AccessProfile_general accounting]


user@host# set statistics time

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Configuring RADIUS Server Parameters for Subscriber Access

• AAA Service Framework Overview in the Junos OS Subscriber Access Configuration Guide.

Configuring Address Server Elements for the Broadband Subscriber Management


Solution

• Configuring a DHCPv4 Address Assignment Pool on page 53


• Configuring Extended DHCP Local Server on page 54

Configuring a DHCPv4 Address Assignment Pool


Address assignment pools enable you to specify groups of IP addresses that different
client applications can share. In this configuration, the extended DHCP local server
configuration or the router PPP software uses the address pool to provide addresses to
subscribers that are accessing the network.

For PPP, to configure an address assignment pool:

1. Create and name an address assignment pool.

[edit]
user@host# edit access address-assignment pool AddressPool_1

2. Edit the address pool family.

[edit access address-assignment pool AddressPool_1]


user@host# edit family inet

3. Define the address pool network address.

[edit access address-assignment pool AddressPool_1 family inet]


user@host# set network 33.33.0.0/16

4. Set the address range for the network.

[edit access address-assignment pool AddressPool_1 family inet]


user@host# set range all low 33.33.0.10 high 33.33.127.254

5. Specify which access profile you want to instantiate.

[edit]
user@host# set access-profile AccessProfile_general

Copyright © 2011, Juniper Networks, Inc. 53


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

For DHCP local server, to configure an address assignment pool:

1. Create and name an address assignment pool.

[edit]
user@host# edit access address-assignment pool AddressPool_1

2. Edit the address pool family.

[edit access address-assignment pool AddressPool_1]


user@host# edit family inet

3. Define the address pool network address.

[edit access address-assignment pool AddressPool_1 family inet]


user@host# set network 33.33.0.0/16

4. Set the address range for the network.

[edit access address-assignment pool AddressPool_1 family inet]


user@host# set range all low 33.33.0.10 high 33.33.127.254

5. Edit the family DHCP attributes.

[edit access address-assignment pool AddressPool_1 family inet]


user@host# edit family inet dhcp-attributes

6. Set the maximum lease time.

[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]


user@host# set maximum-lease-time 3600

7. Set the grace period.

[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]


user@host# set grace-period 60

8. Set the router IP address that you want advertised to subscribers.

[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]


user@host# set router 33.33.0.1

9. Specify which access profile you want to instantiate.

[edit]
user@host# set access-profile AccessProfile_general

Configuring Extended DHCP Local Server


You can enable the MX Series router to function as an extended DHCP local server. The
extended DHCP local server provides IP addresses and other configuration information
to a subscriber logging in to the network.

To configure the DHCP local server:

1. Edit the routing system services.

[edit]
user@host# edit system services

2. Edit the DHCP local server.

[edit system services]

54 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

user@host# edit dhcp-local-server

3. Define the DHCP pool match order.

[edit system services dhcp-local-server]


user@host# set pool-match-order ip-address-first

4. Set the authentication password.

[edit system services dhcp-local-server]


user@host# set authentication password auth-psswrd

5. Edit the values you want included with the username.

[edit system services dhcp-local-server]


user@host# edit authentication username-include

6. Set the values you want included with the username.

[edit system services dhcp-local-server username-include]


user@host# set domain-name yourcompany.com
user@host# set user-prefix user-defined-prefix

7. Create and name a DHCP local server group.

[edit system services dhcp-local-server]


user@host# edit group dhcp-ls-group

8. Specify a dynamic profile that you want the DHCP local server group to use.

[edit system services dhcp-local-server group dhcp-ls-group]


user@host# set dynamic-profile Profile-Triple_Play

9. Assign interfaces to the group.

[edit system services dhcp-local-server group dhcp-ls-group]


user@host# set interface ge-1/3/0.1 upto ge-1/3/0.5

10. Edit the DHCP local server trace options.

[edit system processes dhcp-service]


user@host# edit interface-traceoptions

11. Specify a log file into which you want trace option information to be saved.

[edit system processes dhcp-service interface-traceoptions]


user@host# set file dhcp-server-msgs.log

12. Specify the DHCP local server message operations that you want saved in the log file.

[edit system processes dhcp-service interface-traceoptions]


user@host# set flag all

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Address-Assignment Pools Overview in the Junos OS Subscriber Access Configuration
Guide.

• Extended DHCP Local Server Overview in the Junos OS Subscriber Access Configuration
Guide.

Copyright © 2011, Juniper Networks, Inc. 55


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring a PPPoE Dynamic Profile for the Triple Play Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can
use to provide dynamic subscriber access and services for broadband applications. These
services are assigned dynamically to interfaces.

NOTE: The following configuration is PPPoE-specific.

To configure a PPPoE dynamic profile:

1. Create and name the dynamic profile.

[edit]
user@host# edit dynamic-profiles Profile-Triple-Play

2. Edit the profile PPPoE dynamic interface.

[edit dynamic-profiles Profile-Triple-Play]


user@host# edit interfaces pp0

3. Edit the unit variable.

[edit dynamic-profiles Profile-Triple-Play interfaces pp0]


user@host# edit unit $junos-interface-unit

4. Edit the PPP options.

[edit dynamic-profiles Profile-Triple-Play interfaces pp0 unit "$junos-interface -unit"]


user@host# edit ppp-options

5. (Optional) Specify either chap or pap (or both).

[edit dynamic-profiles Profile-Triple-Play interfaces pp0 unit “$junos-interface-unit”


ppp-options]
user@host# set chap
user@host# set pap

6. Edit the PPPoE options.

[edit dynamic-profiles Profile-Triple-Play interfaces pp0 unit “$junos-interface-unit”]


user@host# edit pppoe-options

7. Specify the PPPoE underlying interface variable.

[edit dynamic-profiles Profile-Triple-Play interfaces pp0 unit “$junos-interface-unit”


pppoe-options]
user@host# set underlying-interface $junos-underlying-interface

8. Define the router to act as a PPPoE server when a PPPoE logical interface is
dynamically created.

[edit dynamic-profiles Profile-Triple-Play interfaces pp0 unit “$junos-interface-unit”


pppoe-options]
user@host# set server

9. Edit the dynamic interface family.

56 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit"]
user@host# edit family inet

10. Specify the input filter that you want to apply to each dynamic interface when it is
created.

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit" family inet]
user@host# set filter input fltr_af41

11. Specify the output filter that you want to apply to each dynamic interface when it is
created.

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit" family inet]
user@host# set filter output fltr_af41

12. Enable the local address to be derived from the specified PPPoE interface (in this
case, the loopback address).

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit" family inet]
user@host# set unnumbered-address lo0.0

13. Edit dynamic class of service.

[edit dynamic-profiles Profile-Triple-Play]


user@host# edit class-of-service

14. Edit the dynamic CoS traffic control profile.

[edit dynamic-profiles Profile-Triple-Play class-of-service]


user@host# edit traffic-control-profiles

15. Create and name a traffic control profile.

[edit dynamic-profiles Profile-Triple-Play class-of-service traffic-control-profiles]


user@host# edit TrafficProfile_Triple_Play

16. Specify a scheduler map that you want the dynamic CoS traffic control profile to use.

[edit dynamic-profiles Profile-Triple-Play class-of-service traffic-control-profile]


user@host# set scheduler-map SchedulerMap_Triple_Play_Basic

17. Specify the shaping rate that you want the dynamic CoS traffic control profile to use.

[edit dynamic-profiles Profile-Triple-Play class-of-service traffic-control-profile]


user@host# set shaping-rate 32700000

18. Apply CoS to the dynamic interfaces and apply an output traffic control profile.

[edit dynamic-profiles Profile-Triple-Play class-of-service]


user@host# set interfaces $junos-interface-ifd-name unit
$junos-underlying-interface-unit output-traffic-control-profileotcp-profile

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Dynamic Profiles Overview in the Junos OS Subscriber Access Configuration Guide.

Copyright © 2011, Juniper Networks, Inc. 57


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring a DHCP Dynamic Profile for the Triple Play Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can
use to provide dynamic subscriber access and services for broadband applications. These
services are assigned dynamically to interfaces.

NOTE: The following configuration is DHCP-specific.

To configure a DHCP dynamic profile:

1. Create and name the dynamic profile.

[edit]
user@host# edit dynamic-profiles Profile-Triple_Play

2. Edit the profile dynamic interfaces.

[edit dynamic-profiles Profile-Triple-Play]


user@host# edit interfaces

3. Edit the dynamic interfaces.

[edit dynamic-profiles Profile-Triple-Play interfaces]


user@host# edit $junos-interface-ifd-name unit $junos-underlying-interface-unit

4. Edit the dynamic interface family.

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit"]
user@host# edit family inet

5. Specify the input filter that you want to apply to each dynamic interface when it is
created.

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit" family inet]
user@host# set filter input fltr_af41

6. Specify the output filter that you want to apply to each dynamic interface when it is
created.

[edit dynamic-profiles Profile-Triple-Play interfaces "$junos-interface-ifd-name" unit


"$junos-underlying-interface-unit" family inet]
user@host# set filter output fltr_af41

7. Edit dynamic class of service.

[edit dynamic-profiles Profile-Triple-Play]


user@host# edit class-of-service

8. Edit the dynamic CoS traffic control profile.

[edit dynamic-profiles Profile-Triple_Play class-of-service]


user@host# edit traffic-control-profiles

9. Create and name a traffic control profile.

[edit dynamic-profiles Profile-Triple_Play class-of-service traffic-control-profiles]

58 Copyright © 2011, Juniper Networks, Inc.


Chapter 7: Configuring a Basic Triple Play Subscriber Management Network

user@host# edit TrafficProfile_Triple_Play

10. Specify a scheduler map that you want the dynamic CoS traffic control profile to use.

[edit dynamic-profiles Profile-Triple_Play class-of-service traffic-control-profile]


user@host# set scheduler-map SchedulerMap_Triple_Play_Basic

11. Specify the shaping rate that you want the dynamic CoS traffic control profile to use.

[edit dynamic-profiles Profile-Triple_Play class-of-service traffic-control-profile]


user@host# set shaping-rate 32700000

12. Apply CoS to the dynamic interfaces and apply an output traffic control profile.

[edit dynamic-profiles Profile-Triple_Play class-of-service]


user@host# set interfaces $junos-interface-ifd-name unit
$junos-underlying-interface-unit output-traffic-control-profile
TrafficProfile_Triple_Play

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Dynamic Profiles Overview

Copyright © 2011, Juniper Networks, Inc. 59


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

60 Copyright © 2011, Juniper Networks, Inc.


PART 3

Broadband Subscriber Management


DHCPv4 Layer 3 Wholesale Network
Solution
• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution
Overview on page 63
• Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale
Network Solution on page 65
• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Configuration
Examples on page 81

Copyright © 2011, Juniper Networks, Inc. 61


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

62 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 8

Broadband Subscriber Management


DHCPv4 Layer 3 Wholesale Network
Solution Overview

• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and


Configuration Elements on page 63

Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and


Configuration Elements

The network topology for the subscriber management DHCPv4 Layer 3 wholesale solution
includes configuring separate routing instances for individual retailers that use a portion
of the router. This solution uses a DHCPv4 relay configuration. However, you can also
implement DHCPv4 Relay Proxy or DHCPv4 Local Server configuration.

To explain the concept, but to limit complexity, this solution provides a configuration
with one wholesaler and only two retailers. Figure 5 on page 64 illustrates a basic Layer
3 wholesale topology model from which you can expand.

Copyright © 2011, Juniper Networks, Inc. 63


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 5: Basic Subscriber Management Layer 3 Wholesale Solution


Topology

Retailer 1 Network Space


Retailer 1
DHCP
Retailer 1 server
RADIUS
server
MSAN

Wholesaler
RADIUS
MX Series Wholesaler Network Space server
Wholesaler
DHCP
server

Retailer 2
RADIUS
server
Retailer 2
MSAN DHCP
server

g017381
Retailer 2 Network Space

A DHCP Layer 3 wholesale network solution can use various combinations of the following
configuration elements:

• Subscriber network VLAN configuration

• DHCPv4 configuration (DHCPv4 Relay, DHCPv4 Relay Proxy, or DHCPv4 Local Server)

• Addressing server or addressing server access configuration (if not using DHCPv4 Local
Server)

• RADIUS server access configuration

• Dynamic profile configuration for default (wholesaler) access

• Dynamic profile configuration for retailer access (following subscriber redirection, if


applicable)

• Routing instance configuration for individual retailers

• Group configuration and forwarding options for the network

• Core network configuration

64 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 9

Configuring the Broadband Subscriber


Management DHCPv4 Layer 3 Wholesale
Network Solution

• DHCPv4 Layer 3 Wholesale Network Topology Overview on page 65


• Configuring Loopback Interfaces for the DHCPv4 Layer 3 Wholesale Solution on page 66
• Configuring VLANs for the DHCPv4 Layer 3 Wholesale Network Solution on page 67
• Configuring Access Components for the DHCP Layer 3 Wholesale Network
Solution on page 70
• Configuring Dynamic Profiles for the DHCPv4 Layer 3 Wholesale Network
Solution on page 72
• Configuring Separate Routing Instances for DHCPv4 Service Retailers on page 75
• Configure Default Forwarding Options for the DHCPv4 Wholesale Network
Solution on page 77

DHCPv4 Layer 3 Wholesale Network Topology Overview

This configuration explains how to configure a simple DHCPv4 Layer 3 wholesale


subscriber access network. This solution incorporates two retailers sharing resources on
a wholesaler router. Figure 6 on page 66 provides the reference topology for this
configuration example.

Copyright © 2011, Juniper Networks, Inc. 65


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 6: DHCPv4 Layer 3 Wholesale Network Reference Topology


Retailer 1 Network Elements
Access Network Interface: GE-2/3/0
Loopback (lo0.1) Interface Address: 44.44.0.1/32
C-VLANs: Three (unit 1 to 3)
Logical Interfaces: GE-2/3/0.1 to GE-2/3/0.3
RADIUS Authentication Server Address: 10.10.10.1
RADIUS Accounting Server Address: 10.10.10.1
DHCP Server Address: 10.10.100.1
Access Profile: Retailer_Access1
Routing Instance: Retailer_Instance1
Dynamic Profile: Subscriber_Profile_Retail1

Retailer 1 Network Space


Retailer 1
DHCP
Retailer 1 server
RADIUS
MSAN server

Wholesaler
GE-2/3/0 RADIUS
MX Series server
GE-2/3/0 Wholesaler
DHCP
server

Retailer 2
RADIUS
server
Retailer 2
MSAN DHCP
server

g017382
Retailer 2 Network Space

Retailer 2 Network Elements


Access Network Interface: GE-2/3/0
Loopback (lo0.2) Interface Address: 44.42.0.1/32
C-VLANs: Three (unit 4 to 6)
Logical Interfaces: GE-2/3/0.4 to GE-2/3/0.6
RADIUS Authentication Server Address: 10.20.20.1
RADIUS Accounting Server Address: 10.20.20.1
DHCP Server Address: 10.20.200.1 Wholesaler-Specific Network Elements
Access Profile: Retailer_Access2 Access Network Interface: GE-2/3/0
Routing Instance: Retailer_Instance2 Loopback (lo0.3) Interface Address: 44.40.0.1/32
Dynamic Profile: Subscriber_Profile_Retail2 C-VLANs: One (unit 7)
Logical Interfaces: GE-2/3/0.7
RADIUS Authentication Server Address: 192.168.1.1
RADIUS Accounting Server Address: 192.168.1.1
DHCP Server Address: 192.168.100.1
Access Profile: Wholesaler_Access
Routing Instance: Wholesaler_Instance
Dynamic Profile: Wholesaler_Profile

Related • Layer 2 and Layer 3 Wholesale Overview on page 29


Documentation
• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and
Configuration Elements on page 63

Configuring Loopback Interfaces for the DHCPv4 Layer 3 Wholesale Solution

You must configure loopback interfaces for use in the subscriber management access
network. The loopback interfaces are automatically used for unnumbered interfaces.

To configure loopback interfaces:

1. Edit the loopback interface.

66 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

[edit]
user@host# edit interfaces lo0

2. Edit the unit for the wholesale loopback interface.

[edit interfaces lo0]


user@host# edit unit 3

3. Edit the loopback interface family that belongs to the wholesaler.

[edit interfaces lo0 unit 3]


user@host# edit family inet

4. Specify the loopback interface address that belongs to the wholesaler.

[edit interfaces lo0 unit 3]


user@host# set address 44.40.0.1/32

5. Edit the unit for a retail loopback interface to be assigned to the retailer.

[edit interfaces lo0]


user@host# edit unit 1

6. Edit the loopback interface family that will be assigned to the retailer.

[edit interfaces lo0 unit 1]


user@host# edit family inet

7. Specify the loopback interface address that will be assigned to the retailer.

[edit interfaces lo0 unit 1]


user@host# set address 44.42.0.1/32

8. Repeat steps 5 through 7 for additional retailers, making sure to use unique unit and
address values for each retailer loopback interface.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Junos OS Network Interfaces Configuration Guide

Configuring VLANs for the DHCPv4 Layer 3 Wholesale Network Solution

You can configure either static or dynamic customer VLANs for use in the DHCPv4
wholesale network solution.

• Configuring Static Customer VLANs for the DHCPv4 Layer 3 Wholesale Network
Solution on page 67
• Configuring Dynamic VLANs for the DHCPv4 Layer 3 Wholesale Network
Solution on page 68

Configuring Static Customer VLANs for the DHCPv4 Layer 3 Wholesale Network Solution
In this example configuration, the access interface (ge-2/3/0) connects to a device (that
is, a DSLAM) on the access side of the network. You can define static VLANs for use by
the access network subscribers.

Copyright © 2011, Juniper Networks, Inc. 67


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

To configure the static VLANs:

1. Edit the access side interface.

[edit]
user@host# edit interfaces ge-2/3/0

2. Specify the use of stacked VLAN tagging.

[edit interfaces ge-2/3/0]


user@host# set stacked-vlan-tagging

3. Edit the interface unit for the first VLAN.

[edit interfaces ge-2/3/0]


user@host# edit unit 1

4. Define the VLAN tags for the first VLAN.

[edit interfaces ge-2/3/0 unit 1]


user@host# set vlan-tags outer 3 inner 1

5. Specify that you want to create IPv4 demux interfaces.

[edit interfaces ge-2/3/0 unit 1]


user@host# set demux-source inet

6. Edit the family for the first VLAN.

[edit interfaces ge-2/3/0 unit 1]


user@host# edit family inet

7. (Optional) Define the unnumbered address and the preferred source address for the
first VLAN.

[edit interfaces ge-2/3/0 unit 1 family inet]


user@host# set unnumbered-address lo0.1 preferred-source-address 44.44.0.1

8. Repeat steps 2 through 7 for additional VLAN interface units.

Configuring Dynamic VLANs for the DHCPv4 Layer 3 Wholesale Network Solution

To configure dynamic VLANs for the solution:

1. Configure a dynamic profile for dynamic VLAN creation.

a. Name the profile.

[edit]
user@host# edit dynamic-profiles VLAN-PROF

b. Define the interfaces statement with the internal $junos-interface-ifd-name variable


used by the router to match the interface name of the receiving interface.

[edit dynamic-profiles VLAN-PROF]


user@host# edit interfaces $junos-interface-ifd-name

c. Define the unit statement with the predefined $junos-interface-unit variable:

[edit dynamic-profiles VLAN-PROF interfaces “$junos-interface-ifd-name”]


user@host# edit unit $junos-interface-unit

68 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

d. (Optional) To configure the router to respond to any ARP request, specify the
proxy-arp statement.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set proxy-arp

e. Specify that you want to create IPv4 demux interfaces.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set demux-source inet

f. Specify the VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags outer $junos-stacked-vlan-id

The variable is dynamically replaced with an outer VLAN ID within the VLAN range
specified at the [interfaces] hierarchy level.

g. Specify the inner VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags inner $junos-vlan-id

The variable is dynamically replaced with an inner VLAN ID within the VLAN range
specified at the [interfaces] hierarchy level.

h. Access the family type.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# edit family inet

i. (Optional) Enable IP and MAC address validation for dynamic IP demux interfaces
in a dynamic profile.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit" family inet]
user@host# set mac-validate strict

j. (Optional) Specify the unnumbered address and preferred source address.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit" family inet]
user@host# set unnumbered-address lo.0 preferred-source-address 33.33.0.1

2. Associate the dynamic profile with the interface on which the dynamic VLANs will be
created.

a. Access the interface that you want to use for creating VLANs.

[edit interfaces]
user@host# edit interfaces ge-2/3/0

b. Specify the use of stacked VLAN tagging.

Copyright © 2011, Juniper Networks, Inc. 69


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit interfaces ge-2/3/0]


user@host# set stacked-vlan-tagging

c. Specify that you want to automatically configure VLAN interfaces.

[edit interfaces ge-2/3/0]


user@host# edit auto-configure

d. Specify that you want to configure stacked VLANs.

[edit interfaces ge-2/3/0 auto-configure]


user@host# edit stacked-vlan-ranges

e. Specify the dynamic VLAN profile that you want the interface to use.

[edit interfaces ge-2/3/0 auto-configure stacked-vlan-ranges]


user@host# set dynamic-profile VLAN-PROF

f. Repeat steps a through e for any other interfaces that you want to use for creating
VLANs.

3. Specify the Ethernet packet type that the VLAN dynamic profile can accept.

[edit interfaces ge-2/3/0 auto-configure stacked-vlan-ranges dynamic-profile


VLAN-PROF]
user@host# set accept inet

4. Define VLAN ranges for use by the dynamic profile when dynamically creating VLAN
IDs. For this solution, specify the outer and inner stacked VLAN ranges that you want
the dynamic profile to use. The following example specifies an outer stacked VLAN
ID range of 3–3 (enabling only the outer range of 3) and an inner stacked VLAN ID
range of 1–3 (enabling a range from 1 through 3 for the inner stacked VLAN ID).

[edit interfaces ge-0/0/0 auto-configure stacked-vlan-ranges dynamic-profile


VLAN-PROF]
user@host# set stacked-vlan-ranges 3–3,1–3

Configuring Access Components for the DHCP Layer 3 Wholesale Network Solution

When configuring a wholesale network, you must configure several components globally.
This configuration provides access to RADIUS servers that you want the wholesaler and
any configured retailers to use globally. The access configuration includes the following
general steps:

• Configuring RADIUS Server Access on page 70


• Configuring a DHCP Wholesaler Access Profile on page 71
• Configuring DHCP Retailer Access Profiles on page 71

Configuring RADIUS Server Access


You can globally define any RADIUS servers in your network that either the wholesale
access profile or retailer access profile can use. After you define the global RADIUS
servers, you can specify specific RADIUS servers within individual access profiles.

70 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

To define RADIUS servers for profile access:

1. Access the [edit access radius-server] hierarchy level.

[edit ]
user@host# edit access radius-server

2. Specify the address and secret for any RADIUS servers in the network.

[edit access radius-server]


user@host# set 192.168.10.1 secret $9$CzBxBBf1eWx-wM8xgaU.m345B02EcyKXL
user@host# set 10.10.10.1 secret $7$OsCsBAf1fXx-wY3xgaU.m123A02ZtyNMT

Configuring a DHCP Wholesaler Access Profile


You must define the network and interface over which you want subscribers to initially
access the network with a wholesale access profile. When a subscriber attempts to
access the network, the access profile provides initial access information including
authentication and accounting values that the router uses for the accessing subscriber.

To define a wholesale access profile:

1. Create the wholesale access profile.

[edit]
user@host# edit access-profile Wholesaler_Access

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile Wholesaler1]


user@host# set authentication-order radius password

3. Specify that you want to configure RADIUS support.

[edit access profile Wholesaler1]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile Wholesaler1 radius]


user@host# set authentication-server 192.168.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile Wholesaler1 radius]


user@host# set accounting-server 192.168.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring DHCP Retailer Access Profiles


In this solution, subscribers are redirected to a networking space used by a specific retailer
and defined by a unique routing instance. This method requires that you define the network

Copyright © 2011, Juniper Networks, Inc. 71


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

and interface over which you want subscribers to access the network after being redirected
by the wholesale access profile.

To define a retailer access profile:

1. Create the retailer access profile.

[edit]
user@host# edit access-profile Retailer_Access1

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile Retailer1]


user@host# set authentication-order radius password

3. Specify that you want to configure RADIUS support.

[edit access profile Retailer1]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile Retailer1 radius]


user@host# set authentication-server 10.10.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile Retailer1 radius]


user@host# set accounting-server 10.10.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring Dynamic Profiles for the DHCPv4 Layer 3 Wholesale Network Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can
use to provide services for broadband applications. These services are assigned
dynamically to interfaces as they access the network. When configuring dynamic profiles
for the DHCPv4 Layer 3 wholesale network, you can choose to configure one dynamic
profile to address all incoming subscribers or you can configure individual dynamic profiles
for use by the different network management groups (that is, the wholesaler and any
retailers). In fact, you can create multiple dynamic profiles that you can use to roll out
different services and selectively apply those dynamic profiles to different subscriber
groups as necessary.

In this solution example, one dynamic profile is created for use by the wholesaler when
subscribers initially access the network. Other dynamic profiles are created for the

72 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

subscribers for each individual retailer to use after they are redirected to that retailer
network space.

• Configuring a Wholesale Dynamic Profile for use in the DHCPv4 Solution on page 73
• Configuring a Dynamic Profile for use by a Retailer in the DHCPv4 Solution on page 74

Configuring a Wholesale Dynamic Profile for use in the DHCPv4 Solution


You can configure a basic access profile to initially manage subscribers that access the
network.

To configure a dynamic profile for use by the wholesaler:

1. Create a wholesale dynamic profile.

[edit]
user@host# edit dynamic-profiles Wholesaler_Profile

2. Specify that you want to configure the demux0 interface in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit interfaces demux0

3. Configure the unit for the demux0 interface.

a. Configure the variable for the unit number of the demux0 interface.

The variable is dynamically replaced with the unit number that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0]


user@host# edit unit $junos-interface-unit

b. Configure the variable for the underlying interface of the demux interfaces and
specify the $junos-underlying-interface variable.

The variable is dynamically replaced with the underlying interface that DHCP
supplies when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# set demux-options underlying-interface $junos-underlying-interface

4. Configure the family for the demux interfaces.

a. Specify that you want to configure the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# edit family inet

b. Configure the unnumbered address for the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit”


family inet6]
user@host# set unnumbered-address lo0.0

c. Configure the variable for the IPv4 address of the demux interface.

Copyright © 2011, Juniper Networks, Inc. 73


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

The variable is dynamically replaced with the IPv4 address that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles business-profile interfaces demu0 unit “$junos-interface-unit”]


user@host# set demux-source $junos-subscriber-ip-address

Configuring a Dynamic Profile for use by a Retailer in the DHCPv4 Solution


To configure a dynamic profile for use with retailer access:

1. Create a retail dynamic profile.

[edit]
user@host# edit dynamic-profiles Subscriber_Profile_Retail1

2. Define the dynamic routing instance variable in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit routing-instances $junos-routing-instance

3. Set the dynamic interface variable for the dynamic routing instance.

[edit dynamic-profiles Subscriber_Profile_Retail1 routing-instances


“$junos-routing-instance”]
user@host# set interface $junos-interface-name

4. Specify that you want to configure the demux0 interface in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit interfaces demux0

5. Configure the unit for the demux0 interface.

a. Configure the variable for the unit number of the demux0 interface.

The variable is dynamically replaced with the unit number that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0]


user@host# edit unit $junos-interface-unit

b. Configure the variable for the underlying interface of the demux interfaces and
specify the $junos-underlying-interface variable.

The variable is dynamically replaced with the underlying interface that DHCP
supplies when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# set demux-options underlying-interface $junos-underlying-interface

6. Configure the family for the demux interfaces.

a. Specify that you want to configure the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# edit family inet

b. Configure the unnumbered address for the family.

74 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit”


family inet6]
user@host# set unnumbered-address lo0.0

c. Configure the variable for the IPv6 address of the demux interface.

The variable is dynamically replaced with the IPv6 address that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles business-profile interfaces demu0 unit “$junos-interface-unit”]


user@host# set demux-source $junos-subscriber-ip-address

Configuring Separate Routing Instances for DHCPv4 Service Retailers

As the owner of the system, the wholesaler typically uses the default routing instance.
You must create separate routing instances for each individual retailer to keep routing
information for individual retailers separate and to define any servers and forwarding
options specific to each retailer.

To define a retailer routing instance:

1. Create the retailer routing instance.

[edit]
user@host# edit routing-instances RetailerInstance1

2. Specify the routing instance type for the retailer.

[edit routing-instances “RetailerInstance1”]


user@host# set instance-type vrf

3. Specify the access profile that you want the routing instance to use.

[edit routing-instances “RetailerInstance1”]


user@host# set access-profile Retailer1

4. Specify the interface that faces the Retailer1 RADIUS server.

[edit routing-instances “RetailerInstance1”]


user@host# set interface ge-11/1/9.10

5. Specify the interface that faces the Retailer1 DHCP server.

[edit routing-instances “RetailerInstance1”]


user@host# set interface ge-11/1/10.100

6. Specify the loopback interface unit for this routing instance.

[edit routing-instances “RetailerInstance1”]


user@host# set interface lo0.1

NOTE: Loopback interfaces must be unique for each routing instance.

7. Access the DHCP Relay forwarding options hierarchy for the routing instance.

[edit routing-instances “RetailerInstance1”]


user@host# edit forwarding-options dhcp-relay

Copyright © 2011, Juniper Networks, Inc. 75


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

NOTE: The configuration for this wholesale solution uses DHCP Relay.
However, you can also configure DHCP Proxy Relay or DHCP Local Server
for the DHCP Layer 3 wholesale network.

8. Specify that you want to configure authentication options and use external AAA
authentication services.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay]


user@host# edit authentication

9. (Optional) Configure a password that authenticates the username to the external


authentication service.

See Configuring Passwords for Usernames.

10. (Optional) Configure optional features to create a unique username.

See Creating Unique Usernames for DHCP Clients.

11. Specify the default dynamic profile that you want to attach to DHCP subscriber for
this retailer.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay]


user@host# set dynamic-profile Subscriber_Profile_Retail1

12. Specify any overrides for the default DHCP Relay configuration.

See Overriding the Default DHCP Relay Configuration Settings.

13. Configure a named server group for the retailer.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay]


user@host# edit server-group Retailer1_Group

14. Specify the DHCP server address for the retailer group.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay server-group


“Retailer1_Group”]
user@host# set 10.10.100.1

15. Specify the retailer group as the active server group for this routing instance.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay]


user@host# set active-server-group Retailer1_Group

16. Configure a group you can use to define the retailer dynamic profile and DHCP access
interface.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay]


user@host# edit group Retailer1_Group

17. Specify the dynamic profile that the retailer DHCP subscribers use.

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay group


“Retailer1_Group”]
user@host# set dynamic-profile Subscriber_Profile_Retailer1

18. Specify the retailer interface that the retailer DHCP subscribers use.

76 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

[edit routing-instances “RetailerInstance1” forwarding-options dhcp-relay group


“Retailer1_Group”]
user@host# set interface ge-2/3/0.2

19. (Optional) Configure any passwords that authenticate the username to the external
authentication service for the retailer groups that you created.

See Configuring Passwords for Usernames.

20. (Optional) Configure any unique username values for the retailer groups that you
created.

See Creating Unique Usernames for DHCP Clients.

21. (Optional) Specify any overrides for any of the DHCP Relay group configurations that
you created.

See Overriding the Default DHCP Relay Configuration Settings.

22. Repeat this procedure for other retailers.

Related • Configuring Routing Instances


Documentation

Configure Default Forwarding Options for the DHCPv4 Wholesale Network Solution

You can use DHCP Relay, DHCP Relay Proxy, or DHCP Local Server configuration in a
DHCP wholesale network. DHCP configuration is defined at the [edit forwarding-options]
hierarchy level.

NOTE: The configuration for this wholesale solution uses DHCP Relay.

To configure DHCPv4 Relay forwarding options:

1. Access the [edit forwarding-options dhcp-relay] hierarchy.

[edit]
user@host# edit forwarding-options dhcp-relay

2. Specify that you want to configure authentication options and use external AAA
authentication services.

[edit forwarding-options dhcp-relay]


user@host# edit authentication

3. (Optional) Configure a password that authenticates the username to the external


authentication service.

See Configuring Passwords for Usernames.

4. (Optional) Configure optional features to create a unique username.

See Creating Unique Usernames for DHCP Clients.

5. Specify the default dynamic profile that you want to attach to all DHCP subscriber
that access the router.

Copyright © 2011, Juniper Networks, Inc. 77


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit forwarding-options dhcp-relay]


user@host# set dynamic-profile Wholesaler_Profile

6. Specify any overrides for the default DHCP Relay configuration.

See Overriding the Default DHCP Relay Configuration Settings.

7. Configure a named server group for default (wholesaler) DHCP server access.

[edit forwarding-options dhcp-relay]


user@host# edit server-group Wholesaler_Group

8. Specify the DHCP server address for the default (wholesale) group.

[edit forwarding-options dhcp-relay server-group “Wholesaler_Group”]


user@host# set 192.168.100.1

9. Specify the default (wholesale) group as the active server group.

[edit forwarding-options dhcp-relay]


user@host# set active-server-group Wholesaler_Group

10. Configure a group you can use to define the wholesale DHCP access interface.

[edit forwarding-options dhcp-relay]


user@host# edit group Wholesaler_Group

11. Specify the default (wholesale) interface that all DHCP subscribers use when first
accessing the router.

[edit forwarding-options dhcp-relay group “Wholesaler_Group”]


user@host# set interface ge-2/3/0.1

12. Configure a group you can use to define a retail DHCP interface.

[edit forwarding-options dhcp-relay]


user@host# edit group Retailer1_Group

13. Specify the logical interface the DHCP subscribers use once redirected.

[edit forwarding-options dhcp-relay group “Retailer1_Group”]


user@host# set interface ge-2/3/0.2

14. Repeat steps 12 and 13 for other retailer groups.

In this solution example, you configure another group name of “Retailer2_Group” and
specify ge-2/3/0.3 for the logical interface.

15. (Optional) Configure any passwords that authenticate the username to the external
authentication service for any of the groups that you created.

See Configuring Passwords for Usernames.

16. (Optional) Configure optional features to create a unique username for any of the
groups that you created.

See Creating Unique Usernames for DHCP Clients.

17. (Optional) Specify any overrides for any of the DHCP Relay group configurations that
you created.

See Overriding the Default DHCP Relay Configuration Settings.

78 Copyright © 2011, Juniper Networks, Inc.


Chapter 9: Configuring the Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Solution

Related • Extended DHCP Relay Agent Overview


Documentation
• DHCP Relay Proxy Overview

• Configuring Passwords for Usernames

• Creating Unique Usernames for DHCP Clients

• Overriding the Default DHCP Relay Configuration Settings

Copyright © 2011, Juniper Networks, Inc. 79


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

80 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 10

Broadband Subscriber Management


DHCPv4 Layer 3 Wholesale Network
Configuration Examples

• Example: Wholesaler Dynamic Profile for a DHCPv4 Wholesale Network on page 81


• Example: Retailer Dynamic Profile for a DHCPv4 Wholesale Network on page 82
• Example: Default Forwarding Options Configuration for the DHCPv4 Wholesale
Network on page 82
• Example: Retailer Routing Instances for a DHCPv4 Wholesale Network on page 83

Example: Wholesaler Dynamic Profile for a DHCPv4 Wholesale Network

This example specifies a dynamic profile name of Wholesaler_Profile, uses dynamic IP


demux interfaces, and references the predefined input firewall filter.

dynamic-profiles {
Wholesaler_Profile {
interfaces {
demux0 {
unit "$junos-interface-unit" {
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet {
demux-source {
$junos-subscriber-ip-address;
}
filter {
input "$junos-input-filter";
}
unnumbered-address "$junos-loopback-interface" preferred-source-address
$junos-preferred-source-address;
}
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 81


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Example: Retailer Dynamic Profile for a DHCPv4 Wholesale Network

dynamic-profiles {
Subscriber_Profile_Retailer1 {
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
demux0 {
unit "$junos-interface-unit" {
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet {
demux-source {
"$junos-subscriber-ip-address";
}
unnumbered-address "$junos-loopback-interface" preferred-source-address
"$junos-preferred-source-address";
}
}
}
}
}

Example: Default Forwarding Options Configuration for the DHCPv4 Wholesale Network

forwarding-options {
dhcp-relay {
traceoptions {
file size 1g;
inactive: flag all;
}
authentication {
password psswd;
username-include {
user-prefix WholesaleNetwork;
}
}
dynamic-profile Wholesaler_Profile;
overrides {
always-write-giaddr;
always-write-option-82;
layer2-unicast-replies;
trust-option-82;
client-discover-match;
}
server-group {
Wholesaler-Server-Group {
192.168.100.1;
}
}

82 Copyright © 2011, Juniper Networks, Inc.


Chapter 10: Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Configuration Examples

active-server-group Wholesaler-Server Group;


group Wholesaler-Group {
authentication {
password psswd;
username-include {
user-prefix WholesaleNetwork;
}
}
interface ge-2/3/0.1;
}
group Retailer1-Group {
authentication {
password psswd1;
username-include {
user-prefix WholesaleNetwork_Retailer1;
}
}
interface ge-2/3/0.2;
}
group Retailer2-Group {
authentication {
password psswd2;
username-include {
user-prefix WholesaleNetwork_Retailer1;
}
}
interface ge-2/3/0.3;
}
}
}

Example: Retailer Routing Instances for a DHCPv4 Wholesale Network

routing-instances {
Retailer_Instance1 {
instance-type vrf;
access-profile Retailer_Access1;
interface ge-11/1/9.10;
interface ge-11/1/10.100;
interface lo0.1;
route-distinguisher 1:1;
forwarding-options {
dhcp-relay {
authentication {
password psswd1;
username-include {
user-prefix WholesaleNetwork_Retailer1;
}
}
dynamic-profile Subscriber_Profile_Retailer1;
overrides {
always-write-giaddr;
always-write-option-82;
layer2-unicast-replies;
trust-option-82;

Copyright © 2011, Juniper Networks, Inc. 83


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

client-discover-match;
}
server-group {
Retailer1-Server-Group {
10.10.100.1;
}
}
active-server-group Retailer1-Server-Group;
group Retailer1-Group {
authentication {
password psswd1;
username-include {
user-prefix WholesaleNetwork_Retailer1;
}
}
dynamic-profile Subscriber_Profile_Retailer1;
overrides {
always-write-giaddr;
trust-option-82;
client-discover-match;
}
interface ge-2/3/0.2;
}
}
}
}
Retailer_Instance2 {
instance-type vrf;
access-profile Retailer_Access2;
interface ge-7/1/9.10;
interface ge-7/1/9.100;
interface lo0.2;
route-distinguisher 2:2;
forwarding-options {
dhcp-relay {
authentication {
password psswd2;
username-include {
user-prefix WholesaleNetwork_Retailer2;
}
}
dynamic-profile Subscriber_Profile_Retailer2;
overrides {
always-write-giaddr;
trust-option-82;
client-discover-match;
}
server-group {
Retailer2-Group {
10.20.200.1;
}
}
active-server-group Retailer2-Group;
group Retailer2-Group {
authentication {
password psswd2;

84 Copyright © 2011, Juniper Networks, Inc.


Chapter 10: Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Network Configuration Examples

username-include {
user-prefix psswd2;
}
}
dynamic-profile Subscriber_Profile_Retailer2;
overrides {
always-write-giaddr;
trust-option-82;
client-discover-match;
}
interface ge-2/3/0.3;
}
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 85


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

86 Copyright © 2011, Juniper Networks, Inc.


PART 4

Broadband Subscriber Management


DHCPv6 Layer 3 Wholesale Network
Solution
• Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Configuration
Overview on page 89
• Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale
Network Solution on page 91
• Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Configuration
Examples on page 105

Copyright © 2011, Juniper Networks, Inc. 87


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

88 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 11

Broadband Subscriber Management


DHCPv6 Layer 3 Wholesale Network
Configuration Overview

• Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Topology and


Configuration Elements on page 89

Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Topology and


Configuration Elements

The network topology for the subscriber management DHCPv6 Layer 3 wholesale solution
includes configuring separate routing instances for individual retailers that use a portion
of the router. This solution uses a DHCPv6 local server configuration.

NOTE: Only DHCPv6 local server is currently supported for DHCPv6 Layer 3
wholesale configuration.

To explain the concept, but to limit complexity, this solution provides a configuration
with one wholesaler and only two retailers. Figure 7 on page 90 illustrates a basic Layer
3 wholesale topology model from which you can expand.

Copyright © 2011, Juniper Networks, Inc. 89


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 7: Basic Subscriber Management DHCPv6 Layer 3 Wholesale


Solution Topology

Retailer 1 Network Space

Retailer 1
RADIUS
server
MSAN

Wholesaler
MX Series Wholesaler Network Space RADIUS
server

Retailer 2
RADIUS
MSAN server

g017501
Retailer 2 Network Space

A DHCPv6 Layer 3 wholesale network solution can use various combinations of the
following configuration elements:

• Subscriber network VLAN configuration

• DHCPv6 configuration (local server only)

• RADIUS server access configuration

• Dynamic profile configuration for default (wholesaler) access

• Dynamic profile configuration for retailer access (following subscriber redirection, if


applicable)

• Routing instance configuration for individual retailers

• Group configuration and forwarding options for the network

• Core network configuration

90 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 12

Configuring the Broadband Subscriber


Management DHCPv6 Layer 3 Wholesale
Network Solution

• DHCPv6 Layer 3 Wholesale Network Topology Overview on page 91


• Configuring Loopback Interfaces for the DHCPv6 Layer 3 Wholesale Solution on page 92
• Configuring VLANs for the DHCPv6 Layer 3 Wholesale Network Solution on page 93
• Configuring Access Components for the DHCP Layer 3 Wholesale Network
Solution on page 96
• Configuring Dynamic Profiles for the DHCPv6 Layer 3 Wholesale Network
Solution on page 98
• Configuring Separate Routing Instances for DHCPv6 Service Retailers on page 101
• Configuring Address Server Elements for the DHCPv6 Layer 3 Wholesale
Solution on page 101

DHCPv6 Layer 3 Wholesale Network Topology Overview

This configuration explains how to configure a simple DHCPv6 Layer 3 wholesale


subscriber access network. This solution incorporates two retailers sharing resources on
a wholesaler router. Figure 8 on page 92 provides the reference topology for this
configuration example.

Copyright © 2011, Juniper Networks, Inc. 91


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 8: DHCPv6 Layer 3 Wholesale Network Reference Topology


Retailer 1 Network Elements
Access Network Interface: GE-2/3/0
Loopback (lo0.1) Interface Address: 2002:2c2c:2c21::1/128
C-VLANs: Three (unit 2 to 4)
Logical Interfaces: GE-2/3/0.2 to GE-2/3/0.4
RADIUS Authentication Server Address: 10.10.10.1
RADIUS Accounting Server Address: 10.10.10.1
Access Profile: Retailer_Access1
Routing Instance: Retailer_Instance1
Dynamic Profile: Subscriber_Profile_Retail1

Retailer 1 Network Space

Retailer 1
RADIUS
MSAN server

Wholesaler
GE-2/3/0 RADIUS
MX Series server
GE-2/3/0

Retailer 2
RADIUS
server
MSAN

g017502
Retailer 2 Network Space

Retailer 2 Network Elements


Access Network Interface: GE-2/3/0
Loopback (lo0.2) Interface Address: 2002:2c2a:2c21::1/128
C-VLANs: Three (unit 5 to 7)
Logical Interfaces: GE-2/3/0.5 to GE-2/3/0.7
RADIUS Authentication Server Address: 10.20.20.1
RADIUS Accounting Server Address: 10.20.20.1
Access Profile: Retailer_Access2
Routing Instance: Retailer_Instance2
Dynamic Profile: Subscriber_Profile_Retail2 Wholesaler-Specific Network Elements
Access Network Interface: GE-2/3/0
Loopback (lo0.0) Interface Address: 2002:2c28:2c21::1/128
C-VLANs: One (unit 1)
Logical Interfaces: GE-2/3/0.1
RADIUS Authentication Server Address: 192.168.1.1
RADIUS Accounting Server Address: 192.168.1.1
Access Profile: Wholesaler_Access
Routing Instance: Wholesaler_Instance
Dynamic Profile: Wholesaler_Profile

Related • Layer 2 and Layer 3 Wholesale Overview on page 29


Documentation
• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and
Configuration Elements on page 63

Configuring Loopback Interfaces for the DHCPv6 Layer 3 Wholesale Solution

You must configure loopback interfaces for use in the subscriber management access
network. The loopback interfaces are automatically used for unnumbered interfaces.

92 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

To configure loopback interfaces:

1. Edit the loopback interface.

[edit]
user@host# edit interfaces lo0

2. Edit the unit for the loopback interface that you want to use for the wholesaler.

[edit interfaces lo0]


user@host# edit unit 0

3. Edit the loopback interface family that belongs to the wholesaler.

[edit interfaces lo0 unit 0]


user@host# edit family inet6

4. Specify the wholesale loopback interface address.

[edit interfaces lo0 unit 0]


user@host# set address 2002:2c28:2c21::1/128

5. Edit the unit for a retail loopback interface.

[edit interfaces lo0]


user@host# edit unit 1

6. Edit the retail loopback interface family.

[edit interfaces lo0 unit 1]


user@host# edit family inet6

7. Specify the retail loopback interface address.

[edit interfaces lo0 unit 1]


user@host# set address 2002:2c2c:2c21::1/128

8. Repeat steps 5 through 7 for additional retailers, making sure to use unique unit and
address values for each retailer loopback interface.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Junos OS Network Interfaces Configuration Guide

Configuring VLANs for the DHCPv6 Layer 3 Wholesale Network Solution

You can configure either static or dynamic customer VLANs for use in the DHCPv6
wholesale network solution.

• Configuring Static Customer VLANs for the DHCPv6 Layer 3 Wholesale Network
Solution on page 94
• Configuring Dynamic Customer VLANs for the DHCPv6 Layer 3 Wholesale Network
Solution on page 94

Copyright © 2011, Juniper Networks, Inc. 93


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring Static Customer VLANs for the DHCPv6 Layer 3 Wholesale Network Solution
In this example configuration, the access interface (ge-2/3/0) connects to a device (that
is, a DSLAM) on the access side of the network. You can define static VLANs for use by
access network subscribers.

To configure the static VLANs:

1. Edit the access side interface.

[edit]
user@host# edit interfaces ge-2/3/0

2. Specify the use of stacked VLAN tagging.

[edit interfaces ge-2/3/0]


user@host# set stacked-vlan-tagging

3. Edit the interface unit for the first VLAN.

[edit interfaces ge-2/3/0]


user@host# edit unit 1

4. Define the VLAN tags for the first VLAN.

[edit interfaces ge-2/3/0 unit 1]


user@host# set vlan-tags outer 3 inner 1

5. Specify that you want to create IPv6 demux interfaces.

[edit interfaces ge-2/3/0 unit 1]


user@host# set demux-source inet6

6. Edit the family for the first VLAN.

[edit interfaces ge-2/3/0 unit 1]


user@host# edit family inet6

7. (Optional) Define the unnumbered address and the preferred source address for the
first VLAN.

[edit interfaces ge-2/3/0 unit 1 family inet6]


user@host# set unnumbered-address lo0.1 preferred-source-address
2002:2c28:2c21::1/128

8. Repeat steps 2 through 7 for additional VLAN interface units.

Configuring Dynamic Customer VLANs for the DHCPv6 Layer 3 Wholesale Network Solution

To configure dynamic VLANs for the solution:

1. Configure a dynamic profile for dynamic VLAN creation.

a. Name the profile.

[edit]
user@host# edit dynamic-profiles VLAN-PROF

b. Define the interfaces statement with the internal $junos-interface-ifd-name variable


used by the router to match the interface name of the receiving interface.

94 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

[edit dynamic-profiles VLAN-PROF]


user@host# edit interfaces $junos-interface-ifd-name

c. Define the unit statement with the predefined $junos-interface-unit variable:

[edit dynamic-profiles VLAN-PROF interfaces “$junos-interface-ifd-name”]


user@host# edit unit $junos-interface-unit

d. Specify that you want to create IPv6 demux interfaces.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set demux-source inet6

e. Specify the VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags outer $junos-stacked-vlan-id

The variable is dynamically replaced with an outer VLAN ID within the VLAN range
specified at the [interfaces] hierarchy level.

f. Specify the inner VLAN ID variable.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# set vlan-tags inner $junos-vlan-id

The variable is dynamically replaced with an inner VLAN ID within the VLAN range
specified at the [interfaces] hierarchy level.

g. Access the family type.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit"]
user@host# edit family inet6

h. (Optional) Specify the unnumbered address and preferred source address.

[edit dynamic-profiles VLAN-PROF interfaces "$junos-interface-ifd-name" unit


"$junos-interface-unit" family inet6]
user@host# set unnumbered-address lo.0 preferred-source-address
2002:2c28:2c21::1/128

2. Associate the dynamic profile with the interface on which you want the VLANs created.

a. Access the interface that you want to use for creating VLANs.

[edit interfaces]
user@host# edit interfaces ge-2/3/0

b. Specify the use of stacked VLAN tagging.

[edit interfaces ge-2/3/0]


user@host# set stacked-vlan-tagging

c. Specify that you want to automatically configure VLAN interfaces.

[edit interfaces ge-2/3/0]


user@host# edit auto-configure

Copyright © 2011, Juniper Networks, Inc. 95


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

d. Specify that you want to configure stacked VLANs.

[edit interfaces ge-2/3/0 auto-configure]


user@host# edit stacked-vlan-ranges

e. Specify the dynamic VLAN profile that you want the interface to use.

[edit interfaces ge-2/3/0 auto-configure stacked-vlan-ranges]


user@host# set dynamic-profile VLAN-PROF

f. Repeat steps a through e for any other interfaces that you want to use for creating
VLANs.

3. Specify the Ethernet packet type that the VLAN dynamic profile can accept.

[edit interfaces ge-2/3/0 auto-configure stacked-vlan-ranges dynamic-profile


VLAN-PROF]
user@host# set accept inet6

4. Define VLAN ranges for use by the dynamic profile when dynamically creating VLAN
IDs. For this solution, specify the outer and inner stacked VLAN ranges that you want
the dynamic profile to use. The following example specifies an outer stacked VLAN
ID range of 3–3 (enabling only the outer range of 3) and an inner stacked VLAN ID
range of 1–3 (enabling a range from 1 through 3 for the inner stacked VLAN ID).

[edit interfaces ge-0/0/0 auto-configure stacked-vlan-ranges dynamic-profile


VLAN-PROF]
user@host# set stacked-vlan-ranges 3–3,1–3

Configuring Access Components for the DHCP Layer 3 Wholesale Network Solution

When configuring a wholesale network, you must configure several components globally.
This configuration provides access to RADIUS servers that you want the wholesaler and
any configured retailers to use globally. The access configuration includes the following
general steps:

• Configuring RADIUS Server Access on page 96


• Configuring a DHCP Wholesaler Access Profile on page 97
• Configuring DHCP Retailer Access Profiles on page 97

Configuring RADIUS Server Access


You can globally define any RADIUS servers in your network that either the wholesale
access profile or retailer access profile can use. After you define the global RADIUS
servers, you can specify specific RADIUS servers within individual access profiles.

To define RADIUS servers for profile access:

1. Access the [edit access radius-server] hierarchy level.

[edit ]
user@host# edit access radius-server

2. Specify the address and secret for any RADIUS servers in the network.

[edit access radius-server]

96 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

user@host# set 192.168.10.1 secret $9$CzBxBBf1eWx-wM8xgaU.m345B02EcyKXL


user@host# set 10.10.10.1 secret $7$OsCsBAf1fXx-wY3xgaU.m123A02ZtyNMT

Configuring a DHCP Wholesaler Access Profile


You must define the network and interface over which you want subscribers to initially
access the network with a wholesale access profile. When a subscriber attempts to
access the network, the access profile provides initial access information including
authentication and accounting values that the router uses for the accessing subscriber.

To define a wholesale access profile:

1. Create the wholesale access profile.

[edit]
user@host# edit access-profile Wholesaler_Access

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile Wholesaler1]


user@host# set authentication-order radius password

3. Specify that you want to configure RADIUS support.

[edit access profile Wholesaler1]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile Wholesaler1 radius]


user@host# set authentication-server 192.168.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile Wholesaler1 radius]


user@host# set accounting-server 192.168.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring DHCP Retailer Access Profiles


In this solution, subscribers are redirected to a networking space used by a specific retailer
and defined by a unique routing instance. This method requires that you define the network
and interface over which you want subscribers to access the network after being redirected
by the wholesale access profile.

To define a retailer access profile:

1. Create the retailer access profile.

[edit]
user@host# edit access-profile Retailer_Access1

Copyright © 2011, Juniper Networks, Inc. 97


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile Retailer1]


user@host# set authentication-order radius password

3. Specify that you want to configure RADIUS support.

[edit access profile Retailer1]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile Retailer1 radius]


user@host# set authentication-server 10.10.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile Retailer1 radius]


user@host# set accounting-server 10.10.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring Dynamic Profiles for the DHCPv6 Layer 3 Wholesale Network Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can
use to provide services for broadband applications. These services are assigned
dynamically to interfaces as they access the network. When configuring dynamic profiles
for the DHCPv6 Layer 3 wholesale network, you can choose to configure one dynamic
profile to address all incoming subscribers or you can configure individual dynamic profiles
for use by the different network management groups (that is, the wholesaler and any
retailers). In fact, you can create multiple dynamic profiles that you can use to roll out
different services and selectively apply those dynamic profiles to different subscriber
groups as necessary.

In this solution example, one dynamic profile is created for use by the wholesaler when
subscribers initially access the network. Other dynamic profiles are created for the
subscribers for each individual retailer to use after they are redirected to that retailer
network space.

• Configuring a Wholesale Dynamic Profile for use in the DHCPv6 Solution on page 98
• Configuring a Dynamic Profile for use by Each Retailer in the DHCPv6
Solution on page 99

Configuring a Wholesale Dynamic Profile for use in the DHCPv6 Solution


You can configure a basic access profile to initially manage subscribers that access the
network.

98 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

To configure a dynamic profile for use by the wholesaler:

1. Create a wholesale dynamic profile.

[edit]
user@host# edit dynamic-profiles Wholesaler_Profile

2. Specify that you want to configure the demux0 interface in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit interfaces demux0

3. Configure the unit for the demux0 interface.

a. Configure the variable for the unit number of the demux0 interface.

The variable is dynamically replaced with the unit number that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0]


user@host# edit unit $junos-interface-unit

b. Configure the variable for the underlying interface of the demux interfaces and
specify the $junos-underlying-interface variable.

The variable is dynamically replaced with the underlying interface that DHCP
supplies when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# set demux-options underlying-interface $junos-underlying-interface

4. Configure the family for the demux interfaces.

a. Specify that you want to configure the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# edit family inet6

b. Configure the unnumbered address for the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit”


family inet6]
user@host# set unnumbered-address lo0.0

c. Configure the variable for the IPv6 address of the demux interface.

The variable is dynamically replaced with the IPv6 address that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles business-profile interfaces demu0 unit “$junos-interface-unit”]


user@host# set demux-source $junos-subscriber-ipv6-address

Configuring a Dynamic Profile for use by Each Retailer in the DHCPv6 Solution
To configure a dynamic profile for use with retailer access:

1. Create a retail dynamic profile.

Copyright © 2011, Juniper Networks, Inc. 99


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit]
user@host# edit dynamic-profiles Subscriber_Profile_Retail1

2. Define the dynamic routing instance variable in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit routing-instances $junos-routing-instance

3. Set the dynamic interface variable for the dynamic routing instance.

[edit dynamic-profiles Subscriber_Profile_Retail1 routing-instances


“$junos-routing-instance”]
user@host# set interface $junos-interface-name

4. Specify that you want to configure the demux0 interface in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit interfaces demux0

5. Configure the unit for the demux0 interface.

a. Configure the variable for the unit number of the demux0 interface.

The variable is dynamically replaced with the unit number that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0]


user@host# edit unit $junos-interface-unit

b. Configure the variable for the underlying interface of the demux interfaces and
specify the $junos-underlying-interface variable.

The variable is dynamically replaced with the underlying interface that DHCP
supplies when the subscriber logs in.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# set demux-options underlying-interface $junos-underlying-interface

6. Configure the family for the demux interfaces.

a. Specify that you want to configure the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces demux0 unit


“$junos-interface-unit”]
user@host# edit family inet6

b. Configure the unnumbered address and preferred source address for the family.

[edit dynamic-profiles Subscriber_Profile_Retail1 demux0 unit “$junos-interface-unit”


family inet6]
user@host# set unnumbered-address $junos-loopback-interface
preferred-source-address $junos-preferred-source-address

c. Configure the variable that identifies the demux interface on the logical interface.

The variable is dynamically replaced with the IPv6 address that DHCP supplies
when the subscriber logs in.

[edit dynamic-profiles business-profile interfaces demu0 unit “$junos-interface-unit”]


user@host# set demux-source $junos-subscriber-ipv6-address

100 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

Configuring Separate Routing Instances for DHCPv6 Service Retailers

As the owner of the system, the wholesaler typically uses the default routing instance.
You must create separate routing instances for each individual retailer to keep routing
information for individual retailers separate and to define any servers and forwarding
options specific to each retailer.

To define a retailer routing instance:

1. Create the retailer routing instance.

[edit]
user@host# edit routing-instances Retailer_Instance1

2. Specify the routing instance type for the retailer.

[edit routing-instances “Retailer_Instance1”]


user@host# set instance-type vrf

3. Specify the access profile that you want the routing instance to use.

[edit routing-instances “Retailer_Instance1”]


user@host# set access-profile Retailer_Access1

4. Specify the interface that faces the Retailer1 RADIUS server.

[edit routing-instances “Retailer_Instance1”]


user@host# set interface ge-11/1/9.10

5. Specify the loopback interface unit for this routing instance.

[edit routing-instances “RetailerInstance1”]


user@host# set interface lo0.1

NOTE: Loopback interfaces must be unique for each routing instance.

6. Repeat this procedure for other retailers.

Related • Configuring Routing Instances


Documentation

Configuring Address Server Elements for the DHCPv6 Layer 3 Wholesale Solution

• Configuring a DHCPv6 Address Assignment Pool on page 101


• Configuring Extended DHCPv6 Local Server on page 103

Configuring a DHCPv6 Address Assignment Pool


Address assignment pools enable you to specify groups of IPv6 addresses that different
client applications can share. In this configuration, the extended DHCPv6 local server
configuration uses the address pool to provide addresses to subscribers that are accessing
the network. You must create separate address assignment pools for each retailer routing
instance.

Copyright © 2011, Juniper Networks, Inc. 101


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

You can create address assignment pools that provide full 128 bit IPv6 addresses or
pools that provide prefixes of a specified length.

To configure an address assignment pool that provides full 128 -bit IPv6 addresses:

1. Create and name an address assignment pool.

[edit]
user@host# edit access address-assignment pool AddressPool_1

2. Edit the address pool family.

[edit access address-assignment pool AddressPool_1]


user@host# edit family inet6

3. Define the IPv6 network prefix.

[edit access address-pool AddressPool_1 family inet6]


user@host# set prefix 2121::0/64

4. Define a named address range for the pool of IPv6 addresses.

[edit access address-assignment pool AddressPool_1 family inet6]


user@host# set range Range1 low 2121::a/128
user@host# set range Range1 high 2121::7ffe/128

5. (Optional) Edit the family DHCP attributes.

[edit access address-assignment pool AddressPool_1 family inet6]


user@host# edit dhcp-attributes

6. (Optional) Set the maximum lease time.

[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]


user@host# set maximum-lease-time 3600

7. (Optional) Set the grace period.

[edit access address-assignment pool AddressPool_1 family inet dhcp-attributes]


user@host# set grace-period 60

To configure an address assignment pool that provides shorter, 74-bit IPv6 prefixes:

1. Create and name an address assignment pool.

[edit]
user@host# edit access address-assignment pool AddressPool_2

2. Edit the address pool family.

[edit access address-assignment pool AddressPool_2]


user@host# edit family inet6

3. Define the IPv6 network prefix.

[edit access address-pool AddressPool_2 family inet6]


user@host# set prefix 2222::0/64

4. Define a named address range limit for the pool of IPv6 addresses.

[edit access address-assignment pool AddressPool_2 family inet6]


user@host# set range BitLimit prefix-length 74

5. (Optional) Edit the family DHCP attributes.

102 Copyright © 2011, Juniper Networks, Inc.


Chapter 12: Configuring the Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Solution

[edit access address-assignment pool AddressPool_2 family inet6]


user@host# edit dhcp-attributes

6. (Optional) Set the maximum lease time.

[edit access address-assignment pool AddressPool_2 family inet dhcp-attributes]


user@host# set maximum-lease-time 3600

7. (Optional) Set the grace period.

[edit access address-assignment pool AddressPool_2 family inet dhcp-attributes]


user@host# set grace-period 60

Configuring Extended DHCPv6 Local Server


You can enable the MX Series router to function as an extended DHCPv6 local server.
The extended DHCPv6 local server provides IPv6 addresses and other configuration
information to a subscriber logging into the network. You must configure extended
DHCPv6 local server for the wholesaler (default) routing instance and also for each
retailer routing instance.

To configure the DHCPv6 local server:

1. Edit the routing system services.

[edit]
user@host# edit system services

2. Edit the DHCPv6 local server.

[edit system services]


user@host# edit dhcp-local-server

3. Define the DHCP pool match order.

[edit system services dhcp-local-server]


user@host# set pool-match-order ip-address-first

4. Set the authentication password.

[edit system services dhcp-local-server]


user@host# set authentication password auth-psswrd

5. (Optional) Edit the values you want included with the username.

[edit system services dhcp-local-server]


user@host# edit authentication username-include

6. (Optional) Set the values you want included with the username.

[edit system services dhcp-local-server username-include]


user@host# set domain-name yourcompany.com
user@host# set user-prefix user-defined-prefix

7. Access the DHCPv6-specific service configuration.

[edit system services dhcp-local-server]


user@host# edit dhcpv6

8. Create and name a DHCPv6 local server group.

[edit system services dhcp-local-server dhcpv6]

Copyright © 2011, Juniper Networks, Inc. 103


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

user@host# edit group dhcp-ls-group

9. Specify a dynamic profile that you want the DHCPv6 local server group to use.

[edit system services dhcp-local-server dhcpv6 group dhcp-ls-group]


user@host# set dynamic-profile Wholesaler_Profile

10. Assign interfaces to the group.

[edit system services dhcp-local-server dhcpv6 group dhcp-ls-group]


user@host# set interface ge-1/3/0.1 upto ge-1/3/0.5

11. Edit the DHCPv6 local server trace options.

[edit system processes dhcp-service]


user@host# edit traceoptions

12. Specify a log file into which you want trace option information to be saved.

[edit system processes dhcp-service traceoptions]


user@host# set file dhcp-server-msgs.log

13. Specify the DHCPv6 local server message operations that you want saved in the log
file.

[edit system processes dhcp-service traceoptions]


user@host# set flag all

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Address-Assignment Pools Overview in the Junos OS Subscriber Access Configuration
Guide.

• DHCPv6 Local Server Overview in the Junos OS Subscriber Access Configuration Guide.

104 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 13

Broadband Subscriber Management


DHCPv6 Layer 3 Wholesale Network
Configuration Examples

• Example: Retailer Dynamic Profile for a DHCPv6 Wholesale Network on page 105
• Example: Retailer Routing Instances for a DHCPv6 Wholesale Network on page 106
• Example: DHCPv6 Address Assignment Pool That Provides Full 128-bit IPV6 Addresses
for a DHCPv6 Wholesale Network on page 106
• Example: DHCPv6 Address Assignment Pool That Provides 74-bit IPV6 Prefixes for a
DHCPv6 Wholesale Network on page 106
• Example: Extended DHCPv6 Local Server for a DHCPv6 Wholesale Network on page 107

Example: Retailer Dynamic Profile for a DHCPv6 Wholesale Network

dynamic-profiles {
Subscriber_Profile_Retailer1 {
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
demux0 {
unit "$junos-interface-unit" {
demux-options {
underlying-interface "$junos-underlying-interface";
}
family inet6 {
demux-source {
"$junos-subscriber-ip-address";
}
unnumbered-address "$junos-loopback-interface" preferred-source-address
"$junos-preferred-source-address";
}
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 105


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Example: Retailer Routing Instances for a DHCPv6 Wholesale Network

routing-instances {
Retailer_Instance1 {
instance-type vrf;
access-profile Retailer_Access1;
interface ge-11/1/9.10;
interface lo0.1;
route-distinguisher 1:1;
}
Retailer_Instance2 {
instance-type vrf;
access-profile Retailer_Access2;
interface ge-7/1/9.10;
interface lo0.2;
}
}

Example: DHCPv6 Address Assignment Pool That Provides Full 128-bit IPV6 Addresses
for a DHCPv6 Wholesale Network

access {
address-assignment {
pool AddressPool_1 {
family inet6 {
prefix 2121::0/64;
range Range1 {
low 2121::a/128;
high 2121::7ffe/128;
}
dhcp-attributes {
maximum-lease-time 3600;
grace-period 60;
}
}
}
}
}

Example: DHCPv6 Address Assignment Pool That Provides 74-bit IPV6 Prefixes for a
DHCPv6 Wholesale Network

access {
address-assignment {
pool AddressPool_2 {
family inet6 {
prefix 2222::0/64;
range BitLimit prefix-length 74;
dhcp-attributes {
maximum-lease-time 3600;
grace-period 60;
}
}

106 Copyright © 2011, Juniper Networks, Inc.


Chapter 13: Broadband Subscriber Management DHCPv6 Layer 3 Wholesale Network Configuration Examples

}
}
}
}
}

Example: Extended DHCPv6 Local Server for a DHCPv6 Wholesale Network

system {
services {
dhcp-local-server {
traceoptions {
file dhcp-server-msgs.log;
flag all;
}
dhcpv6 {
group dhcp-ls-group {
dynamic-profile Wholesaler_Profile;
interface ge-1/3/0.1 {
upto ge-1/3/0.5;
}
}
}
pool-match-order {
ip-address-first;
}
authentication {
password auth-psswrd;
username-include {
domain-name yourcompany.com;
user-prefix user-defined-prefix;
}
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 107


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

108 Copyright © 2011, Juniper Networks, Inc.


PART 5

Broadband Subscriber Management


PPPoE Layer 3 Wholesale Network
Solution
• Broadband Subscriber Management PPPoE Layer 3 Wholesale Network Solution
Overview on page 111
• Configuring the Broadband Subscriber Management PPPoE Layer 3 Wholesale Network
Solution on page 113
• Broadband Subscriber Management PPPoE Wholesale Network Configuration
Examples on page 123

Copyright © 2011, Juniper Networks, Inc. 109


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

110 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 14

Broadband Subscriber Management


PPPoE Layer 3 Wholesale Network
Solution Overview

• Broadband Subscriber Management PPPoE Layer 3 Wholesale Topology and


Configuration Elements on page 111

Broadband Subscriber Management PPPoE Layer 3 Wholesale Topology and


Configuration Elements

The network topology for the subscriber management PPPoE Layer 3 wholesale solution
includes configuring separate routing instances for individual retailers that use a portion
of the router.

To explain the concept, but to limit complexity, this solution provides a configuration
with one wholesaler and only two retailers. Figure 9 on page 112 illustrates a basic PPPoE
Layer 3 wholesale topology model from which you can expand.

Copyright © 2011, Juniper Networks, Inc. 111


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 9: Basic Subscriber Management PPPoE Layer 3 Wholesale Solution


Topology

Retailer 1 Network Space

Retailer 1
RADIUS
MSAN server

Wholesaler
MX Series Wholesaler Network Space RADIUS
server

Retailer 2
RADIUS
server
MSAN Retailer 2 Network Space

g017456
When you are configuring a PPPoE Layer 3 wholesale network solution, the following
configuration elements are required:

• Subscriber network VLAN configuration

• Addressing server or addressing server access configuration

• RADIUS server access configuration

• Dynamic profile configuration for default (wholesaler) access

• Routing instance configuration for individual retailers

• Group configuration and forwarding options for the network

• Core network configuration

This implementation of PPPoE Layer 3 wholesale supports the following:

• Dynamic PPPoE interface creation.

• Static VLAN use only.

• AAA server assignment of subscribers to different routing instances within the same
(default) logical system only.

112 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 15

Configuring the Broadband Subscriber


Management PPPoE Layer 3 Wholesale
Network Solution

• PPPoE Layer 3 Wholesale Network Topology Overview on page 113


• Configuring Loopback Interfaces for the PPPoE Layer 3 Wholesale Solution on page 114
• Configuring Static Customer VLANs for the PPPoE Layer 3 Wholesale Network
Solution on page 115
• Configuring Access Components for the PPPoE Wholesale Network Solution on page 116
• Configuring Dynamic Profiles for the PPPoE Layer 3 Wholesale Network
Solution on page 118
• Configuring Separate Routing Instances for PPPoE Service Retailers on page 120

PPPoE Layer 3 Wholesale Network Topology Overview

This configuration explains how to configure a simple PPPoE Layer 3 wholesale subscriber
access network. This solution incorporates two retailers sharing resources on a wholesaler
router. Figure 10 on page 114 provides the reference topology for this configuration example.

Copyright © 2011, Juniper Networks, Inc. 113


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 10: PPPoE Layer 3 Wholesale Network Reference Topology


Retailer 1 Network Elements
Access Network Interface: GE-9/3/0
Loopback (lo0.5) Interface Address: 33.33.0.1/32
C-VLANs: Three (unit 8 to 10)
Logical Interfaces: GE-9/3/0.8 to GE-9/3/0.11
RADIUS Authentication Server Address: 10.10.10.1
RADIUS Accounting Server Address: 10.10.10.1
Access Profile: PPPoE_Retailer_Access1
Routing Instance: PPPoE_Retailer_Instance1

Retailer 1 Network Space

Retailer 1
RADIUS
MSAN server

GE-9/3/0 Wholesaler
MX Series RADIUS
GE-9/3/0 server

Retailer 2
RADIUS
server
MSAN

g017457
Retailer 2 Network Space

Retailer 2 Network Elements


Access Network Interface: GE-9/3/0
Loopback (lo0.6) Interface Address: 33.32.0.1/32
C-VLANs: Three (unit 11 to 13)
Logical Interfaces: GE-9/3/0.11 to GE-9/3/0.13
RADIUS Authentication Server Address: 10.20.20.1 Wholesaler-Specific Network Elements
RADIUS Accounting Server Address: 10.20.20.1
Access Profile: PPPoE_Retailer_Access2 Access Network Interface: GE-9/3/0
Routing Instance: PPPoE_Retailer_Instance2 Loopback (lo0.4) Interface Address: 33.30.0.1/32
C-VLANs: One (unit 14)
Logical Interfaces: GE-9/3/0.14
RADIUS Authentication Server Address: 192.168.1.1
RADIUS Accounting Server Address: 192.168.1.1
Access Profile: PPPoE_Wholesaler_Access
Routing Instance: PPPoE_Wholesaler_Instance
Dynamic Profile: PPPoE_Wholesaler_Profile

Related • Layer 2 and Layer 3 Wholesale Overview on page 29


Documentation
• Broadband Subscriber Management DHCPv4 Layer 3 Wholesale Topology and
Configuration Elements on page 63

Configuring Loopback Interfaces for the PPPoE Layer 3 Wholesale Solution

You must configure loopback interfaces for use in the subscriber management access
network. The loopback interfaces are automatically used for unnumbered interfaces.

NOTE: If you do not configure the loopback interface, the routing platform
chooses the first interface to come online as the default. If you configure
more than one address on the loopback interface, we recommend that you
configure one to be the primary address to ensure that it is selected for use
with unnumbered interfaces. By default, the primary address is used as the
source address when packets originate from the interface.

114 Copyright © 2011, Juniper Networks, Inc.


Chapter 15: Configuring the Broadband Subscriber Management PPPoE Layer 3 Wholesale Network Solution

To configure loopback interfaces:

1. Edit the loopback interface.

[edit]
user@host# edit interfaces lo0

2. Edit the unit for the wholesale loopback interface.

[edit interfaces lo0]


user@host# edit unit 4

3. Edit the wholesale loopback interface family.

[edit interfaces lo0 unit 4]


user@host# edit family inet

4. Specify the wholesale loopback interface address.

[edit interfaces lo0 unit 4 family inet]


user@host# set address 33.30.0.1/32

5. (Optional) Specify the loopback interface address as the primary loopback interface.

[edit interfaces lo0 unit 4 family inet]


user@host# set address 33.30.0.2/32 primary

6. Edit the unit for a retail loopback interface.

[edit interfaces lo0]


user@host# edit unit 5

7. Edit the retail loopback interface family.

[edit interfaces lo0 unit 5]


user@host# edit family inet

8. Specify the retail loopback interface address.

[edit interfaces lo0 unit 5 family inet]


user@host# set address 33.33.0.1/32

9. (Optional) Specify the loopback interface address as the primary loopback interface.

[edit interfaces lo0 unit 5 family inet]


user@host# set address 33.33.0.2/32 primary

10. Repeat steps 7 through 10 for additional retailers, making sure to use unique unit and
address values for each retailer loopback interface.

Related • Configuring Top-Level Broadband Subscriber Management Elements on page 39


Documentation
• Junos OS Network Interfaces Configuration Guide

Configuring Static Customer VLANs for the PPPoE Layer 3 Wholesale Network Solution

In this example configuration, the access interface (ge-9/3/0) connects to a device (that
is, a DSLAM) on the access side of the network. You can define static customer VLANs
(C-VLANs) for use by the wholesaler and any access network subscribers.

Copyright © 2011, Juniper Networks, Inc. 115


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

To configure the customer VLANs:

1. Edit the access side interface.

[edit]
user@host# edit interfaces ge-9/3/0

2. Specify the use of flexible VLAN tagging.

[edit interfaces ge-9/3/0]


user@host# set flexible-vlan-tagging

3. Edit the interface unit for the wholesaler VLAN.

[edit interfaces ge-9/3/0]


user@host# edit unit 14

4. Specify the type of encapsulation that you want the wholesaler VLAN to use.

[edit interfaces ge-9/3/0 unit 14]


user@host# set encapsulation ppp-over-ether

5. (Optional) Specify that you want the wholesaler VLAN to use Proxy ARP.

[edit interfaces ge-9/3/0 unit 14]


user@host# set proxy-arp

6. Define a unique VLAN ID for the wholesaler VLAN.

[edit interfaces ge-9/3/0 unit 14]


user@host# set vlan-id 14

7. Specify the dynamic profile that you want the wholesaler VLAN to use.

[edit interfaces ge-9/3/0 unit 14]


user@host# set pppoe-underlying-options dynamic-profile PPPoE_Wholesaler_Profile

Configuring Access Components for the PPPoE Wholesale Network Solution

When configuring a wholesale network, you must configure several components globally.
This configuration provides access to RADIUS servers (if used) that you want the
wholesaler and any configured retailers to use globally. The access configuration includes
the following general steps:

• Configuring RADIUS Server Access on page 116


• Configuring a PPPoE Wholesaler Access Profile on page 117
• Configuring PPPoE Retailer Access Profiles on page 117

Configuring RADIUS Server Access


You can globally define any RADIUS servers in your network that either the wholesale
access profile or retailer access profile can use. After you define the global RADIUS
servers, you can specify specific RADIUS servers within individual access profiles.

To define RADIUS servers for profile access:

1. Access the [edit access radius-server] hierarchy level.

[edit ]

116 Copyright © 2011, Juniper Networks, Inc.


Chapter 15: Configuring the Broadband Subscriber Management PPPoE Layer 3 Wholesale Network Solution

user@host# edit access radius-server

2. Specify the address and secret for any RADIUS servers in the network.

[edit access radius-server]


user@host# set 192.168.10.1 secret $9$CzBxBBf1eWx-wM8xgaU.m345B02EcyKXL
user@host# set 10.10.10.1 secret $7$OsCsBAf1fXx-wY3xgaU.m123A02ZtyNMT

Configuring a PPPoE Wholesaler Access Profile


You must define the network and interface over which you want subscribers to initially
access the network with a wholesale access profile. When a subscriber attempts to
access the network, the access profile provides initial access information including
authentication and accounting values that the router uses for the accessing subscriber.

To define a wholesale access profile:

1. Create the wholesale access profile.

[edit]
user@host# edit access profile PPPoE_Wholesaler_Access

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile PPPoE_Wholesaler_Access]


user@host# set authentication-order radius

3. Specify that you want to configure RADIUS support.

[edit access profile PPPoE_Wholesaler_Access]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile PPPoE_Wholesaler_Access radius]


user@host# set authentication-server 192.168.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile PPPoE_Wholesaler_Access radius]


user@host# set accounting-server 192.168.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring PPPoE Retailer Access Profiles


In this solution, subscribers are redirected to a networking space used by a specific retailer
and defined by a unique routing instance. This method requires that you define the network
and interface over which you want subscribers to access the network after being redirected
by the wholesale access profile.

Copyright © 2011, Juniper Networks, Inc. 117


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

To define a retailer access profile:

1. Create the retailer access profile.

[edit]
user@host# edit access profile PPPoE_Retailer_Access1

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile PPPoE_Retailer_Access1]


user@host# set authentication-order radius

3. Specify that you want to configure RADIUS support.

[edit access profile PPPoE_Retailer_Access1]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

[edit access profile PPPoE_Retailer_Access1 radius]


user@host# set authentication-server 10.10.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile PPPoE_Retailer_Access1 radius]


user@host# set accounting-server 10.10.10.1

6. Configure any desired options for the RADIUS server.

See Configuring RADIUS Server Options for Subscriber Access.

7. Configure subscriber accounting (RADIUS accounting).

See Configuring Per-Subscriber Session Accounting.

Configuring Dynamic Profiles for the PPPoE Layer 3 Wholesale Network Solution

A dynamic profile is a set of characteristics, defined in a type of template, that you can
use to provide services for broadband applications. These services are assigned
dynamically to interfaces as they access the network. When configuring dynamic profiles
for the PPPoE Layer 3 wholesale network, you can choose to configure one dynamic
profile to address all incoming subscribers or you can configure individual dynamic profiles
for use by the different network management groups (that is, the wholesaler and any
retailers). In fact, you can create multiple dynamic profiles that you can use to roll out
different services and selectively apply those dynamic profiles to different subscriber
groups as necessary.

In this solution example, one dynamic profile is created for use by the wholesaler when
subscribers initially access the network. Subscribers are assigned by the wholesaler
RADIUS server to a particular retailer routing instance and can then be redirected to that
retailer network space.

• Configuring a Wholesale Dynamic Profile for use in the PPPoE Solution on page 119

118 Copyright © 2011, Juniper Networks, Inc.


Chapter 15: Configuring the Broadband Subscriber Management PPPoE Layer 3 Wholesale Network Solution

Configuring a Wholesale Dynamic Profile for use in the PPPoE Solution


You can configure a basic access profile to initially manage PPPoE subscribers that
access the network.

To configure a dynamic profile for use by the wholesaler:

1. Create a wholesale dynamic profile.

[edit]
user@host# edit dynamic-profiles PPPoE_Wholesaler_Profile

2. Define the dynamic routing instance variable in the dynamic profile.

[edit dynamic-profiles PPPoE_Wholesaler_Profile]


user@host# edit routing-instances $junos-routing-instance

3. Set the dynamic interface variable for the dynamic routing instance.

[edit dynamic-profiles PPPoE_Wholesaler_Profile routing-instances


“$junos-routing-instance”]
user@host# set interface $junos-interface-name

4. Specify that you want to configure the pp0 interface in the dynamic profile.

[edit dynamic-profiles PPPoE_Wholesaler_Profile]


user@host# edit interfaces pp0

5. Configure the unit for the pp0 interface.

a. Configure the variable for the unit number of the pp0 interface.

The variable is dynamically replaced with the unit number that RADIUS supplies
when the subscriber logs in.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0]


user@host# edit unit $junos-interface-unit

b. Configure PAP or CHAP (or both) to function on the interface.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit”]
user@host# set ppp-options chap pap

c. Configure the variable for the underlying interface of the pp0 interfaces.

The variable is dynamically replaced with the underlying interface that RADIUS
supplies when the subscriber logs in.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit”]
user@host# set pppoe-options underlying-interface $junos-underlying-interface

d. Configure the router to act as a PPPoE server.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit”]
user@host# set pppoe-options server

6. (Optional) Modify the PPPoE keepalive interval.

Copyright © 2011, Juniper Networks, Inc. 119


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit”]
user@host# set keepalives interval 15

7. Configure the family for the pp0 interface.

a. Specify that you want to configure the family.

NOTE: You can specify inet for IPv4 and inet6 for IPv6. However, this
solution provides the IPv4 configuration only.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit”]
user@host# edit family inet

b. Configure the unnumbered address for the family.

[edit dynamic-profiles PPPoE_Wholesaler_Profile interfaces pp0 unit


“$junos-interface-unit” family inet]
user@host# set unnumbered-address $junos-loopback-interface

Configuring Separate Routing Instances for PPPoE Service Retailers

As the owner of the system, the wholesaler uses the default routing instance. You must
create separate routing instances for each individual retailer to keep routing information
for individual retailers separate and to define any servers and forwarding options specific
to each retailer.

To define a retailer routing instance:

1. Create the retailer routing instance.

[edit]
user@host# edit routing-instances PPPoE_Retailer_Instance1

2. Specify the routing instance type for the retailer.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set instance-type vrf

3. Specify the access profile that you want the routing instance to use.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set access-profile PPPoE_Retailer_Access1

4. Specify the interface that faces the Retailer1 RADIUS server.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set interface ge-11/1/9.10

5. Specify the loopback interface unit for this routing instance.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set interface lo0.5

120 Copyright © 2011, Juniper Networks, Inc.


Chapter 15: Configuring the Broadband Subscriber Management PPPoE Layer 3 Wholesale Network Solution

NOTE: Loopback interfaces must be unique for each routing instance.

6. Specify an identifier to distinguish the VPN to which the route belongs.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set route-distinguisher 1:1

7. Specify how routes are imported into the local PE router’s VPN routing table from the
remote PE router.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set vrf-import policyImport

8. Specify which routes are exported from the local instance table to the remote PE
router.

[edit routing-instances “PPPoE_Retailer_Instance1”]


user@host# set vrf-export policyExport

9. Repeat this procedure for other retailers.

Related • Configuring Routing Instances


Documentation

Copyright © 2011, Juniper Networks, Inc. 121


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

122 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 16

Broadband Subscriber Management


PPPoE Wholesale Network Configuration
Examples

• Example: Wholesaler Dynamic Profile for a PPPoE Wholesale Network on page 123
• Example: Retailer Routing Instances for a PPPoE Wholesale Network on page 124

Example: Wholesaler Dynamic Profile for a PPPoE Wholesale Network

This example specifies a dynamic profile name of PPPoE_Wholesaler_Profile, uses pp0


interfaces, and references the predefined input firewall filter.

PPPoE_Wholesaler_Profile {
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
pp0 {
unit "$junos-interface-unit" {
ppp-options {
chap;
pap;
}
pppoe-options {
underlying-interface "$junos-underlying-interface";
server;
}
keepalives interval 15;
family inet {
filter {
input "$junos-input-filter";
output "$junos-output-filter";
}
unnumbered-address "$junos-loopback-interface";
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 123


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Example: Retailer Routing Instances for a PPPoE Wholesale Network

routing-instances {
PPPoE_Retailer_Instance1 {
instance-type vrf;
access-profile PPPoE_Retailer_Access1;
interface ge-11/1/9.10;
interface lo0.5;
route-distinguisher 1:1;
vrf-import policyImport;
vrf-export policyExport;
}
Retailer_Instance2 {
instance-type vrf;
access-profile PPPoE_Retailer_Access2;
interface ge-11/1/9.10;
interface lo0.6;
route-distinguisher 2:2;
vrf-import policyImport;
vrf-export policyExport;
}
}

124 Copyright © 2011, Juniper Networks, Inc.


PART 6

Broadband Subscriber Management Layer


2 Wholesale Network Solution
• Broadband Subscriber Management Layer 2 Wholesale Network Solution
Overview on page 127
• Configuring the Broadband Subscriber Management Layer 2 Wholesale Network
Solution on page 129
• Broadband Subscriber Management Layer 2 Wholesale Network Configuration
Examples on page 145

Copyright © 2011, Juniper Networks, Inc. 125


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

126 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 17

Broadband Subscriber Management Layer


2 Wholesale Network Solution Overview

• Broadband Subscriber Management Layer 2 Wholesale Topology and Configuration


Elements on page 127

Broadband Subscriber Management Layer 2 Wholesale Topology and Configuration


Elements

The network topology for the subscriber management Layer 2 wholesale solution includes
configuring separate routing instances for individual retailers that use a portion of the
router. This solution uses a Virtual Private LAN Service (VPLS) configuration.

To explain the concept but limit complexity, this solution provides a configuration with
one wholesaler and only two retailers. Figure 11 on page 128 illustrates a basic Layer 2
wholesale topology model from which you can expand.

Copyright © 2011, Juniper Networks, Inc. 127


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Figure 11: Basic Subscriber Management Layer 2 Wholesale Solution


Topology

Client
(Retailer 1)

Client Wholesaler
(Retailer 1) RADIUS
server
Client
(Retailer 1) MSAN

Retailer 1
Client Direct ISP-Facing DHCP
(Retailer 2) MX Series Connection server
Retailer 1
ISP Access
Client Network Space
(Retailer 2)
Retailer 1
Client RADIUS
(Retailer 1) MSAN server
Standard
NNI ISP-Facing
BGP / MPLS MX Series
Client Connections
Configuration
(Retailer 1)
Retailer 2
DHCP
Client server
(Retailer 1) MSAN
Retailer 2
ISP Access
Network Space
Client
(Retailer 1) MX Series
Retailer 2
RADIUS
Client server
(Retailer 2)
Wholesaler Controlled
Client Network Space
(Retailer 2) MSAN

g017481
Client
(Retailer 1) Layer 2
Access Network Backhaul Network

When you are configuring a Layer 2 wholesale network solution, the following configuration
elements are required:

• Subscriber access dynamic VLAN configuration including dynamic profile configuration


for retailer routing instances

• Routing instance configuration for individual retailers on provider edge (PE) routers
and network-to-network interface (NNI) routers.

• VLAN interface configuration

• RADIUS server access configuration

• Core network configuration

Related • Layer 2 and Layer 3 Wholesale Overview on page 29


Documentation
• Layer 2 Wholesale Network Topology Overview on page 129

128 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 18

Configuring the Broadband Subscriber


Management Layer 2 Wholesale Network
Solution

• Layer 2 Wholesale Network Topology Overview on page 129


• Configuring a Retail Dynamic Profile for Use in the Layer 2 Wholesale
Solution on page 131
• Stacking and Rewriting VLAN Tags for the Layer 2 Wholesale Solution on page 132
• Configuring VLAN Interfaces for the Layer 2 Wholesale Solution on page 134
• Configuring Encapsulation for Layer 2 Wholesale VLAN Interfaces on page 135
• Configuring NNI ISP-Facing Interfaces for the Layer 2 Wholesale Solution on page 136
• Configuring Direct ISP-Facing Interfaces for the Layer 2 Wholesale Solution on page 137
• Configuring Separate Access Routing Instances for Layer 2 Wholesale Service
Retailers on page 137
• Configuring Separate NNI Routing Instances for Layer 2 Wholesale Service
Retailers on page 140
• Configuring Access Components for the Layer 2 Wholesale Network Solution on page 142

Layer 2 Wholesale Network Topology Overview

This configuration explains how to configure a simple Layer 2 wholesale subscriber access
network. This solution illustrates two Internet Service Provider (ISP) retailers sharing
access to a wholesaler network. The wholesaler network contains a Layer 2 Network
access router and two Virtual Private LAN Service (VPLS) network-to-network interface
(NNI) routers.

NOTE: You can have more than one ISP router connecting to a single VPLS
NNI router with VPLS interfaces configured with routing instances specific
to each different ISP-facing interfaces.

The example also shows two different connection options from one subscriber access
router to one of the individual ISP access routers. One connection option uses an interface

Copyright © 2011, Juniper Networks, Inc. 129


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

on the subscriber access router to connect directly to the ISP access router. Another
connection option uses two routers: a subscriber access router and another NNI router
that connects to the ISP access router.

NOTE: When using the NNI router connection option, use a standard BGP or
MPLS configuration between the subscriber access routers and the edge
router that connects to the ISP access routers. See the Junos OS Routing
Protocols Configuration Guide for information about BGP configuration. See
the Junos OS MPLS Applications Configuration Guide for information about MPLS
configuration.

Figure 12 on page 130 provides the reference topology for this configuration example.

Figure 12: Layer 2 Wholesale Network Reference Topology


Wholesaler Access PE Router Network Elements
Access Network Interface: GE-2/3/0
RADIUS Authentication Server Address: 10.10.10.1
RADIUS Accounting Server Address: 10.10.10.1
Access Profile: AccessProfile
Routing Instances: Retailer_Instance1
Retailer_Instance2
Dynamic Profile: L2_Access_Profile

Wholesaler Direct ISP-Facing Interface


10.10.10.1 Interface facing ISP Retailer 1: GE-1/1/0.1
VPLS Routing Instances: Retailer_Instance1
Client
(Retailer 1) Wholesaler
RADIUS
server
Client Wholesaler NNI-1 ISP-Facing Interface
(Retailer 1) Interface facing ISP Retailer 1: GE-1/1/0.0
VPLS Routing Instances: Retailer_Instance1
Client
(Retailer 1) MSAN

GE-2/3/0 Retailer 1
Client DHCP
(Retailer 2) MX Series server
GE-1/1/0 Retailer 1
ISP Access
Client Network Space
(Retailer 2)
Retailer 1
Client RADIUS
(Retailer 1) MSAN server
GE-1/1/0
MX Series
Client GE-2/2/0
(Retailer 1)
Retailer 2
DHCP
Client server
(Retailer 1) MSAN
Retailer 2
ISP Access
Network Space
Client
(Retailer 1) MX Series
Retailer 2
RADIUS
Client server
(Retailer 2)
Wholesaler Controlled
Client Network Space Wholesaler NNI-2 ISP-Facing Interface
(Retailer 2) MSAN Interface facing ISP Retailer 2: GE-2/2/0.0
VPLS Routing Instances: Retailer_Instance2
g017536

Client
(Retailer 1) Layer 2
Access Network Backhaul Network

130 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

Related • Layer 2 and Layer 3 Wholesale Overview on page 29


Documentation
• Broadband Subscriber Management Layer 2 Wholesale Topology and Configuration
Elements on page 127

Configuring a Retail Dynamic Profile for Use in the Layer 2 Wholesale Solution

To configure a dynamic profile for use with retailer access:

1. Create a retail dynamic profile.

[edit]
user@host# edit dynamic-profiles Subscriber_Profile_Retail1

2. Define the dynamic routing instance variable in the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# edit routing-instances $junos-routing-instance

3. Set the dynamic interface variable for the dynamic routing instance.

[edit dynamic-profiles Subscriber_Profile_Retail1 routing-instances


“$junos-routing-instance”]
user@host# set interface $junos-interface-name

4. Define the dynamic interfaces variable for the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1]


user@host# set interfaces $junos-interface-ifd-name

5. Define the dynamic interface unit variable for the dynamic profile.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”]


user@host# set unit $junos-interface-unit

6. (Optional) Define the VLAN encapsulation for the dynamic interfaces.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# set encapsulation vlan-vpls

NOTE: If you choose not to specify an encapsulation for the logical


interface, you must specify encapsulation for the physical interface.

7. Define the VLAN tag variables for the dynamic profile:

NOTE: This solution example uses stacked VLAN tagging. However, you
can also specify single-tag VLANs. For additional information about
configuring dynamic VLANs, see the Junos OS Subscriber Access Configuration
Guide.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# set vlan-tags outer $junos-stacked-vlan-id inner $junos-vlan-id

Copyright © 2011, Juniper Networks, Inc. 131


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

8. Define the input and output VLAN maps. See “Stacking and Rewriting VLAN Tags for
the Layer 2 Wholesale Solution” on page 132 for details.

9. Specify the unit family as vpls at the [edit dynamic-profiles profile-name interfaces
“$junos-interface-ifd-name” unit “$junos-interface-unit” family] hierarchy level.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# set family vpls

Stacking and Rewriting VLAN Tags for the Layer 2 Wholesale Solution

Stacking and rewriting VLAN tags allows you to use an additional (outer) VLAN tag to
differentiate between routers in the Layer 2 wholesale network. A frame can be received
on an interface, or it can be internal to the system (as a result of the input-vlan-map
statement).

You can configure rewrite operations to stack (push), remove (pop), or rewrite (swap)
tags on single-tagged frames and dual-tagged frames. If a port is not tagged, rewrite
operations are not supported on any logical interface on that port.

You can configure the following single-action VLAN rewrite operations:

• pop—Remove a VLAN tag from the top of the VLAN tag stack. The outer VLAN tag of
the frame is removed.

• push—Add a new VLAN tag to the top of the VLAN stack. An outer VLAN tag is pushed
in front of the existing VLAN tag.

• swap—Replace the inner VLAN tag of the incoming frame with a user-specified VLAN
tag value.

You configure VLAN rewrite operations for logical interfaces in the input VLAN map for
incoming frames and in the output VLAN map for outgoing frames.

You can include both the input-vlan-map and output-vlan-map statements at the [edit
dynamic-profiles profile-name interface “$junos-interface-ifd-name” unit ”
$junos-interface-unit] hierarchy level.

The type of VLAN rewrite operation permitted depends upon whether the frame is
single-tagged or dual-tagged. Table 7 on page 132 shows supported rewrite operations
and whether they can be applied to single-tagged frames or dual-tagged frames. The
table also indicates the number of tags being added or removed during the operation.

Table 7: Rewrite Operations on Single-Tagged and Dual-Tagged Frames


Rewrite Operation Single-Tagged Dual-Tagged Number of Tags

pop Yes Yes –1

push Yes Yes +1

swap Yes Yes 0

132 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

Depending on the VLAN rewrite operation, you configure the rewrite operation for the
interface in the input VLAN map, the output VLAN map, or both. Table 8 on page 133
shows what rewrite operation combinations you can configure. “None” means that no
rewrite operation is specified for the VLAN map.

Table 8: Applying Rewrite Operations to VLAN Maps


Output VLAN Map

Input VLAN Map none push pop swap

none Yes No No Yes

push No No Yes No

pop No Yes No No

swap Yes No No Yes

To configure the input VLAN map:

NOTE: You configure the input-vlan-map statement only when there is a need
either to push an outer tag on a single-tagged subscriber packet or to modify
the outer tag in a subscriber dual-tagged packet.

1. Include the input-vlan-map statement.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# edit input-vlan-map

2. Specify the action that you want the input VLAN map to take.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit” input-vlan-map]
user@host# set push

3. Include the vlan-id statement along with the $junos-vlan-map-id dynamic variable.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit” input-vlan-map]
user@host# set vlan-id $junos-vlan-map-id

To configure the output VLAN map:

NOTE: You configure the output-vlan-map statement only when there is a


need to either pop or modify the outer tag found in a dual-tagged packet
meant for the subscriber.

1. Include the output-vlan-map statement.

Copyright © 2011, Juniper Networks, Inc. 133


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# edit output-vlan-map

2. Specify the action that you want the output VLAN map to take.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit” output-vlan-map]
user@host# set pop

You must know whether the VLAN rewrite operation is valid and is applied to the input
VLAN map or the output VLAN map. You must also know whether the rewrite operation
requires you to include statements to configure the inner and outer tag protocol identifiers
(TPIDs) and inner and outer VLAN IDs in the input VLAN map or output VLAN map. For
information about configuring inner and outer TPIDs and inner and outer VLAN IDs, see
Configuring Inner and Outer TPIDs and VLAN IDs.

Configuring VLAN Interfaces for the Layer 2 Wholesale Solution

Clients access the Layer 2 Wholesale network through a specific interface. After they
access this interface, and when they are authenticated, VLANs are dynamically created
to carry the client traffic.

To configure a VLAN interface for dynamic access of clients:

1. Access the physical interface that you want to use for dynamically creating VLAN
interfaces.

[edit interfaces]
user@host# edit interfaces ge-2/3/0

2. Specify the desired VLAN tagging.

NOTE: This example uses flexible VLAN tagging to simultaneously support


transmission of 802.1Q VLAN single-tag and dual-tag frames on logical
interfaces on the same Ethernet port.

[edit interfaces ge-2/3/0]


user@host# set flexible-vlan-tagging

3. Specify that you want to automatically configure VLAN interfaces.

[edit interfaces ge-2/3/0]


user@host# edit auto-configure

4. Specify that you want to configure single VLANs.

[edit interfaces ge-2/3/0 auto-configure]


user@host# edit vlan-ranges

5. Define the VLAN ranges for the configuration.

[edit interfaces ge-2/3/0 auto-configure vlan-ranges]


user@host# set ranges any, any

6. Specify the dynamic VLAN profile that you want the interface to use.

134 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

[edit interfaces ge-2/3/0 auto-configure vlan-ranges]


user@host# set dynamic-profile Subscriber_Profile_Retail1

7. Specify that any type of VLAN Ethernet packet is accepted by the interface.

[edit interfaces ge-2/3/0 auto-configure vlan-ranges dynamic-profile


“Subscriber_Profile_Retail1”]
user@host# set accept any

8. Repeat steps for any other interfaces that you want to use for creating VLANs.

9. Specify the encapsulation type for the VLAN interfaces.

[edit interfaces ge-2/3/0]


user@host# edit encapsulation flexible-ethernet-services

Related • Configuring Single-Level VLAN Ranges for Use with VLAN Dynamic Profiles
Documentation
• Configuring Encapsulation for Layer 2 Wholesale VLAN Interfaces on page 135

Configuring Encapsulation for Layer 2 Wholesale VLAN Interfaces

Each dynamic VLAN interface in a Layer 2 wholesale network must use encapsulation.
You can configure encapsulation dynamically for each VLAN interface by using the
encapsulation statement at the [edit dynamic-profiles profile-name interface
“$junos-interface-ifd-name” unit “$junos-interface-unit”] hierarchy level or configure
encapsulation for the physical interfaces at the [edit interfaces interface-name] hierarchy
level for each dynamically created VLAN interface to use. However, how you choose to
configure (or not configure) encapsulation at the [edit dynamic-profiles profile-name
interface “$junos-interface-ifd-name” unit “$junos-interface-unit”] hierarchy level affects
how you configure encapsulation at the [edit interfaces interface-name] hierarchy level.

Table 9 on page 135 provides the valid encapsulation combinations for both dynamic
profiles and physical interfaces in the Layer 2 wholesale network.

Table 9: Encapsulation Combinations for Layer 2 Wholesale Interfaces


Dynamic Profile Physical Interface
Encapsulation Encapsulation Usage Notes

vlan-vpls vlan-vpls Using the vlan-vpls encapsulation type in both the


dynamic profile and when configuring the physical
interface limits the VLAN ID value to a number greater
than or equal to 512.

vlan-vpls flexible-ethernet-services Using the flexible-ethernet-services encapsulation


type removes any VLAN ID value limitation.

vlan-vpls extended-vlan-vpls The extended-vlan-vpls encapsulation type can


support multiple TPIDs. Using this encapsulation type
removes any VLAN ID value limitation.

No encapsulation type extended-vlan-vpls The extended-vlan-vpls encapsulation type can


support multiple TPIDs. Using this encapsulation type
removes any VLAN ID value limitation.

Copyright © 2011, Juniper Networks, Inc. 135


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

To configure encapsulation for Layer 2 wholesale VLAN interfaces:

1. (Optional) Define the VLAN encapsulation for the dynamic interfaces.

[edit dynamic-profiles Subscriber_Profile_Retail1 interfaces “$junos-interface-ifd-name”


unit “$junos-interface-unit”]
user@host# set encapsulation encapsulation-type

2. Specify the encapsulation type for the physical VLAN interface.

[edit interfaces ge-2/3/0]


user@host# edit encapsulation encapsulation-type

NOTE: If you choose not to specify an encapsulation for the logical


interface, you must specify extended-vlan-vpls encapsulation for the
physical interface.

Related • Configuring a Retail Dynamic Profile for Use in the Layer 2 Wholesale Solution on
Documentation page 131

• Configuring VLAN Interfaces for the Layer 2 Wholesale Solution on page 134

Configuring NNI ISP-Facing Interfaces for the Layer 2 Wholesale Solution

You must configure separate, ISP-facing interfaces on each NNI ISP-facing router that
connect to individual retailer ISP access routers in the Layer 2 Wholesale solution.

To configure an NNI ISP-facing interface:

1. Access the physical interface that you want to use to access the retailer ISP network.

[edit interfaces]
user@host# edit interfaces ge-1/1/0

2. Specify the encapsulation type for the VLAN interfaces.

[edit interfaces ge-1/1/0]


user@host# edit encapsulation ethernet-vpls

3. Specify the interface unit that you want ISP clients to use.

[edit interfaces ge-1/1/0]


user@host# edit unit 0

4. Repeat these steps for any other NNI ISP-facing interfaces that you want to use. In
this example, you must also configure interface ge-2/2/0.0.

Related • Configuring Single-Level VLAN Ranges for Use with VLAN Dynamic Profiles
Documentation
• Configuring Direct ISP-Facing Interfaces for the Layer 2 Wholesale Solution on page 137

• Configuring Separate Access Routing Instances for Layer 2 Wholesale Service Retailers
on page 137

136 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

Configuring Direct ISP-Facing Interfaces for the Layer 2 Wholesale Solution

When connecting a subscriber access router directly to an ISP access router, you must
define any ISP-facing interfaces that connect to the retailer ISP access routers as
core-facing interfaces.

To configure a direct ISP-facing interface:

1. Access the physical interface that you want to use to access the retailer ISP network.

[edit interfaces]
user@host# edit interfaces ge-1/1/0

2. Specify the encapsulation type for the VLAN interfaces.

[edit interfaces ge-1/1/0]


user@host# edit encapsulation ethernet-vpls

3. Specify the interface unit that you want ISP clients to use.

[edit interfaces ge-1/1/0]


user@host# edit unit 1

4. Specify the unit family.

[edit interfaces ge-1/1/0 unit 1]


user@host# set family vpls

5. Define the interface as core-facing to ensure that the network does not improperly
treat the interface as a client interface..

[edit interfaces ge-1/1/0 unit 1 family vpls]


user@host# set core-facing

6. Repeat steps for any other direct ISP-facing interfaces that you want to use..

Related • Configuring Single-Level VLAN Ranges for Use with VLAN Dynamic Profiles
Documentation
• Configuring NNI ISP-Facing Interfaces for the Layer 2 Wholesale Solution on page 136

• Configuring Separate Access Routing Instances for Layer 2 Wholesale Service Retailers
on page 137

Configuring Separate Access Routing Instances for Layer 2 Wholesale Service Retailers

As the owner of the system, the wholesaler uses the default routing instance. You must
create separate routing instances for each individual retailer to keep routing information
for individual retailers separate and to define any servers and forwarding options specific
to each retailer.

When creating separate routing instances, it is important to understand the role that the
router plays in the Layer 2 Wholesale network and specify that role (either access or NNI)
in the routing instance configuration. If the router connects directly to an ISP network (or
ISP-controlled device), you must configure the routing instances as an NNI routing

Copyright © 2011, Juniper Networks, Inc. 137


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

instance. See “Configuring Separate NNI Routing Instances for Layer 2 Wholesale Service
Retailers” on page 140.

To define an access retailer routing instance:

1. Create the retailer routing instance.

[edit]
user@host# edit routing-instances RetailerInstance1

2. Specify the VLAN model that you want the retailer to follow.

[edit routing-instances RetailerInstance1]


user@host# set vlan-model one-to-one

3. Specify the role that you want the routing instance to take.

[edit routing-instances RetailerInstance1]


user@host# set instance-role access

4. Specify the routing instance type for the retailer.

[edit routing-instances RetailerInstance1]


user@host# set instance-type l2backhaul-vpn

5. Specify the access interface for the retailer.

[edit routing-instances RetailerInstance1]


user@host# set interface ge-2/3/0.0

6. Specify that access ports in this VLAN domain do not forward packets to each other.

[edit routing-instances RetailerInstance1]


user@host# set no-local-switching

7. Specify a unique identifier attached to a route that enables you to distinguish to which
VPN the route belongs.

[edit routing-instances RetailerInstance1]


user@host# set route-distinguisher 10.10.1.1:1

8. (Optional) Specify a VRF target community.

[edit routing-instances RetailerInstance1]


user@host# set vrf-target target:100:1

NOTE: The purpose of the vrf-target statement is to simplify the


configuration by allowing you to configure most statements at the [edit
routing-instances] hierarchy level.

138 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

9. Define the VPLS protocol for the routing instance.

a. Access the routing instance protocols hierarchy.

[edit routing-instances RetailerInstance1]


user@host# edit protocols

b. Enable VPLS on the routing instance.

[edit routing-instances RetailerInstance1 protocols]


user@host# edit vpls

c. Specify the maximum number of sites allowed for the VPLS domain.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set site-range 10

d. Specify the size of the VPLS MAC address table for the routing instance.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set mac-table-size 6000

e. Specify the maximum number of MAC addresses that can be learned by the VPLS
routing instance.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set interface-mac-limit 2000

f. (Optional) Specify the no-tunnel-services statement if the router does not have a
Tunnel Services PIC.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set no-tunnel-services

g. Specify a site name.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set site A-PE

h. Specify a site identifier.

[edit routing-instances RetailerInstance1 protocols vpls site A-PE]


user@host# set site-identifier 1

10. Repeat this procedure for other retailers. In this example, you must configure a routing
instance for Retailer 2.

Related • Configuring VPLS Routing Instances


Documentation
• Configuring Routing Instances

• Configuring NNI ISP-Facing Interfaces for the Layer 2 Wholesale Solution on page 136

• Configuring Separate NNI Routing Instances for Layer 2 Wholesale Service Retailers
on page 140

Copyright © 2011, Juniper Networks, Inc. 139


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring Separate NNI Routing Instances for Layer 2 Wholesale Service Retailers

As the owner of the system, the wholesaler uses the default routing instance. You must
create separate routing instances for each individual retailer to keep routing information
for individual retailers separate and to define any servers and forwarding options specific
to each retailer.

When creating separate routing instances, it is important to understand the role that the
router plays in the Layer 2 Wholesale network and specify that role (either access or NNI)
in the routing instance configuration. If the router connects to the access portion of the
network (for example, to an MSAN device) , you must configure the routing instances as
an access routing instance. See “Configuring Separate Access Routing Instances for Layer
2 Wholesale Service Retailers” on page 137.

To define a retailer routing instance:

1. Create the retailer routing instance.

[edit]
user@host# edit routing-instances RetailerInstance1

2. Specify the VLAN model that you want the retailer to follow.

[edit routing-instances RetailerInstance1]


user@host# set vlan-model one-to-one

3. Specify the role that you want the routing instance to take.

[edit routing-instances RetailerInstance1]


user@host# set instance-role nni

4. Specify the routing instance type for the retailer.

[edit routing-instances RetailerInstance1]


user@host# set instance-type l2backhaul-vpn

5. Define the NNI ISP-facing interface for this retailer.

[edit routing-instances RetailerInstance1]


user@host# set interface ge-1/1/0.0

6. Specify that access ports in this VLAN domain do not forward packets to each other.

[edit routing-instances RetailerInstance1]


user@host# set no-local-switching

7. Specify a unique identifier attached to a route that enables you to distinguish to which
VPN the route belongs.

[edit routing-instances RetailerInstance1]


user@host# set route-distinguisher 10.10.1.1:1

8. (Optional) Specify a VRF target community.

[edit routing-instances RetailerInstance1]


user@host# set vrf-target target:100:1

140 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

NOTE: The purpose of the vrf-target statement is to simplify the


configuration by allowing you to configure most statements at the [edit
routing-instances] hierarchy level.

9. Define the VPLS protocol for the routing instance.

a. Access the routing instance protocols hierarchy.

[edit routing-instances RetailerInstance1]


user@host# edit protocols

b. Enable VPLS on the routing instance.

[edit routing-instances RetailerInstance1 protocols]


user@host# edit vpls

c. Specify the maximum number of sites allowed for the VPLS domain.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set site-range 1000

d. (Optional) Specify the no-tunnel-services statement if the router does not have a
Tunnel Services PIC.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set no-tunnel-services

e. Specify a site name.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set site A-PE

f. Specify a site identifier.

[edit routing-instances RetailerInstance1 protocols vpls site A-PE]


user@host# set site-identifier 1

g. Define the connectivity of the VPLS routing instance as permanent to keep the
VPLS connection up until specifically taken down.

[edit routing-instances RetailerInstance1 protocols vpls]


user@host# set connectivity-type permanent

10. Repeat this procedure for other retailers.

Related • Configuring VPLS Routing Instances


Documentation
• Configuring Routing Instances

• Configuring VLAN Interfaces for the Layer 2 Wholesale Solution on page 134

• Configuring Separate Access Routing Instances for Layer 2 Wholesale Service Retailers
on page 137

Copyright © 2011, Juniper Networks, Inc. 141


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Configuring Access Components for the Layer 2 Wholesale Network Solution

When configuring a wholesale network, you must configure several components globally.
This configuration provides access to RADIUS servers (if used) that you want the
wholesaler and any configured retailers to use globally. The access configuration includes
the following general steps:

• Configuring RADIUS Server Access on page 142


• Configuring a Layer 2 Wholesaler Access Profile on page 142

Configuring RADIUS Server Access


You can globally define any RADIUS servers in your network that either the wholesale
access profile or retailer access profile can use. After you define the global RADIUS
servers, you can specify specific RADIUS servers within individual access profiles.

To define RADIUS servers for profile access:

1. Access the [edit access radius-server] hierarchy level.

[edit ]
user@host# edit access radius-server

2. Specify the address and secret for any RADIUS servers in the network.

[edit access radius-server]


user@host# set 192.168.10.1 secret $9$CzBxBBf1eWx-wM8xgaU.m345B02EcyKXL
user@host# set 10.10.10.1 secret $7$OsCsBAf1fXx-wY3xgaU.m123A02ZtyNMT

Configuring a Layer 2 Wholesaler Access Profile


You must define the network and interface over which you want subscribers to initially
access the network with a wholesale access profile. When a subscriber attempts to
access the network, the access profile provides initial access information including
authentication and accounting values that the router uses for the accessing subscriber.

To define a wholesale access profile:

1. Create the wholesale access profile.

[edit]
user@host# edit access profile AccessProfile

2. Specify the authentication methods for the profile and the order in which they are
used.

[edit access profile AccessProfile]


user@host# set authentication-order radius password

3. Specify that you want to configure RADIUS support.

[edit access profile AccessProfile]


user@host# edit radius

4. Specify the IP address of the RADIUS server used for authentication.

142 Copyright © 2011, Juniper Networks, Inc.


Chapter 18: Configuring the Broadband Subscriber Management Layer 2 Wholesale Network Solution

[edit access profile AccessProfile radius]


user@host# set authentication-server 10.10.10.1

5. Specify the IP address of the RADIUS server used for accounting.

[edit access profile AccessProfile radius]


user@host# set accounting-server 10.10.10.1

Copyright © 2011, Juniper Networks, Inc. 143


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

144 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 19

Broadband Subscriber Management Layer


2 Wholesale Network Configuration
Examples

• Example: Retailer Dynamic Profile for a Layer 2 Wholesale Network on page 145
• Example: Access Interface for a Layer 2 Wholesale Network on page 146
• Example: Retailer Access Routing Instances for a Layer 2 Wholesale Network on page 146
• Example: Retailer NNI ISP-Facing Interfaces for a Layer 2 Wholesale Network on page 147
• Example: Retailer Direct ISP-Facing Interface for a Layer 2 Wholesale
Network on page 147

Example: Retailer Dynamic Profile for a Layer 2 Wholesale Network

dynamic-profiles {
Subscriber_Profile_Retail1 {
routing-instances {
"$junos-routing-instance" {
interface "$junos-interface-name";
}
}
interfaces {
"$junos-interface-ifd-name" {
unit "$junos-interface-unit" {
encapsulation vlan-vpls;
vlan-tags outer "$junos-stacked-vlan-id" inner "$junos-vlan-id";
input-vlan-map {
swap;
vlan-id "$junos-vlan-map-id";
}
output-vlan-map swap;
family vpls;
}
}
}
}

Copyright © 2011, Juniper Networks, Inc. 145


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Example: Access Interface for a Layer 2 Wholesale Network

interfaces {
ge-2/3/0 {
flexible-vlan-tagging;
auto-configure {
stacked-vlan-ranges {
dynamic-profile Subscriber_Profile_Retail1 {
accept any;
ranges {
any,any;
}
}
access-profile AccessProfile;
}
}
encapsulation flexible-ethernet-services;
}

Example: Retailer Access Routing Instances for a Layer 2 Wholesale Network

routing-instances {
Retailer_Instance1 {
vlan-model one-to-one;
instance-role access;
instance-type l2backhaul-vpn;
interface ge-1/1/0.0
no-local-switching;
route-distinguisher 10.10.1.1:1;
vrf-target target:100:1;
protocols {
vpls {
site-range 10;
mac-table-size {
6000;
}
interface-mac-limit {
2000;
}
no-tunnel-services;
site A-PE {
site-identifier 1;
}
}
}
}
Retailer_Instance2 {
vlan-model one-to-one;
instance-role access;
instance-type l2backhaul-vpn;
interface ge-2/2/0.0
no-local-switching;
route-distinguisher 10.10.1.1:2;
vrf-target target:300:1;

146 Copyright © 2011, Juniper Networks, Inc.


Chapter 19: Broadband Subscriber Management Layer 2 Wholesale Network Configuration Examples

protocols {
vpls {
site-range 1000;
no-tunnel-services;
site A-PE {
site-identifier 1;
}
}
}
}
}

Example: Retailer NNI ISP-Facing Interfaces for a Layer 2 Wholesale Network

interfaces {
ge-1/1/0 {
description Retailer 1 NNI ISP-facing interface;
encapsulation ethernet-vpls;
unit 0{
}
interfaces {
ge-2/2/0 {
description Retailer 2 NNI ISP-facing interface;
encapsulation ethernet-vpls;
unit 0;
}

Example: Retailer Direct ISP-Facing Interface for a Layer 2 Wholesale Network

interfaces {
ge-1/1/0 {
description Retailer 1 Direct ISP-facing interface;
encapsulation ethernet-vpls;
unit 1
family vpls {
core-facing;
}
}
}

Copyright © 2011, Juniper Networks, Inc. 147


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

148 Copyright © 2011, Juniper Networks, Inc.


PART 7

Monitoring Broadband Subscriber


Management Solutions
• Related Broadband Subscriber Management CLI Commands on page 151

Copyright © 2011, Juniper Networks, Inc. 149


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

150 Copyright © 2011, Juniper Networks, Inc.


CHAPTER 20

Related Broadband Subscriber


Management CLI Commands

You can use a number of Junos OS CLI commands to monitor and troubleshoot a
configured subscriber management solution. The following sections provide links to CLI
commands that are related to the subscriber management configuration and where to
locate details about each command.

• Subscriber Management AAA and Address Assignment Pool CLI Commands on page 151
• Subscriber Management DHCPv4 Local Server CLI Commands on page 152
• Subscriber Management DHCPv6 Local Server CLI Commands on page 152
• Subscriber Management DHCP Relay CLI Commands on page 152
• Subscriber Management Interface CLI Commands on page 153
• Subscriber Management Dynamic Protocol CLI Commands on page 153
• Subscriber Management Subscriber CLI Commands on page 154

Subscriber Management AAA and Address Assignment Pool CLI Commands

Table 10 on page 151 provides a list of AAA–related and address assignment pool CLI
commands that are associated with subscriber management configuration. These
commands appear in the Junos OS System Basics and Services Command Reference.

Table 10: Subscriber Management AAA and Address Assignment Pools CLI Commands
CLI Command Purpose

show network-access aaa statistics Display AAA accounting and authentication statistics.

show network-access aaa subscribers Display subscriber-specific AAA statistics.

show network-access address-assignment pool Display state information for each address-assignment pool.

Copyright © 2011, Juniper Networks, Inc. 151


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Subscriber Management DHCPv4 Local Server CLI Commands

Table 11 on page 152 provides a list of DHCPv4 local server–related CLI commands that
are associated with subscriber management configuration. These commands appear in
the Junos OS System Basics and Services Command Reference.

Table 11: Subscriber Management DHCPv4 Local Server CLI Commands


CLI Command Purpose

show dhcp server binding Display the address bindings in the client table on the extended Dynamic Host
Configuration Protocol version 4 (DHCPv4) local server.

show dhcp server statistics Display extended Dynamic Host Configuration Protocol version 4 (DHCPv4) local
server statistics.

clear dhcp server binding Clear the binding state of a Dynamic Host Configuration Protocol version 4 (DHCPv4)
client from the client table on the extended DHCPv4 local server.

clear dhcp server statistics Clear all extended Dynamic Host Configuration Protocol version 4 (DHCPv4) local
server statistics.

Subscriber Management DHCPv6 Local Server CLI Commands

Table 12 on page 152 provides a list of DHCPv6 local server–related CLI commands that
are associated with subscriber management configuration. These commands appear in
the Junos OS System Basics and Services Command Reference.

Table 12: Subscriber Management DHCPv6 Local Server CLI Commands


CLI Command Purpose

show dhcpv6 server binding Display the address bindings in the client table on the extended Dynamic Host
Configuration Protocol version 6 (DHCPv6) local server.

show dhcpv6 server statistics Display extended Dynamic Host Configuration Protocol version 6 (DHCPv6) local
server statistics.

clear dhcpv6 server binding Clear the binding state of a Dynamic Host Configuration Protocol version 6 (DHCPv6)
client from the client table on the extended DHCPv6 local server.

clear dhcpv6 server statistics Clear all extended Dynamic Host Configuration Protocol version 6 (DHCPv6) local
server statistics.

Subscriber Management DHCP Relay CLI Commands

Table 13 on page 153 provides a list of DHCP relay–related CLI commands that are
associated with subscriber management configuration. These commands appear in the
Junos OS Routing Protocols and Policies Command Reference.

152 Copyright © 2011, Juniper Networks, Inc.


Chapter 20: Related Broadband Subscriber Management CLI Commands

Table 13: Subscriber Management DHCP Relay CLI Commands


CLI Command Purpose

show dhcp relay binding Display the address bindings in the Dynamic Host Configuration Protocol (DHCP)
client table.

show dhcp relay statistics Display Dynamic Host Configuration Protocol (DHCP) relay statistics.

clear dhcp relay binding Clear the binding state of a Dynamic Host Configuration Protocol (DHCP) client
from the client table.

clear dhcp relay statistics Clear all Dynamic Host Configuration Protocol (DHCP) relay statistics.

Subscriber Management Interface CLI Commands

Table 14 on page 153 provides a list of interface–related CLI commands that are associated
with subscriber management configuration. These commands appear in the Junos OS
Interfaces Command Reference.

Table 14: Subscriber Management Interface CLI Commands


CLI Command Purpose

show interfaces (Loopback) Display information about configured loopback interfaces.

show interfaces (Aggregated Ethernet) Display information about configured interfaces. This command includes
brief, detail, and extensive options that you can use to view all interfaces
show interfaces (Fast Ethernet) or a specific Ethernet or LAG interface.

show interfaces (Gigabit Ethernet)

show interfaces demux0 (Demux Interfaces) Display information about configured Demux interfaces.

show interfaces filters Display all firewall filters that are installed on each interface.

show interfaces (PPPoE) Display status information about the PPPoE interface.

show interfaces routing Have the routing protocol process display its view of the state of the router's
interfaces.

show ppp interfacepp0 Display information about PPP interfaces.

Subscriber Management Dynamic Protocol CLI Commands

Table 15 on page 154 provides a list of dynamic protocol–related CLI commands that are
associated with subscriber management configuration. These commands appear in the
Junos OS Routing Protocols and Policies Command Reference.

Copyright © 2011, Juniper Networks, Inc. 153


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

Table 15: Subscriber Management Dynamic Protocol CLI Commands


CLI Command Purpose

show igmp interface Display information about Internet Group Management Protocol (IGMP)-enabled
interfaces.

show igmp statistics Display Internet Group Management Protocol (IGMP) statistics.

Subscriber Management Subscriber CLI Commands

Table 16 on page 154 provides the subscriber–related CLI command that is associated
with subscriber management configuration. This command appears in the Junos OS
System Basics and Services Command Reference.

Table 16: Subscriber Management Subscriber CLI Commands


CLI Command Purpose

show subscribers Display information for active subscribers.

154 Copyright © 2011, Juniper Networks, Inc.


PART 8

Index
• Index on page 157

Copyright © 2011, Juniper Networks, Inc. 155


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

156 Copyright © 2011, Juniper Networks, Inc.


brackets
angle, in syntax descriptions....................................xvii
square, in configuration statements.....................xviii
broadband access networks
delivery options.................................................................11
Index DHCP..................................................................................25
FTTx......................................................................................13
history of..............................................................................9
Symbols IGMP model.....................................................................24
#, comments in configuration statements.................xviii residential broadband topology.................................4
( ), in syntax descriptions..................................................xviii using DHCP.........................................................................11
< >, in syntax descriptions..................................................xvii using PPP...........................................................................10
[ ], in configuration statements.......................................xviii broadband services router (BSR)......................................15
{ }, in configuration statements......................................xviii high-speed Internet access support........................15
| (pipe), in syntax descriptions........................................xviii IPTV support.....................................................................16
network placement........................................................16
A overview..............................................................................15
AAA service framework broadband subscriber management
configuring.........................................................................51 AAA service framework...............................................26
monitoring........................................................................151 basic topology..................................................................21
access class of service................................................................26
Layer 2 wholesale.........................................................142 configuration overview.................................................39
Layer 3 wholesale DHCP..................................................................................25
DHCP..................................................................70, 96 edge routers......................................................................15
PPPoE.......................................................................116 Layer 2 wholesale topology......................................127
access network delivery Layer 3 wholesale topology
active Ethernet.................................................................12 DHCPv4....................................................................63
digital subscriber line......................................................11 DHCPv6....................................................................89
passive optical networking..........................................12 PPPoE........................................................................111
access profile licensing.............................................................................27
retailer monitoring........................................................................151
DHCP....................................................................71, 97 platform support..............................................................4
PPPoE........................................................................117 residential broadband topology.................................4
wholesaler.......................................................................142 solution overview..............................................................3
DHCP....................................................................71, 97 supporting documentation...........................................7
PPPoE........................................................................117 terms.....................................................................................5
active Ethernet..........................................................................12 VLAN architecture..........................................................22
address assignment pool BSR See broadband services router
128-bit address
DHCPv6 example...............................................106 C
74-bit prefix class of service
DHCPv6 example...............................................106 configuring........................................................................45
configuring................................................................53, 101 configuring classifiers...................................................48
address server configuring forwarding classes.................................46
configuring................................................................53, 101 configuring scheduler maps......................................48
configuring schedulers.................................................47
B classifiers
braces, in configuration statements..............................xviii configuring........................................................................48
CLI commands........................................................................151

Copyright © 2011, Juniper Networks, Inc. 157


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

comments, in configuration statements.....................xviii extended DHCP


conventions configuring
text and syntax..............................................................xvii local server.....................................................54, 103
curly braces, in configuration statements...................xviii monitoring........................................................................151
customer support.................................................................xviii local server.............................................................152
contacting JTAC............................................................xviii relay server
customer VLAN monitoring..............................................................152
configuring.........................................................................41
configuring dynamic.....................................................42 F
overview.............................................................................22 fiber-optic delivery
FTTx......................................................................................13
D firewall filters
DHCP See extended DHCP configuring........................................................................50
digital subscriber line (DSL).................................................11 font conventions....................................................................xvii
documentation forwarding classes
comments on................................................................xviii configuring........................................................................46
DSL See digital subscriber line forwarding options
dynamic profiles configuring.........................................................................77
configuring DHCP..........................................................58 DHCPv4 example...........................................................82
configuring pp0..............................................................56
DHCPv4 retailer example...........................................82 G
DHCPv4 wholesaler example....................................81 global elements
DHCPv6 retailer example.........................................105 configuring........................................................................39
firewall filter configuration.........................................50
Layer 2 wholesale retailer example.......................145 H
PPPoE wholesaler example.....................................123 HFC See hybrid fiber coaxial
retailer hybrid customer VLAN..........................................................22
DHCPv4.....................................................................74 hybrid fiber coaxial (HFC).....................................................13
DHCPv6....................................................................99
Layer 2 wholesale.................................................131 I
wholesale network icons defined, notice..............................................................xvi
DHCPv4.....................................................................72 IGMP
DHCPv6....................................................................98 network models..............................................................24
PPPoE.......................................................................118 interface
wholesaler direct ISP-facing............................................................147
DHCP.........................................................................98 Layer 2 wholesale example......................................146
DHCPv4.....................................................................73 NNI ISP-facing................................................................147
PPPoE.......................................................................119 interfaces
dynamic protocols loopback
monitoring.......................................................................153 configuring...............................................................40
DHCPv4 Layer 3 wholesale...............................66
E DHCPv6 Layer 3 wholesale...............................92
edge router placement PPPoE Layer 3 wholesale..................................114
multiedge network..........................................................17 monitoring.......................................................................153
single-edge network......................................................16
L
Layer 2 wholesale
access...............................................................................142
access profile.................................................................142

158 Copyright © 2011, Juniper Networks, Inc.


Index

basic topology................................................................127 dynamic VLAN


configuration elements...............................................127 DHCPv4....................................................................68
configuration options DHCPv6....................................................................94
DHCPv4....................................................................30 forwarding options
DHCPv6....................................................................30 configuring................................................................77
direct interface...............................................................147 interface support.............................................................31
dynamic profiles.............................................................131 local server
retailer example...................................................145 DHCPv6 example................................................107
interface...........................................................................146 overview.............................................................................29
NNI interface...................................................................147 RADIUS VSAs...................................................................33
overview.............................................................................29 reference topology
reference topology.......................................................129 DHCPv4....................................................................65
routing instances........................................137, 140, 146 DHCPv6.....................................................................91
Layer 3 wholesale PPPoE.......................................................................113
access routing instances
DHCP..................................................................70, 96 DHCP..........................................................................75
PPPoE.......................................................................116 DHCPv4 example..................................................83
RADIUS server................................70, 96, 116, 142 DHCPv6...................................................................101
access profile DHCPv6 example...............................................106
DHCP....................................................................71, 97 PPPoE......................................................................120
PPPoE........................................................................117 PPPoE example....................................................124
address assignment pool static VLAN
DHCPv6 example...............................................106 DHCPv4.....................................................................67
basic topology DHCPv6....................................................................94
DHCPv4....................................................................63 PPPoE.......................................................................115
DHCPv6....................................................................89 vlans
PPPoE........................................................................111 DHCPv4.....................................................................67
configuration elements DHCPv6....................................................................93
DHCPv4....................................................................63 licensing......................................................................................27
DHCPv6....................................................................89 local server
PPPoE........................................................................111 configuring DHCP.................................................54, 103
configuration options DHCPv6 example.........................................................107
DHCPv4....................................................................30 monitoring.......................................................................152
DHCPv6....................................................................30 logical systems
PPPoE.......................................................................30 subscriber relationship with.......................................32
DHCP support..................................................................31 loopback interface
DHCPv4 Layer 3 wholesale
forwarding options example.............................82 DHCPv4....................................................................66
dynamic profiles DHCPv6....................................................................92
DHCP.........................................................................98 PPPoE.......................................................................114
DHCPv4.......................................................72, 73, 74 subscriber management............................................40
DHCPv4 retailer example..................................82
DHCPv4 wholesaler example...........................81 M
DHCPv6............................................................98, 99 manuals
DHCPv6 retailer example................................105 comments on................................................................xviii
PPPoE...............................................................118, 119 MSAN See multiservice access node
PPPoE wholesaler example.............................123 multiplay
overview...............................................................................8

Copyright © 2011, Juniper Networks, Inc. 159


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

multiservice access node (MSAN) subscriber management


choosing.............................................................................18 dynamic protocols
delivery options...............................................................19 monitoring..............................................................153
overview..............................................................................17 interfaces
VLAN interaction............................................................23 monitoring..............................................................153
subscribers
N monitoring..............................................................154
notice icons defined..............................................................xvi subscribers
monitoring.......................................................................154
P support, technical See technical support
parentheses, in syntax descriptions..............................xviii syntax conventions...............................................................xvii
passive optical networking (PON)
APON...................................................................................12 T
BPON...................................................................................12 technical support
defined................................................................................12 contacting JTAC............................................................xviii
EPON....................................................................................12 topology
GPON...................................................................................12 Layer 2 wholesale network........................................127
optical line terminator...................................................12 Layer 3 wholesale network
WDM-PON.........................................................................12 DHCPv4....................................................................63
PON See passive optical networking DHCPv6....................................................................89
PPPoE........................................................................111
R subscriber management network............................21
RADIUS traffic classifiers
access profile...................................................................52 configuring........................................................................48
configuring server access.............................................51 triple play
wholesale VSA support...............................................33 DHCP dynamic profile configuration......................58
RADIUS server overview...............................................................................8
access configuration PPPoE dynamic profile configuration....................56
configuring.......................................70, 96, 116, 142 topology overview..........................................................37
relay server
monitoring.......................................................................152 V
routing instances video services router (VSR).................................................15
retailer network placement........................................................16
DHCPv4.....................................................................75 overview.............................................................................16
DHCPv4 example..................................................83 VLAN
DHCPv6...................................................................101 configuring customer VLANs......................................41
DHCPv6 example...............................................106 customer VLAN...............................................................22
Layer 2 wholesale.......................................137, 140 DHCPv4 wholesale
Layer 2 wholesale example.............................146 dynamic configuration........................................68
PPPoE......................................................................120 static configuration...............................................67
PPPoE example....................................................124 DHCPv6 wholesale
subscriber relationship with.......................................32 dynamic configuration........................................94
static configuration..............................................94
S dynamic customer VLANs..........................................42
scheduler maps Ethernet aggregation and...........................................23
configuring........................................................................48 hybrid..................................................................................22
schedulers multiservice access node interaction.....................23
configuring........................................................................47 PPPoE wholesale
service VLAN.............................................................................22 static configuration..............................................115

160 Copyright © 2011, Juniper Networks, Inc.


Index

residential gateway interaction................................24


service VLAN....................................................................22
VSR See video services router

W
wholesale See Layer 2 wholesale See Layer 3
wholesale

Copyright © 2011, Juniper Networks, Inc. 161


Junos OS 11.4 Broadband Subscriber Management Solutions Guide

162 Copyright © 2011, Juniper Networks, Inc.

You might also like