Configuring Basic MPLS Using OSPF

Similar documents
MPLS Troubleshooting. Contents. Prerequisites. Document ID: Requirements. Components Used

Troubleshooting LSP Failure in MPLS VPN

IPv6 Switching: Provider Edge Router over MPLS

IPv6 Switching: Provider Edge Router over MPLS

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label

OSPF Sham-Link Support for MPLS VPN

What You Will Learn By the end of this appendix, you should know and be able to explain the following:

MPLS опорни мрежи MPLS core networks

MPLS Introduction. (C) Herbert Haas 2005/03/11

Securizarea Calculatoarelor și a Rețelelor 32. Tehnologia MPLS VPN

MPLS Label Distribution Protocol (LDP)

Route Leaking in MPLS/VPN Networks

MPLS Label Distribution Protocol (LDP)

MPLS VPN. 5 ian 2010

MPLS VPN OSPF and Sham-Link Support

Cisco Training - HD Telepresence MPLS: Implementing Cisco MPLS V3.0. Upcoming Dates. Course Description. Course Outline

OSPF Routers Connected by a Point to Multipoint Link

Multiprotocol Label Switching Virtual Private Network

Multiprotocol Label Switching (MPLS)

MPLS VPN--Inter-AS Option AB

CCIE R&S Techtorial MPLS

CCBOOTCAMP s CCIE Service Provider Core Knowledge Workbook

MPLS VPN Inter-AS Option AB

MPLS Label Distribution Protocol Configuration Guide

Configuring MPLS Egress NetFlow Accounting and Analysis

Configuring MPLS and EoMPLS

Multiprotocol Label Switching Overview

MPLS, THE BASICS CSE 6067, UIU. Multiprotocol Label Switching

Troubleshooting Cisco Express Forwarding Routing Loops

Cisco. Maintaining Cisco Service Provider VPNs and MPLS Networks (MSPVM)

MPLS VPN Explicit Null Label Support with BGP. BGP IPv4 Label Session

Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS

Introduction to Segment Routing

The Traceroute Command in MPLS

Table of Contents. Cisco MPLS FAQ For Beginners

Multiprotocol Label Switching (MPLS) on Cisco Routers

Применение MPLS в сетях связи. (Часть 2)

Multi-VRF Support. Finding Feature Information. Prerequisites for Multi-VRF Support

Implementing MPLS Forwarding

COMP9332 Network Routing & Switching

MPLS LDP. Agenda. LDP Overview LDP Protocol Details LDP Configuration and Monitoring 9/27/16. Nurul Islam Roman

LARGE SCALE IP ROUTING LECTURE BY SEBASTIAN GRAF

MPLS VPN Multipath Support for Inter-AS VPNs

GRE Tunnel with VRF Configuration Example

MPLS VPN Inter-AS with ASBRs Exchanging VPN-IPv4 Addresses

NAT Support for Multiple Pools Using Route Maps

This document is not restricted to specific software and hardware versions.

MPLS for R&S CCIE Candidates

Multiprotocol Label Switching (MPLS)

MPLS: Layer 3 VPNs: Inter-AS and CSC Configuration Guide, Cisco IOS Release 15SY

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

HP MSR Router Series. MPLS Configuration Guide(V5) Part number: Software version: CMW520-R2513 Document version: 6PW

MPLS Core Networks Николай Милованов/Nikolay Milovanov

Implementing MPLS Layer 3 VPNs

Multiprotocol Label Switching (MPLS) on Cisco Routers

Configuring CEF Network Accounting

ibgp Multipath Load Sharing

Configuring MPLS L3VPN

MPLS AToM ATM AAL5 over MPLS

Implementing MPLS Label Distribution Protocol

Configuring MPLS L3VPN

Configuring IS IS for IP on Cisco Routers

MPLS VPN Carrier Supporting Carrier Using LDP and an IGP

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

HP 5920 & 5900 Switch Series

MPLS Egress Protection Framework draft-shen-mpls-egress-protectionframework-02

MPLS VPN Carrier Supporting Carrier IPv4 BGP Label Distribution

Implementing MPLS Label Distribution Protocol

MPLS LSP Ping, Traceroute, and AToM VCCV

RHI on the Content Switching Module Configuration Example

Contents. Introduction. Prerequisites. Requirements. Components Used

Multi Protocol Label Switching (an introduction) Karst Koymans. Thursday, March 12, 2015

MPLS VPN Route Target Rewrite

MPLS router configuration

MPLS L3VPN. The MPLS L3VPN model consists of three kinds of devices: PE CE Site 2. Figure 1 Network diagram for MPLS L3VPN model

Multiprotocol Label Switching (MPLS)

Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454

HP A-MSR Router Series MPLS. Configuration Guide. Abstract

Table of Contents Chapter 1 MPLS Basics Configuration

MULTIPROTOCOL LABEL SWITCHING: REIVEW KAISER ALI BHAT

AToM Graceful Restart

Configuring Static MPLS

MPLS/Tag Switching. Background. Chapter Goals CHAPTER

Multiprotocol Label Switching (MPLS) on Cisco Routers

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Configuring Virtual Private LAN Services

Configuring Redundant Routing on the VPN 3000 Concentrator

Autoroute Announce and Forwarding Adjacencies For OSPFv3

Autoroute Announce and Forwarding Adjacencies For OSPFv3

MPLS Forwarding Commands on Cisco IOS XR Software

Vendor: Alcatel-Lucent. Exam Code: 4A Exam Name: Alcatel-Lucent Multiprotocol Label Switching. Version: Demo

MPLS etc.. MPLS is not alone TEST. 26 April 2016 AN. Multi-Protocol Label Switching MPLS-TP FEC PBB-TE VPLS ISIS-TE MPƛS GMPLS SR RSVP-TE OSPF-TE PCEP

Adjust Administrative Distance for Route Selection in Cisco IOS Routers Configuration Example

Introduction to MPLS APNIC

MPLS Label Distribution Protocol (LDP)

Multiprotocol Label Switching (MPLS) Traffic Engineering

H3C SR6600 Routers. MPLS Configuration Guide. Hangzhou H3C Technologies Co., Ltd.

OSPF Demand Circuit Feature

Multiprotocol Label Switching (MPLS)

Practice exam questions for the Nokia NRS II Composite Exam

Transcription:

Configuring Basic MPLS Using OSPF Document ID: 13736 Contents Introduction Prerequisites Requirements Components Used Conventions Mechanism Configure Network Diagram Quick Configuration Guide Configurations Verify Troubleshoot Related Information Introduction This document shows how to configure a basic Multiprotocol Label Switching (MPLS) network. Refer to Configuration Examples and TechNotes on the MPLS Support Page for more information on how to configure advanced topics such as VPN or Traffic Engineering (TE). Prerequisites Requirements Cisco recomms that you are familiar with the basic operation of MPLS. Refer to Multiprotocol Label Switching Overview for an overview of MPLS. Components Used The information in this document is based on these software and hardware versions: Cisco IOS Software Releases 12.2(28) Cisco 3600 routers The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command. Conventions Refer to Cisco Technical Tips Conventions for more information on document conventions.

Mechanism An MPLS network is commonly a backbone network comprised of MPLS enabled routers called Label Switch Routers (LSR). Generally, the network consists of a core LSR with an edge LSR that applies labels to packets. This is the setup mechanism of an MPLS network: 1. Routing tables of the different LSRs are computed with an Interior Gateway Protocol (IGP). A link state protocol, such as Open Shortest Path First (OSPF) or Intermediate System to Intermediate System (IS IS), is required if you plan to deploy MPLS TE. 2. A label distribution protocol (LDP) advertises the bindings between routes and labels. These bindings are checked against the routing table. If the route (prefix/mask and next hop) learned from the LDP matches the route learned from IGP in the routing table, an entry is created in the label that forwards information bases (LFIB) on the LSR. The LSR uses this forwarding mechanism: 1. Once an edge LSR receives an unlabelled packet, the Cisco Express Forwarding table is checked and a label is imposed on the packet if needed. This LSR is called the ingress LSR. 2. Upon the arrival of a labelled packet at the inbound interface of a core LSR, the LFIB provides the outbound interface and the new label that is associated with the outbound packet. 3. The router before the last LSR (the penultimate hop) pops the label and transmits the packet without the label. The last hop is called the egress LSR. This diagram illustrates this network setup: Configure In this section, you are presented with the information to configure the features described in this document. Note: In order fo find additional information on the commands used in this document, use the Command Lookup Tool (registered customers only). Network Diagram This document uses this network setup:

Quick Configuration Guide Use this procedure as a quick configuration guide. 1. Set up your network as usual. MPLS needs a standard IP connection in order to establish forwarding bases. 2. Ensure that the routing protocol (OSPF or IS IS) works correctly. These commands are italicized in the configurations in the next section. 3. Enable, for better performances use distributed when available, in the general configuration mode. This is shown in bold in the configurations in the next section. 4. Enable mpls ip, or on older Cisco IOS software releases, in the general configuration mode and in each interface, as shown in bold in the configurations in the next section. Even when the mpls ip command is used, the show running output can still show the command as in some Cisco IOS software releases, as shown in the configurations in the next section. Note: The LSRs must have (up) Loopback interfaces with an address mask of 32 bits and these interfaces must be reachable with the global IP routing table. Configurations This document uses these configurations: Pomerol Pulligny Pauillac Pescara Pesaro Perugia Pomerol

hostname Pomerol ip address 10.10.10.3 255.255.255.255 ip address 10.1.1.21 255.255.255.252 interface Serial3/0 ip address 10.1.1.6 255.255.255.252 interface Serial4/0 ip address 10.1.1.9 255.255.255.252 Pulligny hostname Pulligny ip address 10.10.10.2 255.255.255.255 ip address 10.1.1.2 255.255.255.252 interface Serial3/0 ip address 10.1.1.10 255.255.255.252

Pauillac hostname Pauillac ip address 10.10.10.1 255.255.255.255 ip address 10.1.1.13 255.255.255.252 interface Serial3/0 ip address 10.1.1.17 255.255.255.252 interface Serial4/0 ip address 10.1.1.1 255.255.255.252 interface Serial5/0 ip address 10.1.1.5 255.255.255.252 Pescara hostname Pescara ip address 10.10.10.4 255.255.255.255 ip address 10.1.1.14 255.255.255.252

Pesaro hostname Pesaro ip address 10.10.10.6 255.255.255.255 ip address 10.1.1.22 255.255.255.252 Perugia hostname Perugia ip address 10.10.10.5 255.255.255.255 ip address 10.1.1.18 255.255.255.252 Verify This section provides information you can use to confirm your configuration works properly. Commands used in the Configuring Basic MPLS Using IS IS sample configuration are also applicable. In order to illustrate this sample configuration, look at a particular destination, for example 10.10.10.4, on the Pomerol LSR.

Certain show commands are supported by the Output Interpreter Tool (registered customers only), which allows you to view an analysis of show command output. show ip route Used to check the IP route for this destination in the IP routing table: Pomerol#show ip route 10.10.10.4 Routing entry for 10.10.10.4/32 Known via "ospf 10", distance 110, metric 129, type intra area Last update from 10.1.1.5 on Serial3/0, 17:29:23 ago Routing Descriptor Blocks: * 10.1.1.5, from 10.10.10.4, 17:29:23 ago, via Serial3/0 Route metric is 129, traffic share count is 1 show mpls forwarding table Used to check the MPLS forwarding table, which is the label switching equivalent of the IP routing table for standard IP routing. It contains inbound and outbound labels and descriptions of the packets. Pomerol#show mpls forwarding table Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 16 Pop tag 10.1.1.12/30 636 Se3/0 point2point 17 Pop tag 10.10.10.1/32 0 Se3/0 point2point 18 21 10.10.10.4/32 0 Se3/0 point2point 19 Pop tag 10.1.1.0/30 0 Se4/0 point2point Pop tag 10.1.1.0/30 0 Se3/0 point2point 20 Pop tag 10.10.10.6/32 612 Se2/0 point2point 21 Pop tag 10.1.1.16/30 0 Se3/0 point2point 22 16 10.10.10.5/32 0 Se3/0 point2point 23 Pop tag 10.10.10.2/32 0 Se4/0 point2point show mpls forwarding table detail Used to see MPLS forwarding table details: Pomerol#show mpls forwarding table 10.10.10.4 32 detail Local Outgoing Prefix Bytes tag Outgoing Next Hop tag tag or VC or Tunnel Id switched interface 18 21 10.10.10.4/32 0 Se3/0 point2point MAC/Encaps=4/8, MRU=1500, Tag Stack{21} 0F008847 00015000 No output feature configured Per packet load sharing show mpls ldp bindings or show tag switching tdp bindings (based on which Cisco IOS software release you use) Used to see the label bindings associated with a particular destination. Both the local as well as the remote bindings can be seen. Pomerol#show tag switching tdp bindings 10.10.10.4 32 tib entry: 10.10.10.4/32, rev 14 local binding: tag: 18 remote binding: tsr: 10.10.10.1:0, tag: 21 remote binding: tsr: 10.10.10.2:0, tag: 23 remote binding: tsr: 10.10.10.6:612, tag: 20 Note that labels for each forwarding class are established at each LSR, even if they are not on the preferred (shortest) path. In this case, a packet destined to 10.10.10.4/32 can go by 10.10.10.1 (with label 21) or by 10.10.10.2 (with label 23). The LSR chooses the first solution because it is the shortest one. This decision is made with the standard IP routing table, which in this case, is built with OSPF. show detail Used to check that Cisco Express Forwarding works properly and that tags are swapped correctly: Pomerol#show 10.10.10.4 detail 10.10.10.4/32, version 37, cached adjacency to Serial3/0 0 packets, 0 bytes tag information set

Troubleshoot local tag: 18 fast tag rewrite with Se3/0, point2point, tags imposed: {21} via 10.1.1.5, Serial3/0, 0 depencies next hop 10.1.1.5, Serial3/0 valid cached adjacency tag rewrite with Se3/0, point2point, tags imposed: {21} Refer to MPLS Troubleshooting for information on how to troubleshoot MPLS. Related Information Configuring Basic MPLS Using IS IS Configuring Multiprotocol Label Switching Configuring a Basic MPLS VPN MPLS Technology Support Page Technical Support Cisco Systems Contacts & Feedback Help Site Map 2014 2015 Cisco Systems, Inc. All rights reserved. Terms & Conditions Privacy Statement Cookie Policy Trademarks of Cisco Systems, Inc. Updated: Aug 10, 2005 Document ID: 13736