
- •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
A Review of Simple VPN Configuration 223
On the PE2 router, you configure MPLS for Serial 0/0 only with the following commands:
PE1#config t
PE1(config)#ip cef
PE1(config)#mpls ip
PE1(config-if)#interface serial 0/0
PE1(config-if)#mpls ip
Since you will be implementing MPLS VPNs, go ahead and set up MPBGP between PE1 and PE2.
On the PE1 router PE1, you configure MP-BGP with the following commands:
PE1#config t
PE1(config)#router bgp 1 PE1(config-router)#address-family vpnv4
PE1(config-router)#neighbor 192.168.1.4 activate PE1(config-router)#neighbor 192.168.1.4 next-hop-self PE1(config-router)#neighbor 192.168.1.4 send-community both
On the PE2 router, you configure MP-BGP with the following commands:
PE2#config t
PE2(config)#router bgp 1 PE2(config-router)#address-family vpnv4
PE2(config-router)#neighbor 192.168.1.1 activate PE2(config-router)#neighbor 192.168.1.1 next-hop-self PE1(config-router)#neighbor 192.168.1.1 send-community both
Simple VPN Configuration
To set up a simple VPN for Customer X, VRFs need to be configured on PE1 and PE2. You’ll need to create a VRF; let’s call it customer_x. You’ll use a route distinguisher of 1:1 and a route target of 1:1. Here are the commands to accomplish this:
PE1#config t
PE1(config)#ip vrf customer_x
PE1(config-vrf)#rd 1:1
PE1(config-vrf)#route-target both 1:1
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
224 Chapter 6 MPLS VPNs and RIP
The route-target both command is the equivalent of entering the two commands route-target import and route-target export. When you view the configuration with the show running-configuration command, you’ll see the configuration as route-target import and route-target export. The route-target both command is a shortcut.
To place the Serial 0/1 interface on PE1 into the VRF for Customer X, use the following commands:
PE1#config t
PE1(config)#interface serial 0/1
PE1(config-if)#ip vrf forwarding customer_x
Remember that the IP address on the interface goes away after it is associated with a VRF. You’ll need to configure it with the IP address again, as follows:
PE1(config-if)#ip address 10.2.0.1 mask 255.255.0.0
The configuration of PE2 is pretty much a repeat of the configuration of PE1:
PE2#config t
PE2(config)#ip vrf customer_x
PE2(config-vrf)#rd 1:1
PE2(config-vrf)#route-target both 1:1
PE2(config-vrf)#exit
PE1(config)#interface serial 0/1
PE1(config-if)#ip vrf forwarding customer_x
PE1(config-if)#ip address 10.3.0.1 mask 255.255.0.0
Configuring the PE-CE Routing Protocol
The last thing you need to do is configure a routing protocol between the PE routers and the Customer X routers. Let’s configure RIPv2. The first step is to get the customer routers running RIPv2. Here are the commands for Customer X1:
CustomerX1#config t
CustomerX1(config)#router rip
CustomerX1(config-router)#version 2
CustomerX1(config-router)#network 10.0.0.0
You need to execute the same commands on Customer X2:
CustomerX2#config t
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |