Live! - Deploying MPLS Traffic Engineering
Live! - Deploying MPLS Traffic Engineering
Live! - Deploying MPLS Traffic Engineering
BRKMPL-2104
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 2
Agenda
Technology Overview
Bandwidth optimization
TE for QoS
Traffic Protection
Inter-Domain Traffic Engineering
General Deployment Considerations
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 3
Technology Overview
MPLS TE Overview
TE LSP
BRKMPL-2104 © 2012 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
CBTS / PBTS
TE LSP
Forwarding Adjacency
Tunnel select
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 6
Link Information Distribution
EXPLICIT_ROUTE
RECORD_ROUTE (PATH/RESV)
SESSION_ATTRIBUTE (PATH) Input Out Label,
Label Interface
LFIB populated using 17 16, 0
TE LSP
RSVP labels allocated by RESV
messages
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 9
Traffic Selection
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 10
Configuring MPLS TE and Link Information
Distribution Using IS-IS (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 11
Configuring MPLS TE and Link Information
Distribution Using OSPF (Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 13
Configuring Tunnel at Head End
(Cisco IOS)
Explicit PATH1
definition
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 14
Configuring Tunnel at Head End
(Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 15
Configuring Tunnel at Head End
(Cisco NX-OS)
interface tunnel-te1
description FROM-ROUTER-TO-DST1 Destination (tunnel
ip unnumbered loopback0
tail end)
no shutdown Consider links with
destination 172.16.255.5 0xF/0xF as
affinity 0xf mask 0xf attribute flags
bandwidth 10000 Signaled
path-option 10 explicit name PATH1 bandwidth
path-option 20 dynamic
Tunnel path
priority 5 5
options (PATH1,
otherwise dynamic)
Setup/hold
priorities
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 16
Characteristics of 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-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 17
P2MP TE LSP Terminology
Tail end
IP/MPLS Head-end/Source: Node where
Head end LSP signaling is initiated
Mid-point: Transit node where
LSP signaling is processed (not
Mid-point and
branch point a head-end, not a tail-end)
Tail-end/Leaf/destination: node
where LSP signaling ends
TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 18
P2MP TE LSP Path Computation
Constrained Shortest Path First (CSPF)
used to compute an adequate tree IP/MPLS R4
L=16
RESV
L=18
Input Out Label, RESV
Label Interface
16 17, 0
18, 1
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 20
P2MP TE LSP Traffic Selection
IP Multicast
Signaled
bandwidth
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 23
Configuring RPF Check at P2MP Tunnel Tail End
(Cisco IOS)
Tunnel source
(172.16.255.5) as
next-hop for IP
Multicast source
(192.168.5.1) RPF
check
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 24
Configuring P2MP Tunnel at Head End
(Cisco IOS XR)
interface tunnel-mte1 MPLS TE P2MP tunnel
ipv4 unnumbered Loopback0
destination 172.16.255.129 Destination with path-
path-option 10 explicit name PATH1
path-option 20 dynamic option list
!
destination 172.16.255.130 Destination with single
path-option 10 dynamic
!
path-option
priority 0 0
signalled-bandwidth 100000 Setup/hold priorities
!
node-capability label-switched-multicast
multicast-routing
Signaled bandwidth
address-family ipv4
interface tunnel-mte1 Enable MPLS multicast
enable
!
interface all enable
! Enable multicast
! forwarding over tunnel-
router igmp
vrf default
mte1
interface tunnel-mte1
static-group 232.0.0.1 192.168.5.1 Multicast groups mapped
static-group 232.0.0.2 192.168.5.1
! to tunnel-mte1
!
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 25
Configuring RPF Check at P2MP Tunnel Tail End
(Cisco IOS XR)
multicast-routing
address-family ipv4
core-tree-protocol rsvp-te
static-rpf 192.168.5.1 32 mpls 172.16.255.3 Enable IPv4/v6 multicast
interface all enable over P2MP TE LSP
!
!
Tunnel source
(172.16.255.3) as next-hop
for IP Multicast source
(192.168.5.1) RPF check
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 26
MPLS TE Integration with Network
Services
A TE LSP provides transport for different network services
PE PE CE
CE ATM ATM
CE CE
IP/MPLS
PE PE
Frame
CE Ethernet
Relay CE
CE
PE
CE CE
PE PE
CE Ethernet Ethernet CE
R1 IP/MPLS R1 IP/MPLS
R8 R8
R2 R2
R8 R8
R2 R2
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 28
Bandwidth optimization
Planned Bandwidth Optimization
Interface counters on
unconstrained tunnels
Interface MIB AS65001 AS65002 AS65003
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 31
AutoTunnel Mesh
New mesh
Mesh group: LSRs to mesh group
automatically member
Membership identified by
Matching TE Router ID
against ACL New mesh
IGP mesh-group group
advertisement member
Total Bandwidth
bandwidth available to
for all TE other tunnels
tunnels Max
on a path
Tunnel
Min
resized to
measured rate
Time
Dynamically adjust bandwidth reservation based on measured traffic
Optional minimum and maximum limits
Sampling and resizing timers
Tunnel resized to largest sample since last adjustment
Actual resizing can be subject to adjustment threshold and overflow
detection
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 33
Configuring AutoTunnel Mesh
(Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 34
Reactive Bandwidth Optimization
Bandwidth Optimization Reactive
Planned
R1 IP/MPLS R1 IP/MPLS
R8 R8
R2 R2
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 35
TE for QoS
Motivations
Point-to-point SLAs
Admission control
PE1 IP/MPLS Integration with DiffServ
Increased routing control to
PE3 improve network performance
PE2
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 37
MPLS TE and DiffServ Deployment Models
DiffServ-Aware TE and
MPLS TE and no DiffServ MPLS TE and DiffServ DiffServ
Link Class1 Class1
Class3 Class3
Load Capacity Load Capacity
Limit link load to actual Limit class capacity Limit class capacity to
link capacity to expected class load expected class load
No notion of traffic classes Limit class load to actual Limit class load to actual
class capacity for one class class capacity for at least two
–
classes
BRKMPL-2104
Differentiation / Optimization / Complexity
© 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public
+ 38
DiffServ-Aware Traffic Engineering
BW pool applies
to one class
BC0
Sum of BW pools may Class0
exceed MRB
Maximum
All
Sum of total BC1 Class1 Reservable
Classes Bandwidth
reserved BW may (MRB)
not exceed MRB BC2 Class2
Current implementation
supports BC0 and BC1
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 40
Russian Dolls Model (RDM)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 41
Class-Based Tunnel Selection: CBTS
FIB
Tunnel selection configured on
Prefix1 Tunnel10
Tunnel Bundle tunnel master (auto-route, etc.)
Prefix2 Tunnel20 Bundle members configured
Prefix3 Tunnel30 with EXP values to carry
Bundle members may be
Master (Tunnel10)
configured as default
Supports VRF traffic,
Member (Tunnel1)
IP-to-MPLS and MPLS-to-MPLS
Member (Tunnel2)
switching paths
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 42
Policy-based Tunnel Selection: PBTS
Tunnel1
Tunnel2
Prefix1 EXP-based selection between
multiple tunnels to same destination
Tunnel3
Tunnel4 Prefix2 Local mechanism at
Tunnel5
head-end
Tunnel6
Tunnel7 Prefix3 Tunnels configured via policy-
class with one EXP value to carry
FIB Tunnel without policy-class
Prefix1, exp 5 tunnel-te1 acts as default
Prefix1, * tunnel-te2
Prefix2, exp 5 tunnel-te3 No IGP extensions
Prefix2, exp 2 tunnel-te4
Supports VRF traffic,
Prefix2, * tunnel-te5
IP-to-MPLS and MPLS-to-MPLS
Prefix3, exp 5 tunnel-te6
switching
Prefix3, * tunnel-te7
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 43
Tunnel-based Admission Control
IP/MPLS
IP IP
RSVPoDiffServ RSVPoDiffServ
Tunnel
Aggregation / Aggregation /
De-aggregation De-aggregation
Tunnel aggregates RSVP (IPv4) flows
No per-flow state in forwarding plane (only DiffServ)
No per-flow state in control plane within MPLS TE network
RSVP enhancements enable end-to-end admission control solution
(Receiver Proxy, Sender Notification, Fast Local Repair)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 44
Traffic Protection
Traffic Protection Using MPLS TE Fast Re-Route
(FRR)
Sub-second recovery
against node/link failures
IP/MPLS
R1
Scalable 1:N protection
R8 Greater protection
granularity
R2
Cost-effective alternative to
1:1 protection
Bandwidth protection
Primary TE LSP
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 46
FRR Link Protection Operation
backup label
R1 R2 R6 R7
Backup terminates
on Merge Point (MP) where
16 22
traffic re-joins primary
Restoration time expected
under ~50 ms R5
Primary TE LSP
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 47
FRR Node Protection Operation
backup label
Backup terminates on Merge 16 22 36
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 48
Bidirectional Forwarding Detection
Trigger for FRR
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 49
Bandwidth Protection
Primary TE LSP
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 50
AutoTunnel: Primary Tunnels
What’s the Problem?
Primary TE LSP
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 51
AutoTunnel: Primary Tunnels
What’s the Solution?
Forward all traffic through a one-hop protected primary TE tunnel
Create protected one-hop
tunnels on all TE links
Priority 7/7
IP/MPLS
R1 Bandwidth 0
Affinity 0x0/0xFFFF
R8 Auto-BW OFF
Auto-Route ON
R2 Fast-Reroute ON
Forwarding-Adj OFF
Load-Sharing OFF
Tunnel interfaces not shown on
router configuration
Configure desired backup
tunnels (manually or
Primary TE LSP automatically)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 52
Configuring AutoTunnel Primary Tunnels (Cisco
IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 53
AutoTunnel: Backup Tunnels
What’s the Problem?
R2
Primary TE LSP
Backup TE LSP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 54
AutoTunnel: Backup Tunnels
What’s the Solution?
Create backup tunnels automatically as needed
Detect if a primary tunnel
IP/MPLS requires protection and is not
R1
protected
R8 Verify that a backup tunnel
doesn’t already exist
R2
Compute a backup path to
NHOP and NNHOP
excluding the protected
facility
Optionally, consider shared
risk link groups during
Primary TE LSP
backup path computation
Backup TE LSP
Signal the backup tunnels
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 55
Configuring AutoTunnel Backup Tunnels (Cisco
IOS)
Consider SRLGs
preferably
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 56
Shared Risk Link Group (SRLG)
Layer-3 Plus underlying
Layer-3 Topology
Optical Topology
SRLG 10
IP/MPLS R2-R4
IP/MPLS
R2-R3
R2 R4 R2 R4
R1 R5 R1 R5 SRLG 20
R4-R2
R4-R3
R3 R3
SRLG 30
R3-R2
R3-R4
Some links may share same physical resource (e.g. fiber, conduit)
AutoTunnel Backup can force or prefer exclusion of SRLG
to guarantee diversely routed backup tunnels
IS-IS and OSPF flood SRLG membership as an additional
link attribute
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 57
What About Path Protection?
Cisco IOS
Separate path option sequences for primary
and standby
Explicit paths only
No path diversity
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 59
Head End Resiliency Models
Live-Standby
PE5 PE6 Redundant TE LSPs with different ingress PEs
Live TE LSP (Live) (Standby)
Standby TE LSP P1 P2 LSPs may or may not be disjoint
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 62
Per-Domain Path Computation Using ERO Loose-
hop Expansion
Inter-AS TE LSP
R3 ASBR3 ASBR4 R5
R1 ASBR4
Topology Topology
database database
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 63
Distributed Path Computation using Path
Computation Element
Path Computation Request
Backward Recursive PCE-based Path Computation Reply
Computation (BRPC) Path Computation Element
TE LSP
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-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 64
Configuring PCE (Cisco IOS XR)
Headend
interface tunnel-te1 Use discovered
description FROM-ROUTER-TO-DST2 PCEs for path
ipv4 unnumbered Loopback0 computation
destination 172.16.255.1
path-option 10 dynamic pce Static route mapping
! IP traffic to tunnel-
router static te1
address-family ipv4 unicast
172.16.255.1/32 tunnel-te1
!
! Declare peer down if
no keepalive in 30s
PCE
mpls traffic-eng
Advertise PCE
capability with
pce deadtimer 30
address
pce address ipv4 172.16.255.129 172.16.255.129
pce keepalive 10
!
Send per keepalive
every 10s
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 65
Inter-Domain TE – Fast Re-route
Primary TE LSP
Backup TE LSP
R3 ASBR3 ASBR4 R5
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 66
Inter-Domain TE
Take into Account before Implementing
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 67
General Deployment Considerations
Should RSVP-TE and LDP be Used
Simultaneously?
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 69
How Far should Tunnels Span?
56 TE LSP
PE
PE-to-PE Tunnels
PE
More granular control on traffic
PE PE forwarding
Larger number of TE LSPs
PE PE
P-to-P Tunnels
PE PE Requires IP tunnels or LDP over
TE 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-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 70
MPLS TE on Link Bundles
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 71
Scaling Signaling (Refresh Reduction)
SRefresh Message
MSG_Id
List
MSG_Id
List
Path Resv
MSG_Id MSG_Id
State State
LSP1 22 … LSP1 43 …
LSP2 62 … LSP2 37 …
: : … : : …
LSPn 94 … LSPn 29 …
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 72
Summary
Summary
Technology Overview
Traffic Protection
Explicit and constrained-
based routing Link/node protection
(auto-tunnel)
TE protocol extensions
(OSPF, ISIS and RSVP) Bandwidth protection
Don't forget to complete your online session evaluations after each session.
Complete 4 session evaluations & the Overall Conference Evaluation
(available from Thursday) to receive your Cisco Live T-shirt.
All surveys can be found on our onsite portal and mobile website:
www.ciscolivelondon.com/mobile
2. Login
3. Complete and Submit the evaluation http://m.cisco.com/mat/cleu12/
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 76
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 77
Thank you.
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 78
Backup Slides
Configuring MPLS TE and Link Information
Distribution Using OSPF (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 80
Configuring MPLS TE and Link Information
Distribution Using IS-IS (Cisco IOS XR)
router isis DEFAULT Enable wide metric format
is-type level-2-only and TE extensions (TE Id,
net 49.0001.1720.1625.5129.00
address-family ipv4 unicast router level)
metric-style wide
mpls traffic-eng level 2
mpls traffic-eng router-id Loopback0
! Configuration mode for
interface Loopback0 RSVP global and interface
passive
address-family ipv4 unicast commands
!
!
interface POS0/3/0/0 Maximum reservable
address-family ipv4 unicast bandwidth
!
!
!
rsvp
Configuration mode for
interface POS0/3/0/0 MPLS TE global and
bandwidth 100000 interface commands
!
!
mpls traffic-eng
interface POS0/3/0/0
admin-weight 5 TE metric
attribute-flags 0x8
!
! Attribute flags
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 81
Per-VRF Tunnel Selection (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 82
Network with MPLS TE
Service
Differentiation A solution when:
- No differentiation required
- Optimization required
Load Capacity
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 83
Network with MPLS DiffServ
and MPLS TE
Service
Differentiation
A solution when:
- Differentiation required
DiffServ - Optimization required
+
TE
Adjust class capacity
to expected class load
Adjust class load to actual
class capacity for one class
Resource
Optimization Alternatively, adjust
link load to actual
Class2 link capacity
Load Capacity
Class1
Load Capacity
Load Capacity
Class3
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 84
Network with MPLS DiffServ
and MPLS DS-TE
Service
Differentiation
A solution when:
DiffServ
+
DS-TE
- Strong differentiation
required
- Fine optimization required
Load Capacity
Load Capacity
Class3
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 85
Pre-standard DS-TE Implementation
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 86
What Is New in IETF DS-TE Implementation?
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 87
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-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 88
MAM vs. RDM
MAM RDM
One BC per CT One or more CTs per BC
Sum of all BCs may exceed maximum BC0 always equals to maximum
reservable bandwidth reservable bandwidth
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 89
Configuring DS-TE Classes and Bandwidth
Constraints (Cisco IOS)
RDM
mpls traffic-eng tunnels Enable IETF DS-
mpls traffic-eng ds-te mode ietf TE
mpls traffic-eng ds-te te-classes
te-class 0 class-type 1 priority 0
te-class 1 class-type 1 priority 1
te-class 2 class-type 1 priority 2 Explicit TE-Class
te-class 3 class-type 1 priority 3 definition
te-class 4 class-type 0 priority 4
te-class 5 class-type 0 priority 5
te-class 6 class-type 0 priority 6 RDM bandwidth
te-class 7 class-type 0 priority 7 constraints
!
interface POS0/1/0
ip address 172.16.0.0 255.255.255.254
mpls traffic-eng tunnels Enable IETF DS-
ip rsvp bandwidth rdm bc0 155000 bc1 55000 TE and use default
!
TE-Class definition
MAM
mpls traffic-eng tunnels
mpls traffic-eng ds-te mode ietf Enable MAM
mpl traffic-eng ds-te bc-model mam
!
interface POS0/1/0 MAM bandwidth
ip address 172.16.0.0 255.255.255.254 constraints
mpls traffic-eng tunnels
ip rsvp bandwidth mam max-reservable-bw 155000 bc0 100000 bc1 55000
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 90
Configuring DS-TE Tunnel (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 91
Configuring DS-TE Classes and Bandwidth
Constraints (Cisco IOS XR)
RDM
rsvp RDM bandwidth
interface POS0/3/0/0
bandwidth rdm bc0 155000 bc1 55000 constraints
!
!
mpls traffic-eng
interface POS0/3/0/0
! Enable IETF DS-
ds-te mode ietf
ds-te te-classes 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 Explicit TE-Class
te-class 4 class-type 0 priority 4 definition
te-class 5 class-type 0 priority 5
te-class 6 class-type 0 priority 6
te-class 7 class-type 0 priority 7 MAM bandwidth
!
! constraints
MAM
rsvp
interface POS0/3/0/0 Enable IETF DS-
bandwidth mam max-reservable-bw 155000 bc0 100000 bc1 55000 TE and use default
!
! TE-Class definition
mpls traffic-eng
interface POS0/3/0/0
!
ds-te mode ietf
ds-te bc-model mam Enable MAM
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 92
Configuring DS-TE Tunnels
(Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 93
Configuring CBTS (Cisco IOS)
interface Tunnel1 Tunnel1 will carry
ip unnumbered Loopback0 packets with MPLS
tunnel destination 172.16.255.2 EXP 5
tunnel mode mpls traffic-eng
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
! packets with MPLS
interface Tunnel2
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
tunnel mpls traffic-eng exp default Tunnel10 defined as
! bundle master with
interface Tunnel10 Tunnel2 and Tunnel1
ip unnumbered Loopback0
tunnel destination 172.16.255.2 as members
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng exp-bundle master
tunnel mpls traffic-eng exp-bundle member Tunnel1
tunnel mpls traffic-eng exp-bundle member Tunnel2
!
ip route 192.168.0.0 255.255.255.0 Tunnel10 CBTS performed on
! prefix 192.168.0.0/24
using Tunnel10
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 94
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-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 95
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 flow
tunnel mpls traffic-eng autoroute announce max)
tunnel mpls traffic-eng priority 7 7
tunnel mpls traffic-eng bandwidth 100000 Maximum reservable
tunnel mpls traffic-eng path-option 10 dynamic bandwidth
ip rsvp policy local default
maximum senders 200 Interface QoS policy
maximum bandwidth single 1000 (DiffServ)
forward all
ip rsvp bandwidth 100000 Maximum reservable
! bandwidth
interface GigabitEthernet3/3/0
ip address 192.168.0.1 255.255.255.254 Act as RSVP receiver
service-policy output OUT-POLICY proxy on this interface
ip rsvp bandwidth percent 10
ip rsvp listener outbound reply No RSVP flow
ip rsvp data-packet classification none
classification
ip rsvp resource-provider none
!
No RSVP flow queuing
ip rsvp qos
! Enable per-flow RSVP
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 96
Configuring FRR (Cisco IOS)
Primary Tunnel
interface Tunnel1
description FROM-ROUTER-TO-DST1-FRR
ip unnumbered Loopback0
tunnel destination 172.16.255.2
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng bandwidth 20000
tunnel mpls traffic-eng path-option 10 dynamic Indicate the desire for
tunnel mpls traffic-eng fast-reroute
! local protection during
signaling
Backup Tunnel
interface Tunnel1 Explicitly routed backup
description NNHOP-BACKUP
ip unnumbered Loopback0
to 172.16.255.2 with
tunnel destination 172.16.255.2 zero bandwidth
tunnel mode mpls traffic-eng
tunnel mpls traffic-eng path-option 10 explicit name PATH1
!
interface POS1/0/0
ip address 172.16.192.5 255.255.255.254 Use Tunnel1 as backup
mpls traffic-eng tunnels for protected LSPs
mpls traffic-eng backup-path Tunnel1 through POS1/0/0
ip rsvp bandwidth
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 97
Configuring FRR (Cisco IOS XR)
Primary Tunnel
interface tunnel-te1
description FROM-ROUTER-TO-DST1-FRR
ipv4 unnumbered Loopback0
signalled-bandwidth 30000
destination 172.16.255.2
fast-reroute
path-option 10 dynamic Indicate the desire for local
! protection during signaling
Backup Tunnel
interface tunnel-te1 Explicitly routed backup to
description NHOP-BACKUP 172.16.255.130 with zero
ipv4 unnumbered Loopback0
destination 172.16.255.130
bandwidth
path-option 10 explicit name PATH1
!
mpls traffic-eng
interface POS0/3/0/0
backup-path tunnel-te 1 Use tunnel-te1 as backup
! for protected LSPs through
! POS0/3/0/0
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 98
AutoTunnel: Primary Tunnels
Why One-Hop Tunnels?
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 99
AutoTunnel: Backup Tunnels
What’s the Solution? (Cont.)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 100
Configuring SRLG (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 101
Configuring Path Protection (Cisco IOS)
interface Tunnel1
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 172.16.255.2
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 Standby path to be
tunnel mpls traffic-eng path-option protect 10 explicit name PPATH1 used for PATH1
tunnel mpls traffic-eng path-option protect 20 explicit name PPATH2
!
Standby path to be
used for PATH2
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 102
Configuring Enhanced Path Protection (Cisco
IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 103
Configuring Path Protection
(Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 104
Inter-Domain TE – TE LSP Reoptimization
Inter-AS TE
LSP before
reoptimization
IP/MPLS ASBR1 ASBR2 IP/MPLS
R4
R2 R6 Inter-AS TE
R7
MakeR1 LSP after
before reoptimization
break
R3 ASBR3 ASBR4 R5
PATH
Path re-evaluation PathErr
request Preferable
Path exists
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 106
Configuring Inter-Area Tunnels with Auto-route
Destinations (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 107
Configuring Inter-Area Tunnels
(Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 108
Configuring Inter-AS Tunnels
(Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 109
Inter-Domain TE – Authentication and Policy
Control
R3 ASBR3 ASBR4 R5
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 110
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
interface Serial1/0 link to TE
ip address 192.168.0.1 255.255.255.252 topology
mpls traffic-eng tunnels
mpls traffic-eng passive-interface nbr-te-id 172.16.255.4 nbr-igp-id ospf 172.16.255.4 database
ip rsvp bandwidth
ip rsvp authentication key-chain A-ASBR1-key
ip rsvp authentication type sha-1 Enable RSVP
ip rsvp authentication authentication
!
router bgp 65024
no synchronization
bgp log-neighbor-changes
Process
neighbor 172.24.255.3 remote-as 65024 signaling
neighbor 172.24.255.3 update-source Loopback0 from AS
neighbor 192.168.0.2 remote-as 65016
no auto-summary
65016 if FRR
! not
ip rsvp policy local origin-as 65016 requested
no fast-reroute
maximum bandwidth single 10000 and 10M or
forward all less
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 111
Distributed Path Computation with Backward
Recursive PCE-based Computation (BRPC)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 112
Configuring Inter-Area Tunnels with Autoroute
Destinations (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 113
Configuring MPLS TE and LDP Simultaneously
(Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 114
Configuring MPLS TE and LDP Simultaneously
(Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 115
Configuring LDP Over a TE Tunnel
(Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 116
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 POS0/3/0/1
bandwidth 155000
!
!
mpls traffic-eng
interface POS0/3/0/1
!
!
mpls ldp
Enable LDP on
interface POS0/3/0/0
!
tunnel-te1
interface tunnel-te1
!
!
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 117
MPLS TE on Ethernet Bundle (Cisco IOS)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 118
MPLS TE on Ethernet Bundle (Cisco IOS XR)
BRKMPL-2104 © 2012 Cisco and/or its affiliates. All rights reserved. Cisco Public 124