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
  • PCE
  • Binding SID
  • Using BGP to steer traffic into TE paths
  • SR-TE Database
  1. MPLS
  2. Segment Routing

SR-TE Pt. 1 (Overview)

SR-TE replaces RSVP-TE, allowing the operator to program LSPs that take various attributes into account (such as delay, bandwidth, etc) in a Segment Routing network. RSVP-TE used the concept of tunnels, where the operator specified a set of constraints, the router ran CSPF, and determined a hop-by-hop path that was signaled using RSVP. Logically on the router, this path was represented by a tunnel interface, and traffic would be forwarded down this LSP by being forwarded down the tunnel.

With SR-TE, the term “policy” replaces the RSVP-TE term “tunnel.” An SR policy is a stack of segments instead of a hop-by-hop signaled and maintained path as in RSVP-TE. The intent of the policy (i.e. avoid “blue” links, provide 100M bandwidth, etc.) is translated into a list of segments.

PCE

What really sets SR-TE apart is the fact that the computation of the policy path can be done off-box. The router itself can be the computation engine, but a separate device entirely can also be the computation engine. We call this separate device a PCE (path computation engine). Individual routers all consult the PCE for the SR policy SID list.

The PCE is needed when certain constaints are used, such as available bandwidth, or also when calculating paths that traverse multiple IGP domains. In RSVP-TE, bandwidth was reserved hop-by-hop, but this is not possible in SR. Instead, a single, central, PCE can keep track of bandwidth allocations itself. But this means that all SR policies need to be calculated by the PCE, so the PCE can keep track of how much bandwidth is allocated per link within the topology.

Binding SID

This is a new type of SID that represents an SR policy. The instruction that a binding SID represents is to pop the label and forward the traffic down the LSP for the SR policy. To forward traffic down the LSP, the SID list for the policy is pushed onto the packet. So the binding SID represents a pop and push operation.

The binding SID allows other routers in the topology to take a TE path that has a headend of some other router, by simply using a single label to represent that path.

The binding SID can decrease the number of segments imposed at the source. If the source knows that router X has an SR policy that it can use, the source can simply steer traffic to router X, with the bottom label being router X’s binding SID. Router X, upon seeing the binding SID, steers the traffic along the related path calculated by the SR policy.

Using BGP to steer traffic into TE paths

In a service provider network, BGP generally provides the reachability for all services (L3VPN, L2VPN, pseudowires, etc.). SR-TE allows a BGP route to be advertised with a color. This color is an extended community. The color defines a TE SLA intent, such as min delay, avoid "blue" links, etc.

All routers will have basic templates that define these colors. If a router receives a BGP route with a color that matches a pre-defined template, the router will send traffic matching that BGP route along the SR-TE path for that policy. The process of steering traffic based on the BGP route is called automated steering. The process of dynamically creating an SR policy based on the color template and the BGP next-hop as the policy tailend is called on-demand next-hop (ODN).

SR-TE Database

SR has a TE database just like the classic TED. SR-TE collects topology information from the IGP as well as BGP-LS. This allows the SR-TE database to contain multi-domain information. Routers in the IGP export their LSDB using BGP-LS, and the PCE can “download” all IGP LSDBs using BGP-LS.

The IGP LSDB needs to be exported into SR-TE using the command distribute link-state. This exports the LSDB into the SR-TE DB. It also makes the LSDB available to BGP-LS. Data from BGP-LS received on a router is automatically injected into the SR-TE DB locally.

PreviousTI-LFA Pt. 3 (Node and SRLG Protection)NextSR-TE Pt. 2 (Creating an SR-TE Policy)

Last updated 1 year ago