Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.X
Total Page:16
File Type:pdf, Size:1020Kb
Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.x First Published: 2017-03-17 Last Modified: 2017-07-14 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. All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version. Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices. 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: https://www.cisco.com/c/en/us/about/legal/trademarks.html. 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. (1721R) © 2017 Cisco Systems, Inc. All rights reserved. CONTENTS PREFACE Preface xiii Changes to This Document xiii Communications, Services, and Additional Information xiii CHAPTER 1 New and Changed BNG Features 1 BNG Features Added or Modified in IOS XR Release 6.2.x 1 CHAPTER 2 Broadband Network Gateway Overview 9 Understanding BNG 10 BNG Architecture 10 BNG Role in ISP Network Models 13 BNG Packaging 14 Installing and Activating the BNG Pie on Cisco ASR 9000 Series Router 14 BNG Configuration Process 15 Hardware Requirements for BNG 16 BNG Interoperability 18 BNG Smart Licensing 19 CHAPTER 3 Configuring Authentication, Authorization, and Accounting Functions 21 Configuring Authentication, Authorization, and Accounting Functions 22 AAA Overview 22 Using RADIUS Server Group 24 Configuring RADIUS Server Group 24 Specifying Method List 26 Configuring Method Lists for AAA 26 Defining AAA Attributes 28 Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.x iii Contents Creating Attributes of Specific Format 29 Configuring RADIUS Attribute List 34 Configuring RADIUS Attribute Format 36 Configuring RADIUS Attribute Nas-port-type 37 Configuring AAA Attribute Format Function 38 Suppressing Unassigned Attributes 39 Making RADIUS Server Settings 40 Configuring RADIUS Server Settings 41 Configuring Automated Testing 45 Setting IP DSCP for RADIUS Server 46 Balancing Transaction Load on the RADIUS Server 47 Configuring Load Balancing for Global RADIUS Server Group 48 Configuring Load Balancing for a Named RADIUS Server Group 49 Throttling of RADIUS Records 50 Configuring RADIUS Throttling Globally 51 Configuring RADIUS Throttling on a Server Group 52 RADIUS Change of Authorization (CoA) Overview 54 Multi-Action Change of Authorization 56 Generating Accounting Records 57 High Availability for MA-CoA 58 An Example with Verification Commands 58 Restrictions in Multi-Action Change of Authorization 61 User Authentication and Authorization in the Local Network 62 Policy Configurations for IPoE Sessions 63 Policy Configurations for PTA Sessions 66 Service Accounting 67 Configuring Service Accounting 68 Statistics Infrastructure 71 Configuring Statistics IDs (statsD) 71 Understanding Per-VRF AAA Function 72 RADIUS Double-Dip Feature 72 RADIUS over IPv6 73 Additional References 73 Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.x iv Contents CHAPTER 4 Activating Control Policy 75 Control Policy Overview 75 Creating Class-Map 77 Configuring a Class-Map 77 Creating Policy-Map 78 Control Policy Events 79 Configuring a Policy-Map 80 Activating Policy-Map 82 Enabling a Service-Policy on a Subscriber Interface 82 Defining Dynamic Templates 83 Additional References 84 CHAPTER 5 Establishing Subscriber Sessions 87 Subscriber Session Overview 88 Establishing IPoE Session 90 Enabling IPv4 or IPv6 on an Access Interface 92 Creating Dynamic Template for IPv4 or IPv6 Subscriber Session 93 Creating a Policy-Map to Run During IPoE Session 96 Enabling IPoE Subscribers on an Access Interface 97 Routed Subscriber Sessions 100 DHCP-initiated Routed Subscriber Sessions 102 Packet-triggered Routed Subscriber Sessions 104 Deployment Model for IPv6 Routed Network 104 Call Flow of IPv6 Routed Subscriber Session 105 Restrictions for Routed Subscriber Sessions 106 Configuring Routed Subscriber Sessions 107 Prevent Default ARP Entry Creation for a Subscriber Interface 109 Unconditional Proxy ARP Response 109 Establishing PPPoE Session 110 Provisioning PPP PTA Session 111 Creating PPPoE Profiles 111 Creating a PPP Dynamic-Template 113 Creating a Policy-Map to Run During PPPoE Session 114 Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.x v Contents Applying the PPPoE Configurations to an Access Interface 116 Provisioning PPP LAC Session 118 Configuring the VPDN Template 119 Configuring Maximum Simultaneous VPDN Sessions 121 Activating VPDN Logging 123 Configuring Options to Apply on Calling Station ID 124 Configuring L2TP Session-ID Commands 125 Configuring L2TP Class Options 126 Configuring Softshut for VPDN 129 L2TP Reassembly on LAC 130 L2TP Access Concentrator Stateful Switchover 131 Local VPDN RADIUS Enhancement 134 PPPoE Smart Server Selection 137 Configuring PADO Delay 138 PPPoE Session Limit, Throttle and In-flight-window 139 PPPoE Session Limit 139 PPPoE Session Throttle 142 PPPoE In-flight-window 144 Activating IPv6 Router Advertisement on a Subscriber Interface When IPv4 Starts 144 Creating Dynamic Template for Enabling IPv6 Router Advertisement on an IPv4 Susbscriber Interface 144 Making DHCP Settings 145 Enabling DHCP Proxy 147 Configuring DHCP IPv4 Profile Proxy Class 147 Configuring a Circuit-ID for an Interface 149 Configuring a Remote-ID 150 Configuring the Client Lease Time 151 Attaching a Proxy Profile to an Interface 152 DHCPv4 Server 153 Enabling DHCP Server 154 Configuring DHCPv4 Server Profile 154 Specifying DHCP Lease Limit 157 Specifying the Lease Limit for a Circuit-ID 157 Specifying the Lease Limit for a Remote-ID 158 Broadband Network Gateway Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.2.x vi Contents Specifying the Lease Limit for an Interface 160 Understanding DHCP Option-82 161 Option 82 Relay Information Encapsulation 161 Configuring DHCPv4 Class of Service (CoS) 162 Send Rich DHCP Options from RADIUS to DHCP Server 162 Configure Rich DHCP Option on RADIUS VSA 165 DHCP Option 60 Filtering 166 Configure DHCP Option 60 Filtering 167 DHCP RADIUS Proxy 168 Subscriber Session-Restart 169 DHCP Session MAC Throttle 169 Allow-move for Simple IP Sessions 170 Restrictions for Simple IP Allow-move 171 DHCP Duplicate MAC Session 171 DHCP Duplicate MAC Session With Exclude VLAN Option 171 Configure DHCP Duplicate MAC Session 173 DHCPv6 Overview 176 DHCPv6 Server and DHCPv6 Proxy 177 Enabling DHCPv6 for Different Configuration Modes 177 Setting Up DHCPv6 Parameters 181 PPP Class-based DHCPv6 Mode Selection 183 DHCPv6 Features 183 High Availability Support for DHCPv6 184 DHCPv6 Prefix Delegation 184 IPv6 IPoE Subscriber Support 184 IPv6 PPPoE Subscriber Support 192 Ambiguous VLAN Support 198 DHCPv6 Address or Prefix Pool 201 DHCPv6 Dual-Stack Lite Support 206 VRF Awareness in DHCPv6 207 DHCP Options Support for BNG DHCPv6 Proxy Mode 209 Configurable DHCPv6 Option 17 211 Rapid commit 211 Packet Handling on Subscriber Interfaces 211 Broadband Network Gateway Configuration