
- •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 219
What about export route targets on PE2? Let’s choose an arbitrary value of 5:1 for vpn_a and 70:3 for vpn_b. The export route target configuration is as follows:
PE2#config t
PE2(config)#ip vrf vpn_a
PE2(config-vrf)#route-target export 5:1
PE2(config-vrf)#exit
PE2(config)#ip vrf vpn_b
PE2(config-vrf)route-target export 70:3
Figure 6.14 illustrates routes from PE2 as they arrive at PE1.
F I G U R E 6 . 1 4 VPN routes from PE2 arriving at PE1
Customer A1 |
|
|
|
From PE2 |
|
|
|
MP-IBGP |
|
||
|
|
RD |
NLRI |
RT |
|
|
PE1 |
1:1 |
10.3.0.0 |
5:1 |
|
|
1:1 |
10.4.0.0 |
5:1 |
||
|
|
||||
|
|
1:2 |
10.3.0.0 |
70:3 |
|
Customer B1 |
|
1:2 |
10.4.0.0 |
70:3 |
What import route targets must be configured on PE1? For vpn_a, an import route target must be configured for 5:1. For vpn_b, an import route target must be configured for 70:3. The import route target configuration for PE1 is as follows:
PE1#config t
PE1(config)#ip vrf vpn_a
PE1(config-vrf)#route-target import 5:1
PE1(config-vrf)#exit
PE1(config)#ip vrf vpn_b
PE1(config-vrf)route-target import 70:3
A Review of Simple VPN Configuration
I’d like to take this section of the chapter to review the major configuration steps again for you. Figure 6.15 illustrates the same simple network used throughout this book.
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |

220 Chapter 6 MPLS VPNs and RIP
F I G U R E 6 . 1 5 A simple service provider network
Serial |
0/0 |
0/0 |
Serial |
|
|
Serial 0/1 |
|
|
PE1 |
|
P1 |
Serial 0
Customer X1
0/1 |
0/0 |
Serial |
0/1 |
0/0 |
Serial Serial |
|
Serial |
|
|
|
P2 |
|
|
PE2 |
Serial 0/1
Serial 0
Customer X2
Table 6.4 lists the IP addresses and interfaces of all the service provider devices in Figure 6.15.
T A B L E 6 . 4 Service Provider IP Addressing
Device |
Serial 0/0 |
Serial 0/1 |
Loopback 0 |
|
|
|
|
PE1 |
192.168.1.10 |
|
192.168.1.1 |
P1 |
192.168.1.9 |
192.168.1.14 |
192.168.1.2 |
P2 |
192.168.1.13 |
192.168.1.18 |
192.168.1.3 |
PE2 |
192.168.1.17 |
|
192.168.1.4 |
|
|
|
|
Table 6.5 lists the IP addresses and interfaces of the Customer X devices.
T A B L E 6 . 5 PE Customer Link Addressing
Device |
Serial 0 |
Ethernet0 |
Mask |
|
|
|
|
Customer X1 |
10.2.0.2 |
10.1.0.1 |
/16 |
Customer X2 |
10.3.0.2 |
10.4.0.1 |
/16 |
|
|
|
|
Configuring MPLS in the Service Provider Network
Currently, all the devices in the service provider network already have IP addresses. The first thing you need to do is configure an IGP. For this simple network, the IGP will be RIPv2.
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
A Review of Simple VPN Configuration 221
On the PE1 router, you configure RIPv2 with the following commands:
PE1#config t
PE1(config)#router rip
PE1(config-rotuer)#version 2
PE1(config-router)#network 192.168.1.0
On the P1 router, you configure RIPv2 with the following commands:
P1#config t
P1(config)#router rip
P1(config-rotuer)#version 2
P1(config-router)#network 192.168.1.0
On the P2 router, you configure RIPv2 with the following commands:
P2#config t
P2(config)#router rip
P2(config-rotuer)#version 2
P2(config-router)#network 192.168.1.0
On the PE2 router, you configure RIPv2 with the following commands:
PE2#config t
PE2(config)#router rip
PE2(config-rotuer)#version 2
PE2(config-router)#network 192.168.1.0
Now that an IGP is up and running, you need to configure BGP on the PE routers.
On the PE1 router, you configure BGP with the following commands:
PE1#config t
PE1(config)#router bgp 1 PE1(config-router)#no synchronization
PE1(config-router)#network 192.168.1.1 mask 255.255.255.255 PE1(config-router)#neighbor 192.168.1.4 remote-as 1 PE1(config-router)#neighbor 192.168.1.4 update-source Loopback0
PE1(config-router)#no auto summary PE1(config-router)#redistribute static
On the PE2 router, you configure BGP with the following commands:
PE2#config t
PE2(config)#router bgp 1
PE2(config-router)#no synchronization
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
222 Chapter 6 MPLS VPNs and RIP
PE2(config-router)#network 192.168.1.4 mask 255.255.255.255 PE2(config-router)#neighbor 192.168.1.1 remote-as 1 PE2(config-router)#neighbor 192.168.1.1 update-source Loopback0
PE2(config-router)#no auto summary PE2(config-router)#redistribute static
Now that all the routing protocols are in place, you need to enable MPLS on the routers.
On the PE1 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
On the P1 router, you configure MPLS for both Serial 0/0 and Serial 0/1 with the following commands:
P1#config t
P1(config)#ip cef
P1(config)#mpls ip
P1(config-if)#interface serial 0/0
P1(config-if)#mpls ip
P1(config-if)#exit
P1(config)#interface serial 0/1
P1(config-if)#mpls ip
On the P2 router, you configure MPLS for both Serial 0/0 and Serial 0/1 with the following commands:
P2#config t
P2(config)#ip cef
P2(config)#mpls ip
P2(config-if)#interface serial 0/0
P2(config-if)#mpls ip
P2(config-if)#exit
P2(config)#interface serial 0/1
P2(config-if)#mpls ip
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |