Cisco IOS XR Software Release 5.2 Configuration Guide

Type
Configuration Guide
Cisco ASR 9000 Series Aggregation Services Router Broadband
Network Gateway Configuration Guide, Release 5.2.x
First Published: 2014-07-03
Last Modified: 2014-10-24
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version
of the UNIX operating system. All rights reserved. Copyright ©1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://
www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
©2014 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface
Preface xi
Changes to This Document xi
Obtaining Documentation and Submitting a Service Request xi
CHAPTER 1
New and Changed BNG Features 1
New and Changed BNG Feature Information 1
CHAPTER 2
Broadband Network Gateway Overview 5
Understanding BNG 5
BNG Architecture 6
BNG Role in ISP Network Models 8
BNG Packaging 9
Installing and Activating the BNG Pie on Cisco ASR 9000 Series Router 9
BNG Configuration Process 11
Hardware Requirements for BNG 11
BNG Interoperability 12
BNG Smart Licensing 13
CHAPTER 3
Configuring Authentication, Authorization, and Accounting Functions 15
AAA Overview 16
Using RADIUS Server Group 17
Configuring RADIUS Server Group 17
Specifying Method List 19
Configuring Method Lists for AAA 20
Defining AAA Attributes 21
Creating Attributes of Specific Format 22
Configuring RADIUS Attribute List 27
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
iii
Configuring RADIUS Attribute Format 28
Configuring RADIUS Attribute Nas-port-type 29
Configuring AAA Attribute Format Function 30
Making RADIUS Server Settings 31
Configuring RADIUS Server Settings 32
Configuring Automated Testing 36
Setting IP DSCP for RADIUS Server 36
Balancing Transaction Load on the RADIUS Server 37
Configuring Load Balancing for Global RADIUS Server Group 38
Configuring Load Balancing for a Named RADIUS Server Group 39
Throttling of RADIUS Records 39
Configuring RADIUS Throttling Globally 40
Configuring RADIUS Throttling on a Server Group 41
RADIUS Change of Authorization (CoA) Overview 43
Multi-Action Change of Authorization 45
Generating Accounting Records 46
High Availability for MA-CoA 46
An Example with Verification Commands 47
Restrictions in Multi-Action Change of Authorization 50
User Authentication and Authorization in the Local Network 50
Policy Configurations for IPoE Sessions 51
Policy Configurations for PTA Sessions 54
Service Accounting 55
Configuring Service Accounting 56
Statistics Infrastructure 58
Configuring Statistics IDs (statsD) 59
Understanding Per-VRF AAA Function 59
RADIUS Double-Dip Feature 60
Additional References 60
CHAPTER 4
Activating Control Policy 63
Control Policy Overview 63
Creating Class-Map 65
Configuring a Class-Map 65
Creating Policy-Map 66
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
iv
Contents
Control Policy Events 66
Configuring a Policy-Map 68
Activating Policy-Map 70
Enabling a Service-Policy on a Subscriber Interface 70
Defining Dynamic Templates 70
Additional References 72
CHAPTER 5
Establishing Subscriber Sessions 73
Subscriber Session Overview 74
Establishing IPoE Session 76
Enabling IPv4 or IPv6 on an Access Interface 78
Creating Dynamic Template for IPv4 or IPv6 Subscriber Session 79
Creating a Policy-Map to Run During IPoE Session 81
Enabling IPoE Subscribers on an Access Interface 82
Routed Subscriber Sessions 85
DHCP-initiated Routed Subscriber Sessions 87
Call Flow of DHCPv4-initiated Routed Subscriber Sessions 88
Packet-triggered Routed Subscriber Sessions 89
Deployment Model for IPv6 Routed Network 90
Call Flow of IPv6 Routed Subscriber Session 91
Restrictions for Routed Subscriber Sessions 91
Configuring Routed Subscriber Sessions 92
Establishing PPPoE Session 94
Provisioning PPP PTA Session 95
Creating PPPoE Profiles 95
Creating a PPP Dynamic-Template 96
Creating a Policy-Map to Run During PPPoE Session 97
Modifying VRF for PPPoE Sessions 99
Applying the PPPoE Configurations to an Access Interface 100
Provisioning PPP LAC Session 101
Configuring the VPDN Template 102
Configuring Maximum Simultaneous VPDN Sessions 104
Activating VPDN Logging 105
Configuring Options to Apply on Calling Station ID 106
Configuring L2TP Session-ID Commands 107
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
v
Contents
Configuring L2TP Class Options 108
Configuring Softshut for VPDN 110
L2TP Reassembly on LAC 111
Enabling L2TP Reassembly on LAC 112
L2TP Access Concentrator Stateful Switchover 113
Enabling LAC SSO 113
Enabling RPFO on Process-failures 114
PPPoE Smart Server Selection 115
Configuring PADO Delay 116
PPPoE Session Limit, Throttle and In-flight-window 118
PPPoE Session Limit 118
Configuring PPPoE Session Limit 118
PPPoE Session Throttle 119
Configuring PPPoE Session Throttle 120
PPPoE In-flight-window 121
Making DHCP Settings 121
Enabling DHCP Proxy 122
Configuring DHCP IPv4 Profile Proxy Class 123
Configuring a Circuit-ID for an Interface 124
Configuring a Remote-ID 125
Configuring the Client Lease Time 126
Attaching a Proxy Profile to an Interface 127
DHCPv4 Server 128
Enabling DHCP Server 128
Configuring DHCPv4 Server Profile 129
Specifying DHCP Lease Limit 132
Specifying the Lease Limit for a Circuit-ID 132
Specifying the Lease Limit for a Remote-ID 133
Specifying the Lease Limit for an Interface 134
Understanding DHCP Option-82 135
Option 82 Relay Information Encapsulation 136
Configuring DHCPv4 Class of Service (CoS) 136
DHCP RADIUS Proxy 136
Subscriber Session-Restart 137
DHCP Session MAC Throttle 137
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
vi
Contents
DHCPv6 Overview 138
DHCPv6 Server and DHCPv6 Proxy 139
Enabling DHCPv6 for Different Configuration Modes 139
Setting Up DHCPv6 Parameters 142
DHCPv6 Features 144
High Availability Support for DHCPv6 145
DHCPv6 Prefix Delegation 145
IPv6 IPoE Subscriber Support 145
Configuring IPv6 IPoE Subscriber Interface 146
IPv6 PPPoE Subscriber Support 152
Configuring IPv6 PPPoE Subscriber Interfaces 152
Ambiguous VLAN Support 158
Configuring Ambiguous VLANs 158
DHCPv6 Address or Prefix Pool 160
Configuring IPv6 Address or Prefix Pool Name 160
DHCPv6 Dual-Stack Lite Support 162
Configuring AFTR Fully Qualified Domain Name for DS-Lite 163
VRF Awareness in DHCPv6 164
Defining VRF in a Dynamic Template 164
Rapid commit 165
Packet Handling on Subscriber Interfaces 165
IPv6 Neighbor Discovery 167
Line Card Subscribers 167
External Interaction for LC Subscribers 168
Benefits and Restrictions of Line Card Subscribers 168
High Availability for Line Card Subscribers 169
Static Sessions 170
Restrictions for static sessions 171
Subscriber Session Limit 171
eBGP over PPPoE 172
BNG over Pseudowire Headend 173
QoS on BNG Pseudowire Headend 173
Features Supported for BNG over Pseudowire Headend 174
Unsupported Features and Restrictions for BNG over Pseudowire Headend 175
Additional References 175
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
vii
Contents
CHAPTER 6
Deploying the Quality of Service (QoS) 177
Quality of Service Overview 178
Configuring Service-policy and Applying Subscriber Settings Through RADIUS 179
Configuring Service-policy and Applying Subscriber Settings Through Dynamic
Template 180
Parameterized QoS 183
Parameterized QoS Syntax 184
Configuring Parameterized QoS Policy Through RADIUS 189
Modifying Service Policy through CoA 191
RADIUS Based Policing - QoS Shaper Parameterization 193
Sample Configuration and Use Cases for QoS Shaper Parameterization 194
Verification of QoS Shaper Parameterization Configurations 194
Supported Scenarios of QoS Shaper Parameterization 197
Restrictions of QoS Shaper Parameterization 197
QoS Accounting 198
Configuring QoS Accounting 199
Support for Shared Policy Instance 200
Configuring a Policy with SPI in the Input or Output Direction Using Dynamic
Template 201
Configuring a Policy with SPI in the Input or Output Direction Using RADIUS 204
Merging QoS Policy-maps 206
Enabling Policy-maps Merge 206
QoS Features Supported on BNG 210
VLAN Policy on Access Interface 214
Configuring Policy on S-VLAN 214
Configuring VLAN Policy on an Access Interface 215
Additional References 217
CHAPTER 7
Configuring Subscriber Features 219
CHAPTER 8
BNG Geo Redundancy 279
Geo Redundancy Overview 279
Subscriber Redundancy Group (SRG) 281
Session Distribution Across SRG 282
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
viii
Contents
Benefits of BNG Geo Redundancy 284
Supported Features in BNG Geo Redundancy 284
BNG Geo Redundancy Configuration Guidelines 285
Setting up BNG Subscriber Redundancy Group 287
Deployment Models for BNG Geo Redundancy 288
APPENDIX A
XML Support for BNG Features 289
AAA XML Support 289
DHCP XML Support 292
Control Policy XML Support 295
DAPS XML Support 298
PPPoE XML Support 300
Subscriber Database XML Support 302
APPENDIX B
RADIUS Attributes 307
RADIUS IETF Attributes 307
IETF Tagged Attributes on LAC 309
RADIUS Vendor-Specific Attributes 310
Vendor-Specific Attributes for Account Operations 315
RADIUS ADSL Attributes 315
RADIUS ASCEND Attributes 316
RADIUS Microsoft Attributes 317
RADIUS Disconnect-Cause Attributes 317
APPENDIX C
Action Handlers 323
APPENDIX D
BNG Use Cases and Sample Configurations 325
BNG over Pseudowire Headend 325
Sample Topology for BNG over Pseudowire Headend 325
Deployment Models for Subscribers on Pseudowire Headend 326
Residential Subscribers on Pseudowire Headend 326
Residential and Business Subscribers on Pseudowire Headend 328
Configuration and Verification of BNG over Pseudowire Headend 330
Sample Configurations for BNG over Pseudowire Headend 332
Dual-Stack Subscriber Sessions 334
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
ix
Contents
IP Address Assignment for Clients 334
Sample IPv6 Addressing and Configurations 335
IPv6 Address Mapping 335
CPE Configurations 335
DHCPv6 Server Configuration 336
Operation and Call Flow of Dual-Stack Sessions 336
Generic Call Flow of Dual-Stack Session 337
Detailed Call Flows - PPPoE Dual-Stack 339
Scenario 1: SLAAC-Based Address Assignment 339
Scenario 2: DHCPv6-Based Address Assignment 340
Detailed Call Flows - IPoE Dual-Stack 341
Scenario 1 - IPv4 Address-Family Starts First 341
Scenario 2 - IPv6 Address-Family Starts First 342
Sample Topology for Dual-Stack 343
Configuration Examples for Dual-Stack 343
Verification Steps for Dual-Stack 345
eBGP over PPPoE 346
Sample Topology for eBGP over PPPoE 346
Configuration and Verification of eBGP over PPPoE 347
Sample Configurations for eBGP over PPPoE 348
Routed Subscriber Sessions 354
Routed Subscriber Deployment Topology and Use Cases 354
Sample Configurations for Routed Subscriber Session 355
Verification of Routed Subscriber Session Configurations 357
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
x
Contents
Preface
From Release 6.1.2 onwards, Cisco introduces support for the 64-bit Linux-based IOS XR operating system.
Extensive feature parity is maintained between the 32-bit and 64-bit environments. Unless explicitly marked
otherwise, the contents of this document are applicable for both the environments. For more details on Cisco
IOS XR 64 bit, refer to the Release Notes for Cisco ASR 9000 Series Routers, Release 6.1.2 document.
This Preface contains these sections:
•Changes to This Document, page xi
•Obtaining Documentation and Submitting a Service Request, page xi
Changes to This Document
This table lists the technical changes made to this document since it was first released.
Table 1: Changes to This Document
SummaryDate
Republished with documentation updates for Cisco
IOS XR Release 5.2.2 features.
October 2014
Initial release of this document.July 2014
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, using the Cisco Bug Search Tool (BST), submitting a service
request, and gathering additional information, see What's New in Cisco Product Documentation.
To receive new and revised Cisco technical content directly to your desktop, you can subscribe to the What's
New in Cisco Product Documentation RSS feed. RSS feeds are a free service.
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
xi
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
xii
Preface
Obtaining Documentation and Submitting a Service Request
CHAPTER 1
New and Changed BNG Features
This table summarizes the new and changed feature information for the Cisco ASR 9000 Series Aggregation
Services Router Broadband Network Gateway Configuration Guide, and tells you where they are documented.
•New and Changed BNG Feature Information, page 1
New and Changed BNG Feature Information
Where DocumentedChanged in ReleaseDescriptionFeature
Establishing Subscriber
Sessions chapter:
•Geo Redundancy
Overview, on page 279
Refer Subscriber Commands
chapter in Cisco ASR 9000
Series Aggregation Services
Router Broadband Network
Gateway Command Reference,
for information on the
commands used for BNG Geo
Redundancy feature.
Release 5.2.2This feature was introduced.BNG Geo Redundancy
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
1
Where DocumentedChanged in ReleaseDescriptionFeature
Establishing Subscriber
Sessions chapter:
•Packet-triggered Routed
Subscriber Sessions, on
page 89
Refer IPoE Commands chapter
in Cisco ASR 9000 Series
Aggregation Services Router
Broadband Network Gateway
Command Reference, for
information on the commands
used for Packet-triggered
Routed Subscriber Sessions
feature.
Release 5.2.2This feature was introduced.Packet-triggered Routed
Subscriber Sessions
Establishing Subscriber
Sessions chapter:
•QoS on BNG Pseudowire
Headend, on page 173
Release 5.2.2QoS support was added for
BNG Pseudowire Headend
QoS on BNG Pseudowire
Headend
Configuring Subscriber
Features chapter:
•Randomization of Interim
Timeout of Sessions or
Services, on page 276
Refer Subscriber Commands
chapter in Cisco ASR 9000
Series Aggregation Services
Router Broadband Network
Gateway Command Reference,
for information on the
commands used for this feature.
Release 5.2.2New command was introduced
to support randomization of
interim timeout of subscriber
sessions or services
Randomization of Interim
Timeout of Subscriber Sessions
or Services
Broadband Network Gateway
Overview chapter:
•Hardware Requirements
for BNG, on page 11
Release 5.2.2BNG support was extended to
new line cards
Support for New Line Cards
Establishing Subscriber
Sessions chapter:
•BNG over Pseudowire
Headend , on page 173
Release 5.2.0This feature was introduced.BNG over Pseudowire Headend
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
2
New and Changed BNG Features
New and Changed BNG Feature Information
Where DocumentedChanged in ReleaseDescriptionFeature
Establishing Subscriber
Sessions chapter:
•eBGP over PPPoE, on
page 172
Release 5.2.0This feature was introduced.eBGP over PPPoE
Configuring Authentication,
Authorization and Accounting
Functions chapter:
•Multi-Action Change of
Authorization, on page
45
Refer Control Policy
Commands and Subscriber
Commands chapters in Cisco
ASR 9000 Series Aggregation
Services Router Broadband
Network Gateway Command
Reference, for information on
the commands used for
MA-CoA feature.
Release 5.2.0This feature was introduced.Multi-Action Change of
Authorization (MA-CoA)
Configuring Subscriber
Features chapter:
•Outer VLAN Range, on
page 239
Refer BNG Interface
Commands chapter in Cisco
ASR 9000 Series Aggregation
Services Router Broadband
Network Gateway Command
Reference, for information on
the commands used for Outer
VLAN Range feature.
Release 5.2.0This feature was introduced.Outer VLAN Range
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
3
New and Changed BNG Features
New and Changed BNG Feature Information
Where DocumentedChanged in ReleaseDescriptionFeature
Deploying the Quality of
Service (QoS) chapter:
•RADIUS Based Policing
- QoS Shaper
Parameterization, on page
193
Refer Control Policy
Commands chapter in Cisco
ASR 9000 Series Aggregation
Services Router Broadband
Network Gateway Command
Reference, for information on
the commands used for QoS
Shaper Parameterization
feature.
Release 5.2.0This feature was introduced.QoS Shaper Parameterization
Configuring Authentication,
Authorization and Accounting
Functions chapter:
•User Authentication and
Authorization in the Local
Network, on page 50
Release 5.2.0This feature was introduced.User Authentication and
Authorization in the Local
Network
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
4
New and Changed BNG Features
New and Changed BNG Feature Information
CHAPTER 2
Broadband Network Gateway Overview
This chapter provides an overview of the Broadband Network Gateway (BNG) functionality implemented
on the Cisco ASR 9000 Series Router.
Table 2: Feature History for Broadband Network Gateway Overview
ModificationRelease
Initial release of BNG.Release 4.2.0
•Understanding BNG, page 5
•BNG Architecture, page 6
•BNG Role in ISP Network Models, page 8
•BNG Packaging, page 9
•BNG Configuration Process, page 11
•Hardware Requirements for BNG, page 11
•BNG Interoperability, page 12
•BNG Smart Licensing, page 13
Understanding BNG
Broadband Network Gateway (BNG) is the access point for subscribers, through which they connect to the
broadband network. When a connection is established between BNG and Customer Premise Equipment (CPE),
the subscriber can access the broadband services provided by the Network Service Provide (NSP) or Internet
Service Provider (ISP).
BNG establishes and manages subscriber sessions. When a session is active, BNG aggregates traffic from
various subscriber sessions from an access network, and routes it to the network of the service provider.
BNG is deployed by the service provider and is present at the first aggregation point in the network, such as
the edge router. An edge router, like the Cisco ASR 9000 Series Router, needs to be configured to act as the
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
5
BNG. Because the subscriber directly connects to the edge router, BNG effectively manages subscriber access,
and subscriber management functions such as:
•Authentication, authorization and accounting of subscriber sessions
•Address assignment
•Security
•Policy management
•Quality of Service (QoS)
Some benefits of using BNG are:
•The BNG router not only performs the routing function but also communicates with authentication,
authorization, and accounting (AAA) server to perform session management and billing functions. This
makes the BNG solution more comprehensive.
•Different subscribers can be provided different network services. This enables the service provider to
customize the broadband package for each customer based on their needs.
BNG Architecture
The goal of the BNG architecture is to enable the BNG router to interact with peripheral devices (like CPE)
and servers (like AAA and DHCP), in order to provide broadband connectivity to subscribers and manage
subscriber sessions. The basic BNG architecture is shown in this figure.
Figure 1: BNG Architecture
The BNG architecture is designed to perform these tasks:
•Connecting with the Customer Premise Equipment (CPE) that needs to be served broadband services.
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
6
Broadband Network Gateway Overview
BNG Architecture
•Establishing subscriber sessions using IPoE or PPPoE protocols.
•Interacting with the AAA server that authenticates subscribers, and keeps an account of subscriber
sessions.
•Interacting with the DHCP server to provide IP address to clients.
The four BNG tasks are briefly explained in the following sections.
Connecting with the CPE
BNG connects to the CPE through a multiplexer and Home Gateway (HG). The CPE represents the triple
play service in telecommunications, namely, voice (phone), video (set top box), and data (PC). The individual
subscriber devices connect to the HG. In this example, the subscriber connects to the network over a Digital
Subscriber Line (DSL) connection. Therefore, the HG connects into a DSL Access Multiplexer (DSLAM).
Multiple HGs can connect to a single DSLAM that sends the aggregated traffic to the BNG router. The BNG
router routes traffic between the broadband remote access devices (like DSLAM or Ethernet Aggregation
Switch) and the service provider network.
Establishing Subscriber Sessions
Each subscriber (or more specifically, an application running on the CPE) connects to the network by a logical
session. Based on the protocol used, subscriber sessions are classified into two types:
•PPPoE subscriber session—The PPP over Ethernet (PPPoE) subscriber session is established using the
point-to-point (PPP) protocol that runs between the CPE and BNG.
•IPoE subscriber session—The IP over Ethernet (IPoE) subscriber session is established using IP protocol
that runs between the CPE and BNG; IP addressing is done using the DHCP protocol.
Interacting with the RADIUS Server
BNG relies on an external Remote Authentication Dial-In User Service (RADIUS) server to provide subscriber
Authentication, Authorization, and Accounting (AAA) functions. During the AAA process, BNG uses RADIUS
to:
•authenticate a subscriber before establishing a subscriber session
•authorize the subscriber to access specific network services or resources
•track usage of broadband services for accounting or billing
The RADIUS server contains a complete database of all subscribers of a service provider, and provides
subscriber data updates to the BNG in the form of attributes within RADIUS messages. BNG, on the other
hand, provides session usage (accounting) information to the RADIUS server. For more information about
RADIUS attributes, see RADIUS Attributes, on page 307.
BNG supports connections with more than one RADIUS server to have fail over redundancy in the AAA
process. For example, if RADIUS server A is active, then BNG directs all messages to the RADIUS server
A. If the communication with RADIUS server A is lost, BNG redirects all messages to RADIUS server B.
During interactions between the BNG and RADIUS servers, BNG performs load balancing in a round-robin
manner. During the load balancing process, BNG sends AAA processing requests to RADIUS server A only
if it has the bandwidth to do the processing. Else, the request is send to RADIUS server B.
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release
5.2.x
7
Broadband Network Gateway Overview
BNG Architecture
Interacting with the DHCP Server
BNG relies on an external Dynamic Host Configuration Protocol (DHCP) server for address allocation and
client configuration functions. BNG can connect to more than one DHCP server to have fail over redundancy
in the addressing process. The DHCP server contains an IP address pool, from which it allocates addresses
to the CPE.
During the interaction between BNG and the DHCP server, BNG acts as a DHCP relay or DHCP proxy.
As the DHCP relay, BNG receives DHCP broadcasts from the client CPE, and forwards the request to the
DHCP server.
As the DHCP proxy, BNG itself maintains the address pool by acquiring it from DHCP server, and also
manages the IP address lease. BNG communicates on Layer 2 with the client Home Gateway, and on Layer
3 with the DHCP server.
The DSLAM modifies the DHCP packets by inserting subscriber identification information. BNG uses the
identification information inserted by the DSLAM, as well as the address assigned by the DHCP server, to
identify the subscriber on the network, and monitor the IP address lease.
BNG Role in ISP Network Models
The role of BNG is to pass traffic from the subscriber to the ISP. The manner in which BNG connects to the
ISP depends on the model of the network in which it is present. There are two types of network models:
•Network Service Provider, on page 8
•Access Network Provider, on page 9
Network Service Provider
The following figure shows the topology of a Network Service Provider model.
Figure 2: Network Service Provider Model
In the Network Service Provider model, the ISP (also called the retailer) directly provides the broadband
connection to the subscriber. As shown in the above figure, BNG is at the edge router, and its role is to connect
to the core network through uplinks.
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide,
Release 5.2.x
8
Broadband Network Gateway Overview
BNG Role in ISP Network Models
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380

Cisco IOS XR Software Release 5.2 Configuration Guide

Type
Configuration Guide

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

Finding information in a document is now easier with AI