Segment Routing Configuration Guide for Cisco NCS 560 Series Routers ...

Segment Routing Configuration Guide for Cisco NCS 560 Series Routers, IOS XR Release 7.0.x

First Published: 2019-08-26 Last Modified: 2020-03-17

Americas Headquarters

Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA 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 go/offices.

The documentation set for this product strives to use bias-free language. For purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on standards documentation, or language that is used by a referenced third-party product.

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

? 2019 Cisco Systems, Inc. All rights reserved.

CONTENTS

CHAPTER 1 CHAPTER 2

CHAPTER 3 CHAPTER 4

About Segment Routing 1 Scope 1 Need 2 Benefits 2 Workflow for Deploying Segment Routing 3

Segment Routing over IPv6 Overview 5 Configuring SRv6 under IS-IS 13 Configuring SRv6 IS-IS TI-LFA 14 SRv6 Services: IPv4 L3VPN 16 SRv6 Services: IPv4 L3VPN Active-Standby Redundancy using Port-Active Mode 21 SRv6 Services for L3VPN Active-Standby Redundancy using Port-Active Mode: Operation 21 Configure SRv6 Services L3VPN Active-Standby Redundancy using Port-Active Mode 21 Configuration Example 21 Running Configuration 22 Verification 22

Configure Segment Routing Global Block and Segment Routing Local Block 27 About the Segment Routing Global Block 27 About the Segment Routing Local Block 29 Understanding Segment Routing Label Allocation 30 Setup a Non-Default Segment Routing Global Block Range 33 Setup a Non-Default Segment Routing Local Block Range 34

Configure Segment Routing for IS-IS Protocol 37 Enabling Segment Routing for IS-IS Protocol 37

Segment Routing Configuration Guide for Cisco NCS 560 Series Routers, IOS XR Release 7.0.x iii

Contents

CHAPTER 5 CHAPTER 6

CHAPTER 7

Configuring a Prefix-SID on the IS-IS Enabled Loopback Interface 39 Configuring an Adjacency SID 41

Manually Configure a Layer 2 Adjacency SID 44 Configuring Bandwidth-Based Local UCMP 47 IS-IS Multi-Domain Prefix SID and Domain Stitching: Example 49

Configure IS-IS Multi-Domain Prefix SID 49 Configure Common Router ID 50 Distribute IS-IS Link-State Data 50

Configure Segment Routing for OSPF Protocol 53 Enabling Segment Routing for OSPF Protocol 53 Configuring a Prefix-SID on the OSPF-Enabled Loopback Interface 55 Configuring an Adjacency SID 57

Configure Segment Routing for BGP 61 Segment Routing for BGP 61 Configure BGP Prefix Segment Identifiers 62 Segment Routing Egress Peer Engineering 63 Configure Segment Routing Egress Peer Engineering 63 Configure BGP Link-State 64 Use Case: Configuring SR-EPE and BGP-LS 69 Configure BGP Proxy Prefix SID 70

Configure SR-TE Policies 75 SR-TE Policy Overview 75 Usage Guidelines and Limitations 76 Instantiation of an SR Policy 76 On-Demand SR Policy ? SR On-Demand Next-Hop 76 SR-ODN Configuration Steps 78 Configuring SR-ODN: Examples 80 Configuring SR-ODN for EVPN-VPWS: Use Case 86 Manually Provisioned SR Policy 107 PCE-Initiated SR Policy 107 SR-TE Policy Path Types 107

Segment Routing Configuration Guide for Cisco NCS 560 Series Routers, IOS XR Release 7.0.x iv

CHAPTER 8 CHAPTER 9

Dynamic Paths 108 Optimization Objectives 108 Constraints 109 Configure SR Policy with Dynamic Path 111

Explicit Paths 112 SR-TE Policy with Explicit Path 112 Configuring Explicit Path with Affinity Constraint Validation 117

Protocols 119 Path Computation Element Protocol 119 Configure the Head-End Router as PCEP PCC 119 BGP SR-TE 123 Configure BGP SR Policy Address Family at SR-TE Head-End 124

Traffic Steering 126 Automated Steering 126 Color-Only Automated Steering 127 Setting CO Flag 127 Address-Family Agnostic Automated Steering 128 Using Binding Segments 129 L2VPN Preferred Path 130 Static Route over Segment Routing Policy 130

Miscellaneous 134 LDP over Segment Routing Policy 134 SR-TE MPLS Label Imposition Enhancement 137 SR-TE Reoptimization Timers 138

Configure Segment Routing Path Computation Element 141 About SR-PCE 141 Configure SR-PCE 142 Configure the Disjoint Policy (Optional) 144 PCE-Initiated SR Policies 145 ACL Support for PCEP Connection 147

Configure Topology-Independent Loop-Free Alternate (TI-LFA) 149 Limitations 151

Contents

Segment Routing Configuration Guide for Cisco NCS 560 Series Routers, IOS XR Release 7.0.x v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download