Home > Wide Area Network (WAN) Tips > > Configuring MPLS -- Cisco CCIP MPLS certification: Lesson 5
EnterpriseWAN Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Configuring MPLS -- Cisco CCIP MPLS certification: Lesson 5


Robbie Harrell
07.20.2007
Rating: -4.19- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


This lesson, which focuses on configuring MPLS, is fourth in a series that will help you learn skills required for the MPLS portion of the Cisco CCIP certification. These skills are tested in the CCIP 642-611 - Implementing Cisco MPLS Exam.

Read the entire CCIP MPLS certification series
MPLS and Cisco CCIP certification -- an introduction by Ed Tittel

Cisco CCIP MPLS certification, introduction

Lesson 1: Understanding MPLS


Lesson 2: Routing and control architecture

Lesson 3: Distribution of labels

Lesson 4: Label imposition

Lesson 5: Configuring MPLS

Lesson 6: Configuring MPLS and VRF

The last few articles have focused on the MPLS theory that will be tested on that portion of the CCIP exam. In addition to MPLS theory, you must be able to configure the routers as well. The configuration can apply to customer edge (CE) routers, provider edge (PE) routers or provider (P) routers. Each of these must be configured in order for MPLS to work within an enterprise's architecture. Although the responsibility for configuration of each router may vary based on where they sit in the architecture (e.g. customer premises or provider network), the exam expects you to understand the configuration of all elements. This article and the next will focus on configuring routers to support MPLS functionality.

Cisco originally developed MPLS type technology and called it tag switching. This technology evolved into MPLS labeled switching. The CCIP exam rquires an understanding of both the Cisco tag switching commands as well as the MPLS commands. Both tag switching and MPLS configurations will be presented.

There are multiple components to configuring the MPLS routers to deliver MPLS services. Standard routing protocols must be configured in order for the PE and P routers to be able to communicate with each other. BGP is used exclusively between the PE routers in order to exchange customer routing information. In addition to IP routing the routers must exchange labels and build label switched paths and segment customer routing information into virtual routing and forwarding tables (VRFs).

Please pay close attention to the syntax as the exam will require you to enter or recognize IOS commands.

Turn on Tag or Label Switching
In order to turn on tag switching, you must configure Cisco Express Forwarding (CEF) and tell the router to advertise tags. In addition, each interface must be enabled with tag switching. Commands entered on the router are in bold.

Tag Switching Configuration
P1(config)# ip cef
P1(config)# tag-switching advertise-tag
P1(config)# interface serial 0
P1(config-if)# tag-switching ip
MPLS Configuration
P1(config)# ip cef
P1(config)# mpls ip
P1(config)# interface serial 0
P1(config-if)# mpls ip

That is all that is required for the routers to begin exchanging labels and building the label switched paths for forwarding traffic across the MPLS backbone. Once tag or MPLS switching has been turned on the routers will begin neighbor discovery and the label exchange. Tag switching uses UDP for neighbor discovery and TCP port 711 for tag exchange. MPLS switching also uses UDP for neighbor discovery but relies on the label distribution protocol for label exchange.

After configuring the routers to perform neighbor discovery and label/tag exchange the commands to verify that the process has completed successfully are as follows:

Neighbor Verification
TAG

P1# show tag-switching tdp-neighbor
MPLS

P1# show mpls ldp neighbor

The output of these commands will show the neighbor identity (in the form of an IP address) and state of the neighbor. Key inputs to look for are peer identity and the state of the peer. The peer state should be OPER (for operational).

Other Important Commands
Verification that MPLS is enabled on the appropriate interfaces
TAG

P1# show tag-switching interfaces
MPLS Verification

P1# show mpls Interface
Verify that the appropriate interfaces display

Verification of Tag/Label Distribution & Bindings
TAG

P1# show tag-switching tdp discovery
P1# show tag-switching tdp bindings

MPLS Verification
P1# show mpls ldp discovery
P1# show mpls ldp bindings

  1. Verify that TDP or LDP label discovery sources (e.g. where were labels learned)
  2. Verify that IP routes have labels bound to them

That is it for peer establishment, label exchange and IP to label bindings. The next article will focus on the commands required to configure virtual routing and forwarding tables in order to provide MPLS VPN services.


About the author:
Robbie Harrell (CCIE#3873) is the National Practice Lead for Advanced Infrastructure Solutions for SBC Communications. He has over 10 years of experience providing strategic, business, and technical consulting services to clients. Robbie resides in Atlanta, and is a graduate of Clemson University. His background includes positions as a Principal Architect at International Network Services, Lucent, Frontway and Callisma.


Rate this Tip
To rate tips, you must be a member of SearchEnterpriseWAN.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
WAN protocols
The Move Toward IPv6: Issues and Actions
MPLS' 'dirty little secret': Dropped packets that impact performance
Building a better WAN and other how-to points: Our readers write
Reduce TCP congestion, packet loss on the WAN with SACK and FACK
MPLS technology overview
Selecting an MPLS provider: Customer support should be a priority
Next-generation wide area network services on the rise
Broadband bonding vendor offers SMBs affordable appliance
Configure WAN interfaces on a Layer 3 switch
Cisco's new ASR 1000 edge routers improve network integration

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
Multiprotocol Label Switching  (SearchEnterpriseWAN.com)
OSPF  (SearchEnterpriseWAN.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts