Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.X First Published: April 28, 2016
Total Page:16
File Type:pdf, Size:1020Kb
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.x First Published: April 28, 2016 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) © 2016 Cisco Systems, Inc. All rights reserved. CONTENTS Preface Preface xv Changes to This Document xv Obtaining Documentation and Submitting a Service Request xv CHAPTER 1 New and Changed BNG Features 1 New and Changed Feature Information in Cisco IOS XR Release 6.0.x 1 CHAPTER 2 Broadband Network Gateway Overview 3 Understanding BNG 3 BNG Architecture 4 BNG Role in ISP Network Models 6 BNG Packaging 7 Installing and Activating the BNG Pie on Cisco ASR 9000 Series Router 7 BNG Configuration Process 9 Hardware Requirements for BNG 9 BNG Interoperability 10 CHAPTER 3 Configuring Authentication, Authorization, and Accounting Functions 13 AAA Overview 14 Using RADIUS Server Group 15 Configuring RADIUS Server Group 15 Specifying Method List 17 Configuring Method Lists for AAA 18 Defining AAA Attributes 19 Creating Attributes of Specific Format 20 Configuring RADIUS Attribute List 25 Configuring RADIUS Attribute Format 26 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.x iii Contents Configuring RADIUS Attribute Nas-port-type 27 Configuring AAA Attribute Format Function 28 Making RADIUS Server Settings 29 Configuring RADIUS Server Settings 30 Configuring Automated Testing 34 Setting IP DSCP for RADIUS Server 34 Balancing Transaction Load on the RADIUS Server 35 Configuring Load Balancing for Global RADIUS Server Group 36 Configuring Load Balancing for a Named RADIUS Server Group 37 Throttling of RADIUS Records 37 Configuring RADIUS Throttling Globally 38 Configuring RADIUS Throttling on a Server Group 39 RADIUS Change of Authorization (CoA) Overview 41 Multi-Action Change of Authorization 43 Generating Accounting Records 44 High Availability for MA-CoA 45 An Example with Verification Commands 45 Restrictions in Multi-Action Change of Authorization 48 User Authentication and Authorization in the Local Network 49 Policy Configurations for IPoE Sessions 49 Policy Configurations for PTA Sessions 52 Service Accounting 53 Configuring Service Accounting 54 Statistics Infrastructure 56 Configuring Statistics IDs (statsD) 57 Understanding Per-VRF AAA Function 57 RADIUS Double-Dip Feature 58 RADIUS over IPv6 58 Additional References 58 CHAPTER 4 Activating Control Policy 61 Control Policy Overview 61 Creating Class-Map 63 Configuring a Class-Map 63 Creating Policy-Map 64 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.x iv Contents Control Policy Events 64 Configuring a Policy-Map 66 Activating Policy-Map 68 Enabling a Service-Policy on a Subscriber Interface 68 Defining Dynamic Templates 68 Additional References 70 CHAPTER 5 Establishing Subscriber Sessions 71 Subscriber Session Overview 72 Establishing IPoE Session 74 Enabling IPv4 or IPv6 on an Access Interface 76 Creating Dynamic Template for IPv4 or IPv6 Subscriber Session 77 Creating a Policy-Map to Run During IPoE Session 79 Enabling IPoE Subscribers on an Access Interface 81 Routed Subscriber Sessions 84 DHCP-initiated Routed Subscriber Sessions 86 Call Flow of DHCPv4-initiated Routed Subscriber Sessions 87 Packet-triggered Routed Subscriber Sessions 88 Deployment Model for IPv6 Routed Network 89 Call Flow of IPv6 Routed Subscriber Session 90 Restrictions for Routed Subscriber Sessions 90 Configuring Routed Subscriber Sessions 91 Prevent Default ARP Entry Creation for a Subscriber Interface 93 Establishing PPPoE Session 93 Provisioning PPP PTA Session 94 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 98 Applying the PPPoE Configurations to an Access Interface 99 Provisioning PPP LAC Session 100 L2TP Reassembly on LAC 101 Enabling L2TP Reassembly on LAC 102 L2TP Access Concentrator Stateful Switchover 103 Enabling LAC SSO 103 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.x v Contents Enabling RPFO on Process-failures 105 Configuring the VPDN Template 106 Configuring Maximum Simultaneous VPDN Sessions 108 Activating VPDN Logging 109 Configuring Options to Apply on Calling Station ID 110 Configuring L2TP Session-ID Commands 110 Configuring L2TP Class Options 111 Configuring Softshut for VPDN 114 PPPoE Smart Server Selection 114 Configuring PADO Delay 115 PPPoE Session Limit, Throttle and In-flight-window 117 PPPoE Session Limit 117 Configuring PPPoE Session Limit 117 PPPoE Session Throttle 118 Configuring PPPoE Session Throttle 119 PPPoE In-flight-window 120 Activating IPv6 Router Advertisement on a Subscriber Interface When IPv4 Starts 120 Creating Dynamic Template for Enabling IPv6 Router Advertisement on an IPv4 Susbscriber Interface 120 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 129 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 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 6.0.x vi Contents Configuring DHCPv4 Class of Service (CoS) 136 DHCP RADIUS Proxy 137 Subscriber Session-Restart 137 DHCP Session MAC Throttle 138 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 (Supported in the 5.2.0 build ) 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 BNG Subscriber Templates 172 Feature Support for Subscriber Templates 173 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration