cisco · 20 pp.

Cisco MPLS Traffic Engineering and Enhancements: Настройка и оптимизация сети

Configuring MPLS Traffic Engineering and Enhancements: Prerequisites, restrictions, information, configuration steps, and feature history.

Related manuals

Contents

Document text

Restrictions for MPLS Traffic Engineering and Enhancements

Configuring MPLS Traffic Engineering and Enhancements Prerequisites for MPLS Traffic Engineering and Enhancements, on page 1 Restrictions for MPLS Traffic Engineering and Enhancements, on page 1 Information About MPLS Traffic Engineering and Enhancements, on page 2 How to Configure MPLS Traffic Engineering and Enhancements, on page 7 Configuration Examples for MPLS Traffic Engineering and Enhancements, on page 15 Additional References, on page 18 Feature History for MPLS Traffic Engineering and Enhancements, on page 19 Prerequisites for MPLS Traffic Engineering and Enhancements Ensure that your network supports the following Cisco IOS features before you enable MPLS TE:

• Multiprotocol Label Switching • IP Cisco Express Forwarding • Intermediate System-to-Intermediate System (IS-IS) or Open Shortest Path First (OSPF) Restrictions for MPLS Traffic Engineering and Enhancements • MPLS TE fast reroute is not supported. • MPLS TE supports only a single IGP process or instance. Multiple IGP processes or instances are not supported and MPLS TE should not be configured in more than one IGP process or instance. • The MPLS TE feature does not support routing and signaling of LSPs over unnumbered IP address links. Therefore, do not configure the feature over those links.

• When specifying an explicit path, if you specify the forward address (the address of the interface that forwards the traffic to the next router) as the next-hop address, the explicit path might not be used. Using the forward address allows that entry to be treated as a loose hop for path calculation. We recommend that you use the receive address (the address of the interface that receives traffic from the sending router) as the next-hop address. Configuring MPLS Traffic Engineering and Enhancements 1

Page 1

Introduction to MPLS Traffic Engineering and Enhancements

In the following example, switch S3 sends traffic to switch S1. The paths marked a,b and x,y between switches S1 and S2 are parallel paths. S1(a)----(b)S2(c)--(d)S3 (x)----(y) If you configure an explicit path from S3 to S1 using the forward addresses (addresses d and b), the tunnel might reroute traffic over the parallel path (x,y) instead of the explicit path. To ensure that the tunnel uses the explicit path, specify the receive addresses as part of the next-address command, as shown in the following example:

ip explicit-path name path1 next-address (c) next-address (a) Information About MPLS Traffic Engineering and Enhancements The following sections provide information about MPLS TE and enhancements. Introduction to MPLS Traffic Engineering and Enhancements MPLS is an integration of Layer 2 and Layer 3 technologies. By making traditional Layer 2 features available to Layer 3, MPLS enables traffic engineering. Thus, you can offer in a one-tier network what can be achieved only by overlaying a Layer 3 network on a Layer 2 network. Traffic engineering is essential for service provider and ISP backbones.

Such backbones must support a high use of transmission capacity, and the networks must be resilient so that they can withstand link or node failures. MPLS traffic engineering provides an integrated approach to traffic engineering. With MPLS, traffic engineering capabilities are integrated into Layer 3, which optimizes the routing of IP traffic, given the constraints imposed by backbone capacity and topology. MPLS traffic engineering supports the following functionalities: • Enhances standard Interior Gateway Protocols (IGPs), such as IS-IS or OSPF, to map packets to the appropriate traffic flows automatically. • Transports traffic flows across a network using MPLS forwarding.

• Determines the routes for traffic flows across a network. This is based on the resources the traffic flow requires and the resources available in the network. • Employs Constraint-based routing, in which the path for a traffic flow is the shortest path that meets the resource requirements (constraints) of the traffic flow. In MPLS traffic engineering, the traffic flow has bandwidth requirements, media requirements, a priority that is compared to the priority of other flows, and so forth. • Recovers from link or node failures by adapting to the new constraints presented by the changed topology. • Transports packets using MPLS forwarding across a multihop label-switched path (LSP).

• Uses the routing and signaling capability of LSPs across a backbone topology that: • Understands the backbone topology and available resources. Configuring MPLS Traffic Engineering and Enhancements Information About MPLS Traffic Engineering and Enhancements Configuring MPLS Traffic Engineering and Enhancements 2

Page 2

How MPLS Traffic Engineering Works

• Accounts for link bandwidth and size of traffic flow when determining routes for LSPs across the backbone. • Has a dynamic adaptation mechanism that enables the backbone to be resilient to failures, even if several primary paths are precalculated offline. • Includes enhancements to the IGP (IS-IS or OSPF) shortest path first (SPF) calculations to automatically calculate which traffic should be sent over which LSPs. Benefits of MPLS Traffic Engineering A WAN connection is an expensive item in an ISP budget. Traffic engineering enables ISPs to route network traffic to offer the best service to their users in terms of throughput and delay.

By making the service provider more efficient, traffic engineering reduces the cost of the network. Currently, some ISPs base their services on an overlay model. In this model, transmission facilities are managed by Layer 2 switching. The routers see only a fully meshed virtual topology, making most destinations appear one hop away. If you use the explicit Layer 2 transit layer, you can precisely control how traffic uses the available bandwidth. However, the overlay model has numerous disadvantages. MPLS traffic engineering achieves the traffic engineering benefits of the overlay model without running a separate network, and without needing a nonscalable, full mesh of router interconnects.

How MPLS Traffic Engineering Works MPLS TE automatically establishes and maintains LSPs across the backbone by using RSVP. The path that an LSP uses is determined by the LSP resource requirements and network resources, such as bandwidth. Available resources are flooded by means of extensions to a link state-based IGP. Traffic engineering tunnels are calculated at the LSP head, based on a fit between the required and available resources (constraint-based routing). The IGP automatically routes the traffic to these LSPs. Typically, a packet traveling across the MPLS TE backbone travels on a single LSP that connects the ingress point to the egress point.

MPLS traffic engineering is built on the following Cisco IOS mechanisms: • IP tunnel interfaces From a Layer 2 standpoint, an MPLS tunnel interface represents the head of an LSP. It is configured with a set of resource requirements, such as bandwidth, media requirements, and priority. From a Layer 3 standpoint, an LSP tunnel interface is the headend of a unidirectional virtual link to the tunnel destination. • MPLS traffic engineering path calculation module This calculation module operates at the LSP head. The module determines a path to use for an LSP. The path calculation uses a link-state database containing flooded topology and resource information.

• RSVP with traffic engineering extensions RSVP operates at each LSP hop and is used to signal and maintain LSPs based on the calculated path. • MPLS traffic engineering link management module Configuring MPLS Traffic Engineering and Enhancements Benefits of MPLS Traffic Engineering Configuring MPLS Traffic Engineering and Enhancements 3

Page 3

Mapping Traffic into Tunnels

This module operates at each LSP hop. It enables link call admission on the RSVP signaling messages, and bookkeeping of topology and resource information to be flooded. • Link-state IGP (IS-IS or OSPF, each with traffic engineering extensions) These IGPs are used to globally flood topology and resource information from the link management module. • Enhancements to the SPF calculation used by the link-state IGP (IS-IS or OSPF) The IGP automatically routes traffic to the appropriate LSP tunnel based on tunnel destination. Static routes can also be used to direct traffic to LSP tunnels.

• Label switching forwarding This forwarding mechanism provides routers with a Layer 2-like ability to direct traffic across multiple hops of the LSP established by RSVP signaling. One approach to engineering a backbone is to define a mesh of tunnels from every ingress device to every egress device. The MPLS TE path calculation and signaling modules determine the path taken by the LSPs for these tunnels, subject to resource availability and the dynamic state of the network. The IGP, operating in an ingress device, determines which traffic should go to which egress device, and steers that traffic into the tunnel from ingress to egress.

A flow from an ingress device to an egress device might be so large that it cannot fit over a single link. And it cannot be carried by a single tunnel. In such a scenario, multiple tunnels between a given ingress and egress can be configured, and the flow load can be shared among them. Mapping Traffic into Tunnels This section describes how traffic is mapped to tunnels. It describes how conventional hop-by-hop link-state routing protocols interact with MPLS TE capabilities. This section describes how the shortest path first (SPF) algorithm, sometimes called a Dijkstra algorithm, is enhanced.

This enhancement allows a link-state IGP to forward traffic automatically over tunnels that MPLS traffic engineering establishes. Link-state protocols, such as integrated IS-IS or OSPF, use an SPF algorithm to compute a shortest path tree from the headend node to all the nodes in the network. Routing tables are derived from this shortest path tree. The routing tables contain ordered sets of destination and first-hop information. If a router does normal hop-by-hop routing, the first hop is over a physical interface attached to the router. New traffic engineering algorithms calculate explicit routes to one or more nodes in the network.

The originating router views these explicit routes as logical interfaces. In the context of this document, these explicit routes are represented by LSPs and referred to as traffic engineering tunnels (TE tunnels). The following sections describe how link-state IGPs can use these shortcuts, and how they can install routes in the routing table that point to these TE tunnels. These tunnels use explicit routes. The path taken by a TE tunnel is controlled by the router that is the headend of the tunnel. In the absence of errors, TE tunnels are guaranteed to not loop, but routers must agree on how to use the TE tunnels. Otherwise, traffic might loop through two or more tunnels.

When specifying an explicit path for an MPLS TE tunnel, you can specify link or node addresses of the next-hop routers in an explicit path. You can also specify a mixture of link and node addresses. There are no restrictions when specifying a mixture of link and node addresses. Configuring MPLS Traffic Engineering and Enhancements Mapping Traffic into Tunnels Configuring MPLS Traffic Engineering and Enhancements 4

Page 4