Sie sind auf Seite 1von 669
HUAWEI CX600 Metro Services Platform V600R003C00 Configuration Guide - MPLS Issue 01 Date 2011-05-30 HUAWEI

HUAWEI CX600 Metro Services Platform

V600R003C00

Configuration Guide - MPLS

Issue

01

Date

2011-05-30

HUAWEI TECHNOLOGIES CO., LTD.

Services Platform V600R003C00 Configuration Guide - MPLS Issue 01 Date 2011-05-30 HUAWEI TECHNOLOGIES CO., LTD.

Copyright © Huawei Technologies Co., Ltd. 2011. All rights reserved.

No part of this document may be reproduced or transmitted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.

Trademarks and Permissions

and other Huawei trademarks are trademarks of Huawei Technologies Co., Ltd. All other trademarks and trade names mentioned in this document are the property of their respective holders.

Notice

The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope. Unless otherwise specified in the contract, all statements, information, and recommendations in this document are provided "AS IS" without warranties, guarantees or representations of any kind, either express or implied.

The information in this document is subject to change without notice. Every effort has been made in the preparation of this document to ensure accuracy of the contents, but all statements, information, and recommendations in this document do not constitute the warranty of any kind, express or implied.

Huawei Technologies Co., Ltd.

Address:

Huawei Industrial Base Bantian, Longgang Shenzhen 518129 People's Republic of China

Website:

Email:

support@huawei.com

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

About This Document

About This Document

Purpose

This document describes related MPLS configurations supported by the CX600, including the basic principle and configuration procedures of static LSPs, MPLS LDP, MPLS TE, MPLS features, and MPLS OAM, and provides related configuration examples. The appendixes list common glossary, and acronyms and abbreviations of MPLS.

common glossary, and acronyms and abbreviations of MPLS. NOTE l This document takes interface numbers and

NOTE

l

This document takes interface numbers and link types of the CX600-X8 as an example. In working situations, the actual interface numbers and link types may be different from those used in this document.

l

On CX600 series excluding CX600-X1 and CX600-X2, line processing boards are called Line Processing Units (LPUs) and switching fabric boards are called Switching Fabric Units (SFUs). On the CX600-X1 and CX600-X2, there are no LPUs and SFUs, and NPUs implement the same functions of LPUs and SFUs to exchange and forward packets.

Intended Audience

The intended audience of this document is:

l

Commissioning Engineer

l

Data Configuration Engineer

l

Network Monitoring Engineer

l

System Maintenance Engineer

Symbol Conventions

The symbols that may be found in this document are defined as follows.

Symbol

Description

DANG ERAlerts you to a high risk hazard that could, if not avoided, result in serious

Alerts you to a high risk hazard that could, if not avoided, result in serious injury or death.

W ARNINGAlerts you to a medium or low risk hazard that could, if not avoided, result

Alerts you to a medium or low risk hazard that could, if not avoided, result in moderate or minor injury.

About This Document

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Symbol

Description

CAUTION Alerts you to a potentially hazardous situation that could, if not avoided, result in

CAUTION

Alerts you to a potentially hazardous situation that could, if not avoided, result in equipment damage, data loss, performance deterioration, or unanticipated results.

TIPProvides a tip that may help you solve a problem or save time.

Provides a tip that may help you solve a problem or save time.

NOTEProvides additional information to emphasize or supplement important points in the main text.

Provides additional information to emphasize or supplement important points in the main text.

Change History

Changes between document issues are cumulative. The latest document issue contains all the changes made in earlier issues.

Changes in Issue 01 (2011-05-30)

Initial commercial release.

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Contents

Contents

About This Document

iii

1 Static LSPs Configuration

1-1

1.1 Introduction to Static LSPs

1-2

1.1.1 Overview of Static LSPs

1-2

1.1.2 Static LSPs Features Supported by the CX600

1-2

1.2 Configuring Static LSPs

1-2

1.2.1 Establishing the Configuration Task

1-3

1.2.2 Configuring the LSR ID

1-4

1.2.3 Enabling MPLS

1-4

1.2.4 Configuring the Ingress for a Static LSP

1-5

1.2.5 Configuring the Transit for a Static LSP

1-6

1.2.6 Configuring the Egress for a Static LSP

1-6

1.2.7 Checking the Configuration

1-6

1.3 Configuring Static BFD for Static LSP

1-7

1.3.1 Establishing the Configuration Task

1-8

1.3.2 Enable Global BFD Capability

1-9

1.3.3 Configuring BFD with Specific Parameters on Ingress

1-9

1.3.4 Configuring BFD with Specific Parameters on Egress

1-11

1.3.5 Checking the Configuration

1-13

1.4 Maintaining Static LSPs

1-13

1.4.1 Clearing MPLS Statistics

1-14

1.4.2 Checking the LSP Connectivity and Reachability

1-14

1.4.3 Enabling the Trap Function of LSP

1-15

1.5 Configuration Examples

1-15

1.5.1 Example for Configuring Static LSPs

1-15

1.5.2 Example for Configuring Static BFD for Static LSP

1-22

2 MPLS LDP Configuration

2-1

2.1 Introduction to MPLS LDP

2-3

2.1.1 MPLS LDP Overview

2-3

2.1.2 MPLS LDP Features Supported by the CX600

2-3

2.2 Configuring LDP Sessions

2-5

2.2.1

Establishing the Configuration Task

2-6

Contents

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

2.2.2 Configuring the LSR ID

2-8

2.2.3 Enabling MPLS

2-8

2.2.4 Enable Global MPLS LDP

2-9

2.2.5 (Optional) Configuring the LDP Dynamic Capability Announcement Function

2-10

2.2.6 Configuring LDP Sessions

2-11

2.2.7 (Optional) Configuring LDP Transport Addresses

2-12

2.2.8 (Optional) Configuring LDP Timers

2-13

2.2.9 (Optional) Configuring LDP MD5 Authentication

2-17

2.2.10 (Optional) Configuring LDP Authentication

2-18

2.2.11 Checking the Configuration

2-20

2.3 Configuring LDP LSP

2-23

2.3.1 Establishing the Configuration Task

2-24

2.3.2 Configuring LDP LSP

2-25

2.3.3 (Optional) Configuring Label Advertisement Modes

2-25

2.3.4 (Optional) Configuring LDP to Automatically Trigger the Request in DoD Mode

2-26

2.3.5 (Optional) Configuring Loop Detection

2-27

2.3.6 (Optional) Configuring LDP MTU Signaling

2-28

2.3.7 (Optional) Configuring split horizon

2-28

2.3.8 (Optional) Configuring an Inbound LDP Policy

2-29

2.3.9 (Optional) Configuring an Outbound LDP Policy

2-30

2.3.10 (Optional) Configuring the Policy of Triggering to Establish LSPs

2-32

2.3.11 (Optional) Configuring the Policy of Establishing Transit LSPs

2-33

2.3.12 Checking the Configuration

2-33

2.4 Configuring LDP Extension for Inter-Area LSP

2-34

2.4.1 Establishing the Configuration Task

2-35

2.4.2 Configuring LDP Extension for Inter-Area LSP

2-35

2.4.3 Checking the Configuration

2-36

2.5 Configuring the LDP Multi-Instance

2-36

2.5.1 Establishing the Configuration Task

2-37

2.5.2 Configuring the LDP Multi-Instance

2-37

2.5.3 Checking the Configuration

2-38

2.6 Configuring Static BFD for LDP LSP

2-39

2.6.1 Establishing the Configuration Task

2-39

2.6.2 Enabling Global BFD Capability

2-40

2.6.3 Configuring BFD with Specific Parameters on Ingress

2-40

2.6.4 Configuring BFD with Specific Parameters on Egress

2-42

2.6.5 Checking the Configuration

2-44

2.7 Configuring Dynamic BFD for LDP LSP

2-45

2.7.1 Establishing the Configuration Task

2-45

2.7.2 Enabling Global BFD Capability

2-46

2.7.3 Enabling MPLS to Establish BFD Session Dynamically

2-46

2.7.4 Configuring the Triggering Policy of Dynamic BFD for LDP LSP

2-47

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Contents

2.7.5 (Optional) Adjusting BFD Parameters

2-48

2.7.6 Checking the Configuration

2-49

2.8 Configuring Manual LDP FRR

2-51

2.8.1 Establishing the Configuration Task

2-51

2.8.2 Enabling Manual LDP FRR

2-52

2.8.3 (Optional) Configuring Manual LDP FRR Protection Timer

2-53

2.8.4 (Optional) Allowing BFD to Modify the PST

2-53

2.8.5 Checking the Configuration

2-54

2.9 Configuring LDP Auto FRR

2-54

2.9.1 Establishing the Configuration Task

2-55

2.9.2 Enabling LDP Auto FRR

2-55

2.9.3 Checking the Configuration

2-56

2.10

Configuring Synchronization Between LDP and IGP

2-57

2.10.1 Establishing the Configuration Task

2-57

2.10.2 Enabling Synchronization Between LDP and IGP

2-58

2.10.3 (Optional) Setting the Hold-down Timer Value

2-59

2.10.4 (Optional) Setting the Hold-max-cost Timer Value

2-60

2.10.5 (Optional) Setting the Delay Timer Value

2-61

2.10.6 Checking the Configuration

2-61

2.11

Configuring Synchronization Between LDP and Static Routes

2-62

2.11.1 Establishing the Configuration Task

2-62

2.11.2 Enabling Synchronization Between LDP and Static Routes

2-64

2.11.3 (Optional) Setting a Hold-down Timer

2-65

2.11.4 Checking the Configuration

2-66

2.12

Configuring LDP GTSM

2-66

2.12.1 Establishing the Configuration Task

2-67

2.12.2 Configuring LDP GTSM

2-67

2.12.3 Checking the Configuration

2-68

2.13

Configuring LDP GR

2-68

2.13.1 Establishing the Configuration Task

2-69

2.13.2 Enabling LDP GR

2-70

2.13.3 (Optional) Configuring GR Restarter Timer

2-70

2.13.4 (Optional) Configuring the timer of GR Helper

2-71

2.13.5 Checking the Configuration

2-72

2.14

Maintaining MPLS LDP

2-72

2.14.1 Resetting LDP

2-73

2.14.2 Clearing MPLS Statistics

2-73

2.14.3 Checking the LSP Connectivity and Reachability

2-74

2.14.4 Enabling the Trap Function of LSP

2-74

2.15

Configuration Examples

2-74

2.15.1 Example for Configuring Local LDP Sessions

2-76

2.15.2 Example for Configuring Remote MPLS LDP Sessions

2-79

Contents

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

2.15.3 Example for Configuring LSPs by Using LDP

2-83

2.15.4 Example for Configuring LDP to Automatically Trigger a Request in DoD Mode

2-86

2.15.5 Example for Configuring an Inbound LDP Policy

2-93

2.15.6 Example for Configuring an Outbound LDP Policy

2-98

2.15.7 Example for Configuring Transit LSPs Through the Prefix List

2-103

2.15.8 Example for Configuring LDP Extension for Inter-Area LSP

2-108

2.15.9 Example for Configuring Static BFD for LDP LSP

2-115

2.15.10 Example for Configuring Dynamic BFD for LDP LSP

2-121

2.15.11 Example for Configuring Manual LDP FRR

2-125

2.15.12 Example for Configuring LDP Auto FRR

2-131

2.15.13 Example for Configuring Synchronization Between LDP and IGP

2-140

2.15.14 Example for Configuring Synchronization Between LDP and Static Routes

2-147

2.15.15 Example for Configuring LDP GTSM

2-152

2.15.16 Example for Configuring LDP GR

2-155

3 MPLS TE Configuration

3-1

3.1 Introduction to MPLS TE

3-4

3.1.1 MPLS TE Overview

3-4

3.1.2 MPLS TE Features Supported by the CX600

3-4

3.2 Configuring Static CR-LSP

3-7

3.2.1 Establishing the Configuration Task

3-7

3.2.2 Enabling MPLS TE

3-8

3.2.3 (Optional) Configuring Link Bandwidth

3-9

3.2.4 Configuring the MPLS TE Tunnel Interface

3-10

3.2.5 Configuring the Ingress of the Static CR-LSP

3-11

3.2.6 Configuring the Transit of the Static CR-LSP

3-12

3.2.7 Configuring the Egress of the Static CR-LSP

3-13

3.2.8 Checking the Configuration

3-13

3.3 Configuring a Static Bidirectional Co-routed LSP

3-14

3.3.1 Establishing the Configuration Task

3-14

3.3.2 Enabling MPLS TE

3-15

3.3.3 (Optional) Configuring Link Bandwidth

3-16

3.3.4 Configuring a Tunnel Interface on the Ingress

3-17

3.3.5 Configure the Ingress of a Static Bidirectional Co-routed LSP

3-18

3.3.6 Configure a Transit Node of a Static Bidirectional Co-routed LSP

3-19

3.3.7 Configure the Egress of a Static Bidirectional Co-routed LSP

3-20

3.3.8 Configuring the Tunnel Interface on the Egress

3-21

3.3.9 Checking the Configuration

3-21

3.4 Configuring an RSVP-TE Tunnel

3-22

3.4.1 Establishing the Configuration Task

3-23

3.4.2 Enabling MPLS TE and RSVP-TE

3-23

3.4.3 (Optional) Configuring Link Bandwidth

3-24

3.4.4 Configuring OSPF TE

3-25

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Contents

3.4.5 Configuring IS-IS TE

3-26

3.4.6 (Optional) Configuring an MPLS TE Explicit Path

3-27

3.4.7 Configuring the MPLS TE Tunnel Interface

3-28

3.4.8 Configuring Constraints for an MPLS TE Tunnel

3-30

3.4.9 (Optional) Configuring RSVP Resource Reservation Style

3-31

3.4.10 Configuring CSPF

3-31

3.4.11 Checking the Configuration

3-32

3.5 Referencing the CR-LSP Attribute Template to Set Up a CR-LSP

3-34

3.5.1 Establishing the Configuration Task

3-34

3.5.2 Configuring a CR-LSP Attribute Template

3-35

3.5.3 Setting Up a CR-LSP by Using a CR-LSP Attribute Template

3-37

3.5.4 Checking the Configuration

3-39

3.6 Adjusting RSVP Signaling Parameters

3-39

3.6.1 Establishing the Configuration Task

3-40

3.6.2 Configuring RSVP Hello Extension

3-41

3.6.3 Configuring RSVP Timers

3-42

3.6.4 Configuring RSVP Refresh Mechanism

3-43

3.6.5 Enabling Reservation Confirmation Mechanism

3-44

3.6.6 Checking the Configuration

3-44

3.7 Configuring RSVP Authentication

3-45

3.7.1 Establishing the Configuration Task

3-45

3.7.2 Configuring RSVP Key Authentication

3-46

3.7.3 (Optional) Configuring the RSVP Authentication Lifetime

3-48

3.7.4 (Optional) Configuring the Handshake Function

3-49

3.7.5 (Optional) Configuring the Message Window Function

3-50

3.7.6 Checking the Configuration

3-51

3.8 Adjusting the Path of CR-LSP

3-51

3.8.1 Establishing the Configuration Task

3-52

3.8.2 Configuring Administrative Group and Affinity Property

3-54

3.8.3 Configuring SRLG

3-55

3.8.4 Configuring CR-LSP Hop Limit

3-56

3.8.5 Configuring Metrics for Path Calculation

3-56

3.8.6 Configuring Tie-Breaking of CSPF

3-57

3.8.7 Configuring Failed Link Timer

3-58

3.8.8 Configuring Loop Detection

3-59

3.8.9 Configuring Route Pinning

3-60

3.8.10

Checking the Configuration

3-61

3.9 Adjusting the Establishment of MPLS TE Tunnels

3-61

3.9.1 Establishing the Configuration Task

3-62

3.9.2 Configuring the Tunnel Priority

3-63

3.9.3 Configuring Re-optimization for CR-LSP

3-63

3.9.4 Configuring Tunnel Reestablishment Parameters

3-64

Contents

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

3.9.5 Configuring Route Record and Label Record

3-65

3.9.6 Configuring the RSVP Signaling Delay-Trigger Function

3-66

3.9.7 Checking the Configuration

3-66

3.10

Adjusting the Traffic Forwarding of an MPLS TE Tunnel

3-67

3.10.1 Establishing the Configuration Task

3-67

3.10.2 Configuring IGP Shortcut

3-68

3.10.3 Configuring Forwarding Adjacency

3-69

3.10.4 Configuring Switching Delay and Deletion Delay

3-70

3.11

Adjusting Flooding Threshold of Bandwidth Change

3-71

3.11.1 Establishing the Configuration Task

3-71

3.11.2 Configuring Flooding Threshold

3-72

3.12

Configuring Automatic Adjustment of the Tunnel Bandwidth

3-73

3.12.1 Establishing the Configuration Task

3-73

3.12.2 Configuring Auto Bandwidth Adjustment

3-74

3.12.3 Checking the Configuration

3-76

3.13

Configuring the Limit Rate of MPLS TE Traffic

3-76

3.13.1 Establishing the Configuration Task

3-76

3.13.2 Configuring the Limit Rate of MPLS TE Traffic

3-77

3.13.3 Checking the Configuration

3-78

3.14

Configuring DS-TE Tunnel

3-78

3.14.1 Establishing the Configuration Task

3-79

3.14.2 Configuring DS-TE Mode

3-80

3.14.3 Configuring DS-TE Bandwidth Constraints Model

3-82

3.14.4 (Optional) Configuring TE-Class Mapping Table

3-82

3.14.5 Configuring Link Bandwidth

3-84

3.14.6 Configuring the Tunnel Interface

3-85

3.14.7 Configuring the Static CR-LSP and the Bandwidth

3-87

3.14.8 Configuring the RSVP CR-LSP and Its Bandwidth

3-88

3.14.9 Configuring Mappings Between CTs and Flow Queues

3-90

3.14.10 (Optional) Configuring the Interface Class Queue

3-92

3.14.11 Checking the Configuration

3-93

3.15

Configuring MPLS TE FRR

3-94

3.15.1 Establishing the Configuration Task

3-94

3.15.2 Enabling TE Fast Reroute

3-96

3.15.3 Configuring Bypass Tunnels

3-96

3.15.4 (Optional) Configuring the Scanning Timer for FRR

3-99

3.15.5 (Optional) Modifying PSB and RSB Timeout Multiplier

3-99

3.15.6 Checking the Configuration

3-100

3.16

Configuring MPLS TE Auto FRR

3-100

3.16.1 Establishing the Configuration Task

3-101

3.16.2 Enabling the TE Auto FRR

3-102

3.16.3 Enabling the TE FRR and Configuring the Auto Bypass Tunnel Attributes

3-103

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Contents

3.16.4 (Optional) Configuring the Scanning Timer for FRR

3-104

3.16.5 (Optional) Modifying PSB and RSB Timeout Multiplier

3-104

3.16.6 Checking the Configuration

3-105

3.17

Configuring CR-LSP Backup

3-105

3.17.1 Establishing the Configuration Task

3-106

3.17.2 Configuring CR-LSP Backup

3-107

3.17.3 (Optional) Locking an Attribute Template for Backup CR-LSPs

3-108

3.17.4 (Optional) Configuring the Dynamic Bandwidth Function for a Hot-standby CR-LSP

3-109

3.17.5 (Optional) Configuring a Best-Effort LSP

3-111

3.17.6 Checking the Configuration

3-112

3.18

Configuring Synchronization of the Bypass Tunnel and the Backup CR-LSP

3-113

3.18.1 Establishing the Configuration Task

3-114

3.18.2 Enabling Synchronization of the Bypass Tunnel and the Backup CR-LSP

3-115

3.18.3 Checking the Configuration

3-116

3.19

Configuring RSVP GR

3-116

3.19.1 Establishing the Configuration Task

3-117

3.19.2 Enabling the RSVP Hello Extension Function

3-117

3.19.3 Enabling Full GR of RSVP

3-118

3.19.4 (Optional) Enabling the RSVP GR Support Function

3-119

3.19.5 (Optional) Configuring Hello Sessions Between RSVP GR Nodes

3-119

3.19.6 (Optional) Modifying Basic Time

3-120

3.19.7 Checking the Configuration

3-121

3.20

Configuring Static BFD for CR-LSP

3-122

3.20.1 Establishing the Configuration Task

3-122

3.20.2 Enabling BFD Globally

3-123

3.20.3 Configuring BFD Parameters on the Ingress of the Tunnel

3-124

3.20.4 Configuring BFD Parameters on the Egress of the Tunnel

3-125

3.20.5 Checking the Configuration

3-126

3.21

Configuring Static BFD for TE

3-128

3.21.1 Establishing the Configuration Task

3-128

3.21.2 Enabling BFD Globally

3-129

3.21.3 Configuring BFD Parameters on the Ingress of the Tunnel

3-130

3.21.4 Configuring BFD Parameters on the Egress of the Tunnel

3-131

3.21.5 Checking the Configuration

3-132

3.22

Configuring Dynamic BFD for CR-LSP

3-134

3.22.1 Establishing the Configuration Task

3-134

3.22.2 Enabling BFD Globally

3-135

3.22.3 Enabling the Capability of Dynamically Creating BFD Sessions on the Ingress

3-136

3.22.4 Enabling the Capability of Passively Creating BFD Sessions on the Egress

3-137

3.22.5 (Optional) Adjusting BFD Parameters

3-138

3.22.6 Checking the Configuration

3-139

3.23

Configuring Dynamic BFD for RSVP

3-140

Contents

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

3.23.1 Establishing the Configuration Task

3-140

3.23.2 Enabling BFD Globally

3-141

3.23.3 Enabling BFD for RSVP

3-142

3.23.4 (Optional) Adjusting BFD Parameters

3-143

3.23.5 Checking the Configuration

3-144

3.24

Configuring LDP over TE

3-145

3.24.1 Establishing the Configuration Task

3-145

3.24.2 Configuring Forwarding Adjacency

3-146

3.24.3 Establishing LDP Remote Peers on the Two Ends of the TE Tunnel

3-147

3.24.4 (Optional) Configuring the Policy for Triggering the Establishment of an LSP

3-147

3.24.5 Checking the Configuration

3-148

3.25

Maintaining MPLS TE

3-148

3.25.1 Checking the Connectivity of the TE Tunnel

3-149

3.25.2 Checking a TE Tunnel By Using NQA

3-149

3.25.3 Checking Information About Tunnel Faults

3-150

3.25.4 Clearing the Operation Information

3-150

3.25.5 Resetting the Tunnel Interface

3-150

3.25.6 Resetting the RSVP Process

3-151

3.25.7 Deleting or Resetting the Bypass Tunnel

3-151

3.25.8 Enabling the Trap Function of LSP

3-151

3.26

Configuration Examples

3-152

3.26.1 Example for Establishing a Static MPLS TE Tunnel

3-154

3.26.2 Example for Configuring a Static Bidirectional Co-routed LSP

3-160

3.26.3 Example for Configuring a 1:1 Tunnel Protection Group Over a Bidirectional LSP

3-166

3.26.4 Example for Configuring RSVP-TE Tunnel

3-173

3.26.5 Example for Setting Up a CR-LSP by Using the CR-LSP Attribute Template

3-180

3.26.6 Example for Configuring RSVP Authentication

3-189

3.26.7 Example for Configuring Tunnel Properties

3-193

3.26.8 Example for Configuring SRLG (TE Auto FRR)

3-205

3.26.9 Example for Configuring SRLG (Hot-standby)

3-214

3.26.10 Example for Configuring the Limit Rate for TE Tunnel Traffic

3-222

3.26.11 Example for Configuring a DS-TE Tunnel in Non-IETF Mode (MAM)

3-226

3.26.12 Example for Configuring a DS-TE Tunnel in IETF Mode (RDM)

3-241

3.26.13 Example for Switching the Non-IETF Mode to the IETF Mode

3-260

3.26.14 Example for Configuring MPLS TE FRR

3-267

3.26.15 Example for Configuring MPLS TE Auto FRR

3-278

3.26.16 Example for Configuring RSVP Key Authentication (RSVP-TE FRR)

3-286

3.26.17 Example for Configuring RSVP-TE Summary Refresh (RSVP-TE FRR)

3-294

3.26.18 Example for Configuring Board Removal Protection

3-301

3.26.19 Example for Configuring CR-LSP Hot Standby

3-309

3.26.20 Example for Locking an Attribute Template for Hot-standby CR-LSPs

3-316

3.26.21 Example for Configuring the Dynamic Bandwidth Function for a Hot-standby CR-LSP

3-325

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Contents

3.26.22 Example for Configuring Synchronization of the Bypass Tunnel and the Backup CR-LSP

3-334

3.26.23 Example for Configuring RSVP GR

3-341

3.26.24 Example for Configuring Static BFD for CR-LSP

3-348

3.26.25 Example for Configuring Static BFD for TE

3-353

3.26.26 Example for Configuring Dynamic BFD for CR-LSP

3-362

3.26.27 Example for Configuring Dynamic BFD for RSVP

3-367

3.26.28 Example for Configuring LDP over TE

3-376

3.26.29 Example for Advertising MPLS LSR IDs to Multiple OSPF Areas

3-385

3.26.30 Example for Configuring an Inter-Area Tunnel

3-389

4 MPLS Common Configuration

4-1

4.1 Introduction to MPLS Common Configuration

4-2

4.1.1 Overview of MPLS Common Features

4-2

4.1.2 MPLS Common Features Supported by the CX600

4-2

4.2 Configuring the Mode in Which MPLS Handles the TTL

4-3

4.2.1 Establishing the Configuration Task

4-3

4.2.2 Configuring MPLS Uniform Mode

4-4

4.2.3 Configuring MPLS Pipe Mode

4-5

4.2.4 Configuring the Path Taken by ICMP Response Packets

4-5

4.3 Configuring the Load Balancing of MPLS Layer 3 Forwarding

4-6

4.3.1 Establishing the Configuration Task

4-6

4.3.2 Configuring Layer 3 MPLS Forwarding in UCMP Mode

4-7

4.4 Optimizing MPLS

4-7

4.4.1 Establishing the Configuration Task

4-8

4.4.2 Configuring PHP

4-8

4.4.3 Configuring the MPLS MTU of the Interface

4-9

4.4.4 Configuring the Interval for Collecting MPLS Statistics

4-10

4.4.5 Checking the Configuration

4-10

4.5 Maintaining MPLS Common Configuration

4-11

4.5.1 Clearing MPLS Statistics

4-11

4.5.2 Checking the LSP Connectivity and Reachability

4-11

5 MPLS OAM Configuration

5-1

5.1 Introduction to MPLS OAM

5-2

5.1.1 MPLS OAM Overview

5-2

5.1.2 MPLS OAM Features Supported by the CX600

5-2

5.2 Configuring Basic MPLS OAM Functions

5-5

5.2.1 Establishing the Configuration Task

5-5

5.2.2 Configuring MPLS OAM on the Ingress

5-7

5.2.3 Configuring MPLS OAM on the Egress

5-8

5.2.4 Checking the Configuration

5-9

5.3 Configuring MPLS OAM Protection Switching

5-10

5.3.1 Establishing the Configuration Task

5-10

5.3.2 Configuring a Tunnel Protection Group

5-12

Contents

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

5.3.3 (Optional) Configuring the Protection Switching Trigger Mechanism

5-14

5.3.4 (Optional) Enabling MPLS OAM to Detect Bidirectional LSPs

5-14

5.3.5 Checking the Configuration

5-16

5.4 Maintaining MPLS OAM

5-16

5.4.1 Monitoring the Running of MPLS OAM

5-16

5.4.2 Monitoring the Running of Protection Group

5-17

5.5 Configuration Examples

5-17

5.5.1 Example for Configuring MPLS OAM to Detect a Static LSP

5-17

5.5.2 Example for Configuring MPLS OAM Protection Switching

5-25

A Glossary

A-1

B Acronyms and Abbreviations

B-1

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Figures

Figures

Figure 1-1 Networking diagram of configuring static LSPs

1-16

Figure 1-2 Networking diagram of configuring static BFD for static LSP

1-23

Figure 2-1 Networking diagram for configuring synchronization between LDP and static routes

2-64

Figure 2-2 Networking diagram of Local LDP session configuration

2-76

Figure 2-3 Networking diagram of establishing a remote MPLS LDP session

2-80

Figure 2-4 Networking diagram of configuring the LDP LSP

2-83

Figure 2-5 Networking diagram of configuring LDP to automatically trigger the request in DoD mode

2-87

Figure 2-6 Networking diagram of an inbound LDP policy

2-93

Figure 2-7 Networking diagram of an outbound LDP policy

2-98

Figure 2-8 Networking diagram of configuring transit LSPs through the prefix list

2-103

Figure 2-9 Networking diagram of configuring LDP Extension for Inter-Area LSP

2-109

Figure 2-10 Networking diagram of configuring static BFD for LDP LSP

2-115

Figure 2-11 Networking diagram of configuring dynamic BFD for LDP LSP

2-121

Figure 2-12 Networking diagram of configuring Manual LDP FRR

2-126

Figure 2-13 Networking diagram of configuring LDP Auto FRR

2-132

Figure 2-14 Networking diagram of configuring synchronization between LDP and IGP

2-141

Figure 2-15 Networking diagram for configuring synchronization between LDP and static routes

2-147

Figure 2-16 Networking diagram for configuring LDP GTSM

2-152

Figure 2-17 Networking diagram of configuring LDP GR

2-155

Figure 3-1 Schematic diagram of a best-effort LSP

3-106

Figure 3-2 Networking diagram of static CR-LSP configuration

3-154

Figure 3-3 Networking diagram for a static bidirectional co-routed LSP

3-161

Figure 3-4 Networking diagram for a 1:1 bidirectional tunnel protection group

3-166

Figure 3-5 Networking diagram of the RSVP-TE tunnel

3-173

Figure 3-6 Networking diagram of setting up a CR-LSP by using a CR-LSP attribute template

3-181

Figure 3-7 Networking diagram of RSVP authentication

3-189

Figure 3-8 Networking diagram of configuring tunnel properties

3-194

Figure 3-9 Networking diagram of TE Auto FRR

3-206

Figure 3-10 Networking diagram of TE FRR

3-215

Figure 3-11 Networking diagram of an RSVP-TE tunnel

3-223

Figure 3-12 Networking diagram of a DS-TE in non-IETF mode

3-227

Figure 3-13 Networking diagram of a DS-TE tunnel in IETF mode

3-242

Figure 3-14 Networking diagram of switching the non-IETF mode to the IETF mode

3-261

Figures

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Figure 3-15 Networking diagram of MPLS TE FRR configuration

3-268

Figure 3-16 Example for configuring Auto FRR

3-278

Figure 3-17 Networking diagram of the MPLS TE FRR-based RSVP key authentication

3-287

Figure 3-18 Networking diagram of the MPLS TE FRR-based Srefresh function

3-294

Figure 3-19 Networking diagram for configuring MPLS TE FRR

3-301

Figure 3-20 Networking diagram of CR-LSP hot backup

3-310

Figure 3-21 Networking diagram of locking an attribute template of hot-standby CR-LSPs

3-317

Figure 3-22 Networking diagram of the dynamic bandwidth function of a hot-standby CR-LSP

3-326

Figure 3-23 Networking diagram of configuring synchronization of the bypass tunnel and the backup CR-LSP

 

3-335

Figure 3-24 Example for Configuring RSVP-TE GR

3-341

Figure 3-25 Networking diagram of CR-LSP hot backup

3-348

Figure 3-26 Networking diagram of static BFD for TE

3-354

Figure 3-27 Networking diagram of CR-LSP hot backup

3-363

Figure 3-28 Networking diagram of configuring BFD for RSVP

3-368

Figure 3-29 Networking diagram of LDP over TE configuration

3-376

Figure 3-30 Networking for configuring inter-area tunnels

3-385

Figure 3-31 Networking diagram of configuring an inter-area tunnel

3-390

Figure 5-1 Schematic diagram of MPLS OAM connectivity detection

5-2

Figure 5-2 N:1 protection mode

5-4

Figure 5-3 N:1 protection mode - working tunnel fails

5-5

Figure 5-4 Networking diagram of MPLS OAM detection

5-18

Figure 5-5 Networking diagram of configuring an MPLS OAM protection group

5-26

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

Tables

Tables

Table 3-1 DS-TE mode switching

3-81

Table 3-2 Default TE-class mapping table

3-84

Table 5-1 Switch Request Criteria

5-11

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

1 Static LSPs Configuration

About This Chapter

You can set up a static LSP by manually allocating labels to LSRs. The static LSP is applicable

to stable and small-scale networks.

1.1 Introduction to Static LSPs

You need to allocate labels to LSRs in manual mode to set up a static LSP.

1.2 Configuring Static LSPs

A static LSP can be set up only after each LSR is manually configured.

1.3 Configuring Static BFD for Static LSP

By configuring static BFD for static LSPs, you can detect connectivity of static LSPs.

1.4 Maintaining Static LSPs

The operations of static LSP maintenance include deleting MPLS statistics, detecting connectivity or reachability of an LSP, and configuring the trap function on an LDP LSP.

1.5 Configuration Examples

The following sections provide several examples of the static LSP configurations. Familiarize yourself with the configuration procedures against the networking diagram. Each configuration example consists of the networking requirements, configuration precautions, configuration roadmap, configuration procedures, and configuration files.

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1.1 Introduction to Static LSPs

You need to allocate labels to LSRs in manual mode to set up a static LSP.

1.1.1 Overview of Static LSPs

The static LSP cannot be set up through a label distribution protocol but can be set up by an administrator. The static LSP is applicable to a stable and small-scaled network with the simple topology.

1.1.2 Static LSPs Features Supported by the CX600

Static LSPs features supported by the system include configuring Static LSPs and Static BFD

for Static LSP.

1.1.1 Overview of Static LSPs

The static LSP cannot be set up through a label distribution protocol but can be set up by an administrator. The static LSP is applicable to a stable and small-scaled network with the simple topology.

When configuring a static LSP, the administrator needs to manually allocate labels for each LSR by following the rule that the value of the outgoing label of the previous node is equal to the value of the incoming label of the next node. Each LSR on the static LSP cannot sense the changes of other LSRs on the LSP. Therefore, the static LSP is a local concept.

A static LSP is set up without using label distribution protocols, and does not need to exchange

control packets. Thus, the static LSP consumes few resources and is applicable to small-scale networks with simple and stable topology. The static LSP cannot vary with the network topology dynamically. The administrator needs to adjust the static LSP according to the network topology.

1.1.2 Static LSPs Features Supported by the CX600

Static LSPs features supported by the system include configuring Static LSPs and Static BFD for Static LSP.

Static LSPs

Static LSPs need to be configured manually by the administrator. Each LSR on the static LSP cannot sense the status of the entire LSP, because the static LSP is a local concept. A static LSP cannot vary with the change of a route dynamically. The administrator then needs to adjust the static LSP.

Static BFD for Static LSPs

The CX600 supports static BFD for static LSPs. BFD is a bidirectional detection mechanism. When static BFD is applied to static LSPs which are unidirectional, the reverse links can be either IP links or static LSPs.

1.2 Configuring Static LSPs

A static LSP can be set up only after each LSR is manually configured.

1.2.1 Establishing the Configuration Task

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

Before configuring a static LSP, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you rapidly and correctly finish the configuration task.

1.2.2 Configuring the LSR ID

Before enabling MPLS, you must configure LSR ID.

1.2.3 Enabling MPLS

MPLS LDP can be enabled only after MPLS is enabled.

1.2.4 Configuring the Ingress for a Static LSP

To set up a static LSP, you need to configure the ingress node in manual mode.

1.2.5 Configuring the Transit for a Static LSP

To set up a static LSP, you need to configure the transit node in manual mode.

1.2.6 Configuring the Egress for a Static LSP

To set up a static LSP, you need to configure the egress node in manual mode.

1.2.7 Checking the Configuration

After a static LSP is set up, you can view that the static LSP is Up and the route status is Ready.

1.2.1 Establishing the Configuration Task

Before configuring a static LSP, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you rapidly and correctly finish the configuration task.

Applicable Environment

A static LSP works normally only after all the LSRs along the LSP are configured.

The setup of static LSPs does not require the label distribution protocol or exchange any control packet. Thus, the static LSPs consume little resources and are applicable to small-scale networks with simple and stable topology. The static LSPs cannot vary with the network topology dynamically. The administrator, therefore, needs to adjust the static LSPs according to the network topology.

Static LSPs and static CR-LSPs share the same label space (16 - 1023).

Static LSPs are used over the MPLS L2VPN.

For information about the MPLS L2VPN configuration, refer to the HUAWEI CX600 Metro Services Platform Configuration Guide - VPN.

Pre-configuration Tasks

Before configuring static LSPs, complete the following tasks:

l Configuring the static unicast route or an IGP to connect LSRs on the network layer

Data Preparation

To configure static LSPs, you need the following data.

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

No.

Data

1

Name of the static LSP

2

Destination address and mask

3

Value of incoming label or outgoing label on each LSR

4

Next hop address or outgoing interface on the ingress

5

Incoming interface, next hop address, or outgoing interface on the transit node

6

Incoming interface on the egress

1.2.2 Configuring the LSR ID

Before enabling MPLS, you must configure LSR ID.

Context

 

When configuring an LSR ID, note the following:

l

The LSR ID must be configured before other MPLS commands are run.

l

The LSR ID does not have a default value, and must be configured manually.

l

It is recommended to use the address of the loopback interface of the LSR as the LSR ID.

l

To modify the configured LSR ID, you must run the undo mpls command in the system view to delete all the MPLS configurations.

Do as follows on each LSR in an MPLS domain:

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Run:

mpls lsr-id lsr-id

The LSR ID of the local node is configured.

----End

1.2.3 Enabling MPLS

MPLS LDP can be enabled only after MPLS is enabled.

Context

Do as follows on each LSR in an MPLS domain:

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Run:

mpls

MPLS is enabled globally and the MPLS view is displayed.

Step 3

Run:

quit

Return to the system view.

Step 4

Run:

interface interface-type interface-number

The interface to participate in MPLS forwarding is specified.

Step 5

Run:

mpls

MPLS is enabled on the interface.

----End

1.2.4 Configuring the Ingress for a Static LSP

To set up a static LSP, you need to configure the ingress node in manual mode.

Context

Do as follows on the LSR to be configured as the ingress:

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Run:

static-lsp ingress lsp-name destination ip-address mask-length { nexthop next-hop- address | outgoing-interface interface-type interface-number } out-label out-label

The LSR is configured as the ingress on the specified LSP.

The LSR is configured as the ingress on the specified LSP. NOTE It is recommended to

NOTE

It is recommended to set up a static LSP by specifying a next hop. In addition, ensure that the local routing table contains the route entries, including the destination IP address and the IP address of the next hops, which exactly match the specified destination IP address and next hop address of the LSP to be set up.

----End

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1.2.5 Configuring the Transit for a Static LSP

To set up a static LSP, you need to configure the transit node in manual mode.

Context

Do as follows on the LSR to be configured as a transit node:

Procedure

Step 1

Run:

system-view

Step 2

The system view is displayed. Run:

static-lsp transit lsp-name incoming-interface interface-type interface-number in- label in-label { nexthop next-hop-address | outgoing-interface interface-type interface-number } out-label out-label

The LSR is configured as the transit node on the specified LSP.

LSR is configured as the transit node on the specified LSP. NOTE It is recommended to

NOTE

It is recommended to set up a static LSP by specifying a next hop. In addition, ensure that the local routing table contains the route entries, including the destination IP address and the IP address of the next hops, which exactly match the specified destination IP address and next hop address of the LSP to be set up.

----End

1.2.6 Configuring the Egress for a Static LSP

To set up a static LSP, you need to configure the egress node in manual mode.

Context

Do as follows on the LSR to be configured as the egress:

Procedure

Step 1

Run:

system-view

Step 2

The system view is displayed. Run:

static-lsp egress lsp-name incoming-interface interface-type interface-number in- label in-label [ lsrid ingress-lsr-id tunnel-id tunnel-id ]

The LSR is configured as the egress on the specified LSP.

----End

1.2.7 Checking the Configuration

After a static LSP is set up, you can view that the static LSP is Up and the route status is Ready.

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

Prerequisite

 

The configurations of the static LSP function are complete.

Procedure

 

l

Run the display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask- length ] [ verbose ] command to check the static LSP.

l

Run the display mpls route-state [ vpn-instance vpn-instance-name ] [ { exclude | include } { idle | ready | settingup } * | destination-address mask-length ] [ verbose ] command to check the LSP route on the ingress.

----End

Example

If the configurations succeed, run the preceding commands, and you can view as follows:

l

When the display mpls static-lsp command, information about the static LSP configuration is displayed, including the name of the static LSP, FEC, values of the incoming label and the outgoing label, and the incoming and outgoing interfaces. In addition, you can view that the status of the LSP is Up.

<HUAWEI> display mpls static-lsp

 

TOTAL

:

1

STATIC LSP(S)

UP

:

1

STATIC LSP(S)

DOWN

:

0

STATIC LSP(S)

Name

FEC

I/O Label

I/O If

Stat

lsp1

3.3.3.9/32

NULL/100

-/GE1/0/0

Up

l

When the display mpls route-state command is run on the ingress, routing information about the LSP is displayed, including the destination address, next hop IP address, outgoing interface, and the status of MPLS routing information on the control plane. When the route is in Ready state, this indicates that the route triggers the establishment of the LSP.

<HUAWEI> disp mpls route-state Codes: B(BGP), I(IGP), L(Public Label BGP), O(Original BGP), U(Unknow)

------------------------------------------------------------------------------

--

Dest/Mask

Next-Hop

Out-Interface

State LSP VRF

Type

------------------------------------------------------------------------------

--

220.1.1.0/24

20.1.13.3

Vlanif131

READY 2

0

I

220.1.1.0/24

20.2.13.3

Vlanif132

READY 2

0

I

220.1.2.0/24

20.1.13.3

Vlanif131

READY 2

0

I

1.3 Configuring Static BFD for Static LSP

By configuring static BFD for static LSPs, you can detect connectivity of static LSPs.

1.3.1 Establishing the Configuration Task

Before configuring static BFD for static LSPs, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you rapidly and correctly finish the configuration task.

1.3.2 Enable Global BFD Capability

You can enable BFD globally on both ends of a link to be detected.

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1.3.3 Configuring BFD with Specific Parameters on Ingress

To detect a static LSP through a static BFD session, you need to configure BFD parameters on the ingress node of the static LSP.

1.3.4 Configuring BFD with Specific Parameters on Egress

To detect a static LSP through a static BFD session, you need to configure BFD parameters on the egress node of the static LSP.

1.3.5 Checking the Configuration

After the configuration of detecting a static LSP through a static BFD session, you can view the

BFD configuration, BFD session information, BFD statistics, and the status of the static LSP.

1.3.1 Establishing the Configuration Task

Before configuring static BFD for static LSPs, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you rapidly and correctly finish the configuration task.

Applicable Environment

BFD is used to detect the connectivity of the static LSP that is established manually.

NOTEconnectivity of the static LSP that is established manually. When the static BFD works on the

When the static BFD works on the static LSP, the BFD session can be created for non-host routes.

BFD for LSP can function properly though the forward path is an LSP and the backward path is an IP link. The forward path and the backward path must be established over the same link; otherwise, if a fault occurs, BFD cannot identify the faulty path. Before deploying BFD, ensure that the forward and backward paths are over the same link so that BFD can correctly identify the faulty path.

Pre-configuration Tasks

Before configuring static BFD for static LSP, complete the following tasks:

l Configuring the static LSP

NOTEcomplete the following tasks: l Configuring the static LSP For the static CR-LSP bound to an

For the static CR-LSP bound to an MPLS TE tunnel, the BFD is available after it is bound to the MPLS TE tunnel.

Data Preparations

Before configuring static BFD for a static LSP, you need the following data.

No.

Data

1

Name of static LSP

2

BFD configuration name

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

No.

 

Data

3

Parameters of reverse channel

l

IP link: IP address of egress, outgoing interface (optional), and source IP address (optional)

l

Dynamic LSP: IP address of egress, address of next hop in LSP, and egress (optional)

l

Static LSP: LSP name

l

MPLS TE: number of an MPLS TE tunnel

4

Local discriminator and remote discriminator of a BFD session

1.3.2 Enable Global BFD Capability

You can enable BFD globally on both ends of a link to be detected.

Context

Do as follows on each LSR at both ends of the link to be detected:

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Run:

bfd

This node is enabled with the global BFD function. The BFD global view is displayed.

----End

1.3.3 Configuring BFD with Specific Parameters on Ingress

To detect a static LSP through a static BFD session, you need to configure BFD parameters on the ingress node of the static LSP.

Context

Do as follows on the ingress of the static LSP:

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Run:

bfd cfg-name bind static-lsp lsp-name

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

The BFD session is bound to the static LSP.

Step 3

Configure the discriminators.

l

Run:

 

discriminator local discr-value

The local discriminator is configured.

 

l

Or, run:

 

discriminator remote discr-value

The remote discriminator is configured.

Step 4

(Optional) Run the following commands to adjust the minimum interval for the local device to send BFD packets, the minimum interval for receiving BFD packets and the local BFD detection multiple:

1. Run the quit command to return to the system view.

2. Run the mpls command to globally enable MPLS and the enter the MPLS view.

3. Run the mpls bfd min-tx-interval interval command to adjust the minimum interval for the local device to send BFD packets.

The minimum interval for the local device to send BFD packets is set.

By default, the value is 1000 milliseconds.

If the backward link is an IP link, this parameter is not applicable.

Actual interval for the local device to send BFD packets = MAX { Locally configured interval for sending BFD packets, Remotely configured interval for receiving BFD packets}; Actual interval for the local to receive BFD packets = MAX {Remotely configured interval for sending BFD packets, Locally configured interval for receiving BFD packets}; Local detection period = Actual interval for the local device to Receive BFD packets x Remotely configured BFD detection multiple.

For example, assume that the values of parameters are as follows:

l

On the local device, the interval for sending BFD packets is set to 200 ms, the interval for receiving BFD packets is set to 300 ms, and the detection multiple is set to 4.

l

On the peer device, the interval for sending BFD packets is 100 ms, the interval for receiving BFD packets is 600 ms, and the detection multiple is 5.

Then,

l

On the local device, the actual interval for sending BFD packets is 600 ms calculated by using the formula max {200 ms, 600 ms}, the interval for receiving BFD packets is

300

ms calculated by using the formula max {100 ms, 300 ms}, and the detection period

is 1500 ms calculated by 300 ms multiplied by 5.

l

On the peer device, the actual interval for sending local BFD packets is 300 ms obtained by using the formula max {100 ms, 300 ms}, the interval for receiving BFD packets is

600 ms obtained by using the formula max {200 ms, 600 ms}, and the detection period

is 2400 ms obtained by 600 ms multiplied by 4.

4. Run the mpls bfd min-rx-interval interval command to adjust the minimum interval for receiving BFD packets.

The minimum interval for receiving BFD packets is adjusted on the local device.

By default, the value is 1000 milliseconds.

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

If the backward link is an IP link, this parameter is not applicable.

 

5.

Run the mpls bfd detect-multiplier multiplier command to adjust the local BFD detection multiple.

 

The default value is 3.

 

6.

Run the quit command to return to the system view.

7.

Run the bfd cfg-name command to enter the BFD session view.

Step 5

Run:

 

process-pst

 

BFD session is configured to change the interface status table.

When the BFD session status changes, the static LSP status in the interface status table is modified.

Step 6

Run:

commit

The configuration is committed.

When configuring the BFD session of the static LSP, note the following:

l

When the static LSP status goes Up, a BFD session is renewed.

l

When the static LSP status goes Down, the BFD session becomes Down too.

l

When the static LSP is deleted, the session and configuration entries of BFD are deleted.

----End

1.3.4 Configuring BFD with Specific Parameters on Egress

To detect a static LSP through a static BFD session, you need to configure BFD parameters on the egress node of the static LSP.

Context

 

The IP link, LSP, or TE tunnel can be used as the reverse tunnel to inform the ingress of a fault. To avoid affecting BFD detection, an IP link is preferentially selected to inform the ingress of an LSP fault. The process-pst command is prohibited when a reverse tunnel is configured. If the configured reverse tunnel requires BFD detection, you can configure a pair of BFD sessions for it.

Do as follows on the egress of the LSP:

Procedure

Step 1

Run:

system-view

The system view is displayed.

Step 2

Configure BFD sessions:

l For the IP link, run:

bfd cfg-name bind peer-ip peer-ip [ vpn-instance vpn-instance-name ] [ interface interface-type interface-number ] [ source-ip source-ip ]

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

l

For the dynamic LSP, run:

bfd cfg-name bind ldp-lsp peer-ip ip-address nexthop ip-address [ interface interface-type interface-number ]

l

For the static LSP, run:

bfd cfg-name bind static-lsp lsp-name

l

For MPLS TE, run:

bfd cfg-name bind mpls-te interface tunnel tunnel-number [ te-lsp ]

Step 3

Configure the discriminators.

l

Run:

 

discriminator local discr-value

The local discriminator is configured.

 

l

Run:

 

discriminator remote discr-value

The remote discriminator is configured.

Step 4

(Optional) Run the following commands to adjust the minimum interval for the local device to send BFD packets, the minimum interval for receiving BFD packets and the local BFD detection multiple:

1. Run the quit command to return to the system view.

2. Run the mpls command to globally enable MPLS and the enter the MPLS view.

3. Run the mpls bfd min-tx-interval interval command to adjust the minimum interval for the local device to send BFD packets.

The minimum interval for the local device to send BFD packets is set.

By default, the value is 1000 milliseconds.

If the backward link is an IP link, this parameter is not applicable.

Actual interval for the local device to send BFD packets = MAX { Locally configured interval for sending BFD packets, Remotely configured interval for receiving BFD packets}; Actual interval for the local to receive BFD packets = MAX {Remotely configured interval for sending BFD packets, Locally configured interval for receiving BFD packets}; Local detection period = Actual interval for the local device to Receive BFD packets x Remotely configured BFD detection multiple.

For example, assume that the values of parameters are as follows:

l

On the local device, the interval for sending BFD packets is set to 200 ms, the interval for receiving BFD packets is set to 300 ms, and the detection multiple is set to 4.

l

On the peer device, the interval for sending BFD packets is 100 ms, the interval for receiving BFD packets is 600 ms, and the detection multiple is 5.

Then,

l

On the local device, the actual interval for sending BFD packets is 600 ms calculated by using the formula max {200 ms, 600 ms}, the interval for receiving BFD packets is 300 ms calculated by using the formula max {100 ms, 300 ms}, and the detection period is 1500 ms calculated by 300 ms multiplied by 5.

l

On the peer device, the actual interval for sending local BFD packets is 300 ms obtained by using the formula max {100 ms, 300 ms}, the interval for receiving BFD packets is

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

600 ms obtained by using the formula max {200 ms, 600 ms}, and the detection period is 2400 ms obtained by 600 ms multiplied by 4.

 

4.

Run the mpls bfd min-rx-interval interval command to adjust the minimum interval for receiving BFD packets.

 

The minimum interval for receiving BFD packets is adjusted on the local device.

By default, the value is 1000 milliseconds.

If the backward link is an IP link, this parameter is not applicable.

 

5.

Run the mpls bfd detect-multiplier multiplier command to adjust the local BFD detection multiple.

 

The default value is 3.

 

6.

Run the quit command to return to the system view.

7.

Run the bfd cfg-name command to enter the BFD session view.

Step 5

Run:

commit

The configuration is committed.

----End

1.3.5 Checking the Configuration

After the configuration of detecting a static LSP through a static BFD session, you can view the BFD configuration, BFD session information, BFD statistics, and the status of the static LSP.

Prerequisite

The configurations of the static BFD for static LSP function are complete.

Procedure

l

Run the display bfd configuration { all | static } [ for-lsp ] command to check the BFD configuration.

l

Run the display bfd session { all | static } [ for-lsp ] command to check information about the BFD session.

l

Run the display bfd statistics session { all | static } [ for-ip | for-lsp ] command to check information about BFD statistics.

l

Run the display mpls static-lsp [ lsp-name ] [ { include | exclude } ip-address mask- length ] [ verbose ] command to check the status of the static LSP.

----End

1.4 Maintaining Static LSPs

The operations of static LSP maintenance include deleting MPLS statistics, detecting connectivity or reachability of an LSP, and configuring the trap function on an LDP LSP.

1.4.1 Clearing MPLS Statistics By running the reset command, you can delete MPLS statistics.

1 Static LSPs Configuration

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1.4.2 Checking the LSP Connectivity and Reachability

By running the ping or tracert command, you can detect connectivity or reachability of an LSP.

1.4.3 Enabling the Trap Function of LSP

By configuring the trap function on an LSP, you can notify the NMS of the changes of the LSP

status.

1.4.1 Clearing MPLS Statistics

By running the reset command, you can delete MPLS statistics.

Context

 
  CAUTION

CAUTION

MPLS statistics cannot be restored after being cleared. Therefore, confirm the action before you run the following commands.

Procedure

l

Run the reset mpls statistics interface { interface-type interface-number | all } command in the user view to clear the statistics of the MPLS interface.

l

Run the reset mpls statistics lsp { lsp-name | all } command in the user view to clear LSP statistics.

----End

1.4.2 Checking the LSP Connectivity and Reachability

By running the ping or tracert command, you can detect connectivity or reachability of an LSP.

Context

You can run the following commands in any view to perform MPLS ping and MPLS tracert.

Procedure

l

Run:

ping lsp [ -a source-ip | -c count | -exp exp-value | -h ttl-value | -m interval | -r reply-mode | -s packet-size | -t time-out | -v ] * ip destination- address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ]

MPLS ping is performed.

If draft6 is specified, the command is implemented according to draft-ietf-mpls-lsp- ping-06. By default, the command is implemented according to RFC 4379.

l

Run:

tracert lsp [ -a source-ip | -exp exp-value | -h ttl-value | -r reply-mode | - t time-out ] * ip destination-address mask-length [ ip-address ] [ nexthop nexthop-address | draft6 ]

MPLS tracert is performed.

HUAWEI CX600 Metro Services Platform Configuration Guide - MPLS

1 Static LSPs Configuration

If draft6 is specified, the command is implemented according to draft-ietf-mpls-lsp- ping-06. By default, the command is implemented according to RFC 4379.

----End

1.4.3 Enabling the Trap Function of LSP

By configuring the trap function on an LSP, you can notify the NMS of the changes of the LSP status.

Context

 

Run the following commands in the system view to notify the Network Management System (NMS) of the LSP status change.

By default, the trap function is disabled during the setup of the LDP LSP.

Procedure

l Run the snmp-agent trap suppress feature-name lsp trap-name { mplsxcup | mplsxcdown } trap-interval trap-interval [ max-trap-number max-trap-number ] command to enable the trap function for the LDP LSP and enable the debugging of excessive mplsxcup or mplsxcdown.

----End