Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Cisco CCIP MPLS Study Guide - James Reagan.pdf
Скачиваний:
250
Добавлен:
24.05.2014
Размер:
6.47 Mб
Скачать

Challenge Lab 3 389

PE1(config)#router bgp 65000

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

PE2#config t

Enter configuration commands, one per line. End with CNTL/Z. PE2(config)#router bgp 65000

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 PE2(config-router)#neighbor 192.168.1.1 send-community both

Challenge Lab 3

The following challenge lab tests your ability to configure a VRF, a route distinguisher, a route target, RIPv2 as a PE-CE routing protocol, and RIPv2 redistribution into MP-BGP. Note that the network is already set up with MPLS and MP-BGP (AS 65000).

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

 

 

 

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

390 Appendix A Challenge Labs

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

 

 

 

 

 

VRF Configuration

This section includes the following lab exercise:

Lab 3.1: Configure a VRF, a route distinguisher, and a route target

L A B 3 . 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.

RIPv2

This section includes the following lab exercise:

Lab 3.2: Configure RIPv2 on peer and POP routers

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

Challenge Lab 3 391

L A B 3 . 2

Configure RIPv2 on peer and POP routers

1.Configure RIPv2 on Peer 1 for all networks.

2.Configure RIPv2 on Peer 2 for all networks.

3.Configure a RIPv2 context on the Atlanta POP router.

4.Configure a RIPv2 context on the Raleigh POP router.

Redistribution

This section includes the following lab exercise:

Lab 3.3: Configure redistribution

L A B 3 . 3

Configure redistribution

1.Configure redistribution between MP-BGP and the RIPv2 context on the Atlanta POP router.

2.Configure redistribution between MP-BGP and the RIPv2 context on the Raleigh POP router.

Answer to Lab 3.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

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

392 Appendix A Challenge Labs

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 3.2

Peer1#conf t

Enter configuration commands, one per line. End with CNTL/Z. Peer1(config)#router rip

Peer1(config-router)#version 2 Peer1(config-router)#network 192.168.3.0 Peer1(config-router)#network 192.168.1.0 Peer1(config-router)#^Z

Peer1#

Peer2#conf t

Enter configuration commands, one per line. End with CNTL/Z. Peer2(config)#router rip

Peer2(config-router)#version 2 Peer2(config-router)#network 192.168.3.0 Peer2(config-router)#network 192.168.2.0 Peer2(config-router)#^Z

Peer2#

Atlanta#conf t

Enter configuration commands, one per line. End with CNTL/Z. Atlanta(config)#router rip

Atlanta(config-router)#version 2

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com