HPE FlexNetwork 5510 HI Switch Series - Hewlett Packardh20628. · HPE FlexNetwork 5510 HI Switch...

571
HPE FlexNetwork 5510 HI Switch Series MPLS Configuration Guide Part number: 5200-3626 Software version: Release 13xx Document version: 6W100-20170315

Transcript of HPE FlexNetwork 5510 HI Switch Series - Hewlett Packardh20628. · HPE FlexNetwork 5510 HI Switch...

  • HPE FlexNetwork 5510 HI Switch Series MPLS Configuration Guide Part number: 5200-3626 Software version: Release 13xx Document version: 6W100-20170315

  • © Copyright 2015, 2017 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 basic MPLS ···································································· 1 Overview ·································································································································· 1

    Basic concepts ··················································································································· 1 MPLS network architecture ···································································································· 2 LSP establishment ··············································································································· 3 MPLS forwarding ················································································································· 4 PHP ································································································································· 5 Protocols and standards ······································································································· 5

    MPLS configuration task list ········································································································· 6 Enabling MPLS ························································································································· 6 Setting MPLS MTU····················································································································· 6 Specifying the label type advertised by egress ················································································· 7 Configuring TTL propagation ········································································································ 8 Enabling sending MPLS TTL-expired messages ··············································································· 9 Enabling MPLS forwarding statistics ······························································································ 9 Enabling SNMP notifications for MPLS ························································································· 10 Displaying and maintaining MPLS ······························································································· 10

    Configuring a static LSP ·································································· 12 Overview ································································································································ 12 Configuration guidelines ············································································································ 12 Configuration prerequisites ········································································································ 12 Configuration procedure ············································································································ 13 Displaying static LSPs··············································································································· 13 Static LSP configuration example ································································································ 13

    Network requirements ········································································································ 13 Configuration restrictions and guidelines ················································································ 14 Configuration procedure ····································································································· 14 Verifying the configuration ··································································································· 15

    Configuring LDP ············································································ 17 Overview ································································································································ 17

    Terminology ····················································································································· 17 LDP messages ················································································································· 17 LDP operation ·················································································································· 18 Label distribution and control ······························································································· 19 LDP GR ·························································································································· 21 LDP NSR ························································································································· 22 LDP-IGP synchronization ···································································································· 22 LDP FRR ························································································································· 23 LDP over MPLS TE ··········································································································· 24 Protocols ························································································································· 24

    LDP configuration task list ·········································································································· 24 Enabling LDP ·························································································································· 25

    Enabling LDP globally ········································································································ 25 Enabling LDP on an interface ······························································································· 26

    Configuring Hello parameters ····································································································· 26 Configuring LDP session parameters ··························································································· 27 Configuring LDP backoff ············································································································ 28 Configuring LDP MD5 authentication ···························································································· 29 Configuring LDP to redistribute BGP unicast routes ········································································· 29 Configuring an LSP generation policy ··························································································· 30 Configuring the LDP label distribution control mode ········································································· 31 Configuring a label advertisement policy ······················································································· 31 Configuring a label acceptance policy ··························································································· 32 Configuring LDP loop detection ··································································································· 33

    Restrictions and guidelines ·································································································· 33

  • ii

    Configuration procedure ····································································································· 33 Configuring LDP session protection ····························································································· 34 Configuring LDP GR ················································································································· 34 Configuring LDP NSR ··············································································································· 35 Configuring LDP-IGP synchronization ·························································································· 35

    Configuring LDP-OSPF synchronization ················································································· 35 Configuring LDP IS-IS synchronization··················································································· 36

    Configuring LDP FRR ··············································································································· 37 Setting a DSCP value for outgoing LDP packets ············································································· 37 Resetting LDP sessions ············································································································ 37 Enabling SNMP notifications for LDP ··························································································· 38 Displaying and maintaining LDP ·································································································· 38 IPv4 LDP configuration examples ································································································ 38

    LDP LSP configuration example ··························································································· 38 Label acceptance control configuration example ······································································ 42 Label advertisement control configuration example ··································································· 46 LDP FRR configuration example ··························································································· 51

    IPv6 LDP configuration examples ································································································ 54 IPv6 LDP LSP configuration example ···················································································· 54 IPv6 label acceptance control configuration example ································································ 60 IPv6 label advertisement control configuration example ····························································· 64

    Configuring MPLS TE ····································································· 71 Overview ································································································································ 71

    TE and MPLS TE ·············································································································· 71 MPLS TE basic concepts ···································································································· 71 Static CRLSP establishment ································································································ 71 Dynamic CRLSP establishment ···························································································· 71 CRLSP establishment using PCE path calculation ···································································· 73 Traffic forwarding ·············································································································· 74 Make-before-break ············································································································ 75 Route pinning ··················································································································· 76 Tunnel reoptimization ········································································································· 76 CRLSP backup ················································································································· 76 FRR ······························································································································· 76 DiffServ-aware TE ············································································································· 77 Bidirectional MPLS TE tunnel ······························································································· 79 Protocols and standards ····································································································· 80

    MPLS TE configuration task list ··································································································· 80 Enabling MPLS TE ··················································································································· 82 Configuring a tunnel interface ····································································································· 82 Configuring DS-TE ··················································································································· 83 Configuring an MPLS TE tunnel to use a static CRLSP ···································································· 83 Configuring an MPLS TE tunnel to use a dynamic CRLSP ································································ 84

    Configuration task list ········································································································· 84 Configuring MPLS TE attributes for a link ··············································································· 84 Advertising link TE attributes by using IGP TE extension ··························································· 85 Configuring MPLS TE tunnel constraints ················································································ 86 Establishing an MPLS TE tunnel by using RSVP-TE ································································· 88 Controlling CRLSP path selection ························································································· 88 Controlling MPLS TE tunnel setup ························································································ 90

    Configuring an MPLS TE tunnel to use a CRLSP calculated by PCEs ················································· 92 Configuring a PCE ············································································································· 92 Discovering PCEs ············································································································· 92 Establishing a CRLSP by using the path calculated by PCEs ······················································ 92 Establishing a backup CRLSP by using the path calculated by PCEs ··········································· 93 Configuring PCEP session parameters ·················································································· 93

    Configuring traffic forwarding ······································································································ 94 Configuring static routing to direct traffic to an MPLS TE tunnel ··················································· 94 Configuring automatic route advertisement to direct traffic to an MPLS TE tunnel ···························· 94

    Configuring a bidirectional MPLS TE tunnel ··················································································· 95 Restrictions and guidelines ·································································································· 95

  • iii

    Prerequisites ···················································································································· 95 Configuring the active end of a co-routed bidirectional MPLS TE tunnel ········································ 96 Configuring the passive end of a co-routed bidirectional MPLS TE tunnel ······································ 96 Configuring an associated bidirectional MPLS TE tunnel ···························································· 96

    Configuring CRLSP backup ········································································································ 96 Configuring MPLS TE FRR ········································································································ 97

    Enabling FRR ··················································································································· 97 Configuring a bypass tunnel on the PLR ················································································· 97 Configuring node fault detection ························································································· 101 Setting the optimal bypass tunnel selection interval ································································ 101

    Enabling SNMP notifications for MPLS TE ·················································································· 102 Displaying and maintaining MPLS TE ························································································· 102 MPLS TE configuration examples ······························································································ 103

    Establishing an MPLS TE tunnel over a static CRLSP ····························································· 103 Establishing an MPLS TE tunnel with RSVP-TE ····································································· 108 Establishing an inter-AS MPLS TE tunnel with RSVP-TE ························································· 113 Establishing an inter-area MPLS TE tunnel over a CRLSP calculated by PCEs ···························· 120 Bidirectional MPLS TE tunnel configuration example ······························································· 125 CRLSP backup configuration example ················································································· 131 Manual bypass tunnel for FRR configuration example ····························································· 135 Auto FRR configuration example ························································································ 140 IETF DS-TE configuration example ····················································································· 146

    Troubleshooting MPLS TE ······································································································· 153 No TE LSA generated ······································································································ 153

    Configuring a static CRLSP ···························································· 155 Overview ······························································································································ 155 Configuration procedure ·········································································································· 155 Displaying static CRLSPs ········································································································ 156 Static CRLSP configuration example ·························································································· 156

    Network requirements ······································································································ 156 Configuration procedure ··································································································· 157 Verifying the configuration ································································································· 159

    Configuring RSVP ········································································ 162 Overview ······························································································································ 162

    RSVP messages ············································································································· 162 CRLSP setup procedure ··································································································· 163 RSVP refresh mechanism ································································································· 163 RSVP authentication ········································································································ 164 RSVP GR ······················································································································ 164 Protocols and standards ··································································································· 165

    RSVP configuration task list ····································································································· 165 Enabling RSVP ····················································································································· 165 Configuring RSVP refresh ········································································································ 165 Configuring RSVP Srefresh and reliable RSVP message delivery ···················································· 166 Configuring RSVP hello extension ····························································································· 166 Configuring RSVP authentication ······························································································ 167 Setting a DSCP value for outgoing RSVP packets ········································································ 168 Configuring RSVP GR ············································································································· 169 Enabling BFD for RSVP ·········································································································· 169 Displaying and maintaining RSVP ····························································································· 169 RSVP configuration examples ·································································································· 170

    Establishing an MPLS TE tunnel with RSVP-TE ····································································· 170 RSVP GR configuration example ························································································ 176

    Configuring tunnel policies ····························································· 179 Overview ······························································································································ 179 Configuring a tunnel policy ······································································································· 179

    Configuration guidelines ··································································································· 179 Configuration procedure ··································································································· 180

    Displaying tunnel information ···································································································· 180

  • iv

    Tunnel policy configuration examples ························································································· 181 Exclusive tunnel configuration example ················································································ 181 Preferred tunnel and tunnel selection order configuration example ············································· 181

    Configuring MPLS L3VPN ······························································ 184 Overview ······························································································································ 184

    Basic MPLS L3VPN architecture ························································································ 184 MPLS L3VPN concepts ···································································································· 184 MPLS L3VPN route advertisement ······················································································ 186 MPLS L3VPN packet forwarding ························································································· 187 MPLS L3VPN networking schemes ····················································································· 188 Inter-AS VPN ·················································································································· 190 Carrier's carrier ··············································································································· 194 Nested VPN ··················································································································· 196 HoVPN ·························································································································· 197 OSPF VPN extension ······································································································· 199 BGP AS number substitution and SoO attribute ····································································· 201 MPLS L3VPN FRR ·········································································································· 202 Protocols and standards ··································································································· 204

    MPLS L3VPN configuration task list ··························································································· 204 Configuring basic MPLS L3VPN ································································································ 205

    Configuration prerequisites ································································································ 205 Configuring VPN instances ································································································ 205 Configuring routing between a PE and a CE ·········································································· 207 Configuring routing between PEs ························································································ 212 Configuring BGP VPNv4 route control ·················································································· 212

    Configuring inter-AS VPN ········································································································ 214 Configuring inter-AS option A ····························································································· 214 Configuring inter-AS option B ····························································································· 214 Configuring inter-AS option C ····························································································· 216

    Configuring nested VPN ·········································································································· 218 Configuring HoVPN ················································································································ 219 Configuring an OSPF sham link ································································································ 220

    Configuring a loopback interface ························································································· 221 Redistributing the loopback interface address ········································································ 221 Creating a sham link ········································································································ 221

    Specifying the VPN label processing mode on the egress PE ·························································· 222 Configuring BGP AS number substitution and SoO attribute ···························································· 222 Configuring MPLS L3VPN FRR ································································································· 223 Configuring BGP RT filtering ···································································································· 225 Configuring route replication ····································································································· 226 Enabling SNMP notifications for MPLS L3VPN ············································································· 226 Enabling logging for BGP route flapping ······················································································ 227 Displaying and maintaining MPLS L3VPN ··················································································· 227 MPLS L3VPN configuration examples ························································································ 228

    Configuring basic MPLS L3VPN ························································································· 228 Configuring a hub-spoke network ························································································ 234 Configuring MPLS L3VPN inter-AS option A ·········································································· 240 Configuring MPLS L3VPN inter-AS option B ·········································································· 245 Configuring MPLS L3VPN inter-AS option C ········································································· 250 Configuring MPLS L3VPN carrier's carrier in the same AS ······················································· 257 Configuring MPLS L3VPN carrier's carrier in different ASs ······················································· 265 Configuring nested VPN ··································································································· 272 Configuring HoVPN ········································································································· 281 Configuring an OSPF sham link ·························································································· 288 Configuring BGP AS number substitution ············································································· 293 Configuring BGP AS number substitution and SoO attribute ····················································· 296 Configuring MPLS L3VPN FRR through VPNv4 route backup for a VPNv4 route ·························· 299 Configuring MPLS L3VPN FRR through VPNv4 route backup for an IPv4 route ···························· 301 Configuring MPLS L3VPN FRR through IPv4 route backup for a VPNv4 route······························ 303

  • v

    Configuring IPv6 MPLS L3VPN ······················································· 306 Overview ······························································································································ 306

    IPv6 MPLS L3VPN packet forwarding ·················································································· 306 IPv6 MPLS L3VPN routing information advertisement ····························································· 307 IPv6 MPLS L3VPN network schemes and features ································································· 307 Protocols and standards ··································································································· 307

    IPv6 MPLS L3VPN configuration task list ···················································································· 308 Configuring basic IPv6 MPLS L3VPN ························································································· 308

    Configuration prerequisites ································································································ 308 Configuring VPN instances ································································································ 308 Configuring routing between a PE and a CE ·········································································· 310 Configuring routing between PEs ························································································ 316 Configuring BGP VPNv6 route control ·················································································· 317

    Configuring inter-AS IPv6 VPN ································································································· 318 Configuring inter-AS IPv6 VPN option A ··············································································· 319 Configuring inter-AS IPv6 VPN option C ··············································································· 319

    Configuring an OSPFv3 sham link ····························································································· 320 Configuring a loopback interface ························································································· 320 Redistributing the loopback interface address ········································································ 320 Creating a sham link ········································································································ 321

    Configuring BGP AS number substitution and SoO attribute ···························································· 321 Enabling logging for BGP route flapping ······················································································ 322 Displaying and maintaining IPv6 MPLS L3VPN ············································································ 322 IPv6 MPLS L3VPN configuration examples ················································································· 323

    Configuring IPv6 MPLS L3VPNs ························································································· 323 Configuring a hub-spoke network ························································································ 329 Configuring IPv6 MPLS L3VPN inter-AS option A ··································································· 336 Configuring IPv6 MPLS L3VPN inter-AS option C ··································································· 341 Configuring IPv6 MPLS L3VPN carrier's carrier in the same AS ················································ 347 Configuring an OSPFv3 sham link ······················································································ 354 Configuring BGP AS number substitution ············································································· 359 Configuring BGP AS number substitution and SoO attribute ····················································· 363

    Configuring MPLS L2VPN ······························································ 366 Overview ······························································································································ 366

    Basic concepts of MPLS L2VPN ························································································· 366 MPLS L2VPN network model ····························································································· 367 Remote connection establishment ······················································································ 367 PW data encapsulation types ····························································································· 368 Control word ··················································································································· 369 PW redundancy ·············································································································· 369 Multi-segment PW ··········································································································· 370 VCCV ··························································································································· 372

    MPLS L2VPN configuration task list ··························································································· 372 Enabling L2VPN ···················································································································· 372 Configuring an AC ·················································································································· 373 Configuring a cross-connect ····································································································· 373 Configuring a PW ··················································································································· 374

    Configuring a PW class ···································································································· 374 Configuring a static PW ···································································································· 374 Configuring an LDP PW ···································································································· 374 Configuring a BGP PW ····································································································· 375 Configuring a remote CCC connection ················································································· 377

    Binding an AC to a cross-connect ······························································································ 377 Configuring PW redundancy ····································································································· 379

    About PW redundancy ······································································································ 379 Restrictions and guidelines for configuring PW redundancy ······················································ 379 Configuring static PW redundancy ······················································································ 379 Configuring LDP PW redundancy ······················································································· 379

    Enabling SNMP notifications for L2VPN PW ················································································ 380 Displaying and maintaining MPLS L2VPN ··················································································· 380

  • vi

    MPLS L2VPN configuration examples ························································································ 381 Configuring a static PW ···································································································· 381 Configuring an LDP PW ···································································································· 385 Configuring a BGP PW ····································································································· 389 Configuring a remote CCC connection ················································································· 393 Configuring LDP PW redundancy ······················································································· 397 Configuring an intra-domain multi-segment PW ····································································· 402 Configuring an inter-domain multi-segment PW ····································································· 406

    Configuring VPLS ········································································· 413 Overview ······························································································································ 413

    Basic VPLS architecture ··································································································· 413 VPLS implementation ······································································································· 414 H-VPLS ························································································································· 416

    VPLS configuration task list ······································································································ 418 Enabling L2VPN ···················································································································· 418 Configuring an AC ·················································································································· 419 Configuring a VSI ··················································································································· 419 Configuring a PW ··················································································································· 420

    Configuring a PW class ···································································································· 420 Configuring a static PW ···································································································· 420 Configuring an LDP PW ···································································································· 420 Configuring a BGP PW ····································································································· 421 Configuring a BGP auto-discovery LDP PW ·········································································· 423

    Binding an AC to a VSI ············································································································ 425 Configuring UPE dual homing ··································································································· 426

    Configuring static PW redundancy ······················································································ 426 Configuring LDP PW redundancy ······················································································· 426

    Configuring MAC address learning ···························································································· 427 Enabling SNMP notifications for L2VPN PW ················································································ 427 Displaying and maintaining VPLS ······························································································ 428 VPLS configuration examples ··································································································· 429

    Static PW configuration example ························································································ 429 LDP PW configuration example ·························································································· 433 BGP PW configuration example ························································································· 436 BGP auto-discovery LDP PW configuration example ······························································· 440 H-VPLS using MPLS access configuration example ································································ 444 Ethernet service instance and VSI binding configuration example ·············································· 449 H-VPLS UPE dual homing configuration example ··································································· 453

    Configuring MPLS OAM ································································ 460 Overview ······························································································································ 460

    MPLS ping ····················································································································· 460 MPLS tracert ·················································································································· 460 BFD for MPLS ················································································································ 460 Periodic MPLS tracert ······································································································ 461

    Protocols and standards ·········································································································· 461 Configuring MPLS OAM for LSP tunnels ····················································································· 461

    Configuring MPLS ping for LSPs ························································································ 461 Configuring MPLS tracert for LSPs ······················································································ 462 Configuring BFD for LSPs ································································································· 462 Configuring periodic MPLS tracert for LSPs ·········································································· 463

    Configuring MPLS OAM for MPLS TE tunnels ·············································································· 463 Configuring MPLS ping for MPLS TE tunnels ········································································ 463 Configuring MPLS tracert for MPLS TE tunnels ······································································ 464 Configuring BFD for MPLS TE tunnels ················································································· 464

    Configuring MPLS OAM for a PW ······························································································ 465 Configuring MPLS ping for a PW ························································································ 465 Configuring BFD for a PW ································································································· 465

    Displaying MPLS OAM ············································································································ 468 MPLS OAM configuration examples ··························································································· 469

    BFD for LSP configuration example ····················································································· 469

  • vii

    BFD for PW configuration example······················································································ 471 Configuring MCE ·········································································· 477

    MPLS L3VPN overview ··········································································································· 477 Basic MPLS L3VPN architecture ························································································ 477 MPLS L3VPN concepts ···································································································· 477

    MCE overview ······················································································································· 479 MCE configuration task list ······································································································· 480 Configuring VPN instances ······································································································ 480

    Creating a VPN instance ··································································································· 481 Associating a VPN instance with an interface ········································································ 481 Configuring route related attributes for a VPN instance ···························································· 481

    Configuring routing on an MCE ································································································· 482 Configuring routing between an MCE and a VPN site ······························································ 483 Configuring routing between an MCE and a PE ····································································· 487

    Displaying and maintaining MCE ······························································································· 490 MCE configuration examples ···································································································· 491

    Configuring the MCE that uses OSPF to advertise VPN routes to the PE ···································· 491 Configuring the MCE that uses EBGP to advertise VPN routes to the PE ···································· 496

    Configuring IPv6 MCE ··································································· 500 IPv6 MPLS L3VPN overview ···································································································· 500 IPv6 MCE overview ················································································································ 500 IPv6 MCE configuration task list ································································································ 500 Configuring VPN instances ······································································································ 501

    Creating a VPN instance ··································································································· 501 Associating a VPN instance with an interface ········································································ 501 Configuring route related attributes for a VPN instance ···························································· 502

    Configuring routing on an MCE ································································································· 503 Configuring routing between an MCE and a VPN site ······························································ 503 Configuring routing between an MCE and a PE ····································································· 508

    Displaying and maintaining IPv6 MCE ························································································ 511 IPv6 MCE configuration example ······························································································· 511

    Network requirements ······································································································ 511 Configuration procedure ··································································································· 512 Verifying the configuration ································································································· 516

    Document conventions and icons ···················································· 518 Conventions ························································································································· 518 Network topology icons ··········································································································· 519

    Support and other resources ·························································· 520 Accessing Hewlett Packard Enterprise Support ············································································ 520 Accessing updates ················································································································· 520

    Websites ······················································································································· 521 Customer self repair ········································································································· 521 Remote support ·············································································································· 521 Documentation feedback ·································································································· 521

    Index ························································································· 523

  • 1

    Configuring basic MPLS Multiprotocol Label Switching (MPLS) provides connection-oriented label switching over connectionless IP backbone networks. It integrates both the flexibility of IP routing and the simplicity of Layer 2 switching.

    Overview MPLS has the following features: • High speed and efficiency—MPLS uses short- and fixed-length labels to forward packets,

    avoiding complicated routing table lookups. • Multiprotocol support—MPLS resides between the link layer and the network layer. It can

    work over various link layer protocols (for example, PPP, ATM, frame relay, and Ethernet) to provide connection-oriented services for various network layer protocols (for example, IPv4, IPv6, a