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

384 Appendix A Challenge Labs

PE2#config t

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

PE2(config-router)#no synchronization

PE2(config-router)#network 192.168.1.4 mask 255.255.255.255 PE2(config-router)#neighbor 192.168.1.1 remote-as 65000 PE2(config-router)#neighbor 192.168.1.1 update-source Loopback0

Answer to Lab 1.3

PE1#config t

Enter configuration commands, one per line. End with CNTL/Z. 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 2

The following challenge lab tests your ability to configure tag switching, BGP, and MP-IBGP.

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

Challenge Lab 2 385

10.1.0.0/16

 

 

10.1.0.0/16

 

 

 

 

 

 

 

 

 

 

Customer B1

 

 

 

 

 

Customer A1

 

 

 

Serial 0

 

 

 

 

10.2.0.2/16

 

Serial 0 10.2.0.2/16

10.2.0.1/16

 

 

10.2.0.1/16

Serial 0/2

 

 

Serial 0/1

 

 

 

 

 

 

PE1

 

 

Serial 0/0

 

192.168.1.1

 

 

 

 

 

 

 

192.168.1.10

 

 

Serial 0/0

 

 

 

 

 

 

 

 

 

 

 

P1

 

 

Serial 0/1

 

 

 

 

 

 

 

Serial 0/0

 

 

 

 

 

 

 

 

 

 

 

P2

 

 

Serial 0/1

 

 

 

 

 

 

 

Serial 0/0

 

 

 

 

 

Serial 0/2

 

 

PE2

 

 

 

 

Serial 0/1

10.3.0.1/16

 

 

10.3.0.1/16

10.3.0.2/16

 

 

 

10.3.0.2/16

Customer B2

 

 

 

 

 

Customer A2

10.4.0.010.4.0.0

You need to know all the interfaces and IP addressing contained in the following table:

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

 

 

 

 

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

386 Appendix A Challenge Labs

Tag Switching

This section includes the following lab exercise:

Lab 2.1: Configure tag switching

L A B 2 . 1

Configure tag switching

1.Configure tag switching on PE1.

2.Configure tag switching on P1.

3.Configure tag switching on P2.

4.Configure tag switching on PE2.

BGP

This section includes the following lab exercise:

Lab 2.2: Configure BGP

L A B 2 . 2

Configure BGP

1.Configure BGP AS 65000 on PE1.

2.Add an I-BGP neighbor statement for PE2 (use the Loopback 0 address).

3.Configure BGP AS 65000 on PE2.

4.Add an I-BGP neighbor statement for PE1 (use the Loopback 0 address).

MP-IBGP

This section includes the following lab exercise:

Lab 2.3: Configure MP-IBGP

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com

Challenge Lab 2 387

L A B 2 . 3

Configure MP-IBGP

1.On PE1, activate neighbor PE2.

2.On PE1, configure PE1 to send both standard and extend communities to PE2.

3.On PE2, activate neighbor PE1.

4.On PE2, configure PE2 to send both standard and extend communities to PE1.

Answer to Lab 2.1

PE1#config t

Enter configuration commands, one per line. End with CNTL/Z. PE1(config)#ip cef

PE1(config)# tag-switching advertise tags PE1(config)#interface serial 0/0

PE1(config-if)#tag-switching ip

P1#config t

Enter configuration commands, one per line. End with CNTL/Z. P1(config)#ip cef

P1(config)# tag-switching advertise tags P1(config)#interface serial 0/0 P1(config-if)# tag-switching ip

P1(config-if)#exit

P1(config)#interface serial 0/1 P1(config-if)# tag-switching ip

P2#config t

Enter configuration commands, one per line. End with CNTL/Z. P2(config)#ip cef

P2(config)# tag-switching advertise tags P2(config)#interface serial 0/0 P2(config-if)# tag-switching ip

Copyright ©2002 SYBEX, Inc., Alameda, CA

www.sybex.com