Sie sind auf Seite 1von 79

MPLS and MPLS TE

www.huawei.com

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

Foreword
Multiprotocol Label Switching is widely use in the network nowadays to enhance the reliability of the network. One of the popular application of the MPLS is MPLS TE.

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

Page2

Objectives

Upon completion of this course, you will be able to:

Basic concept of MPLS Working mechanism of MPLS MPLS application MPLS TE Working mechanism of MPLS TE Application of MPLS TE in VNPT network

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

Page3

Contents
1. MPLS 2. MPLS TE 3. Role of MPLS TE in VPNT Network

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

Page4

Contents
1. MPLS
1.1 Introduction 1.2 Concept 1.3 Packet format 1.4 Working Mechanism

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

Page5

Contents
1. MPLS
1.1 Introduction 1.2 Concept 1.3 Packet format 1.4 Working Mechanism

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

Page6

Traditional IP Forwarding
Network 10.1.0.0/24 10.1.0.1/32 10.1.1.0/30 10.1.1.2/32 10.1.1.4/30 10.1.1.8/30 10.2.0.0/24
RTA s0 10.2.0.1 Data 10.1.0.0/24 .1 .1 .2 10.1.0.0/30 10.2.0.0/24 10.1.1.0/30 s0 .2

Nexthop 10.1.0.2 10.1.0.1 10.1.1.1 10.1.1.2 10.1.1.2 10.1.1.2 10.1.1.2

Network 10.1.0.0/24 10.1.1.0/30 10.1.1.1/32 10.1.1.4/30 10.1.1.6/32 10.1.1.8/30 10.2.0.0/24


RTB

Nexthop 10.1.1.1 10.1.1.2 10.1.1.1 10.1.1.5 10.1.1.6

Network 10.1.0.0/24
10.1.1.0/30 10.1.1.4/30 10.1.1.5/32 10.1.1.8/30 10.1.1.10/32

Nexthop 10.1.1.5
10.1.1.5 10.1.1.6 10.1.1.5 10.1.1.9

Network 10.1.0.0/24 10.1.1.0/30 10.1.1.4/30 10.1.1.8/30 10.1.1.9/32

Nexthop 10.1.1.9 10.1.1.9 10.1.1.9 10.1.1.10 10.1.1.9 10.2.0.2 10.2.0.1


RTD

10.1.1.10

10.1.1.6 10.1.1.6
s3 .5 10.1.1.4/30

10.2.0.0/24
10.2.0.0/24
RTC s2 .6 s3 .9 10.1.1.8/30 s3 .10

10.1.1.10

10.2.0.1/32

.2 10.2.0.0/30

.1

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

Page7

The Weakness of Traditional IP Forwarding at Traffic Engineering


Network A
100% Traffic

RTC

GE
RTA RTB

GE
RTD

RTE

RTF

FE
100% Traffic

FE
Network C RTG

FE

Network B

RTH

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

Page8

MPLS Label Forwarding


1024
IP Data Header 1029 IP Data Header 1039 IP Data Header

1.1.1.1/32

RTA
s0 IP Header Data s0 .1 10.1.1.0/30 .2

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

IP Header

MPLS Domain

Data

10.1.0.0/24

10.2.0.0/24

MPLS Header

Data

IP Header

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

Page9

Contents
1. MPLS
1.1 Introduction 1.2 Concept 1.3 Packet Format 1.4 Working Mechanism

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

Page10

MPLS Network Model


RTF RTG

1024

IP Data Header

1029

IP Data Header

1039

IP Data Header

RTA

RTB

RTC

RTD

LSP LER
IP Header

LER
IP Header

LSR
RTE

IP Network

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

Data

Data

MPLS Domain
LER Label Edge Router LSR Label Switch Router LSP Label Switch Path
Page11

IP Network

Contents
1. MPLS
1.1 Introduction 1.2 Concept 1.3 Packet format 1.4 Working Mechanism

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

Page12

Frame mode MPLS

Frame Header

IP Header

Payload

Layer 2 frame format

Frame Header

MPLS Header

IP Header

Payload

Frame mode MPLS encapsulation

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

Page13

MPLS Header
LABEL
0

EXP
19 20

TTL
31

22 23 24

The total length of MPLS header is 4bytes (32bits)

The length of Label field is 20bits


The length of EXPExperimental Usefield is 3bits

The length of SBottom of Stackfield is1bit The length of TTL field is 8bits
Page14

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

MPLS Label Nesting


Frame Header
PID=MPLS-IP S=0 S=0 S=1

Label 1 Label 2 Label 3

IP Header

Payload

PID indicates the types of packet follows Frame Header

Ethernet 0x8100 IPv4 0x8847 Unicast MPLS packet 0x8848 Multicast MPLS packet PPP 0x8021 IPv4 0x8281 Unicast MPLS packet 0x8283 Multicast MPLS packet

S indicates whether it is the last label Applications of label nesting

MPLS VPN

MPLS TE

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

Page15

Contents
1. MPLS
1.1 Introduction 1.2 Concept 1.3 Packet format 1.4 Working Mechanism

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

Page16

MPLS Label Operation


PUSH
1024
IP Data Header

SWAP
1024 1029 IP Data Header

SWAP
1029 1039 IP Data Header

1.1.1.1/32

POP
RTB
s0 s0 s3 s2 .1 10.1.1.0/30 .2 .5 10.1.1.4/30 .6

RTA

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

IP Header Data

IP Header

MPLS Domain

Data

10.1.0.0/24

10.2.0.0/24

MPLS Header

Data

IP Header

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

Page17

MPLS ForwardingIngress LER

1.1.1.1/32

RTA
s0 10.2.0.1 Data s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

10.2.0.0/30 .2 .1

MPLS Domain

10.1.0.0/24

10.2.0.0/24

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

Page18

MPLS ForwardingIngress LER


FECForwarding Equivalence Classes


NHLFENext Hop Label Forwarding Entry
<RTA>display mpls lsp include 10.2.0.0 24 verbose --------------------------------------------------LSP Information: LDP LSP --------------------------------------------------No : 1 VrfIndex : Fec : 10.2.0.0/24 Nexthop : 10.1.1.2 In-Label : NULL Out-Label : 1030 In-Interface : ---------Out-Interface : Serial0 LspIndex : 10249 Token : 0x22005 LsrType : Ingress Outgoing token : 0x0 Label Operation : PUSH Mpls-Mtu : 1500 TimeStamp : 822sec

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

Page19

MPLS ForwardingIngress LER RTA

FTNFEC to NHLFE
IP Data 1030 Header 1.1.1.1/32

RTA
s0 10.2.0.1 Data s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

10.2.0.0/30 .2 .1

MPLS Domain

10.1.0.0/24
NHLFE FEC NextHop 10.2.0.0 10.1.1.2 Out Interface Serial0 Label Operation Push
Page20

10.2.0.0/24

Others

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

MPLS ForwardingLSR (RTB)

ILM Incoming Label Map


<RTB>display mpls lsp include 10.2.0.0 24 in-label 1030 verbose ---------------------------------------------------------------LSP Information: LDP LSP ---------------------------------------------------------------No : 1 VrfIndex : Fec : 10.2.0.0/24 Nexthop : 10.1.1.6 In-Label : 1030 Out-Label : 1030 In-Interface : ---------Out-Interface : Serial3 LspIndex : 10256 Token : 0x2200c LsrType : Transit Outgoing token : 0x0 Label Operation : SWAP Mpls-Mtu : 1500 TimeStamp : 11100sec

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

Page21

MPLS ForwardingLSR RTB


1030 1.1.1.1/32 IP Data Header

RTA
s0 s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

10.2.0.0/30 .2 .1

MPLS Domain

10.1.0.0/24

10.2.0.0/24

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

Page22

MPLS Data ForwardingLSR RTC


<RTC>display mpls lsp include 10.2.0.0 24 in-label 1030 verbose ----------------------------------------------------------------LSP Information: LDP LSP ----------------------------------------------------------------No : 1 VrfIndex : Fec : 10.2.0.0/24 Nexthop : 10.1.1.10 In-Label : 1030 Out-Label : 1032 In-Interface : ---------Out-Interface : Serial3 LspIndex : 10268 Token : 0x22015 LsrType : Transit Outgoing token : 0x0 Label Operation : SWAP Mpls-Mtu : 1500 TimeStamp : 40sec

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

Page23

MPLS ForwardingLSR (RTC)


1032 1030 1.1.1.1/32 IP Data Header

RTA
s0 s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD

10.2.0.0/30 .2 .1

MPLS Domain

10.1.0.0/24

10.2.0.0/24

NHLFE InLabel NextHop 1030 10.1.1.10 Out Interface Serial3 Label Operation SWAP
Page24

Others

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

MPLS ForwardingEgress LER RTD


<RTD>display mpls lsp include 10.2.0.0 24 in-label 1032 verbose -----------------------------------------------------------------LSP Information: LDP LSP -----------------------------------------------------------------No : 1 VrfIndex : Fec : 10.2.0.0/24 Nexthop : 10.2.0.2 In-Label : 1032 Out-Label : NULL In-Interface : ---------Out-Interface : ---------LspIndex : 10258 Token : 0x0 LsrType : Egress Outgoing token : 0x0 Label Operation : POP Mpls-Mtu : -----TimeStamp : 924sec TimeStamp : 40sec

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

Page25

MPLS ForwardingEgress LER RTD


1032 10.2.0.1 Data

1.1.1.1/32

RTA
s0 s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD
10.2.0.1

10.2.0.0/30 .2 .1

MPLS Domain

Data

10.1.0.0/24
NHLFE InLabel NextHop 1032 10.2.0.2 Out Interface -------Label Operation POP
Page26

10.2.0.0/24

Others

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

MPLS ForwardingEgress LER RTD


1030 10.2.0.1 Data 1.1.1.1/32
1030 10.2.0.1 Data 1032 1030 10.2.0.1 Data 1032 10.2.0.1 Data

RTA
s0 10.2.0.1 Data s0 .1 10.1.1.0/30 .2 10.1.0.0/30 .2 .1

RTB
s3 s2 .5 10.1.1.4/30 .6

RTC
s3 s3 .9 10.1.1.8/30 .10

RTD
10.2.0.1

10.2.0.0/30 .2 .1

MPLS Domain

Data

10.1.0.0/24
NHLFE InLabel NextHop 1032 10.2.0.2 Out Interface -------Label Operation POP
Page27

10.2.0.0/24

Others

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

Contents
2. MPLS TE
2.1 Introduction 2.2 Concept 2.3 Working Mechanism 2.4 MPLS TE Traffic Protection

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

Page28

Contents
2. MPLS TE
2.1 Introduction 2.2 Concept 2.3 Working Mechanism 2.4 MPLS TE Traffic Protection

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

Page29

TE (Traffic Engineering)

NE (Network Engineering)

Manipulating the network to suit traffic. Essentially, it is a technology to plan, design and deploy a network by traffic demand. Manipulating the traffic to suit network. Essentially, it is a technology to control and distribute the traffic for the best resources usage. Design for the disposal of the network or the planning of the traffic Whether the network exists or not

TE (Traffic Engineering)

Major difference between NE and TE


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

Page30

Traditional IP TE

All traffic from R1 and R2 to R8 will select the path R3-R4-R5 based on the IGP route selection principle
R2 R4 R5 R3

10
R1

10 10 10

R8

10

R6

R7

Path for R2-R3-R4-R5-R8 traffic Path for R1-R3-R4-R5-R8 traffic Under-utilized alternate path
Copyright 2011 Huawei Technologies Co., Ltd. All rights reserved. Page31

Traditional IP TE Disadvantage

After changing the path Metric, the traffic from R1 and R2 to


R8 will select the path R3-R6-R7-R5.
R2 R4 R5 R3

10
R1

10 5

R8

5
R6 R7

Path for R2-R3-R6-R7-R5-R8 traffic Path for R1-R3-R6-R7-R5-R8 traffic Under-utilized alternate path
Copyright 2011 Huawei Technologies Co., Ltd. All rights reserved. Page32

Contents
2. MPLS TE
2.1 Introduction 2.2 Concept 2.3 Working Mechanism 2.4 MPLS TE Traffic Protection

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

Page33

MPLS TE MPLS Traffic Engineering

MPLS TE combines MPLS technology with TE. It can make the network traffic avoid the congestion node to balance the network traffic, by building a LSP tunnel to the specific destination.
R2 R4 R5 R3

10
R1

10
10 10

R8

10

R6

R7

Path for R2-R3-R4-R5-R8 traffic Path for R1-R3-R6-R7-R5-R8 traffic

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

Page34

Contents
2. MPLS TE
2.1 Introduction 2.2 Concept 2.3 Working Mechanism 2.4 MPLS TE Traffic Protection

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

Page35

MPLS TE Elements

MPLS TE four elements: Information distribution Path calculation Signaling Packet forwarding Four elements can guarantee basic traffic forwarding, but not very accurate MPLS TE also supports some high level specification FRRFast Reroute Tunnel Backup Auto Bandwidth Allocation Path Re-optimization

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

Page36

Example

MPLS TE

R2
3.3.3.3 S2 S0 2.2.2.2

4.4.4.4

R4
S0 S0

5.5.5.5

R5
S2 S2 E0 E0 8.8.8.8

R3

S2

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

S1

10
S0 1.1.1.1 S0 S2

S2

R6
6.6.6.6

R7
7.7.7.7

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

Page37

MPLS TE Implementation Flow


MPLS TE
Implementation on VRP Basic Configuration MPLS TE Implementation Flow Information Distribution Information Distribution Configuration

Path Calculation Path Setup

Path Calculation Configuration

Forwarding Traffic Down Tunnel

Forwarding Traffic Configuration


Page38

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

Basic ConfigurationEnable MPLS TE

Enable MPLS TE

[R3]mpls lsr-id 3.3.3.3 [R3]mpls [R3-mpls]mpls te [R3-mpls]quit [R3]interface s1 [R3-Serial1]mpls [R3-Serial1]mpls te

R2
S2
S0

R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

10
S0

S0

S2

S2

R6

R7

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

Page39

Basic ConfigurationConfigure MPLS TE Tunnel Interface

Setup MPLS TE Tunnel


[R3]interface tunnel 0 [R3-Tunnel0]ip add 33.33.33.33 24 [R3-Tunnel0]tunnel-protocol mpls te [R3-Tunnel0]destination 5.5.5.5 [R3-Tunnel0]mpls te commit
R2
S2
S0

R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

10
S0

S0

S2

S2

R6

R7

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

Page40

MPLS TE Implementation Flow


MPLS TE Implementation Flow Information Distribution

Path Calculation Path Setup

Forwarding Traffic Down Tunnel

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

Page41

Information Distribution

What information is distributed?

Link state information (IGP information)


TE Metric Bandwidth Administrative Group (Option)
5

[R3]interface s1 [R3-Serial1]mpls te metric

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

Page42

Information Distribution Bandwidth

Bandwidth

Max-Link-Bandwidth
Max-Reservable-Bandwidth The Max Available Bandwidth For Each Priority

Support 8 tunnel priority 0~7 Support tunnel preemption ,between Different priority The display the available bandwidth at each

Priority level will be listed for each interface

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

Page43

Information Distribution Bandwidth

Bandwidth

Max-Link-Bandwidth
Max-Reservable-Bandwidth

[R3]interface s1 [R3-Serial1]mpls te bandwidth max-reservable-bandwidth 30 [R3-Serial1]mpls te bandwidth BC0 20

[R3]interface Tunnel 0 [R3-Tunnel0]mpls te bandwidth CT0 20 [R3-Tunnel0]mpls te commit

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

Page44

Information DistributionPriority

Affinity Attributes

Setup Priority
Hold Priority

[R3]interface Tunnel 0 [R3-Tunnel0]mpls te priority 7 5 [R3-Tunnel0]mpls te commit Setup Priority is 7 Hold Priority is 5

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

Page45

When Information Is Distributed?

When MPLS TE information is flooded?

Periodically Flooding (IGP Information) Link Up Or Down (IGP Information) Link Configuration Changes (e.g. Link Metric is modified) (IGP Information)

Link Bandwidth Significant Changes (TE Attribute) The LSP cannot be set up because of insufficient bandwidth.

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

Page46

Information Distribution

How information is distributed?

OSPF-TE

Type 10 Opaque LSA will distributes the link traffic engineering information

ISIS-TE

Type=135 Wide Metric

Type=22 IS Reachable TLV

By default, OSPF-TE and IS-IS-TE nly support single area. When deploying TE in multiple areas, we need to configure Inter-area Tunnels.

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

Page47

Configure ISIS-TE

Configure ISIS-TE on VRP


[RT3]isis [RT3-isis-1]cost-style wide [RT3-isis-1]traffic-eng level-2
R2
S2 S0

Configure IS-IS Wide Metric Attribution

Enable IS-IS TE
R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

10
S0 S0 S2

S2

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

R7
Page48

MPLS TE Implementation Flow


MPLS TE Implementation Flow Information Distribution

Path Calculation Path Setup

Forwarding Traffic Down Tunnel

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

Page49

Path Calculation

MPLS TE use CSPF Constrained hortest Path First

Algorithm

CSPF is an algorithm with constrained conditions. The constrained conditions include:

Cost the same as IGP Bandwidth Link Attributes

The path calculation process of CSPF is not designed to find the best route to every router--but to the tunnel endpoint.

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

Page50

Configure CSPF

Configure CSPF on VRP

[RT3]mpls [RT3-mpls]mpls te cspf


R2
S2 S0

Enable CSPF on each node

R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

10
S0 S0 S2

S2

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

R7
Page51

Path Setup

MPLS TE used two types of signaling protocols.

RSVP-TE

Quite mature, and widely used Base on soft-state, hard to expand

CR-LDP

New protocol, and not so widely used Base on hard-state, easy to expand

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

Page52

Configure RSVP-TE

Configure RSVP-TE
[RT3]mpls
[RT3-mpls]mpls rsvp-te [RT3-mpls]quit [RT3]interface s1

Enable RSVP-TE in mpls view Enable RSVP-TE in interface view

[RT3-Serial1]mpls rsvp-te
[RT3-Serial1]quit

Configure RSVP-TE as the signaling [RT3]interface tunnel0 [RT3-Tunnel0]mpls te signal-protocol rsvp-te protocol
[RT3-Tunnel0]mpls te commit

Commit the configuration


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

Check the state of Tunnel


[R3]display mpls te tunnel-interface Tunnel 0 Tunnel Name : Tunnel Desc : Tunnel State Desc : Tunnel Attributes : LSP ID Session ID Admin State Ingress LSR ID Signaling Prot Class Type Reserved BW Setup Priority Affinity Prop/Mask . Tunnel0 HUAWEI, Quidway Series, Tunnel0 Interface CR-LSP is Up : : : : : : : : : 3.3.3.3:1 1 UP 3.3.3.3 RSVP CLASS 0 20 kbps 7 0x0/0x0

Oper State : Egress LSR ID: Resv Style : Tunnel BW : Hold Priority:

UP 5.5.5.5 SE 20 kbps 7

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

Page54

MPLS TE Implementation Flow


MPLS TE Implementation Flow Information Distribution

Path Calculation Path Setup

Forwarding Traffic Down Tunnel

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

Page55

Traffic Forwarding

The Packet forwarding is based on labels. The packet is

forwarded through the pre-established LSP.

How to introduce the traffic into the MPLS TE tunnel?

Static Route Auto Route

Shortcut Forwarding Adjacency

Policy Route

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

Page56

The Routing Table of R3 Before Configuring Forwarding Traffic Down Tunnels


[R3]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 ISIS 15 30 34.34.34.2 [R3]display ip routing-table 5.5.5.5 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 5.5.5.5/32 ISIS 15 20 34.34.34.2 R2
S2 S0

Interface Serial2

Interface Serial2

R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10 10 10

R8

10
S0 S0 S2

S2

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

R7
Page57

Configure Static Route to Forward Traffic

Configure static route to forward traffic on the ingress node R3 of the tunnel
[R3]ip route-static 8.8.8.8 32 Tunnel 0 preference 10

R2
S2
S0

R4
S0

R3

S0

R5
S2

S2 S1

R1

10
E0

S0 E0

10 10
S1

10
TE IGP Metric 1

10 10
E0 E0

R8
S2

10
S0

10
S0
S2

S2

R6

R7

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

Page58

Configure Static Route to Forward Traffic

The Routing-table of R3 after configuration

[R3]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 Static 10 0 3.3.3.3 [R3]display ip routing-table 5.5.5.5 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 5.5.5.5/32 ISIS 15 20 34.34.34.2

Interface Tunnel0

Interface Serial2

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

Page59

Shortcut

Configure Shortcut on the ingress node R3 of the tunnel


[R3]interface Tunnel 0 [R3-Tunnel0]mpls te igp shortcut isis [R3-Tunnel0]mpls te igp metric absolute 1 [R3-Tunnel0]mpls te commit [R3-Tunnel0]isis enable
R2
S2 S0

R4
S0

R3

S0

R5
S2

S2 S1

R1

10
E0

S0 E0

10 10
S1

10
TE IGP Metric 1

10 10
E0 E0

R8
S2

10
S0 S0 S2

10
S2

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

R7
Page60

Shortcut

The routing-table of ingress node R3

[R3-Tunnel0]display ip routing-table 5.5.5.5 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 5.5.5.5/32 ISIS 15 1 3.3.3.3 [R3-Tunnel0]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 ISIS 15 11 3.3.3.3

Interface Tunnel0

Interface Tunnel0

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

Page61

Forwarding Adjacency

The routing-table of R1 after configuring Shortcut


[R1]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 ISIS 15 40 16.16.16.2
R2
S2 S0

Interface Serial0

R4
S0

R3

S0

R5
S2 E0 E0

S2 S1

10
R1 E0

S0 E0

10 10
S1

10 10

10

R8
S2

TE IGP Metric 1

10
S0 S0 S2

10
S2

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

R7
Page62

Forwarding Adjacency

Configure Forwarding Adjacency on the ingress node R3


[R3]interface Tunnel 0 [R3-Tunnel0]mpls te igp advertise [R3-Tunnel0]mpls te igp metric absolute 1 [R3-Tunnel0]mpls te commit [R3-Tunnel0]isis enable
R2
S2 S0

R4
S0

R3

S0

R5
S2 S2 E0 E0

S2 S1

R1

10
E0

S0 E0

10 10
S1

10
TE IGP Metric 1

R8

10

10
S0 S0 S2

10
S2

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

R7
Page63

Forwarding Adjacency

Configure Forwarding Adjacency on the Adjacency on egress node R5


[R5]interface Tunnel 0 [R5-Tunnel0]mpls te igp advertise [R5-Tunnel0]mpls te igp metric absolute 1 [R5-Tunnel0]mpls te commit [R5-Tunnel0]isis enable
R2
S2 S0

R4
S0

R3

S2 S1

R1

10
E0

S0 E0

10 10
S1

10
TE IGP Metric 1

S0

R5
S2 S2 E0 E0

R8

10

10
S0 S0 S2

10
S2

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

R7
Page64

Forwarding Adjacency

The Routing-table of egress node R3

[R3-Tunnel0]display ip routing-table 5.5.5.5 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 5.5.5.5/32 ISIS 15 1 3.3.3.3 [R3-Tunnel0]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 ISIS 15 11 3.3.3.3

Interface Tunnel0

Interface Tunnel0

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

Page65

Forwarding Adjacency

Distribute Tunnel Information in R3 ISIS LSDB

[R3]display isis lsdb local verbose Database information for ISIS(1) -------------------------------Level-2 Link State Database LSPID Seq Num Checksum Holdtime Length ATT/P/OL ---------------------------------------------------------------------------0000.0000.0003.00-00* 0x0000007b 0x5d15 573 268 0/0/0 SOURCE 0000.0000.0003.00 NLPID IPV4 AREA ADDR 49.0001 INTF ADDR 36.36.36.1 INTF ADDR 3.3.3.3 INTF ADDR 33.33.33.33 +NBR ID 0000.0000.0002.00 COST: 10 +NBR ID 0000.0000.0001.01 COST: 10 +NBR ID 0000.0000.0006.00 COST: 10 +NBR ID 0000.0000.0005.00 COST: 1 .
Copyright 2011 Huawei Technologies Co., Ltd. All rights reserved. Page66

Forwarding Adjacency

The Routing-table of R1 after configuring Forwarding Adjacency


[R1]display ip routing-table 8.8.8.8 32 Routing Table : Public Summary Count : 1 Destination/Mask Proto Pre Cost NextHop 8.8.8.8/32 ISIS 15 21 13.13.13.2
R2
S2 S0

Interface Ethernet0

R4
S0

R3

S2 S1

R1

10
E0

S0 E0

10 10
S1

10

S0

R5
S2 S2 E0 E0

R8

10 10

10
S0 S0 S2

S2

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

R7
Page67

Contents
2. MPLS TE
2.1 Introduction 2.2 Concept 2.3 Working Mechanism 2.4 MPLS TE Traffic Protection

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

Page68

Path Protection Overview

Path protection is also called end to end protection, which establishes backup LSP to protect primary LSP. TE tunnel can be established from source to end, and each tunnel LSP can pass through different path. When primary LSP is down, the flow can be switched to backup LSP tunnel immediately. Backup LSP tunnel should be established in advance, and it will not bear traffic but reserve bandwidth in ordinary situation.

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

Page69

Example for Path Protection


Primary LSP(RTA-RTB-RTD-RTE) is the designated path from source to destination. When primary LSP is down, the flow will be switched to backup LSP. Backup LSP (RTA-RTC-RTE) supports two types of Backup LSP:

Hot-Standby LSP Ordinary Backup LSP RTA RTB

Primary Tunnel

RTD

RTE

RTC

Backup Tunnel
Copyright 2011 Huawei Technologies Co., Ltd. All rights reserved. Page70

Hot-standby and Ordinary LSP

Hot-Standby LSP

Hot-Standby LSP needs to be established after primary LSP establishment.

Switchover time is short, about 250 ms.

Ordinary Backup LSP

Ordinary Backup LSP will be setup only when the primary LSP failure occurs.

Once backup LSP is established, the flow will be switched to backup LSP.

Switchover time is long, about 1-2 seconds

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

Page71

Contents
3. VNPT Network
3.1 Network Topology 3.2 MPLS and MPLS TE

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

Page72

Contents
3. VNPT Network
3.1 Network Topology 3.2 MPLS and MPLS TE

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

Page73

Network Topology

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

Page74

Contents
3. VNPT Network
3.1 Network Topology 3.2 MPLS and MPLS TE

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

Page75

MPLS Design

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

Page76

MPLS TE

Tunnel will be establish from UPE to UPE

TE hot standby used to provide fast recovery

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

Page 77

Summary

MPLS is using label to do switching, it enhance the reliability of the network due to connection forwarding plane.

MPLS TE solve the TE issue which face by IP network.

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

Page78

Thank you
www.huawei.com

Das könnte Ihnen auch gefallen