hpe flexnetwork msr router series - hewlett packardh20628. · hpe flexnetwork msr router series...

594
HPE FlexNetwork MSR Router Series Comware 7 MPLS Configuration Guide Part number: 5998-8694a Software version: CMW710-R0305 Document version: 6PW105-20160126

Upload: others

Post on 20-Mar-2020

26 views

Category:

Documents


2 download

TRANSCRIPT

  • HPE FlexNetwork MSR Router Series Comware 7 MPLS Configuration Guide Part number: 5998-8694a Software version: CMW710-R0305 Document version: 6PW105-20160126

  • i

    © Copyright 2015, 2016 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 trademarks of the Microsoft group of companies.

    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 ···························································································································································· 4 Protocols and standards ···························································································································· 5

    Compatibility information ···································································································································· 5 MPLS configuration task list ······························································································································· 5 Enabling MPLS ·················································································································································· 6 Setting MPLS MTU ············································································································································ 6 Specifying the label type advertised by the egress ···························································································· 7 Configuring TTL propagation ····························································································································· 8 Enabling sending of MPLS TTL-expired messages ··························································································· 9 Enabling MPLS forwarding statistics ·················································································································· 9

    Enabling FTN forwarding statistics ············································································································· 9 Enabling MPLS label forwarding statistics for LSPs ················································································ 10 Enabling MPLS label forwarding statistics for a VPN instance ································································ 10

    Enabling split horizon for MPLS forwarding ····································································································· 10 Enabling SNMP notifications for MPLS ············································································································ 11 Displaying and maintaining MPLS ··················································································································· 11

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

    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 ························································································································· 23 LDP FRR ·················································································································································· 23 LDP over MPLS TE ·································································································································· 24 Protocols ·················································································································································· 25

    Compatibility information ·································································································································· 25 LDP configuration task list ······························································································································· 25 Enabling LDP ··················································································································································· 26

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

    Configuring Hello parameters ·························································································································· 26 Configuring LDP session parameters ·············································································································· 27 Configuring LDP backoff ·································································································································· 29 Configuring LDP MD5 authentication ··············································································································· 29 Configuring LDP to redistribute BGP unicast routes ························································································ 30 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

  • ii

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

    Configuring LDP-OSPF synchronization ·································································································· 36 Configuring LDP-ISIS synchronization ····································································································· 37

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

    LDP LSP configuration example ·············································································································· 39 Label acceptance control configuration example ····················································································· 43 Label advertisement control configuration example ················································································· 47 LDP FRR configuration example ·············································································································· 52

    IPv6 LDP configuration examples ···················································································································· 55 IPv6 LDP LSP configuration example ······································································································ 55 IPv6 label acceptance control configuration example ·············································································· 61 IPv6 label advertisement control configuration example ·········································································· 65

    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 Automatic bandwidth adjustment ············································································································· 76 CRLSP backup ········································································································································· 77 FRR ·························································································································································· 77 DiffServ-aware TE ···································································································································· 78 Bidirectional MPLS TE tunnel ·················································································································· 80 Protocols and standards ·························································································································· 80

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

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

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

    Configuring load sharing for an MPLS TE tunnel ····························································································· 95 Configuring traffic forwarding ··························································································································· 96

    Configuring static routing to direct traffic to an MPLS TE tunnel or tunnel bundle ··································· 96 Configuring PBR to direct traffic to an MPLS TE tunnel or tunnel bundle ················································ 97 Configuring automatic route advertisement to direct traffic to an MPLS TE tunnel or tunnel bundle ······· 97

  • iii

    Configuring a bidirectional MPLS TE tunnel ···································································································· 98 Configuring CRLSP backup ····························································································································· 99 Configuring MPLS TE FRR ···························································································································· 100

    Enabling FRR ········································································································································· 100 Configuring a bypass tunnel on the PLR ································································································ 100 Configuring node fault detection ············································································································ 104 Configuring the optimal bypass tunnel selection interval ······································································· 105

    Enabling SNMP notifications for MPLS TE ···································································································· 105 Displaying and maintaining MPLS TE ············································································································ 105 MPLS TE configuration examples ·················································································································· 106

    Establishing an MPLS TE tunnel over a static CRLSP ·········································································· 106 Establishing an MPLS TE tunnel with RSVP-TE ···················································································· 111 Establishing an inter-AS MPLS TE tunnel with RSVP-TE ······································································ 117 Establishing an inter-area MPLS TE tunnel over a CRLSP calculated by PCEs ··································· 124 Bidirectional MPLS TE tunnel configuration example ············································································ 128 CRLSP backup configuration example ·································································································· 134 Manual bypass tunnel for FRR configuration example ·········································································· 138 Auto FRR configuration example ··········································································································· 144 IETF DS-TE configuration example ······································································································· 150

    Troubleshooting MPLS TE ····························································································································· 157 No TE LSA generated ···························································································································· 157

    Configuring a static CRLSP ········································································ 158 Overview ························································································································································ 158 Configuration procedure ································································································································ 158 Displaying static CRLSPs ······························································································································ 159 Static CRLSP configuration example ············································································································· 159

    Configuring RSVP ······················································································· 165 Overview ························································································································································ 165

    RSVP messages ···································································································································· 165 CRLSP setup procedure ························································································································ 166 RSVP refresh mechanism ······················································································································ 166 RSVP authentication ······························································································································ 167 RSVP GR ··············································································································································· 167 Protocols and standards ························································································································ 168

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

    Establishing an MPLS TE tunnel with RSVP-TE ···················································································· 173 RSVP GR configuration example ··········································································································· 179

    Configuring tunnel policies ·········································································· 182 Overview ························································································································································ 182 Configuring a tunnel policy ····························································································································· 182

    Configuration guidelines ························································································································· 182 Configuration procedure ························································································································· 183

    Displaying tunnel information ························································································································· 184 Tunnel policy configuration examples ············································································································ 184

    Preferred tunnel configuration example ································································································· 184 Exclusive tunnel configuration example ································································································· 184 Tunnel selection order configuration example ······················································································· 185 Preferred tunnel and tunnel selection order configuration example ······················································· 186

  • iv

    Configuring MPLS L3VPN ·········································································· 188 Overview ························································································································································ 188

    Basic MPLS L3VPN architecture ··········································································································· 188 MPLS L3VPN concepts ·························································································································· 188 MPLS L3VPN route advertisement ········································································································ 190 MPLS L3VPN packet forwarding ············································································································ 191 MPLS L3VPN networking schemes ······································································································· 192 Inter-AS VPN ·········································································································································· 194 Carrier's carrier ······································································································································ 198 Nested VPN ··········································································································································· 200 Multirole host ·········································································································································· 201 HoVPN ··················································································································································· 202 OSPF VPN extension ····························································································································· 204 BGP AS number substitution and SoO attribute ···················································································· 206 MPLS L3VPN FRR ································································································································· 207 Multi-VPN instance CE ··························································································································· 209 Protocols and standards ························································································································ 210

    MPLS L3VPN configuration task list ·············································································································· 211 Configuring basic MPLS L3VPN ···················································································································· 211

    Configuration prerequisites ···················································································································· 211 Configuring VPN instances ···················································································································· 211 Configuring routing between a PE and a CE ························································································· 213 Configuring routing between PEs ··········································································································· 218 Configuring BGP VPNv4 route control ··································································································· 219

    Configuring inter-AS VPN ······························································································································ 220 Configuring inter-AS option A ················································································································· 220 Configuring inter-AS option B ················································································································· 221 Configuring inter-AS option C ················································································································ 222

    Configuring nested VPN ································································································································ 224 Configuring multirole host ······························································································································ 225

    Configuring and applying PBR ··············································································································· 226 Configuring a static route ······················································································································· 226

    Configuring HoVPN ········································································································································ 226 Configuring an OSPF sham link ····················································································································· 227

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

    Configuring routing on an MCE ······················································································································ 229 Configuring routing between an MCE and a VPN site ··········································································· 229 Configuring routing between an MCE and a PE ···················································································· 234

    Specifying the VPN label processing mode on the egress PE ······································································ 237 Configuring BGP AS number substitution and SoO attribute ········································································· 238 Configuring MPLS L3VPN FRR ····················································································································· 238 Enabling SNMP notifications for MPLS L3VPN ····························································································· 240 Displaying and maintaining MPLS L3VPN ····································································································· 240 MPLS L3VPN configuration examples ··········································································································· 242

    Configuring basic MPLS L3VPN ············································································································ 242 Configuring MPLS L3VPN over a GRE tunnel ······················································································· 247 Configuring a hub-spoke network ·········································································································· 251 Configuring MPLS L3VPN inter-AS option A ························································································· 258 Configuring MPLS L3VPN inter-AS option B ························································································· 262 Configuring MPLS L3VPN inter-AS option C ························································································· 267 Configuring MPLS L3VPN carrier's carrier in the same AS ··································································· 274 Configuring MPLS L3VPN carrier's carrier in different ASs ··································································· 282 Configuring nested VPN ························································································································· 289 Configuring multirole host ······················································································································ 298 Configuring HoVPN ································································································································ 300 Configuring an OSPF sham link ············································································································· 307 Configuring MCE ···································································································································· 311 Configuring BGP AS number substitution ······························································································ 316 Configuring BGP AS number substitution and SoO attribute ································································· 320

  • v

    Configuring MPLS L3VPN FRR through VPNv4 route backup for a VPNv4 route ································ 323 Configuring MPLS L3VPN FRR through VPNv4 route backup for an IPv4 route ·································· 325 Configuring MPLS L3VPN FRR through IPv4 route backup for a VPNv4 route ···································· 327

    Configuring IPv6 MPLS L3VPN ·································································· 330 Overview ························································································································································ 330

    IPv6 MPLS L3VPN packet forwarding ··································································································· 330 IPv6 MPLS L3VPN routing information advertisement ·········································································· 331 IPv6 MPLS L3VPN network schemes and functions ············································································· 331 Protocols and standards ························································································································ 332

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

    Configuring VPN instances ···················································································································· 332 Configuring routing between a PE and a CE ························································································· 335 Configuring routing between PEs ··········································································································· 340 Configuring BGP VPNv6 route control ··································································································· 341

    Configuring inter-AS IPv6 VPN ······················································································································ 342 Configuring inter-AS IPv6 VPN option A ································································································ 343 Configuring inter-AS IPv6 VPN option C ································································································ 343

    Configuring multirole host ······························································································································ 344 Configuring and applying IPv6 PBR ······································································································· 344 Configuring an IPv6 static route ············································································································· 345

    Configuring an OSPFv3 sham link ················································································································· 345 Configuring a loopback interface ············································································································ 345 Redistributing the loopback interface address ······················································································· 345 Creating a sham link ······························································································································ 346

    Configuring routing on an MCE ······················································································································ 346 Configuring routing between an MCE and a VPN site ··········································································· 346 Configuring routing between an MCE and a PE ···················································································· 351

    Configuring BGP AS number substitution and SoO attribute ········································································· 355 Displaying and maintaining IPv6 MPLS L3VPN ····························································································· 355 IPv6 MPLS L3VPN configuration examples ··································································································· 356

    Configuring IPv6 MPLS L3VPNs ············································································································ 356 Configuring an IPv6 MPLS L3VPN over a GRE tunnel ·········································································· 363 Configuring IPv6 MPLS L3VPN inter-AS option A ················································································· 366 Configuring IPv6 MPLS L3VPN inter-AS option C ················································································· 371 Configuring IPv6 MPLS L3VPN carrier's carrier in the same AS ··························································· 377 Configuring multirole host ······················································································································ 385 Configuring an OSPFv3 sham link ········································································································· 387 Configuring IPv6 MCE ···························································································································· 391 Configuring BGP AS number substitution ······························································································ 396 Configuring BGP AS number substitution and SoO attribute ································································· 401

    Configuring MPLS L2VPN ·········································································· 404 Overview ························································································································································ 404

    Basic concepts of MPLS L2VPN ············································································································ 404 MPLS L2VPN network models ··············································································································· 405 Remote connection establishment ········································································································· 406 Local connection establishment ············································································································· 407 PW types ················································································································································ 407 Control word ··········································································································································· 409 MPLS L2VPN interworking ····················································································································· 409 PW redundancy ······································································································································ 410 Multi-segment PW ·································································································································· 410 VCCV ····················································································································································· 412

    Compatibility information ································································································································ 412 MPLS L2VPN configuration task list ·············································································································· 412 Enabling L2VPN ············································································································································· 413 Configuring an AC ·········································································································································· 413

    Configuring the interface with Ethernet or VLAN encapsulation ···························································· 414 Configuring the interface with PPP encapsulation ················································································· 414 Configuring the interface with HDLC encapsulation ··············································································· 414

  • vi

    Configuring a cross-connect ·························································································································· 415 Configuring a PW ··········································································································································· 415

    Configuring a PW class ·························································································································· 415 Configuring a static PW ·························································································································· 415 Configuring an LDP PW ························································································································· 416 Configuring a BGP PW ·························································································································· 416 Configuring a remote CCC connection ·································································································· 418

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

    Configuring static PW redundancy ········································································································· 420 Configuring LDP PW redundancy ·········································································································· 420

    Configuring interworking for a cross-connect ································································································· 421 Enabling SNMP notifications for L2VPN PW ································································································· 422 Displaying and maintaining MPLS L2VPN ····································································································· 422 MPLS L2VPN configuration examples ··········································································································· 423

    Configuring local MPLS L2VPN connections ························································································· 423 Configuring IP interworking over local MPLS L2VPN connections ························································ 424 Configuring a static PW ·························································································································· 426 Configuring an LDP PW ························································································································· 429 Configuring IP interworking over an LDP PW ························································································ 433 Configuring a BGP PW ·························································································································· 436 Configuring a remote CCC connection ·································································································· 440 Configuring an intra-domain multi-segment PW ···················································································· 444 Configuring an inter-domain multi-segment PW ···················································································· 447

    Configuring VPLS ······················································································· 453 Overview ························································································································································ 453

    Basic VPLS architecture ························································································································ 453 VPLS implementation ····························································································································· 454 H-VPLS ·················································································································································· 456 Hub-spoke networking ··························································································································· 458

    Compatibility information ································································································································ 458 VPLS configuration task list ··························································································································· 459 Enabling L2VPN ············································································································································· 459 Configuring an AC ·········································································································································· 460 Configuring a VSI ··········································································································································· 460 Configuring a PW ··········································································································································· 461

    Configuring a PW class ·························································································································· 461 Configuring a static PW ·························································································································· 461 Configuring an LDP PW ························································································································· 462 Configuring a BGP PW ·························································································································· 462 Configuring a BGP auto-discovery LDP PW ·························································································· 464

    Binding an AC to a VSI ·································································································································· 466 Configuring UPE dual homing ························································································································ 466

    Configuring static PW redundancy ········································································································· 466 Configuring LDP PW redundancy ·········································································································· 467

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