The (Unofficial) CCNP-SP Study Guide
  • About
    • About the Author
    • About This Study Guide
  • MPLS
    • LDP
      • LDP Transport Address
      • LDP Conditional Advertisement
      • LDP Authentication
      • LDP/IGP Sync
      • LDP Session Protection
    • MPLS-TE
      • MPLS-TE Basics, Pt. 1 (TED)
      • MPLS-TE Basics, Pt.2 (RSVP)
      • MPLS-TE Basics, Pt.3 (CSPF)
      • MPLS-TE Basics, Pt.4 (Routing)
      • MPLS-TE Fast Reroute (FRR)
      • MPLS-TE with OSPF
    • Unified MPLS
    • Segment Routing
      • Introduction, Theory Pt.1
      • Introduction, Lab (OSPF) Pt.2
      • Introduction, Lab (ISIS) Pt. 3
      • Multi-Area/Level Segment Routing
      • Segment Routing using BGP
      • Migrating LDP to SR
      • LDP/SR Interworking
      • TI-LFA Pt. 1 (Theory)
      • TI-LFA Pt. 2 (Implementation)
      • TI-LFA Pt. 3 (Node and SRLG Protection)
      • SR-TE Pt. 1 (Overview)
      • SR-TE Pt. 2 (Creating an SR-TE Policy)
      • SR-TE Pt. 3 (Using a PCE)
      • SR-TE Pt. 4 (Automated Steering)
      • SR-TE Pt. 5 (On-Demand Nexthop)
      • SR-TE Pt. 6 (Flex Algo)
    • MPLS OAM
      • Classic Traceroute Behavior in MPLS Networks
      • LSP Ping
      • LSP Traceroute
  • Routing
    • BGP
      • BGP Synchronization
      • BGP Load Sharing (Multipath)
      • An Intuitive Look at Path Attributes
      • AS Path Prepending on XE and XR
      • RPL
    • BGP Security
      • BGP TTL Security, Pt. 1
      • BGP TTL Security, Pt. 2 (IOS-XE)
      • BGP TTL Security, Pt. 3 (IOS-XR)
      • BGP MD5 Authentication
      • BGP Maximum Prefixes
      • BGP RFD (Route Flap Dampening)
      • RTBH
      • Flowspec
      • BGPsec
    • L3VPN
      • An In-Depth Look at RD and RT, Pt. 1
      • An In-Depth Look at RD and RT, Pt. 2
      • An In-Depth Look at RD and RT, Pt. 3
      • An In-Depth Look at RD and RT, Pt. 4
      • Inter-AS L3VPN Pt. 1, Overview
      • Inter-AS L3VPN Pt. 2, Option A
      • Inter-AS L3VPN Pt. 3, Option B
      • Inter-AS L3VPN Pt. 4, Option C
      • CSC (Carrier Supporting Carrier)
      • PE NAT
    • OSPF
      • Type 7 to Type 5 Translation
      • OSPF Authentication
      • Troubleshooting OSPF Adjacencies
      • OSPFv3 LSA Types
      • OSPFv3 LSAs Example (Single Area)
    • ISIS
      • The Potential for Asymmetric Routing with Multi-Area ISIS
      • Interarea Routing is Distance-Vector
      • Basic ISIS - LSPDB
      • Multitopology
      • What is the role of CLNS and CLNP in ISIS?
      • Troubleshooting ISIS Adjacencies
    • IPv6 Transition
      • Overview
      • NAT64
      • 6to4
      • 6RD (IPv6 Rapid Deployment)
      • DS Lite (Dual Stack Lite)
      • MAP (Mapping of Address and Port)
      • Tunneling IPv6 Dynamic Routing Protocols over IPv4
    • Multicast
      • Introduction
      • IP and MAC Addressing
      • Tree Formation and Packet Forwarding
      • IGMP
      • PIM-DM (Dense Mode)
      • PIM-SM (Sparse Mode)
      • PIM-SM SPT Switchover
      • PIM-SM Tunnel Interfaces
      • PIM DR and the Assert Message
      • PIM-SM RP Discovery
      • PIM-BiDir
      • PIM-SSM (Source-Specific Multicast)
      • Interdomain Multicast (PIM-SM)
      • IPv6 Multicast
      • mVPN Introduction
      • mVPN Profile 0
      • mVPN Profile 1
      • Multicast Routing on IOS-XR
  • L2VPN & Ethernet
    • IOS-XE Ethernet Services
      • Service Instances
      • E-Line
      • E-LAN (VPLS)
      • E-Tree
      • E-Access
      • VPLS with BGP Autodiscovery
      • Martini/Kompella Circuits
    • EVPN
      • Introduction to EVPN
      • Learning EVPN VXLAN First
      • E-Line (EVPN VPWS)
      • E-Line (EVPN VPWS) on IOS-XR
      • E-Line (EVPN VPWS) Multi-Homed
      • E-LAN (EVPN Single-Homed)
    • Carrier Ethernet
      • 802.1ah (MAC-in-MAC)
      • 802.3ah (Ethernet OAM)
      • 802.1ag (CFM)
      • Cisco REP (Resilient Ethernet Protocol)
      • ITU G.8032 ERPS (Ethernet Ring Protection Switching)
  • Security
    • CoPP (Control Plane Policing)
    • LPTS (Local Packet Transport Services)
  • Misc
    • QoS
      • QoS Introduction (Part 1)
      • QoS Tools Overview and QoS Models (Part 2)
      • QoS Classification and Marking (Part 3)
      • QoS Queuing/Congestion Management (Part 4)
      • QoS Shaping and Policing (Part 5)
      • QoS for IPv6
      • MPLS QoS Basics
      • MPLS QoS Modes
      • MPLS TE QoS (DS-TE)
      • MPLS TE CBTS/PBTS
    • Automation and Assurance
      • NSO
      • NSO Command Cheat Sheet
      • Intro to YANG/NETCONF
      • YANG In-Depth
      • NETCONF In-Depth
      • RESTCONF
      • Model-Driven Telemetry
      • Automation Tool Comparison
      • Netflow
      • SNMP
    • Virtualization
      • NFV (Network Function Virtualization)
      • OpenStack
    • Transport
      • xPON
      • SONET/SDH
      • WDM
      • 4G and 5G RAN
    • High Availability (HA)
      • NSF/GR
      • NSR
      • NSF/NSR Whitepapers
      • BFD
      • Link Aggregation on IOS-XE
      • Link Aggregation on IOS-XR
    • IOS Software Overview
  • Labs
    • Lab Challenges
      • How to Use These Labs
      • Basic LDP
      • Advanced LDP
      • BGP Security
      • Unified MPLS
      • BGP Fundamentals
      • Ethernet Services
      • L3VPN Extranet
      • Multicast
      • Inter-area OSPF
      • ISIS
      • MPLS-TE
      • Control Plane Policing
      • QoS
Powered by GitBook
On this page
  1. Labs
  2. Lab Challenges

MPLS-TE

PreviousISISNextControl Plane Policing

Last updated 2 years ago

Lab file

Startup configs

IP addressing, BGP, OSPF, and LDP are already pre-configured. Note: the route-policy called PASS applied to the CE peering sesssion does not appear when booting up PE6 for some reason. You’ll need to add this after booting PE6.

  1. Create a TE tunnel so that a tracert from CE1 to CE2 follows the path PE1-P2-P4-PE6, and likewise a tracert from CE2 to CE1 follows the path PE6-P4-P2-PE1.

    CE1#traceroute 10.2.2.2 sou lo0 probe 1
    Type escape sequence to abort.
    Tracing the route to 10.2.2.2
    VRF info: (vrf in name/id, vrf out name/id)
      1 100.64.0.1 8 msec
      2 10.1.2.2 [MPLS: Labels 25/24010 Exp 0] 13 msec
      3 10.2.4.4 [MPLS: Labels 24009/24010 Exp 0] 21 msec
      4 10.4.6.6 [MPLS: Label 24010 Exp 0] 9 msec
      5 100.64.0.2 6 msec
    
    CE2#traceroute 10.1.1.1 source lo0 probe 1
    Type escape sequence to abort.
    Tracing the route to 10.1.1.1
    VRF info: (vrf in name/id, vrf out name/id)
      1 100.64.0.1 5 msec
      2 10.4.6.4 [MPLS: Labels 24010/16 Exp 0] 6 msec
      3 10.2.4.2 [MPLS: Labels 26/16 Exp 0] 10 msec
      4 100.64.0.1 [MPLS: Label 16 Exp 0] 5 msec
      5 100.64.0.2 63 msec

  2. Configure FRR with link-protection for the P2-P4 link. Verify that both MPLS-TE tunnels have FRR enabled.

Answers

This is a simple lab which I’d encourage you to repeat until you can preform the steps without hesitation. I timed myself at just under 7 minutes after configuring it a few times. The first time you preform the lab, it will likely take you significantly longer because you’ll inevitably get tripped up on a configuration parameter here and there.

First you must enable RSVP and MPLS-TE on all routers.

! IOS-XE
mpls traffic-eng tunnels
!
int GiX
 mpls traffic-eng tunnels
 ip rsvp bandwidth
!
router ospf 100
 mpls traffic-eng area 0
 mpls traffic-eng router-id lo0

! IOS-XR
router ospf 100
 mpls traffic-eng router-id lo0
 area 0
  mpls traffic-eng
!
mpls traffic-eng
 int Gi0/0/0/X
!
rsvp
 int Gi0/0/0/X
  bandwidth

You will need to decide on a method to make the path through P5 less prefered. You can create an explicit path avoiding the node, require the LSP to need more bandwidth than is available on P5’s interfaces, use TE metrics, or link-affinity colors. I decided to use TE metrics on Gi1 and Gi2 with a metric of 100 so that I could use a dynamic path-option.

Next you will need to configure a tunnel interface on each PE.

! IOS-XE
int tunnel1
 ip unnumbered lo0
 tunnel mode mpls traffic-eng
 tunnel destination X.X.X.X
 tunnel mpls traffic-eng path-option 1 dynamic
 tunnel mpls traffic-eng autoroute announce

! IOS-XR
int tunnel-te1
 ipv4 unnumbered lo0
 autoroute announce
 destination X.X.X.X
 path-option 1 dynamic

To configure FRR, you must configure the tunnel interfaces to request FRR, then configure the backup tunnel interfaces on P2 and P4 which will avoid the P2-P4 link.

! Add fast-reroute to each tunnel interface on PE1 and PE6

! On P2 and PE6 configure tunnel interfaces with an explicit path which avoids the P2-P4 link
 ! IOS-XE shown below:
ip explicit-path name name
 index 1 exclude-address 10.2.4.X
!
int tunnel1
 tunnel mpls traffic-eng path-option 1 explicit name name

 ! IOS-XR shown below:
epxlicit-path name name
 index 1 exlucde-address ipv4 unicast 10.2.4.X
!
int tunnel-te1
 path-option 1 explicit name name

! Add the tunnel as a backup option under the interface
 ! IOS-XE
int Gi2
 mpls traffic-eng backup-path tun1

 ! IOS-XR
mpls traffic-eng
 int Gi0/0/0/1
  backup-path tunnel-te1

On P2 and P4, verify that the FRR tunnel is ready to protect the PE1-PE6 LSPs.

P2#show mpls traffic-eng fast-reroute database 
P2P Headend FRR information:
Protected tunnel               In-label Out intf/label   FRR intf/label   Status
---------------------------    -------- --------------   --------------   ------

P2P LSP midpoint frr information:
LSP identifier                 In-label Out intf/label   FRR intf/label   Status
---------------------------    -------- --------------   --------------   ------
1.1.1.1 1 [3]                  27       Gi2:24011        Tu1:24011        ready


RP/0/RP0/CPU0:P4#show mpls traffic-eng fast-reroute database 
Tue Nov  8 02:38:34.776 UTC
LSP midpoint FRR information:
LSP Identifier                Local Label Out Intf : Label   FRR Intf : Label   Status 
----------------------------- ----------- ------------------ ------------------ -------
6.6.6.6 1 [2]                 24010       Gi0/0/0/1:26       tt1:26             Ready
44KB
Challenge - Unified MPLS.yaml
21KB
mpls-te_initial_configs.zip
archive