Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.X
Total Page:16
File Type:pdf, Size:1020Kb
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x First Published: 2015-01-12 Last Modified: 2015-08-27 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: 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. (1721R) © 2015 Cisco Systems, Inc. All rights reserved. CONTENTS PREFACE Preface xiii Changes to This Document xiii Obtaining Documentation and Submitting a Service Request xiii 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 10 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 19 Defining AAA Attributes 21 Creating Attributes of Specific Format 22 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x iii Contents Configuring RADIUS Attribute List 27 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 35 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 38 Throttling of RADIUS Records 39 Configuring RADIUS Throttling Globally 40 Configuring RADIUS Throttling on a Server Group 41 RADIUS Change of Authorization (CoA) Overview 42 Multi-Action Change of Authorization 45 Generating Accounting Records 46 High Availability for MA-CoA 46 An Example with Verification Commands 46 Restrictions in Multi-Action Change of Authorization 50 User Authentication and Authorization in the Local Network 51 Policy Configurations for IPoE Sessions 52 Policy Configurations for PTA Sessions 55 Service Accounting 56 Configuring Service Accounting 57 Statistics Infrastructure 59 Configuring Statistics IDs (statsD) 59 Understanding Per-VRF AAA Function 60 RADIUS Double-Dip Feature 60 RADIUS over IPv6 60 Additional References 61 CHAPTER 4 Activating Control Policy 63 Control Policy Overview 63 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x iv Contents Creating Class-Map 64 Configuring a Class-Map 65 Creating Policy-Map 66 Control Policy Events 66 Configuring a Policy-Map 67 Activating Policy-Map 69 Enabling a Service-Policy on a Subscriber Interface 69 Defining Dynamic Templates 70 Additional References 71 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 Packet-triggered Routed Subscriber Sessions 89 Deployment Model for IPv6 Routed Network 89 Call Flow of IPv6 Routed Subscriber Session 90 Restrictions for Routed Subscriber Sessions 91 Configuring Routed Subscriber Sessions 92 Prevent Default ARP Entry Creation for a Subscriber Interface 94 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 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 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x v Contents Activating VPDN Logging 105 Configuring Options to Apply on Calling Station ID 106 Configuring L2TP Session-ID Commands 107 Configuring L2TP Class Options 107 Configuring Softshut for VPDN 110 L2TP Reassembly on LAC 110 L2TP Access Concentrator Stateful Switchover 112 PPPoE Smart Server Selection 114 Configuring PADO Delay 115 PPPoE Session Limit, Throttle and In-flight-window 116 PPPoE Session Limit 116 PPPoE Session Throttle 118 PPPoE In-flight-window 119 Making DHCP Settings 120 Enabling DHCP Proxy 121 Configuring DHCP IPv4 Profile Proxy Class 122 Configuring a Circuit-ID for an Interface 123 Configuring a Remote-ID 124 Configuring the Client Lease Time 125 Attaching a Proxy Profile to an Interface 126 DHCPv4 Server 127 Enabling DHCP Server 127 Configuring DHCPv4 Server Profile 127 Specifying DHCP Lease Limit 130 Specifying the Lease Limit for a Circuit-ID 131 Specifying the Lease Limit for a Remote-ID 131 Specifying the Lease Limit for an Interface 132 Understanding DHCP Option-82 133 Option 82 Relay Information Encapsulation 134 Configuring DHCPv4 Class of Service (CoS) 134 DHCP RADIUS Proxy 134 Subscriber Session-Restart 135 DHCP Session MAC Throttle 135 DHCPv6 Overview 136 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x vi Contents DHCPv6 Server and DHCPv6 Proxy 137 Enabling DHCPv6 for Different Configuration Modes 137 Setting Up DHCPv6 Parameters 140 DHCPv6 Features 142 High Availability Support for DHCPv6 142 DHCPv6 Prefix Delegation 142 IPv6 IPoE Subscriber Support 142 IPv6 PPPoE Subscriber Support 149 Ambiguous VLAN Support 154 DHCPv6 Address or Prefix Pool 156 DHCPv6 Dual-Stack Lite Support 158 VRF Awareness in DHCPv6 160 Rapid commit 161 Packet Handling on Subscriber Interfaces 161 IPv6 Neighbor Discovery 163 Line Card Subscribers 163 External Interaction for LC Subscribers 164 Benefits and Restrictions of Line Card Subscribers 164 High Availability for Line Card Subscribers 165 Static Sessions 166 Restrictions for static sessions 167 Subscriber Session Limit 167 BNG Subscriber Templates 168 Feature Support for Subscriber Templates 169 Restrictions for BNG Subscriber Templates 169 Verification of BNG Subscriber Templates 169 eBGP over PPPoE 170 BNG over Pseudowire Headend 170 QoS on BNG Pseudowire Headend 171 Features Supported for BNG over Pseudowire Headend 172 Unsupported Features and Restrictions for BNG over Pseudowire Headend 172 Additional References 173 CHAPTER 6 Deploying the Quality of Service (QoS) 175 Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Configuration Guide, Release 5.3.x vii Contents Quality of Service Overview 175 Configuring Service-policy and Applying Subscriber Settings Through RADIUS 176 Configuring Service-policy and Applying Subscriber Settings Through Dynamic Template 178 Parameterized QoS 180 Parameterized QoS Syntax 181 Configuring Parameterized QoS Policy Through RADIUS 186 Modifying Service