Documente Academic
Documente Profesional
Documente Cultură
Session BRKMPL-2100
Santiago Álvarez
Distinguished Engineer
saalvare@cisco.com
@7pontibus
Agenda
Technology Overview
TE and QoS
Traffic Protection
Bandwidth optimization
Inter-Domain Traffic Engineering
General Deployment Considerations
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Technology Overview
MPLS TE Overview
Introduces explicit routing
Supports constraint-based routing IP/MPLS
Supports admission control
Provides protection capabilities
Uses RSVP-TE to establish LSPs
Uses ISIS / OSPF extensions to
advertise link attributes
TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 5
How MPLS TE Works
Head end Link information Distribution*
– ISIS-TE
IP/MPLS – OSPF-TE
Path Calculation (CSPF)*
Path Setup (RSVP-TE)
Forwarding Traffic down Tunnel
– Auto-route (announce / destinations)
– Static route
– PBR
Mid-point Tail end – PBTS / CBTS
– Forwarding Adjacency
TE LSP
– Pseudowire Tunnel select
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Link Information Distribution
Additional link characteristics
– Interface address
– Neighbor address IP/MPLS
– Physical bandwidth
– Maximum reservable bandwidth
– Unreserved bandwidth
(at eight priorities)
– TE metric
– Administrative group (attribute flags)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 7
Path Calculation
– RECORD_ROUTE (PATH/RESV)
– SESSION_ATTRIBUTE (PATH)
Input Out Label,
LFIB populated using RSVP labels allocated by Label Interface
RESV messages 17 16, 0
TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Traffic Selection
Head end Traffic enters tunnel at head end
Multiple traffic selection options
IP/MPLS – Auto-route (announce / destination)
– Static routes
– Policy Based Routing
– Forward Adjacency
– Pseudowire Tunnel Selection
– Policy / Class Based Tunnel Selection
Tunnel path computation
independent of routing decision
injecting traffic into tunnel
TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Configuring MPLS TE and Link Information
Distribution Using IS-IS (Cisco IOS)
mpls traffic-eng tunnels
! Enable MPLS TE on this node
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
ip router isis
mpls traffic-eng tunnels
mpls traffic-eng attribute-flags 0xF Enable MPLS TE on this interface,
mpls traffic-eng administrative-weight 20 specify attribute flags (colors), TE metric
ip rsvp bandwidth 100000 and maximum reservable bandwidth
!
router isis
net 49.0001.1720.1625.5001.00
is-type level-2-only
metric-style wide
mpls traffic-eng router-id Loopback0
mpls traffic-eng level-2 Enable wide metric format and TE
passive-interface Loopback0 extensions (TE Id, router level)
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Configuring MPLS TE and Link Information
Distribution Using OSPF (Cisco IOS XR)
router ospf DEFAULT
area 0
mpls traffic-eng
interface Loopback0 Enable MPLS TE extensions on this area
passive
!
interface TenGigE0/0/0/0
!
mpls traffic-eng router-id Loopback0 MPLS TE router id
!
rsvp Configuration mode for RSVP global and
interface TenGigE0/0/0/0 interface (e.g. maximum reservable
bandwidth 100000
! bandwidth) commands
!
mpls traffic-eng
interface TenGigE0/0/0/0
Configuration mode for MPLS TE global
admin-weight 5 and interface (e.g. TE metric, attribute
attribute-flags 0x8 flags) commands
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 12
Configuring MPLS TE and Link Information
Distribution Using IS-IS (Cisco NX-OS)
feature isis
feature mpls traffic-eng
Enable MPLS TE on this device
interface Ethernet1/1
mpls traffic-eng tunnels
mpls traffic-eng administrative-weight 20
mpls traffic-eng attribute-flags 0xf
Enable MPLS TE on this interface,
mpls traffic-eng bandwidth 10000000 specify attribute flags (colors), TE metric
no switchport and maximum reservable bandwidth
ip address 172.16.0.14/31
ip router isis DEFAULT
no shutdown
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Configuring Tunnel at Head End
(Cisco IOS)
interface Tunnel1
description FROM-ROUTER-TO-DST1
ip unnumbered Loopback0 Tunnel destination and TE type
tunnel destination 172.16.255.3
tunnel mode mpls traffic-eng Signaled bandwidth and priority
tunnel mpls traffic-eng priority 5 5
tunnel mpls traffic-eng bandwidth 10000 Consider links with 0x0/0xF as attribute
tunnel mpls traffic-eng affinity 0x0 mask 0xF flags (colors)
tunnel mpls traffic-eng path-option 5 explicit name PATH1 Tunnel path options
tunnel mpls traffic-eng path-option 10 dynamic (explicit, otherwise,
! dynamic)
ip explicit-path name PATH1 enable
next-address 172.16.0.1 Explicit path definition
next-address 172.16.8.0
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Configuring Tunnel at Head End
(Cisco IOS XR)
explicit-path name PATH1
index 1 next-address ipv4 unicast 172.16.0.4
Explicit path definition
index 2 next-address ipv4 unicast 172.16.0.7
index 3 next-address ipv4 unicast 172.16.4.2
!
interface tunnel-te1 MPLS TE point-to-point tunnel
description FROM-ROUTER-TO-DST1
ipv4 unnumbered Loopback0 Signaled bandwidth and priority
priority 5 5
signalled-bandwidth 100000 Tunnel destination
destination 172.16.255.2
path-option 10 explicit name PATH1 Tunnel path options (explicit, otherwise,
path-option 20 dynamic dynamic)
affinity f mask f
Consider links with 0xF/0xF as attribute
!
flags (colors)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Configuring Tunnel at Head End
(Cisco NX-OS)
mpls traffic-eng
explicit-path name PATH1
Explicit path definition
index 10 next-address 172.16.0.15
index 20 next-address 172.16.0.13
Signaled priority
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Point-to-Multipoint (P2MP)TE LSP
Unidirectional
Explicitly routed IP/MPLS
One head end, but one or more tail
ends (destinations)
Same characteristics (constraints,
protection, etc.) for all destinations
TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
P2MP TE LSP Terminology
Tail end
Head-end/Source: Node where LSP
IP/MPLS
signaling is initiated
Head end
Mid-point: Transit node where LSP
signaling is processed (not a head-
Mid-point and
end, not a tail-end)
branch point
Tail-end/Leaf/destination: node
where LSP signaling ends
IP/MPLS
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 19
P2MP TE LSP Signaling
IP/MPLS
Source sends unique PATH
PATH
message per destination
PATH
LFIB populated using
PATH RSVP labels allocated by RESV
PATH
messages
Multicast state built by reusing sub-
LSP labels at branch points
IP/MPLS
L=17
L=16 RESV
RESV
L=16
RESV
L=18
Input RESV
Out Label,
Label Interface
16 17, 0
18, 1
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
Configuring P2MP Tunnel at Head End
(Cisco IOS)
mpls traffic-eng destination list name P2MP-LIST-DST1
Destination list with one path-
ip 172.16.255.1 path-option 10 explicit name PATH1
option per destination
ip 172.16.255.2 path-option 10 dynamic
ip 172.16.255.3 path-option 10 dynamic
ip 172.16.255.4 path-option 10 dynamic
!
interface Tunnel1
description FROM-ROUTER-TO-LIST-DST1
ip unnumbered Loopback0 P2MP TE Tunnel
tunnel mode mpls traffic-eng point-to-multipoint
tunnel destination list mpls traffic-eng name P2MP-LIST-DST1
Destination list
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 1000
Signaled bandwidth and setup / hold
!
priorities
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 21
Configuring P2MP Tunnel at Head End
(Cisco IOS XR)
interface tunnel-mte1
ipv4 unnumbered Loopback0 MPLS TE P2MP tunnel
destination 172.16.255.129
path-option 10 explicit name PATH1 Destination with path-option list
path-option 20 dynamic
!
destination 172.16.255.130
path-option 10 dynamic Destination with single path-option
!
priority 0 0
signalled-bandwidth 100000 Signaled bandwidth and setup / hold priorities
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 22
MPLS TE Use Cases
Point-to-Point SLA Protection
R1 IP/MPLS R1 IP/MPLS
R8 R8
R2 R2
Bandwidth Optimization
Strategic / Planned Tactical / Reactive
R1 IP/MPLS R1 IP/MPLS
R8 R8
R2 R2
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
MPLS TE Integration with Network Services
A TE LSP provides transport for different network services
CE CE
IP/MPLS
PE PE
ATM
CE Ethernet CE
CE
PE
CE CE
PE PE
CE Ethernet Ethernet CE
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
TE and QoS
Motivations
Point-to-point SLAs
Admission control
IP/MPLS
PE1 Integration with DiffServ architecture
Increased routing control to improve
network performance
PE3
PE2
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
MPLS TE and DiffServ Deployment Models
DiffServ-Aware TE and
MPLS TE and no DiffServ MPLS TE and DiffServ DiffServ
Class2
Class2
Class3 Class3
Load Capacity Load Capacity
Limit link load to actual Limit class capacity Limit class capacity to expected
link capacity to expected class load class load
No notion of traffic classes Limit class load to actual class Limit class load to actual class
capacity for one class capacity for at least two classes
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 27
DiffServ-Aware Traffic Engineering
Enables per-class traffic engineering
PE1
IP/MPLS IS-IS or OSPF flood link information (as usual)
Per-class unreserved bandwidth on each link
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 29
Russian Dolls Model (RDM)
BW pool applies to one or more
classes All
BC0 Classe
Global BW pool (BC0) equals MRB s
Maximum
(Class0 Reservable
BC0..BCn used for computing BC1 +
Class1
Bandwidth
Class1 (MRB)
unreserved BW for class n +
+
Class2)
Class2
Current implementation supports BC0 BC2 Class2
and BC1
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 30
Policy-based Tunnel Selection: PBTS
Tunnel1
Prefix1
EXP-based selection between
Tunnel2
multiple tunnels to same destination
Tunnel3
Tunnel4
Tunnel5
Prefix2 Local mechanism at head-end
Tunnel6
Tunnels configured via policy-
Tunnel7
Prefix3
class or forwarding-class with
EXP values to carry
FIB
Prefix1, exp 5 tunnel-te1 No IGP extensions
Prefix1, * tunnel-te2
Prefix2, exp 5 tunnel-te3
Supports VRF traffic, IP-to-MPLS
Prefix2, exp 2 tunnel-te4 and MPLS-to-MPLS switching
Prefix2, * tunnel-te5
Prefix3, exp 5 tunnel-te6
Prefix3, * tunnel-te7
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
Class-Based Tunnel Selection: CBTS
EXP-based selection between multiple Tunnel1
Tunnel10 Prefix1
tunnels to same destination Tunnel2
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
FRR Link Protection Operation
Requires pre-signalled next-hop (NHOP)
backup tunnel
IP/MPLS
Point of Local Repair (PLR) swaps label 25
R3
and pushes backup label 22 22
Backup terminates R1 R2 R6 R7
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
FRR Node Protection Operation
Requires pre-signalled next-next-hop
(NNHOP) backup tunnel
IP/MPLS
25
R3 Point of Local Repair (PLR) swaps
36 36 next-hop label and pushes
R1 R2 R4 R6 R7
backup label
Backup terminates on Merge Point
16 22 36
(MP) where traffic re-joins primary
R5
Restoration time depends on failure
detection time
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 36
Bidirectional Forwarding Detection Trigger for FRR
FRR relies on quick PLR failure
detection IP/MPLS
R1
Some failures may not produce loss
of signal or alarms on a link R8
BFD session
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
Bandwidth Protection
Backup tunnel with associated
bandwidth capacity
IP/MPLS
R3 Backup tunnel may or may not
actually signal bandwidth
R1 R2 R4 R6 R7
PLR will decide best backup to
protect primary
nhop/nnhop
backup-bw
class-type
R5
node-protection flag
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 38
AutoTunnel: Primary Tunnels
What’s the Problem?
FRR can protect TE Traffic
No protection mechanism for IP or IP/MPLS
LDP traffic R1
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 39
AutoTunnel: Primary Tunnels
What’s the Solution?
Forward all traffic through a one-hop Create protected one-hop tunnels on all
protected primary TE tunnel TE links
Priority 7/7
IP/MPLS Bandwidth 0
R1
Affinity 0x0/0xFFFF
Auto-BW OFF
R8 Auto-Route ON
Fast-Reroute ON
R2
Forwarding-Adj OFF
Load-Sharing OFF
Tunnel interfaces not shown on router
configuration
Configure desired backup tunnels
Primary TE LSP (manually or automatically)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Configuring AutoTunnel Primary Tunnels
(Cisco IOS)
mpls traffic-eng tunnels Enable auto-tunnel primary
mpls traffic-eng auto-tunnel primary onehop
mpls traffic-eng auto-tunnel primary tunnel-num min 900 max 999
Range for primary
!
tunnel interfaces
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
AutoTunnel: Backup Tunnels
What’s the Problem?
MPLS FRR requires backup tunnels
to be preconfigured
IP/MPLS
Automation of backup tunnels is R1
desirable
R8
R2
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
AutoTunnel: Backup Tunnels
What’s the Solution?
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Configuring AutoTunnel Backup Tunnels
(Cisco IOS)
mpls traffic-eng tunnels Enable auto-tunnel backup (NHOP
mpls traffic-eng auto-tunnel backup nhop-only tunnels only)
mpls traffic-eng auto-tunnel backup tunnel-num min 1900 max 1999 Range for backup
mpls traffic-eng auto-tunnel backup srlg exclude preferred tunnel interfaces
!
Preferably consider
SRLGs
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Configuring AutoTunnel Backup Tunnels
(Cisco IOS XR)
ipv4 unnumbered mpls traffic-eng Loopback 0
! Source interface for backup tunnels
mpls traffic-eng
interface GigabitEthernet0/0/0/0
auto-tunnel backup Protect interface with dynamically
exclude srlg preferred created (next-hop only)
nhop-only backup tunnels. Preferably consider
! SRLGs.
!
auto-tunnel backup
Range for backup tunnel interfaces
tunnel-id min min 1900 max 1999
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 45
Shared Risk Link Group (SRLG)
Layer-3 Topology Some links may share same physical
resource (e.g. fiber, conduit)
IP/MPLS
R2 R4 AutoTunnel Backup can force or
R1 R5
prefer exclusion of SRLG
to guarantee diversely routed backup
R3 tunnels
SRLG 30
R3-R2
R3 R3-R4
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
What About Path Protection?
Primary and standby share head and tail, but expected to be
diversely routed
Cisco IOS XR
Single or separate path-option sequence for primary and standby
Explicit and dynamic paths Primary TE LSP
Automatic path diversity (node-link, node, link) when using single
path-option sequence
Backup TE LSP
BFD may be used for end-to-end fault detection
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
P2MP TE LSP Traffic Protection
No new protocol extensions to
support FRR
IP/MPLS R4
Protection requirement applies to all
destinations R2
LSP
No changes to label stacking R3 R5
procedure
Only link protection supported
Head-end protection requires path Primary TE LSP
redundancy (live-standby / live-live) Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Head End Resiliency Models for P2MP TE
Live-Standby
Redundant TE LSPs with different ingress PEs
PE5 PE6
Live TE LSP (Standby)
Standby TE LSP
(Live) LSPs may or may not be disjoint
P1 P2
Link failures generally protected via FRR
P3 IP/MPLS P4
Several bandwidth options for Standby TE LSP
Same bandwidth reservation as Live path
PE1 PE4 No bandwidth reservation
Adaptive bandwidth reservation (auto-bandwidth)
PE2 PE3
R5 3 7 9 2 7 7
R6 6 3 5 4 9 12 R3 R3
R4 R4
Tunnel
Min
resized to
measured rate
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Configuring AutoTunnel Mesh
(Cisco IOS XR)
ipv4 unnumbered mpls traffic-eng Loopback 0
! Source interface for backup tunnels
mpls traffic-eng
auto-tunnel mesh
group 10 Mesh group 10 identified by ACL DST-
attribute-set 10 RID-ACL
destination-list DST-RID-ACL
!
tunnel-id min 1000 max 2000 Range for mesh tunnel interfaces
!
attribute-set auto-mesh 10
autoroute announce
path-selection metric te Attribute set for tunnels in mesh group 10
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Tactical / Reactive Bandwidth Optimization
Bandwidth Optimization
Strategic / Planned Tactical / Reactive
R1 IP/MPLS R1 IP/MPLS
R8 R8
R2 R2
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
Inter-Domain Traffic Engineering
Inter-Domain Traffic Engineering: Introduction
Domain defined as an IGP area or autonomous system
Head end lacks complete network topology to perform path computation in both
cases
Two path computation approaches
Per-domain (ERO loose-hop expansion)
Distributed (Path Computation Element)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Per-Domain Path Computation Using ERO Loose-
hop Expansion
Inter-AS TE LSP
R3
ASBR3 ASBR4 R5
R1 ASBR4
Topology Topology
database database
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 60
Distributed Path Computation using Path
Computation Element
Path Computation Request
Backward Recursive PCE-based Computation Path Computation Reply
(BRPC) Path Computation Element
TE LSP
IP/MPLS ABR1 IP/MPLS ABR2 IP/MPLS
R4
R2 R6
R7
R1
R3
ABR3 ABR4 R5
Area 1 Area 0 Area 3
R1 ABR1 ABR2
Path (cost 500): Path1 (cost 400): ABR1, ABR2, R4, R6 R7 Path1 (cost 300): ABR2, R4, R6 R7
R3, ABR3, ABR4, R5, R7
Path2 (cost 300): ABR3, ABR4, R5, R7 Path2 (cost 200): ABR4, R5, R7
Virtual Virtual
Shortest Shortest
Path Tree Path Tree
R1 ABR1 ABR2
Topology Topology Topology
database database database
(area 0) (area 3)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 61
Configuring PCE (Cisco IOS XR)
Headend
interface tunnel-te1
description FROM-ROUTER-TO-DST2
ipv4 unnumbered Loopback0
destination 172.16.255.1 Use discovered PCEs for path
path-option 10 dynamic pce computation
!
router static
address-family ipv4 unicast
Static route mapping IP traffic to tunnel-te1
172.16.255.1/32 tunnel-te1
!
!
PCE
Declare peer down if no keepalive in 30s
mpls traffic-eng
pce deadtimer 30 Advertise PCE capability with address 172.16.255.129
pce address ipv4 172.16.255.129
pce keepalive 10
Send per keepalive every 10s
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Inter-Domain TE – Fast Re-route
Primary TE LSP
IP/MPLS ASBR1 ASBR2 IP/MPLS Backup TE LSP
R4
R2 R6
R7
R1
R3
ASBR3 ASBR4 R5
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Inter-Domain TE
Take into Account before Implementing
Semantics of link attributes across domain boundaries
Semantics of TE-Classes across domain boundaries for DS-TE
Auto-route destinations creates a static route to tunnel destination and
facilitates traffic selection
Auto-route announce not applicable for traffic selection
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
General Deployment Considerations
Should RSVP-TE and LDP be Used
Simultaneously?
Guarantees forwarding of VPN traffic if a TE LSP fails
May be required if full mesh of TE LSPs not in use
Increased complexity
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
How Far should Tunnels Span?
56 TE LSP
PE-to-PE Tunnels
PE PE
More granular control on traffic forwarding
PE PE Larger number of TE LSPs
PE PE P-to-P Tunnels
Requires IP tunnels or LDP over TE
PE PE
tunnels to carry VPN traffic (deeper label
stack)
12 TE LSP Fewer TE LSPs
PE PE May be extended with PE-P tunnels
P P
PE PE
PE PE
P P
PE PE
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
MPLS TE on Link Bundles
Different platforms support different link bundles
– Ethernet
– POS
– Multilink PPP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 68
Per-Service Tunnel Selection
Services (L2VPN / L3VPN) generally
Static routing
receive a path automatically
mapping – Recursive resolution of BGP next hops
loopback0
loopback1 – Recursive resolution of LDP peers
loopback2
to specific paths BGP Update Loopback0 L2VPN provides granular per-tunnel
Loopback1
Loopback2 control using pseudowire tunnel selection
PE1
BGP updates
– On head end, add static route to force BGP
next hops down specific paths
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
Summary
Summary
Technology Overview Bandwidth optimization
– Explicit and constrained-based – Strategic / planned (full mesh, auto-
routing tunnel)
– TE protocol extensions (OSPF, ISIS – Tactical / reactive
and RSVP)
– P2P and P2MP TE LSP Inter-Domain Traffic Engineering
– Inter-Area
TE and QoS – Inter-AS (Authentication, policy
– DS-TE (MAM, RDM) control)
– PBTS / CBTS
General Deployment Considerations
Traffic Protection – MPLS TE and LDP
– Link/node protection (auto-tunnel) – PE-to-PE vs. P-to-P tunnels
– Bandwidth protection – TE over Bundles
– Path protection – Per-Service Tunnel Selection
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Recommended Reading
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
MPLS Content at Cisco Live US 2013
BRKMPL-1100 - Introduction to MPLS
BRKMPL-2100 -Deploying MPLS Traffic Engineering
BRKMPL-2101 - Deploying MPLS-based Layer 2 Virtual Private Networks
BRKMPL-2102 - Deploying MPLS-based IP VPNs
BRKMPL-2108 - Designing MPLS in Next Generation Data Center: A Case Study
BRKMPL-2109 - MPLS Solutions for Cloud Networking
BRKMPL-2333 - E-VPN & PBB-EVPN: the Next Generation of MPLS-based L2VPN
BRKMPL-3010 - Generalized MPLS - Introduction and Deployment
BRKMPL-3101 - Advanced Topics and Future Directions in MPLS
LTRMPL-2102 - Enterprise Network Virtualization using IP and MPLS Technologies: Introduction
LTRMPL-3100 - Unified MPLS Lab
LTRMPL-3102 - Enterprise Network Virtualization using IP and MPLS Technologies: Advanced
PNLSPG-3999 - Transport Evolution in SP Core Networks
TECMPL-3100 - Unified MPLS - An architecture for Advanced IP NGN Scale
TECMPL-3200 - SDN WAN Orchestration in MPLS and Segment Routing Networks
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 73
Complete Your Online Session Evaluation
Give us your feedback and
you could win fabulous prizes.
Winners announced daily.
Receive 20 Cisco Daily Challenge
points for each session evaluation
you complete.
Complete your session evaluation
online now through either the mobile
app or internet kiosk stations.
Maximize your Cisco Live experience with your
free Cisco Live 365 account. Download session
PDFs, view sessions on-demand and participate in
live activities throughout the year. Click the Enter
Cisco Live 365 button in your Cisco Live portal to
log in.
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 74
Backup
P2MP TE LSP Traffic Selection
IP Multicast
RSVP-TE
One or more IP multicast groups
Receiver mapped to a Tunnel
IP/MPLS
Source IP Groups mapped via static IGMP join
PIM
IP PIM outside of MPLS network
Receiver
PIM
IP
Modified egress RPF check against
TE LSP and tunnel head end (source
PIM address)
Modified
Static IGMP Joins
RPF check Egress node may abstract TE LSP as
a virtual interface (LSPVIF) for RPF
P2MP Tunnel Multicast Group
purposes
(192.168.5.1, 232.0.0.1)
Tunnel1
(192.168.5.1, 232.0.0.2)
Tunnel2 (192.168.5.1, 232.0.0.3)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
Statically Mapping Multicast Groups to a P2MP Tunnel
(Cisco IOS)
mpls traffic-eng destination list name P2MP-LIST-DST1
ip 172.16.255.1 path-option 10 explicit name PATH1
Destination list with one path-option
ip 172.16.255.2 path-option 10 dynamic per destination
ip 172.16.255.3 path-option 10 dynamic
ip 172.16.255.4 path-option 10 dynamic
!
interface Tunnel1
description FROM-ROUTER-TO-LIST-DST1
ip unnumbered Loopback0
ip pim passive Multipcast groups mapped to tunnel
ip igmp static-group 232.0.0.1 source 192.168.5.1
ip igmp static-group 232.0.0.2 source 192.168.5.1 P2MP TE Tunnel
tunnel mode mpls traffic-eng point-to-multipoint
tunnel destination list mpls traffic-eng name P2MP-LIST-DST1
tunnel mpls traffic-eng priority 7 7
Destination list
tunnel mpls traffic-eng bandwidth 1000
! Signaled bandwidth and setup / hold
priorities
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Configuring RPF Check at P2MP Tunnel Tail End
(Cisco IOS)
ip multicast mpls traffic-eng
Enable IPv4 multicast over P2MP TE LSP
ip mroute 192.168.5.1 255.255.255.255 172.16.255.5
!
Tunnel source (172.16.255.5) as
next-hop for IP Multicast source
(192.168.5.1) RPF check
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Statically Mapping Multicast Groups to a P2MP Tunnel
(Cisco IOS XR)
interface tunnel-mte1
ipv4 unnumbered Loopback0 MPLS TE P2MP tunnel
destination 172.16.255.129
path-option 10 explicit name PATH1
path-option 20 dynamic Destination with path-option list
!
destination 172.16.255.130
path-option 10 dynamic
!
Destination with single path-option
priority 0 0
signalled-bandwidth 100000
!
Signaled bandwidth and setup / hold priorities
node-capability label-switched-multicast
multicast-routing
address-family ipv4
Enable MPLS multicast
interface tunnel-mte1
enable
! Enable multicast forwarding over tunnel-mte1
interface all enable
!
!
router igmp
vrf default
interface tunnel-mte1
static-group 232.0.0.1 192.168.5.1 Multicast groups mapped to tunnel-mte1
static-group 232.0.0.2 192.168.5.1
!
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 79
Configuring RPF Check at P2MP Tunnel Tail End
(Cisco IOS XR)
multicast-routing
address-family ipv4 Enable IPv4/v6 multicast over P2MP TE LSP
core-tree-protocol rsvp-te
static-rpf 192.168.5.1 32 mpls 172.16.255.3
interface all enable Tunnel source (172.16.255.3) as next-
! hop for IP Multicast source (192.168.5.1)
! RPF check
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Configuring MPLS TE and Link Information
Distribution Using OSPF (Cisco IOS)
mpls traffic-eng tunnels Enable MPLS TE
! on this node
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
Enable MPLS TE
mpls traffic-eng tunnels
on this interface
mpls traffic-eng attribute-flags 0xF Attribute flags
mpls traffic-eng administrative-weight 20
ip rsvp bandwidth 100000 TE metric
! Maximum
router ospf 100 reservable
log-adjacency-changes bandwidth
passive-interface Loopback0
network 172.16.0.0 0.0.255.255 area 0 Enable TE
mpls traffic-eng router-id Loopback0 extensions (TE
mpls traffic-eng area 0 router id and area)
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Configuring MPLS TE and Link Information
Distribution Using IS-IS (Cisco IOS XR)
router isis DEFAULT Enable wide metric
is-type level-2-only
net 49.0001.1720.1625.5129.00 format and TE
address-family ipv4 unicast extensions (TE Id,
metric-style wide router level)
mpls traffic-eng level 2
mpls traffic-eng router-id Loopback0
! Configuration mode
interface Loopback0 for RSVP global and
passive interface commands
address-family ipv4 unicast
! Maximum
!
interface TenGigE0/0/0/0 reservable
address-family ipv4 unicast bandwidth
!
! Configuration mode
!
rsvp for MPLS TE global
interface TenGigE0/0/0/0 and interface
bandwidth 100000 commands
!
!
mpls traffic-eng TE metric
interface TenGigE0/0/0/0
admin-weight 5 Attribute flags
attribute-flags 0x8
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
P2MP TE LSP Traffic Selection
Static P2MP Pseudowires
CE4
Provides a layer-2 multicast service with
T-PE4 segmentation
(Leaf)
Multicast forwarding plane from root to leaves
T-PE3 (all traffic types: multicast, broadcast, unicast)
(Leaf) CE3
Unicast forwarding plane from leaves to root
T-PE5
CE5 (Root) Initial implementation supporting only static
pseudowire
Label bindings defined statically on root and
T-PE2 CE2 leaves
(Leaf)
No control plane (targeted LDP)
T-PE1 No context-specific label space on leaves
(Leaf)
CE1
P2MP PSN
Tunnel
pseudowire
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Network with MPLS TE
Service
Differentiation A solution when:
No differentiation required
Optimization required
Full mesh or selective
deployment to avoid over-
subscription
TE
Increased network utilization
Resource
Optimization Adjust link load to actual link
capacity
No notion of traffic classes
Load Capacity
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Network with MPLS DiffServ and MPLS TE
Service
Differentiation A solution when:
Differentiation required
Optimization required
Adjust class capacity to expected
DiffServ
+
TE
class load
Adjust class load to actual class
capacity for one class
Resource
Optimization Alternatively, adjust link load to
Class2 actual link capacity
Load Capacity
Class1
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Network with MPLS DiffServ and MPLS DS-TE
Service
Differentiation A solution when:
DiffServ
+
Strong differentiation required
DS-TE
Fine optimization required
Control both load and capacity
per class
Adjust class capacity to expected
class load
Resource
Optimization Adjust class load to actual class
Class2
capacity
Load Capacity
Class1
Load Capacity
Load Capacity
Class3
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
Pre-standard DS-TE Implementation
Only supports Russian Dolls Model (RDM) for bandwidth constraints
No changes to RSVP-TE specs to signal desired pool (leverages
ADSPEC object in PATH messages)
Sub-pool TE LSPs signaled as guaranteed service
Global pool TE LSPs signaled as controlled-load service
Modified OSPF-TE and ISIS-TE advertisements to include two pools at
8 priority levels each (16 entries per link total)
Available on IOS and IOS XR
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
What Is New in IETF DS-TE Implementation?
Supports both RDM and MAM (Maximum Allocation Model) for
bandwidth constraints
New CLASSTYPE object in RSVP-TE to signal desired class-type
(unused by “class-type 0” for backward compatibility with non-DS-TE)
Minor Changes to OSPF-TE and ISIS-TE bandwidth advertisements
Same “unreserved bandwidth” sub-TLV (8 entries) as non-DS-TE interpreted
according to local definition of TE-Class (class-type/preemption priority)
New BC sub-TLV
Operates in migration or IETF mode in Cisco IOS
Developed simultaneously for IOS and IOS XR
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
TE-Class Definition Examples
TE-Class definition MUST be consistent throughout the network
Default TE-Class definition
Priority 0 Priority 1 Priority 2 Priority 3 Priority 4 Priority 5 Priority 6 Priority 7
CT0 (Global) TE-Class4 TE-Class0
CT1 (Sub) TE-Class5 TE-Class1
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
MAM vs. RDM
MAM RDM
One BC per CT One or more CTs per BC
Sum of all BCs may exceed maximum reservable BC0 always equals to maximum reservable
bandwidth bandwidth
Bandwidth efficiency and protection against QoS Provides bandwidth efficiency and protection
degradation are mutually exclusive against QoS degradation simultaneously
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Configuring DS-TE Classes and Bandwidth
Constraints (Cisco IOS)
RDM
mpls traffic-eng tunnels Enable IETF DS-TE
mpls traffic-eng ds-te mode ietf
mpls traffic-eng ds-te te-classes
te-class 0 class-type 1 priority 0
te-class 1 class-type 1 priority 1 Explicit TE-Class definition
te-class 2 class-type 1 priority 2
te-class 3 class-type 1 priority 3
te-class 4 class-type 0 priority 4
te-class 5 class-type 0 priority 5 RDM bandwidth
te-class 6 class-type 0 priority 6 constraints
te-class 7 class-type 0 priority 7
!
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
mpls traffic-eng tunnels
ip rsvp bandwidth rdm bc0 155000 bc1 55000
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Configuring DS-TE Classes and Bandwidth
Constraints (Cisco IOS XR)
RDM
rsvp
interface TenGigE0/0/0/0 RDM bandwidth
bandwidth rdm bc0 155000 bc1 55000 constraints
!
!
mpls traffic-eng
interface TenGigE0/0/0/0
!
ds-te mode ietf
ds-te te-classes Enable IETF DS-TE
te-class 0 class-type 1 priority 0
te-class 1 class-type 1 priority 1
te-class 2 class-type 1 priority 2
te-class 3 class-type 1 priority 3
te-class 4 class-type 0 priority 4 Explicit TE-Class
te-class 5 class-type 0 priority 5
te-class 6 class-type 0 priority 6
definition
te-class 7 class-type 0 priority 7
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
Configuring CBTS (Cisco IOS)
interface Tunnel1 Tunnel1 will carry
ip unnumbered Loopback0 packets with MPLS
tunnel destination 172.16.255.2
tunnel mode mpls traffic-eng EXP 5
tunnel mpls traffic-eng bandwidth 50000 class-type 1
tunnel mpls traffic-eng path-option 10 dynamic
tunnel mpls traffic-eng exp 5
! Tunnel2 will carry
interface Tunnel2 packets with MPLS
ip unnumbered Loopback0 EXP other than 5
tunnel destination 172.16.255.2
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng bandwidth 100000 class-type 0
tunnel mpls traffic-eng path-option 10 dynamic Tunnel10 defined as
tunnel mpls traffic-eng exp default bundle master with
!
interface Tunnel10
Tunnel2 and
ip unnumbered Loopback0 Tunnel1 as
tunnel destination 172.16.255.2 members
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng exp-bundle master
tunnel mpls traffic-eng exp-bundle member Tunnel1 CBTS performed on
tunnel mpls traffic-eng exp-bundle member Tunnel2 prefix
!
ip route 192.168.0.0 255.255.255.0 Tunnel10 192.168.0.0/24
! using Tunnel10
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
Configuring PBTS (Cisco IOS XR)
interface tunnel-te1 tunnel-te1 will carry
ipv4 unnumbered Loopback0 packets with MPLS
autoroute announce EXP 5
signalled-bandwidth 10000
destination 172.16.255.2
policy-class 5
path-option 10 explicit name PATH1 tunnel-te2 will carry
path-option 20 dynamic packets with MPLS
! EXP other than 5
interface tunnel-te2 (default tunnel)
ipv4 unnumbered Loopback0
autoroute announce
signalled-bandwidth 50000
destination 172.16.255.2
path-option 10 explicit name PATH2
path-option 20 dynamic
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Tunnel-based Admission Control
Tunnel aggregates RSVP (IPv4)
flows
IP
IP/MPLS
IP
No per-flow state in forwarding
plane (only DiffServ)
RSVPoDiffServ RSVPoDiffSer
No per-flow state in control plane
v
Tunnel within MPLS TE network
RSVP flows
(IPv4) RSVP enhancements enable
Aggregation / Aggregation / end-to-end admission control
De-aggregation De-aggregation
solution (Receiver Proxy, Sender
Notification, Fast Local Repair)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Configuring Tunnel-based Admission Control
(Cisco IOS)
interface Tunnel1 Signaled bandwidth
ip unnumbered Loopback0
tunnel destination 172.16.255.2 RSVP local policy (200
tunnel mode mpls traffic-eng flows max, 1Mbps per
tunnel mpls traffic-eng autoroute announce flow max)
tunnel mpls traffic-eng priority 7 7
Maximum reservable
tunnel mpls traffic-eng bandwidth 100000
bandwidth
tunnel mpls traffic-eng path-option 10 dynamic
ip rsvp policy local default
Interface QoS policy
maximum senders 200
(DiffServ)
maximum bandwidth single 1000
forward all Maximum reservable
ip rsvp bandwidth 100000 bandwidth
!
interface GigabitEthernet3/3/0 Act as RSVP receiver
ip address 192.168.0.1 255.255.255.254 proxy on this interface
service-policy output OUT-POLICY
ip rsvp bandwidth percent 10 No RSVP flow
ip rsvp listener outbound reply classification
ip rsvp data-packet classification none
ip rsvp resource-provider none No RSVP flow queuing
!
ip rsvp qos Enable per-flow RSVP
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
Configuring FRR (Cisco IOS)
Primary Tunnel
interface Tunnel1
description FROM-ROUTER-TO-DST1-FRR
ip unnumbered Loopback0
tunnel destination 172.16.255.2 Indicate the desire
tunnel mode mpls traffic-eng for local protection
tunnel mpls traffic-eng bandwidth 20000 during signaling
tunnel mpls traffic-eng path-option 10 dynamic
tunnel mpls traffic-eng fast-reroute
!
Backup Tunnel
interface Tunnel1 Explicitly routed
description NNHOP-BACKUP backup to
ip unnumbered Loopback0 172.16.255.2 with
tunnel destination 172.16.255.2
tunnel mode mpls traffic-eng zero bandwidth
tunnel mpls traffic-eng path-option 10 explicit name PATH1
! Use Tunnel1 as
interface TenGigabitEthernet1/0/0
ip address 172.16.192.5 255.255.255.254 backup for protected
mpls traffic-eng tunnels LSPs through
mpls traffic-eng backup-path Tunnel1 TenGigabitEthernet1
ip rsvp bandwidth
! /0/0
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
Configuring FRR (Cisco IOS XR)
Primary Tunnel
interface tunnel-te1
description FROM-ROUTER-TO-DST1-FRR
ipv4 unnumbered Loopback0
signalled-bandwidth 30000 Indicate the desire for
destination 172.16.255.2 local protection during
fast-reroute signaling
path-option 10 dynamic
!
Backup Tunnel
interface tunnel-te1 Explicitly routed backup
description NHOP-BACKUP
to 172.16.255.130 with
ipv4 unnumbered Loopback0
zero bandwidth
destination 172.16.255.130
path-option 10 explicit name PATH1
!
mpls traffic-eng
Use tunnel-te1 as
backup for protected
interface TenGigE0/0/0/0
LSPs through
backup-path tunnel-te 1
TenGigE0/0/0/0
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
AutoTunnel: Primary Tunnels
Why One-Hop Tunnels?
CSPF and SPF yield same
results (absence of tunnel
constraints) R1
IP/MPLS
Auto-route forwards all traffic
through one-hop tunnel R8
Primary TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
AutoTunnel: Backup Tunnels
What’s the Solution? (Cont.)
Backup tunnels are preconfigured
Priority 7/7
R1
IP/MPLS
Bandwidth 0
Affinity0x0/0xFFFF
R8 Auto-BW OFF
Auto-Route OFF
R2
Fast-Reroute OFF
Forwarding-Adj OFF
Load-Sharing OFF
Backup tunnel interfaces and paths
not shown on router configuration
Primary TE LSP
Backup TE LSP
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Configuring SRLG (Cisco IOS)
Force SRLG
mpls traffic-eng tunnels
exclusion during
mpls traffic-eng auto-tunnel backup nhop-only
backup path
mpls traffic-eng auto-tunnel backup srlg exclude force computation
!
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
Interface member of
mpls traffic-eng tunnels
SRLG 15 and 25
mpls traffic-eng srlg 15
mpls traffic-eng srlg 25
ip rsvp bandwidth
! Interface member of
interface TenGigabitEthernet1/0/0 SRLG 25
ip address 172.16.0.2 255.255.255.254
mpls traffic-eng tunnels
mpls traffic-eng srlg 25
ip rsvp bandwidth
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Configuring Path Protection (Cisco IOS)
interface Tunnel1
ip unnumbered Loopback0
tunnel mode mpls traffic-eng Standby path to be
tunnel destination 172.16.255.2
used for PATH1
tunnel mpls traffic-eng autoroute announce
tunnel mpls traffic-eng path-option 10 explicit name PATH1
tunnel mpls traffic-eng path-option 20 explicit name PATH2
tunnel mpls traffic-eng path-option protect 10 explicit name PPATH1 Standby path to be
tunnel mpls traffic-eng path-option protect 20 explicit name PPATH2 used for PATH2
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Configuring Enhanced Path Protection (Cisco
IOS)
List of standby
mpls traffic-eng path-option list name PATH-LST paths
path-option 10 explicit name PE1-P3-P4-PE2
path-option 20 explicit name PE1-P5-P6-PE2
path-option 30 explicit name PE1-P7-P8-PE2
!
interface Tunnel1
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 172.16.255.2
tunnel mpls traffic-eng autoroute announce
Use path list to
tunnel mpls traffic-eng path-option 10 explicit name PE1-P1-P2-PE2
protect primary
tunnel mpls traffic-eng path-option protect 10 list name PATH-LST path
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 105
Configuring Path Protection
(Cisco IOS XR)
interface tunnel-te1
description FROM-ROUTER-TO-DST1 Signal an acceptable
ipv4 unnumbered Loopback0 (node-link, node, link
signalled-bandwidth 100000 diverse) standby TE
destination 172.16.255.2 LSP based on path-
affinity f mask f option sequence
path-protection
path-option 10 explicit name PATH1
path-option 20 explicit name PATH2
path-option 30 dynamic
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Inter-Domain TE – TE LSP Reoptimization
Inter-AS TE
LSP before
reoptimizati
ASBR1 ASBR2 on
IP/MPL R IP/MPL
R2 4 R Inter-AS TE
S S 6 R7
R1 LSP after
Mak
reoptimizati
e on
befo
re
R
brea 3
ASBR3 ASBR4 R
PATH 5
k
Path re- PathErr
evaluation
Preferabl
request
e Path
exists
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Configuring Inter-Area Tunnels
(Cisco IOS)
mpls traffic-eng tunnels
!
interface Tunnel1 Loose-hop path
ip unnumbered Loopback0
no ip directed-broadcast
tunnel destination 172.16.255.7
tunnel mode mpls traffic-eng Static route mapping
tunnel mpls traffic-eng path-option 10 explicit name LOOSE-PATH IP traffic to Tunnel1
!
ip route 172.16.255.7 255.255.255.255 Tunnel1
!
ip explicit-path name LOOSE-PATH enable List of ABRs as
next-address loose 172.16.255.3 loose hops
next-address loose 172.16.255.5
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Configuring Inter-Area Tunnels with Autoroute
Destinations (Cisco IOS)
interface Tunnel1 Create static route
ip unnumbered Loopback0 to tunnel destination
tunnel mode mpls traffic-eng (172.16.255.7)
tunnel destination 172.16.255.7
tunnel mpls traffic-eng autoroute destination
tunnel mpls traffic-eng path-option 10 explicit name LOOSE-PATH Loose-hop path
!
ip explicit-path name LOOSE-PATH enable
next-address loose 172.16.255.3 List of ABRs as
next-address loose 172.16.255.5 loose hops
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Configuring Inter-Area Tunnels
(Cisco IOS XR)
explicit-path name LOOSE-PATH List of ABRs as
index 1 next-address loose ipv4 unicast 172.16.255.129 loose hops
index 2 next-address loose ipv4 unicast 172.16.255.131
!
interface tunnel-te1 Loose-hop path
description FROM-ROUTER-TO-DST3
ipv4 unnumbered Loopback0
destination 172.16.255.2
path-option 10 explicit name LOOSE-PATH
Static route
mapping IP traffic
!
to tunnel-te1
router static
address-family ipv4 unicast
172.16.255.2/32 tunnel-te1
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
Configuring Inter-AS Tunnels
(Cisco IOS)
mpls traffic-eng tunnels
Loose-hop path
!
interface Tunnel1
ip unnumbered Loopback0 Static route
no ip directed-broadcast mapping IP traffic to
tunnel destination 172.31.255.5 Tunnel1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 1000 List of ASBRs as
tunnel mpls traffic-eng path-option 10 explicit name LOOSE-PATH loose hops
!
ip route 172.31.255.5 255.255.255.255 Tunnel1
!
ip explicit-path name LOOSE-PATH enable
next-address loose 172.24.255.1
next-address loose 172.31.255.1
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Inter-Domain TE – Authentication and Policy
Control
Inter-AS TE LSP
ASBR1 ASBR2
IP/MPLS R IP/MPLS
R2 4 R
6 R7
R1
Policy
R
ASBR3 ASBR4 R
3
5
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Configuring Inter-AS TE at ASBR
(Cisco IOS)
mpls traffic-eng tunnels Authentication key
!
key chain A-ASBR1-key
key 1
key-string 7 151E0E18092F222A
! Add ASBR link to TE
interface Serial1/0 topology database
ip address 192.168.0.1 255.255.255.252
mpls traffic-eng tunnels
mpls traffic-eng passive-interface nbr-te-id 172.16.255.4 nbr-igp-id ospf
172.16.255.4
Enable RSVP
ip rsvp bandwidth
ip rsvp authentication key-chain A-ASBR1-key
authentication
ip rsvp authentication type sha-1
ip rsvp authentication
!
router bgp 65024
no synchronization Process signaling from
bgp log-neighbor-changes
AS 65016 if FRR not
neighbor 172.24.255.3 remote-as 65024
neighbor 172.24.255.3 update-source Loopback0
requested and 10M or
neighbor 192.168.0.2 remote-as 65016
less
no auto-summary
!
ip rsvp policy local origin-as 65016
no fast-reroute
maximum bandwidth single 10000
forward all
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Distributed Path Computation with Backward
Recursive PCE-based Computation (BRPC)
Head-end sends request to a path computation element (PCE)
PCE recursively computes virtual shortest path tree (SPT) to destination
Head-end receives reply with virtual SPT if a path exists
Head-end uses topology database and virtual SPT to compute end-to-
end path
Head-end can discover PCEs dynamically or have them configured
statically
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Configuring MPLS TE and LDP Simultaneously
(Cisco IOS)
Enable LDP
mpls label protocol ldp
mpls traffic-eng tunnels Enable MPLS TE
!
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254 Enable MPLS TE on
mpls traffic-eng tunnels
interface
mpls ip Enable MPLS
ip rsvp bandwidth 155000 forwarding for IP
! (LDP)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Configuring MPLS TE and LDP Simultaneously
(Cisco IOS XR)
rsvp Configuration mode
interface TenGigE0/0/0/0
for RSVP global and
interface commands
bandwidth 155000
!
! Configuration mode
mpls traffic-eng for MPLS TE global
interface TenGigE0/0/0/0 and interface
! commands
!
mpls ldp
interface TenGigE0/0/0/0
Configuration mode
!
for LDP global and
! interface commands
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
Configuring LDP Over a TE Tunnel
(Cisco IOS)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
Configuring LDP Over a TE Tunnel (Cisco IOS
XR)
interface tunnel-te1
ipv4 unnumbered Loopback0
priority 0 0
signalled-bandwidth 80000
autoroute announce
destination 172.16.255.130
path-option 10 dynamic
!
rsvp
interface TenGigE0/0/0/1
bandwidth 155000
!
!
mpls traffic-eng Enable LDP
interface TenGigE0/0/0/1
!
! Enable LDP on
mpls ldp
tunnel-te1
interface TenGigE0/0/0/0
!
interface tunnel-te1
!
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
MPLS TE on Ethernet Bundle (Cisco IOS)
Enable MPLS TE on this
interface Port-channel1 interface
ip address 172.16.0.0 255.255.255.254
mpls traffic-eng tunnels Attribute flags
mpls traffic-eng attribute-flags 0xF TE metric
mpls traffic-eng administrative-weight 20
ip rsvp bandwidth percent 100 Maximum reservable
bandwidth (100% of total
! bundle bandwidth)
interface GigabitEthernet2/0/0
no ip address LACP as channel protocol
channel-protocol lacp
channel-group 1 mode active Associate with Port-
! channel1 and enable
LACP (non-passive)
interface GigabitEthernet2/0/1
no ip address LACP as channel protocol
channel-protocol lacp
channel-group 1 mode active Associate with Port-
channel1 and enable
! LACP (non-passive)
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 119
MPLS TE on Ethernet Bundle (Cisco IOS XR)
interface Bundle-Ether1
Interface for bundle id 1
ipv4 address 172.16.0.1 255.255.255.254
!
interface GigabitEthernet0/1/0/0
bundle id 1 mode active
Associate with bundle id
negotiation auto 1 (Bundle-Ether1) and
! enable LACP (non-
interface GigabitEthernet0/1/0/1
bundle id 1 mode active passive)
negotiation auto
!
router ospf 172
area 0 Associate with bundle id
mpls traffic-eng
interface Bundle-Ether1
1 (Bundle-Ether1) and
network point-to-point enable LACP (non-
! passive)
interface Loopback0
passive enable
!
!
mpls traffic-eng router-id Loopback0 Enable OSPF on bundle
!
rsvp
interface Bundle-Ether1
bandwidth 2000000 Maximum reservable
! bandwidth on bundle
!
mpls traffic-eng
interface Bundle-Ether1
! Enable MPLS TE on
! bundle
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 120
Per-VRF Tunnel Selection (Cisco IOS)
ip vrf RED Loopback1
rd 65172:2 advertised as next
route-target export 65172:2 hop for VRF RED
route-target import 65172:2
bgp next-hop Loopback1
!
interface Loopback0
ip address 172.16.255.1 255.255.255.255
!
interface Loopback1
ip address 172.16.255.101 255.255.255.255
!
interface Tunnel1
description FROM-ROUTER-VRF-TO-DST1
ip unnumbered Loopback0 Remote next hop
tunnel destination 172.16.255.2 mapped to Tunnel1
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng path-option 10 dynamic
!
ip route 172.16.255.102 255.255.255.255 Tunnel1
!
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 121
Scaling Signaling (Refresh Reduction)
SRefresh Message
MSG_I
d List
MSG_I
d List
Path Resv
MSG_Id MSG_Id
State State
LSP1 22 … LSP1 43 …
LSP2 62 … LSP2 37 …
: : … : : …
LSPn 94 … LSPn 29 …
BRKMPL-2100 – saalvare@cisco.com © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 122
Configuring Refresh Reduction
(Cisco IOS)
mpls traffic-eng tunnels
!
interface TenGigabitEthernet0/1/0
ip address 172.16.0.0 255.255.255.254
mpls traffic-eng tunnels
ip rsvp bandwidth 100000
!
router ospf 100
log-adjacency-changes
passive-interface Loopback0
network 172.16.0.0 0.0.255.255 area 0
mpls traffic-eng router-id Loopback0
mpls traffic-eng area 0 Enable refresh
! reduction
ip rsvp signalling refresh reduction
!