JG619A

Aruba JG619A, JG632A, JH103A Configuration Guide

  • Hello! I've reviewed the HPE FlexFabric 12900E Switch Series Segment Routing Configuration Guide. This document provides detailed instructions on configuring Segment Routing features, including SR-MPLS, TI-LFA FRR, SRv6 and related TE policies. I'm ready to assist you with any questions you have regarding the operation and configuration of the device based on this guide. Feel free to ask!
  • What is SR-MPLS?
    How does TI-LFA FRR work?
    What is the purpose of SRv6 TE policy?
HPE FlexFabric 12900E Switch Series
Segment Routing Configuration Guide
Software
version: Release 5210
Document version: 6W100-20230424
© Copyright 2023 Hewlett Packard Enterprise Development LP
The information contained herein is subject to change without notice. The only warranties for Hewlett Packard
Enterprise products and services are set forth in the express warranty statements accompanying such
products and services. Nothing herein should be construed as constituting an additional warranty. Hewlett
Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession, use, or
copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer Software
Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government under vendor’s
standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise
website.
Acknowledgments
Intel®, Itanium®, Pentium®, Intel Inside®, and the Intel Inside logo are trademarks of Intel Corporation in the
United States and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in the
United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java and Oracle are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
i
Contents
Configuring SR-MPLS ··················································································· 1
About SR-MPLS ················································································································································· 1
SR-MPLS characteristics ··························································································································· 1
Basic concepts ··········································································································································· 1
How SR-MPLS works ································································································································· 1
Traffic steering to an SR-MPLS tunnel······································································································· 2
Static segment configuration ······················································································································ 3
Dynamic SID allocation through an IGP····································································································· 3
Dynamic SID allocation through BGP ········································································································ 4
SID allocation through BGP EPE ··············································································································· 4
Label forwarding entry installation based on SIDs ····················································································· 5
SRLSP setup ·············································································································································· 7
Packet forwarding in SR-MPLS ·················································································································· 7
MPLS SR and LDP interworking ······················································································································ 10
SR to LDP ················································································································································ 11
LDP to SR ················································································································································ 12
SR over LDP ············································································································································ 12
TI-LFA FRR ······················································································································································ 13
TI-LFA FRR advantages ·························································································································· 14
TI-LFA FRR concepts ······························································································································ 14
TI-LFA FRR path calculation ···················································································································· 14
TI-LFA FRR forwarding process ·············································································································· 15
Microloop avoidance after a network failure····························································································· 16
Microloop avoidance after a failure recovery ··························································································· 17
Protocols and standards ·································································································································· 17
SR-MPLS tasks at a glance ····························································································································· 18
IP traffic forwarding over SRLSPs tasks at a glance ················································································ 18
MPLS TE traffic forwarding over static SRLSPs tasks at a glance ·························································· 18
MPLS TE traffic forwarding over explicit paths tasks at a glance ···························································· 18
MPLS TE traffic forwarding over PCE-calculated SRLSPs tasks at a glance ·········································· 19
Configuring MPLS SRGBs ······························································································································· 19
Configuring the MPLS SRLB···························································································································· 20
Configuring static segments ····························································································································· 20
Prerequisites for configuring static segments ·························································································· 20
Configuring a static adjacency segment ·································································································· 20
Configuring a static prefix segment ·········································································································· 21
Configuring IGP-based SID advertisement ······································································································ 22
IGP-based SID advertisement tasks at a glance ····················································································· 22
Prerequisites for configuring IGP-based SID advertisement···································································· 23
Configuring the IGP to support SR-MPLS ································································································ 23
Configuring prefix SIDs ···························································································································· 24
Enabling SR-MPLS adjacency label allocation for the IGP ······································································ 24
Assigning adjacency SIDs ························································································································ 25
Enabling SR-MPLS adjacency SID allocation for aggregation group member interfaces························ 26
Assigning adjacency SIDs to aggregation group member interfaces······················································· 27
Enabling prefix SID conflict checking ······································································································· 27
Configuring BGP-based SID advertisement····································································································· 28
BGP-based SID advertisement tasks at a glance ···················································································· 28
Prerequisites for configuring BGP-based SID advertisement ·································································· 28
Configuring BGP to support MPLS SR ···································································································· 28
Configuring BGP prefix SIDs ···················································································································· 29
Configuring BGP EPE ······································································································································ 30
About BGP EPE ······································································································································· 30
Configuring BGP EPE-based SID allocation ···························································································· 30
Configuring a BGP EPE peer set ············································································································· 31
Configuring the SRLSP establishment triggering policy··················································································· 32
Configuring the device to prefer SRLSPs in traffic forwarding ········································································· 32
ii
Configuring an MPLS TE tunnel over a static SRLSP ····················································································· 33
Tasks at a glance ····································································································································· 33
Configuring a static SRLSP ······················································································································ 33
Binding a static SRLSP to an MPLS TE tunnel interface ········································································· 33
Configuring the static SRLSP switchback delay time··············································································· 34
Configuring an MPLS TE tunnel over an explicit-path SRLSP ········································································ 34
Tasks at a glance ····································································································································· 34
Prerequisites ············································································································································ 34
Configuring an explicit path for the MPLS TE tunnel ··············································································· 34
Configuring an MPLS TE tunnel over the explicit path············································································· 35
Configuring an MPLS TE tunnel over a PCE-calculated SRLSP ····································································· 35
Tasks at a glance ····································································································································· 35
Configuring an MPLS TE tunnel interface to use PCE to calculate the SRLSP······································· 36
Configuring IGP SR and LDP interworking ······································································································ 36
Restrictions and guidelines for IGP SR and LDP interworking ································································ 36
SR to LDP tasks at a glance ···················································································································· 36
LDP to SR tasks at a glance ···················································································································· 37
SR over LDP tasks at a glance ················································································································ 37
Prerequisites for SR-MPLS and LDP internetworking ·············································································· 37
Enabling advertisement of locally configured prefix-SID mappings ························································· 37
Configuring prefix-SID mappings ············································································································· 38
Enabling reception of advertised prefix-SID mappings ············································································ 38
Configuring TI-LFA FRR ·································································································································· 39
Restrictions and guidelines for TI-LFA FRR ····························································································· 39
TI-LFA FRR tasks at a glance ·················································································································· 39
Enabling TI-LFA FRR ······························································································································· 39
Disabling an interface from participating in TI-LFA calculation ································································ 40
Configuring microloop avoidance ············································································································· 41
Configuring SR OAM········································································································································ 43
Configuring BFD for SRLSPs ··················································································································· 43
Configuring SBFD for SRLSPs ················································································································ 44
Configuring tunnel BFD for all SRLSPs ··································································································· 45
Verifying and maintaining SR-MPLS ················································································································ 46
Displaying SR label block information ······································································································ 46
Displaying static segments ······················································································································· 46
Displaying BGP SR configuration and status information ········································································ 46
Displaying IS-IS SR configuration and status information········································································ 46
Displaying OSPF SR configuration and status information ······································································ 47
Displaying SRLSP configuration and status information ·········································································· 47
SR-MPLS configuration examples ··················································································································· 47
Example: Configuring SR-MPLS based on static segments ···································································· 47
Example: Configuring SR-MPLS based on ISIS-advertised SIDs···························································· 52
Example: Configuring SR-MPLS based on OSPF-advertised SIDs ························································· 58
Example: Configuring an SR-based MPLS TE tunnel over an explicit path············································· 63
Example: Configuring an MPLS TE tunnel over a PCE-calculated SRLSP ············································· 68
Example: Configuring SR-MPLS inter-AS option B ·················································································· 74
Example: Configuring SR-MPLS inter-AS option C (I) ············································································· 80
Example: Configuring SR-MPLS inter-AS option C (II) ············································································ 86
Example: Configuring SR-MPLS inter-AS option C (III) ··········································································· 93
Example: Configuring SR-MPLS to LDP (IS-IS) ···················································································· 101
Example: Configuring SR-MPLS to LDP (OSPF) ··················································································· 104
Example: Configuring SR-MPLS over LDP ···························································································· 106
Example: Configuring IS-IS TI-LFA FRR ······························································································· 111
Configuring SR-MPLS TE policies ····························································· 117
About SR-MPLS TE policies ·························································································································· 117
Basic concepts ······································································································································· 117
SR-MPLS TE policy creation ·················································································································· 118
SID list creation through dynamic path calculation ················································································ 118
SID list computation using PCE ············································································································· 119
SR-MPLS TE policy validity ··················································································································· 120
SR-MPLS TE policy routing procedure ·································································································· 120
iii
SR-MPLS TE policy forwarding procedure ···························································································· 121
Traffic steering to an SR-MPLS TE policy ······························································································ 122
SR-MPLS TE policy CBTS ····················································································································· 122
SR-MPLS TE policy association with BFD ····························································································· 124
SR-MPLS TE policy hot standby ············································································································ 126
MP-BGP extension for SR-MPLS TE policy-based routing ···································································· 126
SR-MPLS TE policy configuration tasks at a glance ······················································································ 127
Creating an SR-MPLS TE policy ···················································································································· 128
Manually creating an SR-MPLS TE policy and configuring its attributes ··············································· 128
Automatically creating SR-MPLS TE policies by using ODN ································································· 128
Configuring a PCEP session ·························································································································· 129
Restrictions and guidelines ···················································································································· 129
Discovering PCEs ·································································································································· 129
Enabling the SR capability for a PCC ···································································································· 130
Configuring PCEP session parameters ·································································································· 130
Configuring a candidate path and a SID list for the path················································································ 131
Restrictions and guidelines ···················································································································· 131
Configuring a candidate path to use manually configured SID lists ······················································· 131
Configuring a candidate path to create an SID list through affinity attribute-based path calculation ····· 132
Configuring a candidate path to create an SID list through Flex-Algo-based path calculation ·············· 133
Configuring a candidate path to use PCE-computed SID lists ······························································· 134
Configuring an ODN-created candidate path to create an SID list through affinity attribute-based path
calculation ·············································································································································· 135
Configuring an ODN-created candidate path to create an SID list through Flex-Algo-based path calculation
······························································································································································· 136
Configuring an ODN-created candidate path to use PCE-computed SID lists ······································· 136
Configuring PCE delegation to create candidate paths and SID lists ···················································· 137
Enabling strict SID encapsulation for SID lists ······························································································· 139
Configuring dynamic path calculation timers·································································································· 139
Enabling the device to distribute SR-MPLS TE policy path information to BGP-LS ······································ 140
Shutting down an SR-MPLS TE policy ·········································································································· 141
Configuring BGP to advertise BGP IPv4 SR policy routes············································································· 141
Restrictions and guidelines for BGP IPv4 SR policy route advertisement ············································· 141
Enabling BGP to advertise BGP IPv4 SR policy routes ········································································· 141
Configuring BGP to redistribute routes from the SR-MPLS TE policy ··················································· 142
Advertising BGP IPv4 SR policy routes to EBGP peers ········································································ 142
Filtering BGP IPv4 SR policy routes by router ID··················································································· 143
Configuring BGP to control BGP IPv4 SR policy route selection and advertisement ···························· 143
Maintaining BGP sessions ····················································································································· 144
Steering traffic to an SR-MPLS TE policy ······································································································ 145
Configuring color-based traffic steering ································································································· 145
Configuring tunnel policy-based traffic steering ····················································································· 146
Configuring DSCP-based traffic steering ······························································································· 147
Configuring static route-based traffic steering ························································································ 148
Configuring Flowspec rule-based traffic steering ··················································································· 149
Enabling SBFD for SR-MPLS TE policies ······································································································ 151
Configuring the BFD echo packet mode for SR-MPLS TE policies ······························································· 152
Enabling hot standby for SR-MPLS TE policies ····························································································· 154
Configuring path switchover and deletion delays for SR-MPLS TE policies ·················································· 155
Setting the delay time for bringing up SR-MPLS TE policies ········································································· 155
Configuring candidate path reoptimization for SR-MPLS TE policies ···························································· 156
Configuring SR-MPLS TE policy CBTS ········································································································· 157
Configuring traffic forwarding statistics for SR-MPLS TE policies·································································· 158
Enabling SR-MPLS TE policy logging ············································································································ 159
Verifying and maintaining SR-MPLS TE policies ··························································································· 159
Displaying BGP SR-MPLS TE policy routing information ······································································ 159
Verifying the SR-MPLS TE policy configuration and running status ······················································ 160
Displaying and clearing SR-TE forwarding information ·········································································· 160
Displaying SR-MPLS TE policy related information stored in the PCE ·················································· 160
SR-MPLS TE policy configuration examples ································································································· 161
Example: Configuring SR-MPLS TE policy-based forwarding ······························································· 161
iv
Configuring SRv6······················································································· 168
About SRv6 ···················································································································································· 168
Basic concepts ······································································································································· 168
SRv6 packet format ································································································································ 171
BGP-EPE ······················································································································································· 172
TI-LFA FRR ···················································································································································· 173
TI-LFA FRR background ························································································································ 173
TI-LFA FRR concepts ···························································································································· 174
TI-LFA FRR path calculation ·················································································································· 174
TI-LFA FRR forwarding process ············································································································ 175
SR microloop avoidance after a network failure ····················································································· 176
SR microloop avoidance after a failure recovery ··················································································· 177
Protocols and standards ························································································································ 178
SRv6 tasks at a glance ·································································································································· 178
Prerequisites for SRv6 ··································································································································· 179
Configuring SRv6 SIDs ·································································································································· 179
Setting the SRv6 SID flavor to NO-PSP ········································································································ 181
Setting the SRH encapsulation mode to normal encapsulation ····································································· 181
Configuring dynamic End.X SID deletion delay ····························································································· 182
Specifying a source address for the outer IPv6 header of SRv6-encapsulated packets ······························· 182
Using IGP to advertise SRv6 SIDs ················································································································ 183
Enabling BGP to advertise routes for a locator ······························································································ 184
Configuring BGP-EPE ···································································································································· 184
Enabling SRv6 BGP-EPE ······················································································································ 184
Applying a locator to BGP-EPE·············································································································· 185
Configuring a BGP-EPE SRv6 peer set ································································································· 186
Configuring traffic forwarding statistics collection for local SRv6 SIDs ·························································· 187
Configuring TI-LFA FRR ································································································································ 187
TI-LFA FRR tasks at a glance ················································································································ 187
Enabling TI-LFA FRR ····························································································································· 187
Disabling an interface from participating in TI-LFA calculation ······························································ 188
Configuring FRR microloop avoidance ·································································································· 189
Configuring SR microloop avoidance ····································································································· 190
Configuring the SRv6 MTU ···························································································································· 191
Configuring the SRv6 DiffServ mode ············································································································· 192
Verifying and maintaining SRv6 ····················································································································· 193
Displaying basic SRv6 configuration information ··················································································· 193
Displaying SRv6 BGP-EPE information ································································································· 193
Displaying IS-IS SRv6 information ········································································································· 193
Displaying OSPFv3 SRv6 information ··································································································· 194
Displaying and clearing traffic forwarding statistics for local SRv6 SIDs ··············································· 194
SRv6 configuration examples ························································································································ 195
Example: Configuring IPv6 IS-IS TI-LFA FRR ······················································································· 195
Configuring SRv6 TE policies ···································································· 200
About SRv6 TE policies ································································································································· 200
SRv6 TE policy identification ·················································································································· 200
SRv6 TE policy contents ························································································································ 200
SRv6 TE policy creation ························································································································· 201
SID list computation using PCE ············································································································· 201
SRv6 TE policy validity ··························································································································· 203
Traffic steering to an SRv6 TE policy ····································································································· 204
SRv6 TE policy path selection ··············································································································· 205
SRv6 TE policy forwarding procedure ···································································································· 205
BFD for SRv6 TE policy ························································································································· 206
SRv6 TE policy hot standby ··················································································································· 208
SRv6 TE policy transit node protection ·································································································· 208
SRv6 TE policy egress protection ·········································································································· 211
SRv6 TE policy tasks at a glance ·················································································································· 213
Creating an SRv6 TE policy ··························································································································· 214
Manually creating an SRv6 TE policy and configuring its attributes ······················································ 214
v
Automatically creating SRv6 TE policies by using ODN ········································································ 215
Configuring a PCEP session ·························································································································· 216
Restrictions and guidelines ···················································································································· 216
Discovering PCEs ·································································································································· 216
Enabling the SRv6 capability for a PCC································································································· 216
Configuring PCEP session parameters ·································································································· 217
Configuring a candidate path and the SID lists of the path ············································································ 218
Restrictions and guidelines ···················································································································· 218
Configuring a candidate path to use manually configured SID lists ······················································· 218
Configuring a candidate path to use PCE-computed SID lists ······························································· 219
Configuring PCE delegation to create candidate paths and SID lists ···················································· 220
Enabling the device to distribute SRv6 TE policy candidate path information to BGP-LS ····························· 221
Shutting down an SRv6 TE policy ·················································································································· 222
Configuring BGP to advertise BGP IPv6 SR policy routes············································································· 222
Restrictions and guidelines for BGP IPv6 SR policy routes advertisement ··········································· 222
Enabling BGP to advertise BGP IPv6 SR policy routes ········································································· 222
Configuring BGP to redistribute BGP IPv6 SR policy routes ································································· 223
Enabling advertising BGP IPv6 SR policy routes to EBGP peers ·························································· 223
Enabling Router ID filtering ···················································································································· 224
Configuring BGP to control BGP IPv6 SR policy route selection and advertisement ···························· 224
Maintaining BGP sessions ····················································································································· 226
Configuring SRv6 TE policy traffic steering···································································································· 226
Configuring the SRv6 TE policy traffic steering mode ············································································ 226
Configuring color-based traffic steering ································································································· 226
Configuring tunnel policy-based traffic steering ····················································································· 228
Configuring DSCP-based traffic steering ······························································································· 229
Configuring static route-based traffic steering ························································································ 231
Enabling automatic route advertisement for an SRv6 TE policy ···························································· 232
Configuring the SRv6 TE policy encapsulation mode ···················································································· 233
Enabling SBFD for SRv6 TE policies ············································································································· 234
Configuring the BFD echo packet mode for SRv6 TE policies ······································································ 236
Enabling hot standby for SRv6 TE policies ···································································································· 237
Configuring path switchover and deletion delays for SRv6 TE policies ························································· 238
Setting the delay time for bringing up SRv6 TE policies ················································································ 239
Configuring path connectivity verification for SRv6 TE policies ····································································· 240
Configuring SRv6 TE policy transit node protection······················································································· 241
Configuring SRv6 TE policy egress protection······························································································· 242
Restrictions and guidelines for SRv6 TE policy egress protection configuration ··································· 242
Configuring an End.M SID ····················································································································· 242
Enabling egress protection ····················································································································· 242
Configuring the deletion delay time for remote SRv6 SID mappings with VPN instances/public
instance/cross-connects/VSIs ················································································································ 243
Enabling the device to drop traffic when an SRv6 TE policy becomes invalid ··············································· 244
Enabling SRv6 TE policies to forward packets without using the last SID in the SID list ······························ 245
Specifying the packet encapsulation type preferred in optimal route selection ············································· 245
Configuring SRv6 TE policy resource usage alarm thresholds ······································································ 247
Enabling SRv6 TE policy logging ··················································································································· 247
Enabling SNMP notifications for SRv6 TE policies ························································································ 248
Configuring traffic forwarding statistics for SRv6 TE policies ········································································· 248
Verifying and maintaining SRv6 TE policies ·································································································· 249
Verifying the SRv6 TE policy operation status and configuration ·························································· 249
Verifying the SRv6 TE policy group operation status and configuration ················································ 250
Verifying the BGP IPv6 SR policy routing configuration········································································· 250
Verifying the SRv6 TE policy BFD and SBFD operation status ····························································· 250
Verifying the SRv6 TE policy egress protection configuration ······························································· 251
Displaying and clearing SRv6 TE policy forwarding statistics ································································ 251
Displaying SRv6 TE policy information in the PCE ················································································ 251
SRv6 TE policy configuration examples ········································································································ 251
Example: Configuring SRv6 TE policy-based forwarding ······································································ 251
Example: Configuring SRv6 TE policy egress protection······································································· 257
vi
SRv6 VPN overview ·················································································· 269
SRv6 VPN solutions ······································································································································· 269
IP L3VPN over SRv6 ······························································································································ 269
EVPN L3VPN over SRv6 ······················································································································· 269
EVPN VPWS over SRv6 ························································································································ 270
EVPN VPLS over SRv6 ························································································································· 270
Configuring IP L3VPN over SRv6 ······························································ 272
About IP L3VPN over SRv6 ··························································································································· 272
Basic principle ········································································································································ 272
Route advertisement ······························································································································ 272
Packet forwarding ·································································································································· 273
Intercommunication between SRv6 and EVPN VXLAN networks ························································· 273
IP L3VPN over SRv6 FRR ····················································································································· 275
IP L3VPN over SRv6 tasks at a glance·········································································································· 275
Configuring SRv6 SIDs ·································································································································· 276
Applying a locator to a BGP VPN instance ···································································································· 277
Configuring PEs to exchange BGP VPNv4 or VPNv6 routes ········································································ 278
Configuring IPv6 peers to exchange SRv6 SIDs ··························································································· 279
Configuring next hop-based dynamic End.DX4 or End.DX6 SID allocation for private network routes ········· 279
Configuring BGP VPNv4 or VPNv6 routes····································································································· 280
Restrictions and guidelines for BGP VPNv4 or VPNv6 route configuration ··········································· 280
Controlling BGP VPNv4 or VPNv6 route advertisement and reception ················································· 280
Setting a preferred value for received BGP VPNv4 or VPNv6 routes ···················································· 281
Configuring BGP VPNv4 or VPNv6 route reflection ··············································································· 281
Configuring BGP VPNv4 or VPNv6 route attributes··············································································· 282
Configuring BGP VPNv4 or VPNv6 route distribution filtering policies ·················································· 283
Configuring the BGP Additional Paths feature ······················································································· 284
Configuring BGP to preferentially use the routes learned from a peer or peer group ···························· 284
Configuring the route recursion mode ············································································································ 285
Specifying a source address for the outer IPv6 header of SRv6-encapsulated packets ······························· 286
Enabling SRv6 VPN compatibility for a peer or peer group ··········································································· 286
Enabling intercommunication between SRv6 and EVPN VXLAN networks ·················································· 287
About intercommunication between SRv6 and EVPN VXLAN networks ··············································· 287
Enabling BGP VPNv4 or VPNv6 route advertisement for the BGP EVPN address family ···················· 287
Enabling BGP EVPN route advertisement for the BGP VPNv4 or VPNv6 address family ···················· 288
Configuring IP L3VPN over SRv6 FRR ·········································································································· 288
Configuring SBFD for SRv6 locators ············································································································· 289
Configuring a TTL processing mode for tunnels associated with a VPN instance ········································· 290
Verifying and maintaining IP L3VPN over SRv6 ···························································································· 291
Displaying the configuration and running status of IP L3VPN over SRv6 VPN ····································· 291
Resetting BGP sessions ························································································································ 291
Clearing flap statistics for BGP VPNv4 routes ······················································································· 292
IP L3VPN over SRv6 configuration examples ······························································································· 292
Example: Configuring IP L3VPN over SRv6 in SRv6-BE mode····························································· 292
Configuring EVPN L3VPN over SRv6 ························································ 300
About EVPN L3VPN over SRv6 ····················································································································· 300
Basic principle ········································································································································ 300
Route advertisement ······························································································································ 300
Packet forwarding ·································································································································· 301
Intercommunication between SRv6 and EVPN VXLAN networks ································································· 302
Transit proxies for SRv6 SIDs in cross-AS EVPN L3VPN over SRv6 networks ············································ 303
EVPN L3VPN over SRv6 FRR ······················································································································· 305
EVPN L3VPN over SRv6 tasks at a glance ··································································································· 305
Configuring SRv6 SIDs ·································································································································· 306
Applying a locator to a BGP VPN instance ···································································································· 307
Configuring SRv6-encapsulated EVPN route advertisement ········································································· 308
Configuring PEs to exchange BGP EVPN routes ·························································································· 309
Configuring next hop-based dynamic End.DX4 or End.DX6 SID allocation for BGP routes ························· 309
Configuring BGP EVPN route settings ··········································································································· 310
vii
Restrictions and guidelines for BGP EVPN route configuration ····························································· 310
Configuring BGP route reflection ··········································································································· 310
Configuring attributes of BGP EVPN routes ··························································································· 311
Filtering BGP EVPN routes ···················································································································· 312
Configuring the BGP Additional Paths feature ······················································································· 312
Configuring the route recursion mode ············································································································ 313
Specifying a source address for the outer IPv6 header of SRv6-encapsulated EVPN L3VPN packets ········ 314
Enabling SRv6 VPN compatibility for a peer or peer group ··········································································· 314
Enabling intercommunication between SRv6 and EVPN VXLAN networks ·················································· 315
Configuring transit proxies for SRv6 SIDs in cross-AS EVPN L3VPN over SRv6 networks ·························· 315
Configuring EVPN L3VPN over SRv6 FRR ··································································································· 316
Configuring SBFD for SRv6 locators ············································································································· 317
Configuring a TTL processing mode for tunnels associated with a VPN instance ········································· 318
Verifying and maintaining EVPN L3VPN over SRv6 ······················································································ 319
Displaying the running status and configuration of EVPN L3VPN over SRv6 ······································· 319
Resetting BGP sessions ························································································································ 319
EVPN L3VPN over SRv6 configuration examples ························································································· 319
Example: Configuring IPv4 EVPN L3VPN over SRv6 in SRv6-BE mode ·············································· 319
Configuring public network IP over SRv6 ··················································· 327
About public network IP over SRv6 ··············································································································· 327
Basic principle ········································································································································ 327
Route advertisement ······························································································································ 327
Packet forwarding ·································································································································· 327
Public network IP over SRv6 FRR ········································································································· 329
Public network IP over SRv6 tasks at a glance······························································································ 329
Configuring SRv6 SIDs ·································································································································· 330
Applying a locator to a BGP instance············································································································· 331
Configuring PEs to exchange BGP IPv4 or IPv6 unicast routes ···································································· 331
Configuring IPv6 peers to exchange SRv6 SIDs ··························································································· 332
Configuring next hop-based dynamic End.DX4 or End.DX6 SID allocation for public network routes ·········· 333
Configuring the route recursion mode ············································································································ 333
Specifying a source address for the outer IPv6 header of SRv6-encapsulated packets ······························· 334
Configuring public network IP over SRv6 FRR ······························································································ 335
Configuring SBFD for SRv6 locators ············································································································· 336
Verifying and maintaining public network IP over SRv6················································································· 337
Displaying the configuration and running status of public network IP over SRv6 ·································· 337
Clearing flap statistics for BGP IPv6 unicast routes ··············································································· 337
Resetting BGP sessions ························································································································ 337
Public network IP over SRv6 configuration examples···················································································· 338
Example: Configuring public network IPv6 over SRv6 in SRv6-BE mode ············································· 338
Configuring SRv6 OAM ············································································· 343
About SRv6 OAM ··········································································································································· 343
SRv6 OAM protocol extensions ············································································································· 343
SRv6 SID-based ping ····························································································································· 344
SRv6 SID-based tracert ························································································································· 346
SRv6 TE policy-based ping ···················································································································· 348
SRv6 TE policy-based tracert ················································································································ 349
Restrictions and guidelines: SRv6 OAM configuration··················································································· 350
Performing an SRv6 SID-based ping operation ····························································································· 350
Performing an SRv6 SID-based tracert operation ························································································· 351
Performing an SRv6 TE policy-based ping operation ···················································································· 351
Performing an SRv6 TE policy-based tracert operation ················································································· 351
Specifying a remote End.OP SID locator ······································································································· 352
Configuring EVPN VPLS over SRv6 ·························································· 353
About EVPN VPLS over SRv6 ······················································································································· 353
Basic principle ········································································································································ 353
BGP EVPN route advertisement ············································································································ 353
Traffic forwarding ··································································································································· 353
EVPN VPLS over SRv6 multihoming ····································································································· 355
viii
EVPN VPLS over SRv6 tasks at a glance ····································································································· 356
Creating a VSI ················································································································································ 357
Configuring an EVPN instance ······················································································································ 357
About this task ········································································································································ 357
Restrictions and guidelines ···················································································································· 358
Creating an EVPN instance in system view and associating it with a VSI ············································· 358
Creating an EVPN instance in VSI view ································································································· 360
Configuring SRv6 SIDs ·································································································································· 361
Applying a locator to an EVPN instance ········································································································ 361
About this task ········································································································································ 361
Applying a locator to an EVPN instance in system view ········································································ 362
Applying a locator to an EVPN instance in VSI view·············································································· 362
Configuring unicast traffic forwarding based on End.DX2 and End.DX2L SIDs ············································ 362
Configuring the route recursion mode ············································································································ 363
About this task ········································································································································ 363
Prerequisites ·········································································································································· 363
Configuring the route recursion mode for an EVPN instance in system view ········································ 363
Configuring the route recursion mode for an EVPN instance in VSI view ·············································· 364
Configuring SRv6 TE policy traffic steering···································································································· 364
Restrictions and guidelines for SRv6 TE policy traffic steering ······························································ 364
Configuring color-based traffic steering ································································································· 364
Configuring tunnel policy-based traffic steering ····················································································· 366
Mapping ACs to a VSI ···································································································································· 367
Mapping a Layer 3 interface to a VSI ····································································································· 367
Mapping an Ethernet service instance to a VSI ····················································································· 367
Configuring PEs to exchange BGP EVPN routes ·························································································· 368
Specifying a source address for the outer IPv6 header of SRv6-encapsulated EVPN VPLS packets ·········· 369
Configuring EVPN VPLS over SRv6 multihoming ························································································· 369
Restrictions and guidelines for EVPN VPLS over SRv6 multihoming ···················································· 369
Assigning an ESI to an interface or VSI ································································································· 370
Setting the redundancy mode ················································································································ 370
Configuring local FRR for EVPN VPLS over SRv6 ················································································ 371
Enabling VSIs to ignore the state of ACs ······························································································· 372
Enabling ARP flood suppression···················································································································· 373
Test the connectivity of an SRv6 PW ············································································································· 373
Using ping to test the connectivity of an SRv6 PW ················································································ 373
Using tracert to test the connectivity of an SRv6 PW ············································································· 374
Verifying and maintaining EVPN VPLS over SRv6 ························································································ 374
Displaying BGP EVPN route information ······························································································· 374
Displaying EVPN VPLS over SRv6 running status ················································································ 375
Displaying MAC address and ARP entries ····························································································· 375
Displaying EVPN VPLS over SRv6 forwarding entries ·········································································· 376
EVPN VPLS over SRv6 configuration examples ··························································································· 376
Example: Setting up an SRv6 tunnel between single-homed EVPN VPLS sites ··································· 376
Example: Configuring EVPN VPLS over SRv6 multihoming (static link aggregation dual-homed) ······· 380
Example: Configuring EVPN VPLS over SRv6 multihoming (S-Trunk dual-homed) ····························· 386
Configuring distributed SRv6 gateways ····················································· 394
About distributed SRv6 gateways ·················································································································· 394
Distributed SRv6 gateway deployment ·································································································· 394
Control plane working mechanisms ······································································································· 394
Data plane traffic forwarding ·················································································································· 395
Restrictions and guidelines: Distributed SRv6 gateway configuration ··························································· 396
Distributed SRv6 gateway tasks at a glance ·································································································· 396
Prerequisites for distributed SRv6 gateway configuration ············································································· 396
Creating a VSI ················································································································································ 396
Configuring an EVPN instance ······················································································································ 397
Configuring SRv6 SIDs ·································································································································· 398
Configuring a VSI interface as a distributed SRv6 gateway ·········································································· 398
Configuring the route recursion mode ············································································································ 399
Configuring SRv6 TE policy traffic steering···································································································· 400
Restrictions and guidelines for SRv6 TE policy traffic steering ······························································ 400
ix
Configuring color-based traffic steering ································································································· 400
Configuring tunnel policy-based traffic steering ····················································································· 401
Mapping ACs to a VSI ···································································································································· 402
Mapping a Layer 3 interface to a VSI ····································································································· 402
Mapping an Ethernet service instance to a VSI ····················································································· 403
Configuring PEs to exchange BGP EVPN routes ·························································································· 404
Specifying a source address for the IPv6 packets encapsulated by a distributed SRv6 gateway ················· 404
Configuring BGP EVPN route redistribution and advertisement ···································································· 405
Redistributing MAC/IP advertisement routes into BGP unicast routing tables ······································· 405
Enabling BGP EVPN route advertisement to the local site ···································································· 405
Managing remote MAC address entries and remote ARP learning ······························································· 406
Disabling MAC address advertisement ·································································································· 406
Disabling learning of MAC addresses from ARP information ································································· 406
Verifying and maintaining distributed SRv6 gateways ··················································································· 407
Distributed SRv6 gateway configuration examples ························································································ 407
Example: Configuring distributed SRv6 gateways ················································································· 407
Configuring EVPN VPWS over SRv6 ························································· 412
About EVPN VPWS over SRv6 ····················································································································· 412
Basic principle ········································································································································ 412
BGP EVPN route advertisement ············································································································ 412
Traffic forwarding ··································································································································· 412
EVPN VPWS over SRv6 multihoming ···································································································· 414
EVPN VPWS over SRv6 FRR ················································································································ 414
EVPN VPWS over SRv6 tasks at a glance ···································································································· 416
Enabling L2VPN ············································································································································· 416
Configuring a cross-connect group and its EVPN instance ··········································································· 417
Configuring SRv6 SIDs ·································································································································· 418
Applying a locator to a cross-connect ············································································································ 418
Configuring the route recursion mode ············································································································ 419
Configuring SRv6 TE policy traffic steering···································································································· 420
Restrictions and guidelines for SRv6 TE policy traffic steering ······························································ 420
Configuring color-based traffic steering ································································································· 420
Configuring tunnel policy-based traffic steering ····················································································· 421
Mapping an AC to a cross-connect ················································································································ 422
Mapping an Ethernet service instance to a cross-connect····································································· 422
Configuring PEs to exchange BGP EVPN routes ·························································································· 423
Specifying a source address for the outer IPv6 header of SRv6-encapsulated EVPN VPWS packets ········· 423
Configuring EVPN VPWS over SRv6 multihoming ························································································ 424
Restrictions and guidelines for EVPN VPWS over SRv6 multihoming ·················································· 424
Assigning an ESI to an interface ············································································································ 424
Setting the redundancy mode on an interface ······················································································· 425
Enabling cross-connects to ignore the state of ACs ·············································································· 425
Configuring FRR for EVPN VPWS over SRv6 ······························································································· 426
Configuring local FRR ···························································································································· 426
Configuring remote FRR ························································································································ 427
Test the connectivity of an SRv6 PW ············································································································· 428
Using ping to test the connectivity of an SRv6 PW ················································································ 428
Using tracert to test the connectivity of an SRv6 PW ············································································· 428
Verifying and maintaining EVPN VPWS over SRv6 ······················································································ 429
Displaying BGP EVPN route information ······························································································· 429
Displaying EVPN VPWS over SRv6 running status ··············································································· 429
Displaying EVPN VPLS over SRv6 forwarding information ··································································· 430
EVPN VPWS over SRv6 configuration examples ·························································································· 430
Example: Setting up an SRv6 tunnel between single-homed EVPN VPWS sites ································· 430
Example: Configuring EVPN VPWS over SRv6 multihoming (static link aggregation dual-homed) ······ 435
Example: Configuring EVPN VPWS over SRv6 multihoming (S-Trunk dual-homed) ···························· 442
Document conventions and icons ······························································ 450
Conventions ··················································································································································· 450
Network topology icons ·································································································································· 451
x
Support and other resources ····································································· 452
Accessing Hewlett Packard Enterprise Support····························································································· 452
Accessing updates ········································································································································· 452
Websites ················································································································································ 453
Customer self repair ······························································································································· 453
Remote support ······································································································································ 453
Documentation feedback ······················································································································· 453
Index ·········································································································· 455
1
Configuring SR-MPLS
About SR-MPLS
Segment Routing (SR) is a source routing technology. The source node selects a path for the
packets, and then encodes the path in the packet header as an ordered list of segments. Each
segment is identified by a label called a segment identifier (SID). The SR nodes along the path
forward the packets based on the SIDs in the packets. Only the source node needs to maintain the
path status.
SR can operate with MPLS. In an MPLS network, SR uses MPLS labels as SIDs to forward packets
on an LSP.
SR-MPLS characteristics
SR-MPLS has the following characteristics:
•
SR-MPLS forwards packets based on the existing MPLS infrastructure. No infrastructure
modifications are needed to implement SR on an MPLS network. For more information about
the MPLS infrastructure, see MPLS basics configuration in MPLS Configuration Guide.
•
SR-MPLS expands and optimizes existing IGPs and BGP and uses the IGPs and BGP to
distribute labels.
•
SR-MPLS implements network features such as MPLS TE in a simpler way, eliminating issues
such as heavy and complicated routing protocol deployment.
Basic concepts
•
SR node—A node enabled with the SR-MPLS feature. The ingress node (source node) adds
labels to packets. The transit nodes forward packets based on labels. The egress node
(endpoint node) removes labels and forwards packets to the destination networks. SR nodes
form an SR domain.
•
Segment—An instruction an SR node executes on the incoming packet.
•
SID—Segment ID, which is MPLS label in SR-MPLS.
•
Segment type—The following types of segments are available:
 Prefix segment—SIDs are assigned to nodes based on destination address prefix. The
nodes create prefix-specific forwarding entries.
 Adjacency segment—SIDs are assigned to nodes based on adjacency.
•
SRLSP—Segment routing label switched path, an LSP along which SR uses MPLS labels as
SIDs to forward packets.
•
SRGB—Segment routing global block, a range of global labels dedicated for SR-MPLS prefix
SIDs. Different nodes can have different SRGBs. The minimum label value of an SRGB label
range is referred to as the base value of the SRGB.
•
SRLB—Segment routing local block, a range of local labels dedicated for SR-MPLS adjacency
SIDs. All nodes share the same SRLB. The minimum label value of the SRLB label range is
referred to as the base value of the SRLB.
How SR-MPLS works
SR-MPLS involves the following steps:
2
1. Label allocation for all nodes and links along the packet forwarding paths.
The following methods are available:
ï‚¡ Static segment configuration
ï‚¡ Dynamic SID allocation through an IGP
2. Label forwarding entry installation based on SIDs. All SR-MPLS devices in the SR domain use
the allocated labels to create label forwarding entries.
3. SRLSP setup. You can manually configure SRLSPs, or use an IGP, BGP, or a controller to
dynamically create SRLSPs.
When the ingress node of an SRLSP receives a packet, it adds labels to the packet and forwards the
packet to the egress node through the SRLSP. After receiving a packet from the SRLSP, the egress
node removes the label and forwards the packet based on the routing table.
You can bind a higher layer application (for example, MPLS TE) to an SRLSP to forward traffic of the
application through the SRLSP.
Traffic steering to an SR-MPLS tunnel
SR-MPLS tunnels include SR-MPLS BE tunnels and SR-MPLS TE tunnels.
After an SR-MPLS BE or SR-MPLS TE tunnel is established, traffic cannot be forwarded
automatically through the tunnel. You can use the following methods to steer traffic to an SR-MPLS
BE or SR-MPLS TE tunnel:
Static route
The static route method is a simple, direct method for steering traffic to an SR-MPLS TE tunnel.
This method configures a static route destined for the destination address through the tunnel
interface and allows the static route to recurse to LSP tunnels established by SR-MPLS TE. For
more information about static route recursion to LSP tunnels, see static route configuration in Layer
3—IP Routing Configuration Guide.
Tunnel policy
When traffic of a VPN is forwarded through a tunnel, the traffic is forwarded through an LDP LSP
tunnel by default. To direct the traffic to an SR-MPLS BE or SR-MPLS TE tunnel, you can apply a
tunnel policy or tunnel selector to the VPN.
Based on the service requirements, you can configure one of the following types of tunnel policy to
direct traffic of a VPN to an SR-MPLS BE or SR-MPLS TE tunnel:
•
Tunnel binding—Bind a destination IP address to a tunnel in a tunnel policy. After the tunnel
policy is applied to a VPN, the VPN traffic to the destination IP address will be forwarded by the
bound tunnel.
•
Preferred tunnel—Specify an SR-MPLS TE tunnel as a preferred tunnel in a tunnel policy.
After the tunnel policy is applied to a VPN, the VPN traffic will be forwarded by the preferred
tunnel. This method explicitly specifies a tunnel for a VPN, facilitating traffic planning.
•
Load sharing—Specify the tunnel types (SR-MPLS BE or SR-MPLS TE tunnels) and selection
order and the number of tunnels for load sharing in a tunnel policy.
For more information about tunnel policies, see MPLS Configuration Guide.
PBR
The policy-based routing (PBR) method defines a PBR policy to specify the output interface for
packets that match an ACL as an SR-MPLS TE tunnel interface, and then applies the PBR policy to
the incoming interface of packets. In this way, traffic is redirected to the SR-MPLS TE tunnel.
The PBR method can match the packets to be forwarded by a tunnel interface by packet destination
IP address, source IP address, and protocol type. Compared with the static route method, the PBR
3
method is more flexible but its configuration is more complicated. For more information about PBR,
see policy-based routing configuration in Layer 3—IP Routing Configuration Guide.
Automatic route advertisement
Automatic route advertisement distributes the SR-MPLS TE tunnel to the IGP (OSPF or IS-IS), so
the SR-MPLS TE tunnel can participate in IGP routing calculation.
Automatic route advertisement can be implemented by using the following methods:
•
IGP shortcut—Also known as AutoRoute Announce. It considers the SR-MPLS TE tunnel as a
link that directly connects the tunnel ingress node (source node) and the egress node (endpoint
node). Only the ingress node uses the SR-MPLS TE tunnel during IGP route calculation.
•
Forwarding adjacency—Considers the SR-MPLS TE tunnel as a link that directly connects
the tunnel ingress node and the egress node, and advertises the link to the network through an
IGP. Every node in the network uses the SR-MPLS TE tunnel during IGP route calculation.
As shown in Figure 1, an SR-MPLS TE tunnel exists from Device D to Device C. IGP shortcut
enables only the ingress node Device D to use the SR-MPLS TE tunnel in the IGP route calculation.
Device A cannot use this tunnel to reach Device C. With forwarding adjacency enabled, Device A can
learn this SR-MPLS TE tunnel and transfer traffic to Device C by forwarding the traffic to Device D.
Figure 1 IGP shortcut and forwarding adjacency
Static segment configuration
Static SR-MPLS provides the following methods for configuring static segments for a destination:
•
Prefix segment method—Manually configure the incoming label, outgoing label, and next hop
for the destination address prefix on each SR node.
•
Adjacency segment method—Manually configure the incoming label and next hop for the
adjacency to the neighbor on each SR node.
Dynamic SID allocation through an IGP
SR-MPLS expands IGP protocols such as IS-IS and OSPF to advertise SIDs in IGP protocol packets.
SR-MPLS provides the following methods for dynamically allocating and advertising SIDs:
•
Prefix SID.
•
Adjacency SID.
Device D
Device A
Device B
Device C
Device E
10
20
10
10
10
20
4
Prefix SID
After you configure an SID for the loopback address on each SR node, the SIDs uniquely identify the
SR nodes. All SR nodes in the SR domain use an IGP to advertise their own prefix SIDs. After
receiving advertised prefix SIDs, each SR node calculates the prefix SIDs to the advertisers.
The prefix SID advertisement can be one of the following types:
•
Absolute value advertisement—Each SR node advertises the prefix SID absolute value and
the SRGB.
•
Index value advertisement—Each SR node advertises the prefix SID index and the SRGB.
Each SR node is assigned a globally unique index value for the node's prefix. The prefix SID an SR
node allocates to a prefix equals the SRGB base of the SR node plus the index for that prefix.
NOTE:
The device supports only the index value advertisement in the current software release.
Adjacency SID
SR nodes use an IGP to advertise SIDs allocated to the IGP adjacencies (that is, the links to its IGP
neighbors). The SIDs are used to identify the links.
The adjacency SIDs can be allocated automatically or manually.
•
Automatic adjacency SID allocation—SR nodes allocate labels in SRLBs to the IGP
adjacencies as SIDs.
•
Manual adjacency SID allocation—You can assign adjacency SID by using absolute values
or index values. If you use index values, the adjacency SID of a link is the base value of the
SRLB plus the index value for the link.
Dynamic SID allocation through BGP
SR-MPLS expands BGP to advertise prefix SIDs in BGP protocol packets. BGP uses routing policies
to assign SIDs to prefixes when redistributing routes. The SIDs uniquely identify the SR nodes. All
SR nodes in the SR domain use BGP to advertise their own prefix SIDs, including the SIDs and SID
index values. From received advertisement packets, each SR node derives the prefix SIDs for the
advertisers.
BGP prefix SIDs can be exchanged between BGP peers only through IPv4 unicast routes.
Dynamic SID allocation through BGP applies to MPLS VPN inter-AS option C networks.
SID allocation through BGP EPE
The BGP Egress Peer Engineering (BGP EPE) feature assigns labels to BGP peers to steer traffic
across ASs to specific BGP neighbors or links.
After you configure BGP EPE on a device, the device assigns SIDs to connected BGP peers or peer
groups to identify the BGP neighbors or links. These SIDs are called BGP peering SIDs or BGP
peering segments.
BGP peering segments or SIDs fall into the following types:
•
Peer Node Segment (Peer Node SID)—Node type, typically assigned to a BGP neighbor that
has used a directly connected interface to establish a BGP session with the device.
•
Peer Adjacency Segment (Peer Adjacency SID)—Adjacency type, typically assigned to a
BGP neighbor that uses a loopback interface to establish a BGP session with the device.
•
Peer Set Segment (Peer Set SID)—Set type, typically assigned to links when multiple equal
cost multi-path (ECMP) paths exist between the device and a BGP neighbor.
5
SIDs that BGP EPE assigns are locally significant. These SIDs are not advertised to other devices
and are not affected by route types exchanged between BGP peers.
SID allocation through BGP EPE is typically used for MPLS VPN inter-AS option B.
Label forwarding entry installation based on SIDs
Label forwarding entry installation based on IGP prefix SIDs
Label forwarding entries based on prefix SIDs can be static or dynamic.
•
Static label forwarding entries—The device creates local label forwarding entries based on
manually configured incoming labels, outgoing labels, and next hops.
•
Dynamic label forwarding entries—The device uses the IGP to flood in the SR domain the
local SRGB and the index of the prefix SID for the local loopback interface. Based on the
flooded information, the other devices in the domain calculates their local label forwarding
entries by using the following rules:
ï‚¡ Incoming label = Local SRGB base value + Index
ï‚¡ Outgoing label = SRGB base value of the next hop + Index
Figure 2 Creating label forwarding entries based on IGP prefix SIDs
Figure 2 shows how dynamic label forwarding entries are created. After you assign index value 201
to loopback address 1.1.1.1/32 on Device C, Device C uses an IGP packet to advertise the index
value and its local SRGB. Then, the devices calculate incoming and outgoing labels according to the
previously mentioned label calculation rules.
•
Devices C calculates its incoming label, which is 16201.
•
Device B calculates its incoming label and outgoing label and creates a label forwarding entry.
The incoming label is 16201. The outgoing label is 16201. The next hop is Device C.
•
Device A calculates its incoming label and outgoing label and creates a label forwarding entry.
The incoming label is 16201. The outgoing label is 16201. The next hop is Device B.
Label forwarding entry installation based on BGP prefix SIDs
The device redistributes routes to BGP and assigns prefix SIDs to redistributed routes based on
routing policies. Then, the device uses BGP to flood in the SR domain the prefix SIDs and the
indexes of the prefix SIDs. Based on the flooded information, the other devices in the domain
calculates their local label forwarding entries by using the following rules:
•
Incoming label = Local SRGB base value + Index
•
Outgoing label = Received SID
Device A Device B Device C
1000
Range
SRGB Base
16000 1000
Range
SRGB Base
16000 1000
Range
SRGB Base
16000
L
o
o
p
0
1
.
1
.
1
.
1
/
3
2
201
Device B
Nexthop
In Label
16201 Out Label
16201 Device C
NexthopIn Label
16201 Out Label
16201 In Label
16201
6
Figure 3 Creating label forwarding entries based on BGP prefix SIDs
Figure 3 shows how label forwarding entries are created. After you assign index value 201 to
loopback address 1.1.1.1/32 on Device D, Device D redistributes the route of the address and
assigns it an SID (16201 in this example). Then, the device uses a BGP packet to advertise the SID
and index value. The devices in the SR domain calculate incoming and outgoing labels according to
the previously mentioned label calculation rules and create label forwarding entries.
•
Devices D calculates its incoming label, which is 16201.
•
Device C calculates its incoming label and outgoing label and creates a label forwarding entry.
The incoming label is 16201. The outgoing label is 16201. The next hop is Device D.
•
Device B calculates its incoming label and outgoing label and creates a label forwarding entry.
The incoming label is 16201. The outgoing label is 16201. The next hop is Device C.
•
Device A calculates its incoming label and outgoing label and creates a label forwarding entry.
The incoming label is 16201. The outgoing label is 16201. The next hop is Device B.
Label forwarding entry installation based on BGP EPE
Configure BGP EPE on border devices to assign SIDs to specific peers or peer groups.
Figure 4 Creating label forwarding entries by using BGP EPE
As shown in Figure 4, you can configure BGP EPE on Device B to assign BGP peering SIDs to
EBGP neighbors Device C and Device D. BGP peering SIDs are locally significant and are not
advertised to neighbors.
Label forwarding entry installation based on adjacency SIDs
When using adjacency SIDs, each device allocates a static or dynamic incoming label to the link to
its neighbor. The label has local significance. Multiple devices can use the same adjacency SID.
EBGP
AS 100 AS 200
IBGP IBGP L
o
o
p
0
1
.
1
.
1
.
1
/
3
2
201
In Label
16201
8000
Range
SRGB Base
16000
8000
Range
SRGB Base
160008000
Range
SRGB Base
16000
Device DDevice CDevice BDevice A
Device D
NexthopIn Label
16201 Out Label
16201
Device C
Nexthop
In Label
16201 Out Label
16201
Device B
NexthopIn Label
16201 Out Label
16201
8000
RangeSRGB Base
16000
EBGP
AS 100 AS 200
IBGP
IBGP
Device E
Device D
Device B
Device A
Device C
EBGP
IBGP
Device D
Nexthop
In Label
6000
Device C
Nexthop
In Label
5000
7
Figure 5 Creating label forwarding entries based on adjacency SIDs
As shown in Figure 5, the devices are running the same IGP. After IGP adjacencies are established
between the devices, Device A, Device B, and Device C allocates labels and creates label
forwarding entries as follows:
•
Device A allocates label 203 to the link to its neighbor Device B.
•
Device B allocates label 202 to the link to its neighbor Device C.
•
Device C allocates label 201 to the link to its neighbor Device D.
•
Device A creates a label forwarding entry with incoming label 203 and next hop Device B.
•
Device B creates a label forwarding entry with incoming label 202 and next hop Device C.
•
Device C creates a label forwarding entry with incoming label 201 and next hop Device D.
SRLSP setup
You can use the following methods to create SRLSPs:
•
Manually configure an SRLSP.
To configure an SRLSP, you must specify the label stack for packets to be forwarded along the
SRLSP on the ingress node. Each label in the stack corresponds to a prefix SID or adjacency
SID. The system can look for the outgoing label and next hop based on the prefix SID or
adjacency SID.
•
Configure SR nodes to use BGP or an IGP to dynamically establish an SRLSP.
SR nodes follow these steps to establish SRLSPs:
a. Use BGP or an IGP to collect prefix SID information from the SR-MPLS network.
b. Calculate the shortest paths to other SR nodes based on the collected prefix SID
information and the BGP or IGP network topology.
c. Establish SRLSPs based on the shortest paths.
•
Configure a controller to deploy SRLSP configuration to the device so the device creates
SRLSPs.
For more information about controller configuration, see the user guide for the controller.
Packet forwarding in SR-MPLS
Based on the SID allocation method, SR-MPLS uses one of the following packet forwarding
methods:
•
Prefix SID-based packet forwarding—The ingress node encapsulates the prefix SID for the
egress node to a packet. The transit nodes forward the packet based on label forwarding
entries.
•
Adjacency SID-based packet forwarding—The ingress node encapsulates the label stack
that contains the adjacency SIDs of all links along the forwarding path to a packet. Each transit
node uses the top label in the label stack to determine the next hop and pops the top label
before forwarding the packet to the next hop.
•
Prefix and adjacency SID-based packet forwarding—The nodes use prefix SID-based
packet forwarding in combination with adjacency-based packet forwarding.
8
Prefix SID-based packet forwarding within the same AS
Figure 6 shows how a packet is forwarded along the SRLSP from Device A to Device E based on
prefix SIDs. In this example, the outgoing label for the packet is 16201 on Device A.
1. Ingress node Device A searches for a forwarding entry for label 16201, adds outgoing label
16201 to the packet and sends the packet to the next hop (Device B).
2. When transit node Device B receives the packet, it searches for a label forwarding entry that
matches the label in the packet. Then, Device B uses the outgoing label of the matched entry
(16201) to replace the label in the packet and forwards the packet to the next hop (Device C).
3. Transit nodes Device C and Device D process the packet in the same way Device B does.
4. When egress node Device E receives the packet, it removes the label and forwards the packet
by IP address.
Figure 6 Prefix SID-based packet forwarding within the same AS
Prefix SID-based packet forwarding across ASs
Figure 7 shows how a packet is forwarded along the SRLSP from Device A to Device D based on
prefix SIDs. In this example, the outgoing label for the packet is 16201 on Device A.
1. Ingress node Device A searches for a forwarding entry for label 16201, adds outgoing label
16201 to the packet, and sends the packet to the next hop (Device B).
2. When transit node Device B receives the packet, it searches for a label forwarding entry that
matches the label in the packet (16201). Then, Device B uses the outgoing label of the matched
entry (16201) to replace the label in the packet and forwards the packet to the next hop (Device
C).
3. Transit nodes Device C processes the packet in the same way Device B does.
4. When egress node Device D receives the packet, it removes the label and forwards the packet
by IP address.
Figure 7 Prefix SID-based packet forwarding across ASs
Device A Device B Device C Device D Device E
Device B
Nexthop
In Label
16201 Out Label
16201
Device C
Nexthop
In Label
16201 Out Label
16201
Device D
Nexthop
In Label
16201 Out Label
16201
Device E
Nexthop
In Label
16201 Out Label
16201
In Label
16201
16201
IP data 16201
IP data 16201
IP data 16201
IP data
SRGB: 16000-17000
EBGP
AS 100 AS 200
IBGP IBGP Device D
Device C
Device BDevice A
Device D
NexthopIn Label
16201 Out Label
16201
Device C
NexthopIn Label
16201 Out Label
16201
16201
IP data 16201
IP data
In Label
16201
16201
IP data
Device B
NexthopIn Label
16201 Out Label
16201
/