
- •Acknowledgments
- •Introduction
- •Assessment Test
- •Answers to Assessment Test
- •Service Provider Networks
- •Scalability
- •Traffic Engineering
- •Quality of Service
- •MPLS Label Stack
- •Shim Header
- •MPLS Architecture
- •Control
- •Forwarding
- •MPLS Label Switching
- •MPLS Network Components
- •Device Output
- •Label-Switched Paths
- •MPLS Applications
- •MPLS and ATM
- •Overlay
- •Quality of Service
- •Traffic Engineering
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •Routing Review
- •Frame-Mode MPLS Working Example
- •Network Routing Protocol Examples
- •MPLS Step by Step
- •Label Distribution
- •Assigning Labels
- •Troubleshooting and Verification
- •Device Configuration
- •IGP Verification
- •CEF Verification
- •MPLS Verification
- •Label Distribution and Bindings
- •Binding Verification
- •Troubleshooting the Network
- •Hiding Service Provider Devices
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •Frame-Mode MPLS and ATM
- •Frame-Mode MPLS and ATM Configuration
- •Cell-Mode MPLS
- •Label Binding with ATM
- •Cell-Mode Label Switching
- •VC Merge
- •Loop Prevention
- •Cell-Mode MPLS Configuration
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •VPNs 101
- •Point-to-Point Connections
- •Virtual Private Networks
- •Categories of VPNs
- •VPN Routing
- •Peer-to-Peer VPNs
- •Optimal Routing
- •Peer-to-Peer Security
- •Peer-to-Peer VPN Routing
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •Service Provider Configuration
- •MPLS VPNs
- •Virtual Router
- •Virtual Routing and Forwarding Tables
- •MPLS Operational Overview
- •MP-BGP Configuration
- •An MPLS VPN Example
- •Route Distinguisher
- •MP-IBGP Configuration Example
- •Initial Network Configuration
- •MP-IBGP Configuration
- •Verification
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •A Review of VPNs
- •Configuring a Simple MPLS VPN
- •Configuring VRF Interfaces
- •Running RIP in an MPLS VPN
- •Configuring RIPv2 with Address-Family ipv4
- •Configuring Redistribution
- •Route Targets
- •Configuring Route Targets
- •A Review of Simple VPN Configuration
- •Configuring MPLS in the Service Provider Network
- •Simple VPN Configuration
- •Configuring the PE-CE Routing Protocol
- •Lab: Configuring an MPLS VPN
- •Configuring POP Routers
- •VPN Configuration
- •Raleigh Running-Config
- •Atlanta Running-Config
- •Peer 1 Running-Config
- •Peer 2 Running-Config
- •Verification with Ping
- •Routing Table Isolation
- •Verifying VRF Routes
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •MP-BGP and OSPF
- •A Review of OSPF
- •OSPF Router Types
- •Link State Advertisements
- •OSPF for MPLS VPNs
- •OSPF Super-Backbone
- •Preventing Routing Loops
- •Path Selection
- •MPLS VPN OSPF Lab
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •Static Routing
- •Device Configuration
- •VPN Configuration
- •Raleigh Running-Config
- •Atlanta Running-Config
- •Peer Router Configuration
- •Verification with Ping
- •Verifying Static VRF Routes
- •E-BGP and MPLS VPNs
- •Device Configuration
- •E-BGP Operation
- •AS-Override
- •VPN Configuration
- •Raleigh Running-Config
- •Atlanta Running-Config
- •Peer Router Configuration
- •Peer 1 Running-Config
- •Peer 2 Running-Config
- •Verification with Ping
- •Advanced MPLS VPN Topologies
- •Simple VPNs
- •Central Services MPLS VPN Topology
- •Overlay MPLS VPN Topology
- •Summary
- •Exam Essentials
- •Key Terms
- •Review Questions
- •Answers to Review Questions
- •Challenge Lab 1
- •MPLS
- •MP-IBGP
- •Answer to Lab 1.1
- •Answer to Lab 1.2
- •Answer to Lab 1.3
- •Challenge Lab 2
- •Tag Switching
- •MP-IBGP
- •Answer to Lab 2.1
- •Answer to Lab 2.2
- •Answer to Lab 2.3
- •Challenge Lab 3
- •VRF Configuration
- •RIPv2
- •Redistribution
- •Answer to Lab 3.1
- •Answer to Lab 3.2
- •Answer to Lab 3.3
- •Challenge Lab 4
- •VRF Configuration
- •OSPF
- •Redistribution
- •Answer to Lab 4.1
- •Answer to Lab 4.2
- •Answer to Lab 4.3
- •Challenge Lab 5
- •VRF Configuration
- •Static Routes and Redistribution
- •Answer to Lab 5.1
- •Answer to Lab 5.2
- •Challenge Lab 6
- •VRF Configuration
- •E-BGP Configuration
- •Answer to Lab 6.1
- •Answer to Lab 6.2
- •Service Provider Network Configuration with OSPF
- •Router Configuration
- •Routing Tables
- •Tags
- •Service Provider Network Configuration with IS-IS
- •Router Configuration
- •Routing Tables
- •Tag Switching Forwarding Tables
- •Glossary
6 Chapter 1 An Introduction to MPLS
Traffic Engineering
The ATM world has a rich feature set that is used for traffic engineering. Traffic engineering is simply a process by which traffic is optimized to follow certain paths based on specified requirements. The IP world also has features, although not nearly as extensive as ATM, to provide for traffic engineering. The problem experienced by service providers is how to combine the traffic engineering of IP with the traffic engineering of ATM. Since ATM and IP are totally separate technologies, it is difficult to implement combined end-to-end traffic engineering.
Quality of Service
Both IP and ATM have Quality of Service (QoS) capabilities. The difference between the two has to do with their operation. IP is connectionless and ATM is connection-oriented. Again, the problem experienced by a service provider is how to combine these two different ways of implementing QoS into a firm end-to-end solution.
MPLS Label Stack
Now that you have seen some of the challenges of merging the IP and ATM worlds, it’s time to talk about MPLS. MPLS, as a technology, evolved from early attempts to glue the IP world and ATM world together. What we know as MPLS today is, for the most part, a standardized version of Cisco’s proprietary tag switching.
The best place to get started with a discussion of MPLS is with the label itself. The MPLS label, or more specifically the MPLS label stack, is composed of four octets (32 bits) and is illustrated in Figure 1.5.
F I G U R E 1 . 5 The MPLS label stack
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
|
|
|
|
Label |
Label |
EXP |
|
|
|
S |
TTL |
stack |
||
|
|
|
|
entry |
|
|
|
|
The label is the magic of MPLS, so it is important for you to be familiar with the fields in the MPLS label stack, henceforth referred to as the
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
MPLS Label Stack 7
MPLS label, or simply the label. The fields in the label are as follows:
Label This field is the label itself, and it is 20 bits in length. With 20 bits, there can be over one million labels.
Experimental (EXP) The Experimental (EXP) field is three bits in length and is used to map the standard IP packet ToS (type of service) into the Experimental field for MPLS CoS (class of service).
S MPLS labels can be stacked one on top of the other. The S, or stack bit, is used to indicate the bottom of the stack. A value of 1 in this field indicates the bottom, or last label, of the stack.
TTL The TTL (Time-to-Live) field from the IP TTL (or Ipv6 Hop Limit field) is decremented by 1 and then copied into the MPLS label TTL field. Upon exiting the MPLS network, the MPLS label TTL value is copied back into the IP TTL field. If this field is set to 0, the packet will be discarded. The TTL field is 8 bits in length.
Shim Header
Now that you’re familiar with the label, you need to know where it’s located. Figure 1.6 shows the placement of the MPLS label.
F I G U R E 1 . 6 MPLS label stack placement
IP Packet
|
|
|
Data |
|
|
IP |
|
|
||
|
|
|
|
header |
|
|
||||
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ethernet Frame |
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
MAC |
|
Data |
|
IP |
|
MPLS |
|
LLC |
MAC |
|
trailer |
|
|
header |
|
label |
|
header |
header |
||
|
|
|
|
|
||||||
|
|
|
|
|
|
|
|
|
|
|
Take a look at Figure 1.6 and find the frame that contains the MPLS label stack. Where is the label? Smack dab between the Layer 2 header and the Layer 3 header. The MPLS label stack is sometimes referred to as a shim header because of how it is placed between the Layer 2 header and the Layer 3 payload.
In Figure 1.7, the placement of the MPLS label is shown with a variety of frame-mode encapsulations. Notice in all the frame-mode encapsulations that the placement of the MPLS label remains the same.
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |