Introduction Mpls
Introduction Mpls
Agenda
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 2
Agenda
Extensions to IS-IS and OSPF Traffic Engineering Database User defined constraints Path section using CSPF algorithm
Secondary LSPs Hot-standby LSPs Fast Reroute
Traffic protection
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 3
Agenda
Circuit cross connect (CCC) IGP Shortcuts Configuring for transit traffic Configuring for internal destinations
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 4
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 6
Brief History
Early 1990s
Internet core was connected with T1 and T3 links between routers Only a handful of routers and links to manage and configure Humans could do the work manually IGP (Interior Gateway Protocol) Metricbased traffic control was sufficient
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 7
A
1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 8
Drawbacks
Redirecting traffic flow to A via C causes traffic for B to move also! Some links become underutilized or overutilized
A
1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 9
Drawbacks
Lacks granularity
All traffic follows the IGP shortest path
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 10
Discomfort Grows
Mid 1990s
ISPs became uncomfortable with size of Internet core Large growth spurt imminent Routers too slow IGP metric engineering too complex IGP routing calculation was topology driven, not traffic driven Router based cores lacked predictability
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 11
There is a need for a more granular and deterministic solution A major goal of Internet Traffic Engineering is to facilitate efficient and reliable network operations while simultaneously optimizing network resource utilization and performance.
RFC 2702
Requirements for Traffic Engineering over MPLS
Slide 12
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
ATM switches offered performance and predictable behavior ISPs created overlay networks that presented a virtual topology to the edge routers in their network Using ATM virtual circuits, the virtual network could be reengineered without changing the physical network Benefits
Full traffic control Per-circuit statistics More balanced flow of traffic across links
Slide 13
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Overlay Networks
ATM core ringed by routers PVCs overlaid onto physical network
A Physical View B
Logical View
A C B
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 14
Path Creation
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 15
With 5 routers, adding 1 requires only 10 new PVCs With 200 routers, adding 1 requires 400 new PVCs
From 39,800 to 40,200 PVCs total
Router IGP runs out of steam Practical limitation of atomically updating configurations in each switch and router Network does not participate in path selection and setup
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 16
Approximately 20% of bandwidth OC-48 link wastes 498 Mbps in ATM cell overhead OC-192 link wastes 1.99 Gbps
OC-48 SAR
Trailing behind the router curve Very difficult to build
OC-192 SAR?
Slide 17
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Routers Caught Up
Solution
Fuse best aspects of ATM PVCs with highperformance routing engines Use low-overhead circuit mechanism Automate path selection and configuration Implement quick failure recovery
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 18
Benefits of MPLS
Value of MPLS is now in traffic engineering One, integrated network Same forwarding mechanism can support multiple applications
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
RFC 2702
Requirements
Control Measure Characterize Integrate routing and switching All at a lower cost
Slide 20
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Fundamental Requirements
Map traffic to an LSP Monitor and measure traffic Specify explicit path of an LSP
Partial explicit route Full explicit route
Characterize an LSP
Bandwidth Priority/ Preemption Affinity (Link Colors)
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
MPLS Fundamentals
MPLS Header
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
MPLS Header
Label EXP S TTL
Label
Experimental bits
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
192.168.1/24 134.112/16
New York
San Francisco
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 25
Engineer unidirectional paths through your network without using the IGPs shortest path calculation
IGP shortest path
New York
San Francisco
192.168.1/24
New York
San Francisco
134.112/16
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 27
MPLS Labels
Assigned manually or by a signaling protocol in each LSR during path setup Labels change at each segment in path LSR swaps incoming label with new outgoing label Labels have local significance
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 28
An IP packet destined to 134.112.1.5/32 arrives in SF San Francisco has route for 134.112/16
134.112/16
IP
134.112.1.5
New York
0 1965
San Francisco
1026
Santa Fe
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 29
San Francisco prepends MPLS header onto IP packet and sends packet to first transit router in the path
San Francisco
Santa Fe
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc. Slide 30
Because the packet arrived at Santa Fe with an MPLS header, Santa Fe forwards it using the MPLS forwarding table MPLS forwarding table derived from mpls.0 switching table
134.112/16 New York
San Francisco
Santa Fe
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc. Slide 31
Packet arrives from penultimate router with label 0 Egress router sees label 0 and strips MPLS header Egress router performs standard IP forwarding decision
IP
San Francisco
Santa Fe
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc. Slide 32
Router Y
Example Topology
Router X
10
Router B
192.168.0.1
10
Router C
192.168.2.1
10
Router D
192.168.24.1
Router A
192.168.16.1
30
Router E
192.168.5.1
30
20 30
20
Router F
192.168.8.1
20
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 33
Router Y
Example Topology
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 34
Static LSPs
Are nailed up manually Have manually assigned MPLS labels Needs configuration on each router Do not re-route when a link fails Signaled by RSVP Have dynamically assigned MPLS labels Configured on ingress router only Can re-route around failures
Signaled LSPs
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 36
RSVP sets up transit and egress routers automatically Path through network chosen at each hop using routing table Intermediate hops can be specified as transit points
StrictMust use hop, must be directly connected LooseMust use hop, but use routing table to find it
Performs keepalive checking Supports fail-over to unlimited secondary LSPs Excellent visibility
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 37
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 38
Path Signaling
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 39
RSVP
A generic QoS signaling protocol An Internet control protocol
Originally designed for host-to-host Uses the IGP to determine paths RSVP is not
RFC 2205
Slide 40
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Path and resources are maintained dynamically Can change during the life of the RSVP session
Sender
PATH RESV
Router
PATH RESV
Router
PATH RESV
Receiver
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 41
PathTear
ResvTear
PathErr
ResvErr
ResvConf
Slide 42
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Extended RSVP
Used now for router-to-router connectivity Includes the distribution of MPLS labels
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 43
Explicit Route Object (ERO) Label Request Object Label Object Record Route Object Session Attribute Object Tspec Object
daft-ietf-mpls-rsvp-lsp-tunnel-04.txt Extensions to RSVP for LSP Tunnels
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 44
Loose routes rely on routing table to find destination Strict routes specify the directly-connected next router
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
A Ingress LSR
D Strict
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 46
Consult the routing table at each hop to determine the best path
C E F Egress LSR
ERO
D loose;
A Ingress LSR
D Loose
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 47
Egress LSR
A Ingress LSR
Strict Loose
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 48
Router Y
Router X
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 49
Router Y
Router X
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 50
You are the egress router End ERO processing Send RESV message along reverse path to ingress Consult routing table Determine physical next hop
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Label Objects
Added to PATH message at ingress LSR Requests that each LSR provide label to upstream LSR
Carried in RESV messages along return path upstream Provides label to upstream LSR
Label Object
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 52
In downstream direction Sends Routing problem, loop detected PathErr message Drops PATH message
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 53
In upstream direction Sends Routing problem, loop detected ResvErr message Drops RESV message
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 54
Identifies session
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 55
Tspec Object
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 56
Signaling protocol sets up path from San Francisco to New York, reserving bandwidth along the way
New York (Egress)
Seattle
Miami
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 57
Once path is established, signaling protocol assigns label numbers in reverse order from New York to San Francisco
3
San Francisco (Ingress)
Miami
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 58
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 59
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 60
Flooding of PathTear or PathErr messages Periodic refresh messages (PATH and RESV)
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 61
Common Features
Signaled by RSVP MPLS labels automatically assigned Configured on ingress router only CSPF not used User configured ERO handed to RSVP for signaling RSVP consults routing table to make next hop decision
Signaled LSPs
Constrained LSPs
CSPF used Full path computed by CSPF at ingress router Complete ERO handed to RSVP for signaling
Slide 63
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Modified shortest path first algorithm Finds shortest path based on IGP metric while satisfying additional constraints Integrates TED (Traffic Engineering Database)
IGP topology information Available bandwidth Link color Maximum hop count Bandwidth Strict or loose routing Administrative groups
Slide 64
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Strict and loose hops Bandwidth constraints Admin Groups Factors in user defined restrictions Runs computation against the TED Determines the shortest path
CSPF algorithm
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 65
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 66
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 67
TE Extensions to ISIS/OSPF
OSPF Extension
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
ISIS TE Extensions
IP Reachability TLV
Up/down bit
Avoids loops in L1/L2 route leaking
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 69
ISIS TE Extensions
IS Reachability TLV
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 70
Sub-TLVs contain
Local interface IP address Remote interface IP address Maximum link bandwidth Maximum reservable link bandwidth Reservable link bandwidth Traffic engineering metric Administrative group Reserved TLVs for future expansion
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 71
OSPF TE Extensions
Opaque LSA
Original Router LSA not extensible Type 10 LSA Area flooding scope Standard LSA header (20 bytes) TE capabilities
Work in progress
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 72
Router Y
Router X
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 73
Router Y
Router X
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 74
Include Exclude
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 75
Router Y
Router X
Router B
192.168.0.1
Router C
Bronze
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Bronze
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 76
Preemption
Defines relative importance of LSPs on same ingress router CSPF uses priority to optimize paths Higher priority LSPs
Are established first Offer more optimal path selection May tear down lower priority LSPs when rerouting
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 77
Preemption
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 78
LSP Reoptimization
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 79
Reoptimize if new path can be found that meets all of the following
Has lower IGP metric Has fewer hops Does not cause preemption Reduces congestion by 10%
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 80
Two categories
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 81
Random is default
Distributes LSPs randomly over available equal cost paths
Least-fill
Distributes LSPs over available equal cost paths based on available link bandwidth
Most-fill
LSPs fill one link first, then next
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 82
Router Y
Most fill, Least fill, Random Configure 12 LSPs, each with 10 Mbps
Router B
192.168.0.1
Router X
Router C
20 30
192.168.2.1
20
Router A
192.168.16.1
20
Router D
192.168.24.1
30
Router E
192.168.5.1
20 30 20
20
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 83
Load Balancing
Up to 16 equal cost paths for BGP JUNOS default is per-prefix Per-packet (per-flow) knob available
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 84
Router Y
Without LSPs configured, prefixes are distributed over equal cost IGP paths
Router B
192.168.0.1
Router X
Router C
20 30
192.168.2.1
20
Router A
192.168.16.1
20
Router D
192.168.24.1
30
Router E
192.168.5.1
20 30 20
20
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 85
Router Y
Same behavior, now over LSPs Prefixes distributed over multiple LSPs
Router B
192.168.0.1
Router X
Router C
20 30
192.168.2.1
20
Router A
192.168.16.1
20
Router D
192.168.24.1
30
Router E
192.168.5.1
20 30 20
Router F
192.168.8.1
20
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 86
Traffic Protection
Traffic Protection
Primary LSP
Secondary LSPs
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 89
Primary LSP
Optional
If no primary configured
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 90
Primary LSP
Revertive Capability
Retry timer
Time between attempts to bring up failed primary path Default is 30 seconds Primary must be stable two times (2x) retry timer before reverts back
Retry limit
Number of attempts to bring up failed primary path Default is 0 (unlimited retries) If limit reached, human intervention then required
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 91
Secondary LSP
Optional Zero or more secondary paths All secondary paths are equal
Selection based on listed order of configuration Maintains secondary path in up condition Eliminates call-setup delay of secondary LSP Additional state information must be maintained
Slide 92
Standby knob
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Router Y
Router X
20
Router C
192.168.2.1
10
Bronze
Router D
192.168.24.1
Router A
192.168.16.1
30
Router E
192.168.5.1
30
20
30
20
Bronze
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
20
Slide 93
Adaptive Mode
Applies to
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 94
Shared Links
B E
Shared link
Ingress LSR
Egress LSR
Session 1 Session 2
FF reservation style:
Each session has its own identity Each session has its own bandwidth reservation
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
SE Reservation style:
Each session has its own identity Sessions share a single bandwidth reservation
Slide 95
Router Y
Router X
20
Router C
192.168.2.1
10
Bronze
Router D
192.168.24.1
Router A
192.168.16.1
30
Router E
192.168.5.1
30
20
30
20
Bronze
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
20
Slide 96
Fast Reroute
Configured on ingress router only Detours around node or link failure
Detour paths immediately available Crank-back to node, not ingress router Uses TED to calculate detour
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 97
Fast Reroute
Short term solution to reduce packet loss If node or link fails, upstream node
Immediately detours Signals failure to ingress LSR Ingress computes alternate route
Based on configured secondary paths
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 98
F E
B
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 99
B
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 100
B to C link fails
B
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 101
F
E
B
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 102
LSP Rerouting
Exception is fast reroute More optimal route becomes available Failure of a resource along the LSP path Preemption occurs Manual configuration change Establish new LSP with SE style Transfer traffic to new LSP Tear down old LSP
Slide 103
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
JUNOS default mode Only BGP prefixes are bound to LSPs Only BGP can use LSPs for its recursive route calculations Only BGP prefixes that have the LSP destination address as the BGP next-hop are resolvable through the LSP
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 105
Router Y
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 106
What if BGP next hop does not align with LSP endpoint?
I-BGP
134.112/16
Router Y
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 107
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 108
BGP next hops beyond the egress router can use the LSP!
I-BGP
134.112/16
Router Y
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 109
TE Shortcuts
By itself, still only usable by BGP Installs additional prefixes in ingress routers inet.3 table Only BGP can use routes in inet.3 for BGP recursive lookups
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 110
But, cannot use the LSP for traffic destined to web servers
I-BGP
134.112/16
Router Y
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 111
BGP-IGP knob
Forces all MPLS prefixes into main routing table (inet.0) All destinations can now use all LSPs
IGP and BGP prefixes
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 112
Now all traffic destined to egress router and beyond use LSP
I-BGP
134.112/16
Router Y
Router X
Router B
192.168.0.1
Router C
192.168.2.1
Router D
192.168.24.1
Router A
192.168.16.1
Router E
192.168.5.1
Router F
192.168.8.1
Router G
192.168.12.1
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 113
TTL Decrement
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 114
PPP, Cisco HDLC, Frame Relay, ATM, MPLS Any protocol can be carried in packet payload Only like interfaces can be connected (for example, Frame Relay to Frame Relay, or ATM to ATM)
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
M40
DLCI 601
A and B have Frame Relay connections to M40, carrying any type of traffic M40 behaves as switch Layer 2 packets forwarded transparently from A to B without regard to content; only DLCI is changed CCC supports switching between PPP, Cisco HDLC, Frame Relay PVCs, or ATM PVCs ATM AAL5 packets are reassembled before sending
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 117
M40
DLCI 601
so-5/1/0.600
so-2/2/1.601
[edit protocols] user@host# show connections { interface-switch connection-name { interface so-5/1/0.600; interface so-2/2/1.601; } }
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 118
ATM VC 514
M40
MPLS LSP
M20
ATM VC 590
Transports packets from one interface through an MPLS LSP to a remote interface Bridges Layer 2 packets from end-to-end Supports tunneling between like ATM, Frame Relay, PPP, and Cisco HDLC connections
Slide 119
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
ATM VC 514
M40
M20
ATM VC 590
at-7/1/1.514
at-3/0/1.590
[edit protocols] user@M40# show connections { remote-interface-switch m40-to-m20 interface at-7/1/1.514; transmit-lsp lsp1; receive-lsp lsp2; }
[edit protocols] user@M20# show connections { remote-interface-switch m20-to-m40 interface at-3/0/1.590; transmit-lsp lsp2; receive-lsp lsp1; }
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 120
TE domain 2
LSR
TE domain 1
LSR LSR LSR
TE domain 3
LSR
LSP stitching
Large networks can be separated into several traffic engineering domains (supports IS-IS area partitioning) CCC allows establishment of LSP across domains by stitching together LSPs from separate domains
Slide 121
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
TE domain 1
LSR-B LSR-C LSR-D
TE domain 2
LSR-A
LSP stitching
[edit protocols] user@LSR-B# show connections { lsp-switch LSR-A_to_LSR-E { transmit-lsp lsp2; receive-lsp lsp1; } lsp-switch LSR-E_to_LSR-A { receive-lsp lsp3; transmit-lsp lsp4; }
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 122
www.juniper.net
Traffice Engineering with MPLSAPRICOT 20004 August 2012 Copyright 2000, Juniper Networks, Inc.
Slide 123