![](/user_photo/1438_p9ksI.png)
- •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
![](/html/1438/356/html_IE5eMGyoCe.4mvY/htmlconvd-racxcq434x1.jpg)
402 Appendix A Challenge Labs
Raleigh(config)#router bgp 65000
Raleigh(config-router)#address-family ipv4 vrf peer_vpn
Raleigh(config-router-af)#redistribute connected
Raleigh(config-router-af)#redistribute static
Raleigh(config-router-af)#^Z
Raleigh#
Challenge Lab 6
The following challenge lab tests your ability to configure a VRF, a route distinguisher, a route target, and an E-BGP session between PE and CE routers. Note that the network is already set up with MPLS and MP-BGP
(AS 65000). Both peer routers use AS 65001.
|
|
Serial |
0 |
Serial |
0/1 |
Serial |
0/0 |
Serial |
0/1 |
Serial |
0/0 |
Serial |
0/3 |
Serial |
0/1 |
Serial |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
Peer 1 |
|
Atlanta |
|
|
Core |
|
|
Raleigh |
|
|
Peer 2 |
|||||
|
|
You need to know all the interfaces and IP addressing contained in the |
||||||||||||||||
|
|
following two tables: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
Customer Addressing |
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
Device |
|
|
|
Loopback 0 |
|
|
|
|
Serial 0 |
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
|
|
Peer1 |
|
|
|
192.168.1.1/32 |
|
|
|
192.168.3.5/30 |
|
|||||||
|
|
Peer2 |
|
|
|
192.168.2.1/32 |
|
|
|
192.168.3.10/30 |
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
Service Provider Addressing |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
Device |
Loopback 0 |
|
Serial 0/0 |
|
|
|
Serial 0/1 |
|
|
Serial 0/3 |
|
|||||||
|
|
|
|
|
|
|
|
|
||||||||||
Atlanta |
204.134.83.1/32 |
204.134.83.5/30 |
|
192.168.3.6/30 |
N/A |
|
|
|
||||||||||
Core |
204.134.83.2/32 |
204.134.83.9/30 |
|
204.134.83.6/30 |
N/A |
|
|
|
||||||||||
Raleigh |
204.134.83.3/32 |
N/A |
|
|
|
192.168.3.9/30 |
204.134.83.10/30 |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
![](/html/1438/356/html_IE5eMGyoCe.4mvY/htmlconvd-racxcq435x1.jpg)
Challenge Lab 6 403
VRF Configuration
This section includes the following lab exercise:
Lab 6.1: Configure a VRF, a route distinguisher, and a route target
L A B 6 . 1
Configure a VRF, a route distinguisher, and a route target
1.On the Atlanta POP router, create a VRF called peer_vpn.
2.On the Atlanta POP router, assign a route distinguisher of 50:1.
3.On the Atlanta POP router, configure an import route target and an export route target of 50:1.
4.On the Atlanta POP router, associate the PE-CE interface with the VRF and assign the appropriate address from the table.
5.On the Raleigh POP router, create a VRF called peer_vpn.
6.On the Raleigh POP router, assign a route distinguisher of 50:1.
7.On the Raleigh POP router, configure an import route target and an export route target of 50:1.
8.On the Raleigh POP router, associate the PE-CE interface with the VRF and assign the appropriate address from the table.
E-BGP Configuration
This section includes the following lab exercise:
Lab 6.2: Configure an E-BGP between the PE and CE routers
L A B 6 . 2
Configure an E-BGP between the PE and CE routers
1.On Peer 1, configure an E-BGP session to Atlanta and redistribute connected interfaces.
2.On Peer 2, configure an E-BGP session to Raleigh and redistribute connected interfaces.
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
![](/html/1438/356/html_IE5eMGyoCe.4mvY/htmlconvd-racxcq436x1.jpg)
404 Appendix A Challenge Labs
L A B 6 . 2 ( c o n t i n u e d )
3.On the Atlanta POP router, configure Peer 1 as a neighbor, activate Peer 1, configure AS-override, and redistribute the connected VRF interface into BGP.
4.On the Raleigh POP router, configure Peer 2 as a neighbor, activate Peer 2, configure AS-override, and redistribute the connected VRF interface into BGP.
Answer to Lab 6.1
Atlanta#conf t
Enter configuration commands, one per line. End with CNTL/Z. Atlanta(config)#ip vrf peer_vpn
Atlanta(config-vrf)#rd 50:1
Atlanta (config-vrf)#route-target both 50:1 Atlanta(config-vrf)#exit Atlanta(config)#int s 0/1
Atlanta(config-if)#ip vrf forwarding peer_vpn
%Interface Serial0/1 IP address 192.168.3.6 removed due to enabling VRF peer_vpn
Atlanta(config-if)#ip address 192.168.3.6 255.255.255.252
Raleigh#conf t
Enter configuration commands, one per line. End with CNTL/Z. Raleigh(config)#ip vrf peer_vpn
Raleigh(config-vrf)#rd 50:1
Raleigh (config-vrf)#route-target both 50:1 Raleigh (config-vrf)#exit
Raleigh (config)#int s 0/1
Raleigh (config-if)#ip vrf forwarding peer_vpn
%Interface Serial0/1 IP address 192.168.3.9 removed due to enabling VRF peer_vpn
Raleigh (config-if)#ip address 192.168.3.9 255.255.255.252
Answer to Lab 6.2
Peer1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
Challenge Lab 6 405
Peer1(config)#router bgp 65001
Peer1(config-router)#neighbor 192.168.3.6 remote-as 65000
Peer1(config-router)#redistribute connected Peer1(config-router)#^Z
Peer1#
Peer2#conf t
Enter configuration commands, one per line. End with CNTL/Z. Peer2(config)#router bgp 65001
Peer2(config-router)#neighbor 192.168.3.9 remote-as 65000
Peer2(config-router)#redistribute connected Peer2(config-router)#^Z
Peer2#
Atlanta#conf t
Enter configuration commands, one per line. End with CNTL/Z. Atlanta(config)#router bgp 65000
Atlanta(config-router)#address-family ipv4 vrf peer_vpn Atlanta(config-router-af)#neighbor 192.168.3.5 remote-as
65001
Atlanta(config-router-af)#neighbor 192.168.3.5 activate Atlanta(config-router-af)#neighbor 192.168.3.5 as-override
Atlanta(config-router-af)#redistribute connected Atlanta(config-router-af)#^Z
Atlanta#
Raleigh#conf t
Enter configuration commands, one per line. End with CNTL/Z. Raleigh(config)#router bgp 65000
Raleigh(config-router)#address-family ipv4 vrf peer_vpn Raleigh(config-router-af)#neighbor 192.168.3.10 remote-as
65001
Raleigh(config-router-af)#neighbor 192.168.3.10 activate Raleigh(config-router-af)#neighbor 192.168.3.10 as-override
Raleigh(config-router-af)#redistribute connected Raleigh(config-router-af)#^Z
Raleigh#
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |
![](/html/1438/356/html_IE5eMGyoCe.4mvY/htmlconvd-racxcq438x1.jpg)
Appendix |
Service Provider Tag |
|
B |
Switching with OSPF |
|
and IS-IS |
||
|
Copyright ©2002 SYBEX, Inc., Alameda, CA |
www.sybex.com |