iewb-sp-vol1.v1.00.ENTIREWORKBOOK



Comments



Description

CCIE Service Provider Lab Workbook Volume IVersion 1.0 Copyright Information Copyright © 2003 - 2010 Internetwork Expert, Inc. All rights reserved. The following publication, CCIE Service Provider Lab Workbook Volume I, was developed by Internetwork Expert, Inc. All rights reserved. No part of this publication may be reproduced or distributed in any form or by any means without the prior written permission of Internetwork Expert, Inc. Cisco®, Cisco® Systems, CCIE, and Cisco Certified Internetwork Expert, are registered trademarks of Cisco® Systems, Inc. and/or its affiliates in the U.S. and certain countries. All other products and company names are the trademarks, registered trademarks, and service marks of the respective owners. Throughout this manual, Internetwork Expert, Inc. has used its best efforts to distinguish proprietary trademarks from descriptive names by following the capitalization styles used by the manufacturer. Copyright © 2010 Internetwork Expert www.INE.com -i- CCIE Service Provider Lab Workbook Volume I Version 1.0 Disclaimer The following publication, CCIE Service Provider Lab Workbook Volume I, is designed to assist candidates in the preparation for Cisco Systems’ CCIE Routing & Switching Lab exam. While every effort has been made to ensure that all material is as complete and accurate as possible, the enclosed material is presented on an “as is” basis. Neither the authors nor Internetwork Expert, Inc. assume any liability or responsibility to any person or entity with respect to loss or damages incurred from the information contained in this workbook. This workbook was developed by Internetwork Expert, Inc. and is an original work of the aforementioned authors. Any similarities between material presented in this workbook and TM actual CCIE lab material is completely coincidental. Copyright © 2010 Internetwork Expert www.INE.com - ii - CCIE Service Provider Lab Workbook Volume I Version 1.0 MPLS Basic MPLS.......................................................................................................2 MPLS VPNs with Static Routing......................................................................10 MPLS VPNs with RIPv2 ..................................................................................18 MPLS VPNs with OSPF ..................................................................................28 MPLS VPNs with EIGRP .................................................................................38 MPLS VPNs with EBGP ..................................................................................48 Central Services MPLS VPNs .........................................................................58 MPLS VPNs with Extranets .............................................................................68 MPLS VPNs and VRF Export Map ..................................................................78 MPLS VPNs with BGP Site-Of-Origin..............................................................88 MPLS VPNs with OSPF and Sham-Links .......................................................98 MPLS VPNs with OSPF and Domain-ID .......................................................106 MPLS VPNs with VPNv4 Route Reflection ...................................................114 Inter-AS MPLS VPNs with Back-to-Back VRF...............................................130 Inter-AS MPLS VPNs with MP-eBGP for VPNv4 Exchange..........................144 Inter-AS MPLS VPNs with Multihop MP-eBGP for VPNv4 Exchange ...........158 Carrier Supporting Carrier – IP Only Customer Carrier .................................170 Carrier Supporting Carrier – MPLS Enabled Customer Carrier .....................180 Carrier Supporting Carrier – Hierarchical MPLS VPNs .................................190 VRF-Lite ........................................................................................................204 Controlling MPLS Label Distribution..............................................................216 MPLS Traffic Engineering – Dynamic PE to PE Tunnels ..............................226 MPLS Traffic Engineering – Explicit PE to PE Tunnels .................................236 MPLS Traffic Engineering – Unequal Cost Load Balancing ..........................246 MPLS QoS ....................................................................................................258 Multicast over MPLS VPNs ...........................................................................272 L2 VPNs: AToM.............................................................................................282 L2 VPNs: Inter-AS AToM ..............................................................................288 L2 VPNs: IP Interworking ..............................................................................296 L2 VPNs: Ethernet Interworking ....................................................................304 L2 VPNs: L2TPv3..........................................................................................312 IP Multicast PIM Dense Mode...........................................................................................320 PIM Sparse Mode..........................................................................................330 Multicast RPF Failure ....................................................................................338 Auto-RP.........................................................................................................346 Auto-RP – Multiple Candidate RPs ...............................................................354 Auto-RP – Filtering Candidate RPs ...............................................................362 Auto-RP Listener ...........................................................................................368 PIM NBMA Mode...........................................................................................376 Auto-RP and Default RP Placement..............................................................384 Bootstrap Router ...........................................................................................392 Multicast Source Distribution Protocol (MSDP) .............................................398 Anycast RP....................................................................................................406 Copyright © 2010 Internetwork Expert www.INE.com - iii - CCIE Service Provider Lab Workbook Volume I Version 1.0 Multicast BGP................................................................................................414 Copyright © 2010 Internetwork Expert www.INE.com - iv - CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.0 www.INE.com -1- CCIE Service Provider Lab Workbook Volume I Version 1.0 Basic MPLS Objective: Configure MPLS on R1, R2, R3, and R4 to provide transit between AS 100 and AS 200. Fa0/3 BGP AS 100 BGP AS 1 10.1.37.0/24 .7 SW1 E0/0 R3 .3 .3 S1/2 150.1.13.0/24 S0/1 .1 R1 Fa0/0 .1 150.1.12.0/24 VLAN 12 Fa0/0 .2 OSPF Area 0 R2 S0/0.1 .2 204 Frame Relay 150.1.24.0/24 BGP AS 200 .5 R5 10.1.45.0/24 VLAN 45 402 .4 S0/0.1 .4 E0/1 R4 BGP AS 1 E0/0 Copyright © 2010 Internetwork Expert www.INE.com -2- CCIE Service Provider Lab Workbook Volume I Version 1.0 Directions • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1, R2, R3, and R4 Configure MPLS using LDP on the interfaces between R1, R2, R3, and R4 Create the Loopback 150.1.3.3/32 on R3 and advertise it into OSPF Create the Loopback 150.1.4.4/32 on R4 and advertise it into OSPF R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R3 should peer with SW1 via EBGP R4 should peer with R5 via EBGP Create the Loopback 10.1.5.5/24 on R5 and advertise it into BGP Create the Loopback 10.1.7.7/24 on SW1 and advertise it into BGP Final Configuration R1# ip cef ! mpls label protocol ldp ! interface FastEthernet0/0 ip address 150.1.12.1 255.255.255.0 tag-switching ip ! interface Serial0/1 ip address 150.1.13.1 255.255.255.0 tag-switching ip ! router ospf 1 network 150.1.12.1 0.0.0.0 area 0 network 150.1.13.1 0.0.0.0 area 0 R2# ip cef ! mpls label protocol ldp ! interface FastEthernet0/0 ip address 150.1.12.2 255.255.255.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.24.2 255.255.255.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.1.12.2 0.0.0.0 area 0 network 150.1.24.2 0.0.0.0 area 0 Copyright © 2010 Internetwork Expert www.INE.com -3- CCIE Service Provider Lab Workbook Volume I Version 1.0 R3# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.1.3.3 255.255.255.255 ! interface Ethernet0/0 ip address 10.1.37.3 255.255.255.0 ! interface Serial1/2 ip address 150.1.13.3 255.255.255.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.1.3.3 0.0.0.0 area 0 network 150.1.13.3 0.0.0.0 area 0 ! router bgp 1 neighbor 10.1.37.7 remote-as 100 neighbor 150.1.4.4 remote-as 1 neighbor 150.1.4.4 update-source Loopback0 neighbor 150.1.4.4 next-hop-self R4# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.1.4.4 255.255.255.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.24.4 255.255.255.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip address 10.1.45.4 255.255.255.0 ! router ospf 1 network 150.1.4.4 0.0.0.0 area 0 network 150.1.24.4 0.0.0.0 area 0 ! router bgp 1 neighbor 10.1.45.5 remote-as 200 neighbor 150.1.3.3 remote-as 1 neighbor 150.1.3.3 update-source Loopback0 neighbor 150.1.3.3 next-hop-self no auto-summary Copyright © 2010 Internetwork Expert www.INE.com -4- 1.0 ! router bgp 200 network 10.37.5.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.7 255.255.1.1.255.1.0 neighbor 10.7.7.37.255.45.5 255.0 ! interface FastEthernet0/5 switchport access vlan 45 ! router bgp 100 network 10. round-trip min/avg/max = 88/88/92 ms Copyright © 2010 Internetwork Expert www.com -5- .1.4 remote-as 1 SW1# interface Loopback0 ip address 10.1.1.7.255.255.5.5. timeout is 2 seconds: Packet sent with a source address of 10.0 R5# interface Loopback0 ip address 10. Sending 5.INE.0 mask 255.5.255.1.5 255.7 !!!!! Success rate is 100 percent (5/5).7 255.1.255.7 Type escape sequence to abort.255.3 remote-as 1 SW2# interface FastEthernet0/4 switchport access vlan 45 Verification SW1#ping 10.45. 100-byte ICMP Echos to 10.255.0 neighbor 10.255.1.1.5 source 10.7.0 mask 255.255.0 ! interface Ethernet0/0 ip address 10.5.255.CCIE Service Provider Lab Workbook Volume I Version 1.1. 0/16 is variably subnetted.CCIE Service Provider Lab Workbook Volume I Version 1.1. Serial0/0.45.1.1.1. Serial0/0.12.7.5. Loopback0 O 150. 00:12:01. 00:11:41.1.1.0/24 is directly connected.2. 00:12:01. 5 subnets.4.1.1. Serial0/0.13.12.0 R1#show ip route <output omitted> 150.4.13.1. 00:10:49 C 10. Ethernet0/1 150.3.0/24 is directly 150.1.1.1 R5#show ip route <output omitted> 10.13. 5 subnets. 00:12:49.1.1.3/32 [110/66] via 150. FastEthernet0/0 O C 150.1.1 O 150.0/16 is variably subnetted.4. Serial1/2 O 150.45. 00:12:49. FastEthernet0/0 150.0/24 is subnetted.1.1.2.1.4/32 is directly connected. 00:10:18 B 10.0/24 [110/65] via 150.3/32 is directly connected.1.1.0 [20/0] via 10.0/24 [110/782] via 150.0/24 is directly connected.1 O 150.1.1.0. FastEthernet0/0 R3#show ip route <output omitted> 10. Serial1/2 O 150. 00:10:58 C 10.4. FastEthernet0/0 150.1.0/16 is variably subnetted.37.1.3.13. 00:11:41.24.3.1. Loopback0 C 150.com -6- . 00:11:41.12.1.0/24 [110/129] via 150. 00:12:29. Serial1/2 R4#show ip route <output omitted> 10.0/16 is variably subnetted.5.1.0 is directly connected.1.0/24 is directly connected.13. 3 subnets B 10.7.0/24 is directly connected. Ethernet0/0 Copyright © 2010 Internetwork Expert www.13.2.0 [20/0] via 10.0 is directly connected. FastEthernet0/0 R2#show ip route <output omitted> 150.0.INE.1.13. Serial0/0.0/24 is subnetted.1.1.1.3/32 [110/65] via 150. 2 masks C 150.1.45. 00:10:35 C 10.0/24 is directly 150. 3 subnets B 10. 00:12:01.2.1. 5 subnets.0.24.0. 2 masks O 150.1.0 [200/0] via 150.1.0/24 [110/846] via 150.0/24 is subnetted.0/24 [110/65] via 150.0. 2 masks O O O C C 150.12.1.4/32 [110/65] via 150.3.4/32 [110/66] via 150.1.1. FastEthernet0/0 150.0.3/32 [110/130] via 150.0. Loopback0 C 10.1.13. 00:12:29.1.1.24.4.4/32 [110/847] via 150.1.12.12.1.1.1. Serial0/1 connected. Serial1/2 C 150.24.0. Serial0/1 connected.0.1.3. Serial0/0.3.24.2. 00:12:49.1.0 is directly connected.1.1 O 150.1.1. 5 subnets.24.1.4.0 [20/0] via 10.24.1.37.0 is directly connected. Serial0/0.4. 00:10:36 B 10.1.5.0. 00:12:29. Ethernet0/0 150.1 C 150.0 [200/0] via 150.1.1.0/24 [110/65] via 150.7.7.12.1 O 150.5.24. 2 masks C 150.45.3.12.4. 3 subnets B 10. 646 .646 .11005 State: Oper.1.24.4 150.1.646 State: Oper.1.1:0.37.11005 .7.4 Addresses bound to peer LDP Ident: 150.1.1.1.4.1.2 150.24.3:0 TCP connection: 150.12. Downstream Up time: 00:03:53 LDP discovery sources: FastEthernet0/0.24.0. Downstream Up time: 00:02:43 LDP discovery sources: Serial0/1.150.1.1.2.2 Peer LDP Ident: 150.0 [20/0] via 10. Src IP addr: 150.3 150.150.1 150. Downstream Up time: 00:03:31 LDP discovery sources: Serial1/2. 3 subnets C 10. Msgs sent/rcvd: 12/11.1.1.1.1.3. Src IP addr: 150.13.1.11003 State: Oper.1.12.13.0 is directly connected.3:0.1.150.com -7- .2:0 TCP connection: 150.24.1.1. 00:11:14 C 10.37. Loopback0 B 10.1.24.1. Msgs sent/rcvd: 12/12. Src IP addr: 150.1.12.13.11003 .3. Local LDP Ident 150.1.4:0.1:0.3.0 SW1#show ip route <output omitted> 10.2.1.1:0 TCP connection: 150.13.2 Addresses bound to peer LDP Ident: 150.1 Addresses bound to peer LDP Ident: 150. Local LDP Ident 150.3.37. Msgs sent/rcvd: 10/11.1.1.1.24.4 R3#show mpls ldp neighbor Peer LDP Ident: 150.1. Src IP addr: 150.1.2.3. Msgs sent/rcvd: 12/12.1.13.3. FastEthernet0/3 R1#show mpls ldp neighbor Peer LDP Ident: 150.1.1.11007 State: Oper. Local LDP Ident 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.1 Addresses bound to peer LDP Ident: 150. Msgs sent/rcvd: 11/12. Downstream Up time: 00:03:04 LDP discovery sources: Serial0/0.13.150.13. Src IP addr: 150.1:0 TCP connection: 150.1. Local LDP Ident 150.1.24.3.646 .3.646 State: Oper.4.1 Copyright © 2010 Internetwork Expert www.1.4 10.1.1. Local LDP Ident 150.12.2:0.4.13.3 R2#show mpls ldp neighbor Peer LDP Ident: 150.1.4.5.1.1.1.13.3 Addresses bound to peer LDP Ident: 10.1.0. Downstream Up time: 00:04:09 LDP discovery sources: FastEthernet0/0.12.1 150.24.1.1 Peer LDP Ident: 150.1.1.0/24 is subnetted.1.13.2:0 TCP connection: 150.3 150.45.13.24.150.13.0 is directly connected.INE.13. 24.1.1. Src IP addr: 150.4/32 150.1.12.1.2 150.1.com -8- .1.1.1 Se0/0.3.1.4.3/32 150.1 Se0/0.1.0/24 150.1.646 State: Oper.1.4/32 150.0/24 Copyright © 2010 Internetwork Expert point2point point2point point2point www.13.1.24.0 R4#show mpls ldp neighbor Peer LDP Ident: 150.4:0 TCP connection: 150.24.1 150.1.2 point2point R2#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC Pop tag 18 Pop tag Prefix or Tunnel Id 150.0/24 150.11007 .4.1 R3#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC 16 17 Pop tag Prefix or Tunnel Id 150.1.1. Msgs sent/rcvd: 13/12.3.12.1.2 150.2 R1#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC Pop tag 16 Pop tag Prefix or Tunnel Id 150.4.2:0.2 Addresses bound to peer LDP Ident: 150.12.INE.4/32 150.1.0/24 150.3.1 Fa0/0 Fa0/0 Next Hop Bytes tag switched 0 0 0 Outgoing interface Se1/2 Se1/2 Se1/2 Next Hop Bytes tag switched 0 0 0 Outgoing interface Se0/0.2.1.0/24 point2point 150.1.24.4. Local LDP Ident 150. Downstream Up time: 00:03:54 LDP discovery sources: Serial0/0.1.CCIE Service Provider Lab Workbook Volume I Version 1.150.1.12.4.1 Next Hop 150.24.1.1.12.13.12.24.3/32 150.3/32 Bytes tag switched 0 4318 753 Outgoing interface Fa0/0 Fa0/0 Se0/1 Next Hop Bytes tag switched 797 4318 0 Outgoing interface Se0/0.4.12.0/24 point2point point2point point2point R4#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC 17 18 Pop tag Prefix or Tunnel Id 150.1. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.INE.0 www.com -9- . 1.3 S1/2 150.1 150.0/24 VLAN 12 Fa0/0 .4 S0/0.24.0 MPLS VPNs with Static Routing Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using static routing between the PE-CE.1.10 - .6 E0/1 G0/0 Copyright © 2010 Internetwork Expert R6 www.8 BGP AS 1 .12.3 . Fa0/3 Fa0/3 .4 .5 R5 R4 BGP AS 1 E0/0 .com .1 .4 E0/1 .13.0/24 402 .1 .INE.1.CCIE Service Provider Lab Workbook Volume I Version 1.2 204 Frame Relay 150.1 R1 Fa0/0 .0/24 S0/1 .3 .7 SW1 SW2 E0/1 E0/0 R3 .2 OSPF Area 0 R2 S0/0. 8.255.1.CCIE Service Provider Lab Workbook Volume I Version 1.0.1.0 tag-switching ip ! router ospf 1 network 150.4. and R4 Configure MPLS on the interfaces between R1.5.INE.1.1 255.0 Directions • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1. R3.13.3/32 on R3 and advertise it into OSPF Create the Loopback 150.1. and R4 Create the Loopback 150.0.255.1. R2.0. R2.4/32 on R4 and advertise it into OSPF Configure default static routes on R5 and R6 pointing to R4 Configure default static routes on SW1 and SW2 pointing to R3 Create the Loopback 10.255.12.1.0.7/24 on SW1 Create the Loopback 10.1 255.7.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert www.12.0 tag-switching ip ! interface Serial0/1 ip address 150. R3.2 255.8/24 on SW2 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF Configure static routes on R3 to reach the networks of SW1 and SW2 Configure static routes on R4 to reach the networks of R5 and R6 Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.12.6.1 0.6/24 on R6 Create the Loopback 10.3.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.com .1 0.1.255.255.5/24 on R5 Create the Loopback 10.1.0 area 0 network 150.1.1.255.11 - .1.13. 0 interface Serial0/0.255.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.24.3 255.255.255.12.3 0.3 255.0 area 0 network 150.INE.4 update-source Loopback0 neighbor 150.0.com .1.4 remote-as 1 neighbor 150.1.0.1.1.255.4 activate neighbor 150.1.0 ! interface Serial1/2 ip address 150.4.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.12 - .37.1.1 point-to-point ip address 150.3 255.CCIE Service Provider Lab Workbook Volume I Version 1.4 next-hop-self ! address-family vpnv4 neighbor 150.0 area 0 network 150.1.1.38.4.0.4.1.1.24.1.255.13.1.2 0.0.3.4.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute connected redistribute static exit-address-family ! Copyright © 2010 Internetwork Expert www.0.3 255.0.13.255.1.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.255.3.3 0.0.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.255.0 area 0 ! router bgp 1 neighbor 150.255.255.2 0.1.2 255.0.4. 255.1.3 remote-as 1 neighbor 150.3 update-source Loopback0 neighbor 150.4 255.0 255.0.1 point-to-point ip address 150.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.255.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.255.37.7.4.0 ! router ospf 1 network 150.255.4 255.INE.0 10.3 activate neighbor 150.255.1.4 255.255.0 255.1.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.3.255.1.3 send-community both exit-address-family ! Copyright © 2010 Internetwork Expert www.3.1.45.0 area 0 ! router bgp 1 neighbor 150.4.1.3.255.4 0.3 next-hop-self ! address-family vpnv4 neighbor 150.46.7 ip route vrf R6-SW2 10.com .13 - .0.255.255.1.24.0 10.24.1.4 0.255.0.3.1.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 area 0 network 150.255.38.8 R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.1.3.4 255.1.0 address-family ipv4 vrf R5-SW1 redistribute connected redistribute static exit-address-family ! ip route vrf R5-SW1 10.1.1.8. 1.5 255.1.0 ! interface GigabitEthernet0/0 ip address 10.1.14 - .46.1.0 10.0 10.0.6 R5# ip cef ! interface Loopback0 ip address 10.255.0 ! ip route 0.1.0 0.7 255.255.0 ! interface Ethernet0/1 ip address 10.0 address-family ipv4 vrf R6-SW2 redistribute connected redistribute static exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute connected redistribute static exit-address-family ! ip route vrf R5-SW1 10.45.255.0 10.5.4 R6# ip cef ! interface Loopback0 ip address 10.0.7 255.0.0.255.255.255.4 SW1# interface Loopback0 ip address 10.255.255.0.6.0 ! ip route 0.255.1.0.0.6.CCIE Service Provider Lab Workbook Volume I Version 1.0 10.1.0.1.3 Copyright © 2010 Internetwork Expert www.5.INE.0.0 255.255.255.255.1.1.0.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! ip route 0.0 10.0 0.com .5 ip route vrf R6-SW2 10.6 255.46.45.45.37.1.37.1.255.46.255.0 255.1.6 255.0.5 255.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.0 0.255.255.0.7. 7.38. Serial0/1 connected.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 is directly connected. 00:13:36.1.7 B 10.2. Serial1/2 C 150.0.1.0.0 SW2# interface Loopback0 ip address 10.4. 2 masks O 150.12.8.1. 2 masks O O O C C 150.5.0.12. 00:05:28 B 10.0 0.37.1.255.1.0 10.12.1.12.24.4/32 [110/847] via 150.1.255.45. 00:11:38. 00:11:38.1.12.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! ip route 0.1.1.INE.255.1.0.1.0/24 is subnetted. FastEthernet0/0 150. FastEthernet0/0 R2#show ip route <output omitted> 150.3/32 [110/66] via 150. 00:13:36.15 - .37.24.4. 00:13:57. Ethernet0/0 Copyright © 2010 Internetwork Expert www.4.0/24 [110/782] via 150. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.1.1.4.3. Serial1/2 Routing Table: R5-SW1 <output omitted> 10.0 [200/0] via 150.13. FastEthernet0/0 150.1. 00:11:38.12. FastEthernet0/0 150. 00:05:28 C 10.1. Serial1/2 O 150.0.0. 2 masks C 150.0 [1/0] via 10.4.1. Serial0/1 connected.24.3.24.8 255.0. 5 subnets. 00:13:57.3.13.1.1.1.4/32 [110/66] via 150.1.1.com .255.0/24 [110/65] via 150.1.0/24 [110/846] via 150.1.0 ! interface FastEthernet0/3 no switchport ip address 10.4. 5 subnets.13.8 255.1.3/32 [110/65] via 150.0/24 [110/65] via 150.13.1.1.0/24 is directly connected. Serial0/0.1. Serial1/2 O 150.0/24 is directly 150. 4 subnets S 10.1.0/16 is variably subnetted.1. 00:13:57.1.1.13.1 O 150.1.0/16 is variably subnetted. 00:13:36. FastEthernet0/0 O C 150.4.0 is directly connected.4/32 [110/65] via 150.2.3 Verification R1#show ip route <output omitted> 150.13.0.1.13.1.3.1.38.0/24 is directly 150.1.1.1.1.1 O 150. 5 subnets. Serial0/0.0/24 is directly connected.3/32 is directly connected.0 [200/0] via 150. Loopback0 C 150.0.0/16 is variably subnetted.1.12.1.4. 1.0.1.0/24 [110/129] via 150.0 [200/0] via 150.INE.13.1.0.46.4.1.2.37.1. Serial0/0.1 O 150.0 [1/0] via 10. 5 subnets.1.46.0/24 is subnetted. 00:06:07 R5#show ip route <output omitted> Gateway of last resort is 10.3.0. 00:06:07 S 10.4 R6#show ip route <output omitted> Gateway of last resort is 10.24.2. 00:06:21 Routing Table: R6-SW2 <output omitted> 10.0/24 is subnetted.4 to network 0. 00:05:28 C 10. 00:06:21 S 10.0/0 [1/0] via 10.0 is directly connected. Loopback0 10.1.1 C 150. Loopback0 O 150.8 B 10. Ethernet0/1 0.1.0.4/32 is directly connected.0.24. 00:11:57.0.0.3.0/24 is directly connected.3.1.0/0 [1/0] via 10.3. Loopback0 10.16 - .46.3.0 is directly connected.7.12.0 Routing Table: R6-SW2 <output omitted> 10.0 C C S* 10.1.38. Ethernet0/0 B 10.0.1.45. 4 subnets B 10.0 is directly connected.3/32 [110/130] via 150.1. Serial0/0.2.8. 4 subnets S 10.3.24.6.45.24. 00:11:57.1.1.0.46.0.6. 2 subnets 10.3.1 O 150.5 C 10.46.1.com .6 C 10.0.0.46.1.1.0 is directly connected.4 to network 0.0 is directly connected.0/24 is subnetted. 00:11:57.1.0. Ethernet0/1 B 10.45.0.CCIE Service Provider Lab Workbook Volume I Version 1.0 [200/0] via 150.4 Copyright © 2010 Internetwork Expert www.1.0/16 is variably subnetted.0.4. 4 subnets B 10.0 [200/0] via 150. 2 masks C 150.1.0.6.1.3.0 [200/0] via 150.45.1.1. Ethernet0/1 R4#show ip route vrf * <output omitted> 150.1.1. 00:05:28 B 10.0/24 is subnetted.0 [200/0] via 150. GigabitEthernet0/0 0.1.1.1 Routing Table: R5-SW1 <output omitted> 10.1.1.1.0 [1/0] via 10.1.8.1.3. 2 subnets 10.0/24 [110/65] via 150.1.45.0 C C S* 10.0 [200/0] via 150.0.4.0/24 is subnetted.1.38.38. Serial0/0. Serial0/0.0 is directly connected.4.1.5.0.1.0.0 [1/0] via 10.1.5.4.0 is directly connected.1. 0/24 0.8.6.0/24 150.46.1. local router ID is 150.0.0/24 0.45. ? .0 0 32768 ? *>i10.3 0 100 0 ? *> 10.0/24 0.internal. h history. h history.3.1.0.1.0/24 150.0 C C S* 10. e . FastEthernet0/3 0.1.1.1.1.0.37.1.4. * valid.1.3.4 to network 0.38.INE. S Stale Origin codes: i .0.6.7 0 32768 ? *> 10.1.8.4 0 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 142.37.4 0 100 0 ? *> 10. e .3.1.1.0 C C S* 10.3.0.0/24 150. > best.0. d damped.IGP.4 SW2#show ip route <output omitted> Gateway of last resort is 10.17 - .7.0/24 10. i .7.1.46. Loopback0 10.4.1. GigabitEthernet0/0 0.37.1.46.0/0 [1/0] via 10.1. > best.0/24 10.1.38.0/24 10.0 is directly connected.3 0 100 0 ? *>i10.5 0 32768 ? *>i10.0.3 R3#show ip bgp vpnv4 all BGP table version is 137.0.3 Status codes: s suppressed. Loopback0 10.1.38.4 0 100 0 ? *> 10.0/24 150.45.0.EGP.0 is directly connected. i .0 is directly connected.0.0.0/24 150.0.1.0 0 32768 ? Copyright © 2010 Internetwork Expert www.46.4.1.5.3 to network 0. d damped.0/24 0.1.0.5.46.0.1.0.0.internal.3 0 100 0 ? *>i10.1.0/24 150. ? .IGP.0/24 is subnetted.1.38.4.0.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.1. * valid.1.EGP.4.com .incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10.3 0 100 0 ? *> 10.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10.8 0 32768 ? *> 10.0/24 is subnetted.0/24 10. local router ID is 150.0.1.1.0/24 150.0/24 150.45.1.46.1.0 SW1#show ip route <output omitted> Gateway of last resort is 10. 2 subnets 10.1. S Stale Origin codes: i . r RIB-failure.6.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.1.0.38.1.0.0/0 [1/0] via 10. r RIB-failure.1.CCIE Service Provider Lab Workbook Volume I Version 1.8.3.4 Status codes: s suppressed.6 0 32768 ? *>i10.38. 2 subnets 10.1.1.1.0 0 32768 ? *>i10.0 is directly connected.1. INE.6 G0/0 Copyright © 2010 Internetwork Expert R6 www.0/24 VLAN 46 RIPv2 10.CCIE Service Provider Lab Workbook Volume I Version 1.12.1 150.2 OSPF Area 0 R2 S0/0.3 .0/24 S0/1 .13.4 .4 S0/0. Fa0/3 Fa0/3 E0/1 E0/0 R3 .4 E0/1 R4 BGP AS 1 E0/0 E0/1 10.1.38.8 BGP AS 1 10.1.45.1.0/24 VLAN 12 Fa0/0 .24.1.0/24 .3 S1/2 150.1.3 10.2 204 Frame Relay 150.0/24 .37.0/24 VLAN 45 402 RIPv2 .1 R1 Fa0/0 .com .0 MPLS VPNs with RIPv2 Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using RIPv2 as the PE-CE routing protocol.7 SW1 RIPv2 .1 .5 R5 .1.18 - .46.1.0/24 RIPv2 SW2 .1 . 12.4/32 on R4 and advertise it into OSPF Configure RIPv2 on the Ethernet interfaces of R5. SW1.255.255.7.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert www.com .255. R3.255.1.0 tag-switching ip ! interface Serial0/1 ip address 150. and R4 Configure MPLS on the interfaces between R1.1 255. R6.6/24 on R6 and advertise it into RIPv2 Create the Loopback 10.1.1.1.1 255.13.5/24 on R5 and advertise it into RIPv2 Create the Loopback 10.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10.0.CCIE Service Provider Lab Workbook Volume I Version 1.0.0.0.0 area 0 network 150.4.255.1. R2.1.19 - .0 tag-switching ip ! router ospf 1 log-adjacency-changes network 150.1.1. and R4 Create the Loopback 150.13. R2.255.5.3/32 on R3 and advertise it into OSPF Create the Loopback 150. R3.1 0.1.2 255.3. and SW2 Create the Loopback 10.12.0 Directions • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.8/24 on SW2 and advertise it into RIPv2 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R4 & R5 R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW2 and R4 & R6 Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.INE.1.1.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.6.1 0.8.12. 0.0 area 0 network 150.3.1.3 255.2 0.38.0.1.3 0.1.1.0 area 0 ! router rip ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 2 network 10.0 ! interface Serial1/2 ip address 150.3 255.0.3 0.12.13.2 0.1 point-to-point ip address 150.0 area 0 network 150.CCIE Service Provider Lab Workbook Volume I Version 1.24.255.0.0.255.1.37.1.255.0.0.0.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.3.3 255.1.com .255.0.255.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 2 network 10.1.0.255.24.255.255.255.3 255.20 - .0 no auto-summary version 2 exit-address-family Copyright © 2010 Internetwork Expert www.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.2 255.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.1.0 interface Serial0/0.255.0.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.13.0.INE. CCIE Service Provider Lab Workbook Volume I Version 1.0 ! router bgp 1 neighbor 150.1.4.4 remote-as 1 neighbor 150.1.4.4 update-source Loopback0 neighbor 150.1.4.4 next-hop-self ! address-family vpnv4 neighbor 150.1.4.4 activate neighbor 150.1.4.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute rip exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute rip exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.1.4.4 255.255.255.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.1.46.4 255.255.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.24.4 255.255.255.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.1.45.4 255.255.255.0 ! router ospf 1 log-adjacency-changes network 150.1.4.4 0.0.0.0 area 0 network 150.1.24.4 0.0.0.0 area 0 ! Copyright © 2010 Internetwork Expert www.INE.com - 21 - CCIE Service Provider Lab Workbook Volume I Version 1.0 router rip ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 2 network 10.0.0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 2 network 10.0.0.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.1.3.3 remote-as 1 neighbor 150.1.3.3 update-source Loopback0 neighbor 150.1.3.3 next-hop-self ! address-family vpnv4 neighbor 150.1.3.3 activate neighbor 150.1.3.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute rip exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute rip exit-address-family R5# interface Loopback0 ip address 10.1.5.5 255.255.255.0 ! interface Ethernet0/1 ip address 10.1.45.5 255.255.255.0 ! router rip version 2 network 10.0.0.0 no auto-summary R6# interface Loopback0 ip address 10.1.6.6 255.255.255.0 ! interface GigabitEthernet0/0 ip address 10.1.46.6 255.255.255.0 ! router rip version 2 network 10.0.0.0 no auto-summary Copyright © 2010 Internetwork Expert www.INE.com - 22 - CCIE Service Provider Lab Workbook Volume I Version 1.0 SW1# ip routing ! interface Loopback0 ip address 10.1.7.7 255.255.255.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.1.37.7 255.255.255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router rip version 2 network 10.0.0.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.1.8.8 255.255.255.0 ! interface FastEthernet0/3 no switchport ip address 10.1.38.8 255.255.255.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router rip version 2 network 10.0.0.0 no auto-summary Copyright © 2010 Internetwork Expert www.INE.com - 23 - CCIE Service Provider Lab Workbook Volume I Version 1.0 Verification R1#show ip route <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O O O C C 150.1.24.0/24 [110/65] via 150.1.12.2, 02:27:34, FastEthernet0/0 150.1.4.4/32 [110/66] via 150.1.3.3/32 [110/65] via 150.1.13.0/24 is directly 150.1.12.0/24 is directly 150.1.12.2, 02:27:34, FastEthernet0/0 150.1.13.3, 02:27:34, Serial0/1 connected, Serial0/1 connected, FastEthernet0/0 R2#show ip route <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks C 150.1.24.0/24 is directly connected, Serial0/0.1 O 150.1.4.4/32 [110/65] via 150.1.24.4, 02:28:04, Serial0/0.1 O 150.1.3.3/32 [110/66] via 150.1.12.1, 02:28:04, FastEthernet0/0 O C 150.1.13.0/24 [110/65] via 150.1.12.1, 02:28:04, FastEthernet0/0 150.1.12.0/24 is directly connected, FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O 150.1.24.0/24 [110/846] via 150.1.13.1, 01:19:54, Serial1/2 O 150.1.4.4/32 [110/847] via 150.1.13.1, 01:19:54, Serial1/2 C 150.1.3.3/32 is directly connected, Loopback0 C 150.1.13.0/24 is directly connected, Serial1/2 O 150.1.12.0/24 [110/782] via 150.1.13.1, 01:19:54, Serial1/2 Routing Table: R5-SW1 <output omitted> 10.0.0.0/24 is subnetted, 4 subnets R 10.1.7.0 [120/1] via 10.1.37.7, 00:00:03, Ethernet0/0 B 10.1.5.0 [200/1] via 150.1.4.4, 01:34:21 B 10.1.45.0 [200/0] via 150.1.4.4, 01:34:21 C 10.1.37.0 is directly connected, Ethernet0/0 Routing Table: R6-SW2 <output omitted> 10.0.0.0/24 is subnetted, 4 subnets R 10.1.8.0 [120/1] via 10.1.38.8, 00:00:25, Ethernet0/1 B 10.1.6.0 [200/1] via 150.1.4.4, 01:34:07 B 10.1.46.0 [200/0] via 150.1.4.4, 01:34:07 C 10.1.38.0 is directly connected, Ethernet0/1 Copyright © 2010 Internetwork Expert www.INE.com - 24 - CCIE Service Provider Lab Workbook Volume I Version 1.0 R4#show ip route vrf * <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks C 150.1.24.0/24 is directly connected, Serial0/0.1 C 150.1.4.4/32 is directly connected, Loopback0 O 150.1.3.3/32 [110/130] via 150.1.24.2, 02:28:41, Serial0/0.1 O 150.1.13.0/24 [110/129] via 150.1.24.2, 02:28:41, Serial0/0.1 O 150.1.12.0/24 [110/65] via 150.1.24.2, 02:28:41, Serial0/0.1 Routing Table: R5-SW1 <output omitted> 10.0.0.0/24 is subnetted, 4 subnets B 10.1.7.0 [200/1] via 150.1.3.3, 01:35:32 R 10.1.5.0 [120/1] via 10.1.45.5, 00:00:12, Ethernet0/1 C 10.1.45.0 is directly connected, Ethernet0/1 B 10.1.37.0 [200/0] via 150.1.3.3, 01:35:32 Routing Table: R6-SW2 <output omitted> 10.0.0.0/24 is subnetted, 4 subnets B 10.1.8.0 [200/1] via 150.1.3.3, 00:04:46 R 10.1.6.0 [120/1] via 10.1.46.6, 00:00:21, Ethernet0/0 C 10.1.46.0 is directly connected, Ethernet0/0 B 10.1.38.0 [200/0] via 150.1.3.3, 00:04:46 R5#show ip route <output omitted> 10.0.0.0/24 is subnetted, 4 subnets R 10.1.7.0 [120/2] via 10.1.45.4, 00:00:08, Ethernet0/1 C 10.1.5.0 is directly connected, Loopback0 C 10.1.45.0 is directly connected, Ethernet0/1 R 10.1.37.0 [120/2] via 10.1.45.4, 00:00:08, Ethernet0/1 R6#show ip route <output omitted> 10.0.0.0/24 is subnetted, 4 subnets R 10.1.8.0 [120/2] via 10.1.46.4, 00:00:08, GigabitEthernet0/0 C 10.1.6.0 is directly connected, Loopback0 C 10.1.46.0 is directly connected, GigabitEthernet0/0 R 10.1.38.0 [120/2] via 10.1.46.4, 00:00:08, GigabitEthernet0/0 SW1#show ip route <output omitted> 10.0.0.0/24 is subnetted, 4 subnets C 10.1.7.0 is directly connected, Loopback0 R 10.1.5.0 [120/2] via 10.1.37.3, 00:00:01, FastEthernet0/3 R 10.1.45.0 [120/2] via 10.1.37.3, 00:00:01, FastEthernet0/3 C 10.1.37.0 is directly connected, FastEthernet0/3 SW2#show ip route <output omitted> 10.0.0.0/24 is subnetted, 4 subnets C 10.1.8.0 is directly connected, Loopback0 R 10.1.6.0 [120/2] via 10.1.38.3, 00:00:13, FastEthernet0/3 R 10.1.46.0 [120/2] via 10.1.38.3, 00:00:13, FastEthernet0/3 C 10.1.38.0 is directly connected, FastEthernet0/3 Copyright © 2010 Internetwork Expert www.INE.com - 25 - CCIE Service Provider Lab Workbook Volume I Version 1.0 R3#show ip bgp vpnv4 all BGP table version is 17, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.1.5.0/24 150.1.4.4 1 100 0 ? *> 10.1.7.0/24 10.1.37.7 1 32768 ? *> 10.1.37.0/24 0.0.0.0 0 32768 ? *>i10.1.45.0/24 150.1.4.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.1.6.0/24 150.1.4.4 1 100 0 ? *> 10.1.8.0/24 10.1.38.8 1 32768 ? *> 10.1.38.0/24 0.0.0.0 0 32768 ? *>i10.1.46.0/24 150.1.4.4 0 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 17, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10.1.5.0/24 10.1.45.5 1 32768 ? *>i10.1.7.0/24 150.1.3.3 1 100 0 ? *>i10.1.37.0/24 150.1.3.3 0 100 0 ? *> 10.1.45.0/24 0.0.0.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10.1.6.0/24 10.1.46.6 1 32768 ? *>i10.1.8.0/24 150.1.3.3 1 100 0 ? *>i10.1.38.0/24 150.1.3.3 0 100 0 ? *> 10.1.46.0/24 0.0.0.0 0 32768 ? Copyright © 2010 Internetwork Expert www.INE.com - 26 - CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.0 www.INE.com - 27 - CCIE Service Provider Lab Workbook Volume I Version 1.0 MPLS VPNs with OSPF Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using OSPF as the PE-CE routing protocol. Copyright © 2010 Internetwork Expert www.INE.com - 28 - 1.6/24 on R6 and advertise it into OSPF Create the Loopback 10.1. and R4 Configure MPLS on the interfaces between R1.1.13.0 tag-switching ip ! router ospf 1 network 150.1.4.8.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay Copyright © 2010 Internetwork Expert www.5.3/32 on R3 and advertise it into OSPF Create the Loopback 150. R3.0.1 0.1.com . R2.6.0.2 255.5/24 on R5 and advertise it into OSPF Create the Loopback 10.0 Directions • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.255.12. and R4 Create the Loopback 150.1.7.1.1 0.12.255.7/24 on SW1 and advertise it into OSPF Create the Loopback 10.255. SW1.1.0.255.255.1.12. R6.INE. and SW2 Create the Loopback 10.0.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.1.1 255.3.CCIE Service Provider Lab Workbook Volume I Version 1.0 area 0 network 150. R3.29 - .8/24 on SW2 and advertise it into OSPF R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF Run OSPF as the PE-CE protocol between R3 & SW1 using process-id 57 Run OSPF as the PE-CE protocol between R3 & SW2 using process-id 68 Run OSPF as the PE-CE protocol between R4 & R5 using process-id 57 Run OSPF as the PE-CE protocol between R4 & R6 using process-id 68 Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.0 tag-switching ip ! interface Serial0/1 ip address 150.1.1 255.4/32 on R4 and advertise it into OSPF Enable OSPF area 0 on the Ethernet interfaces of R5.255. R2.13. 0 area 0 ! router ospf 1 network 150.2 255.37.13.0 area 0 network 150.0.1.0 area 0 ! router bgp 1 neighbor 150.3 255.0.1.3 255.255.37.0.1.24.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.0 tag-switching ip clockrate 64000 ! router ospf 68 vrf R6-SW2 redistribute bgp 1 subnets network 10.0 area 0 network 150.12.4 next-hop-self ! Copyright © 2010 Internetwork Expert www.1.3 0.255.255.3 255.1.255.255.38.com .1 point-to-point ip address 150.2 0.2 0.4.3 0.0.0.30 - .0.0.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.3 255.0 ! interface Serial0/0.24.1.CCIE Service Provider Lab Workbook Volume I Version 1.4.13.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.3.255.0.1.255.255.4.1.1.4 update-source Loopback0 neighbor 150.0 area 0 ! router ospf 57 vrf R5-SW1 redistribute bgp 1 subnets network 10.255.3 0.1.0.4 remote-as 1 neighbor 150.1.1.INE.0.0 ! interface Serial1/2 ip address 150.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.3.3 0.255.1.1.38.0.0. CCIE Service Provider Lab Workbook Volume I Version 1.0 address-family vpnv4 neighbor 150.1.4.4 activate neighbor 150.1.4.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute ospf 68 vrf R6-SW2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute ospf 57 vrf R5-SW1 exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.1.4.4 255.255.255.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.1.46.4 255.255.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.24.4 255.255.255.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.1.45.4 255.255.255.0 ! router ospf 57 vrf R5-SW1 redistribute bgp 1 subnets network 10.1.45.4 0.0.0.0 area 0 ! router ospf 68 vrf R6-SW2 redistribute bgp 1 subnets network 10.1.46.4 0.0.0.0 area 0 ! router ospf 1 network 150.1.4.4 0.0.0.0 area 0 network 150.1.24.4 0.0.0.0 area 0 Copyright © 2010 Internetwork Expert www.INE.com - 31 - CCIE Service Provider Lab Workbook Volume I Version 1.0 ! router bgp 1 neighbor 150.1.3.3 remote-as 1 neighbor 150.1.3.3 update-source Loopback0 neighbor 150.1.3.3 next-hop-self ! address-family vpnv4 neighbor 150.1.3.3 activate neighbor 150.1.3.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute ospf 68 vrf R6-SW2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute ospf 57 vrf R5-SW1 exit-address-family R5# ip cef ! interface Loopback0 ip address 10.1.5.5 255.255.255.0 ! interface Ethernet0/1 ip address 10.1.45.5 255.255.255.0 ! router ospf 1 network 10.1.5.5 0.0.0.0 area 0 network 10.1.45.5 0.0.0.0 area 0 R6# ip cef ! interface Loopback0 ip address 10.1.6.6 255.255.255.0 ! interface GigabitEthernet0/0 ip address 10.1.46.6 255.255.255.0 ! router ospf 1 network 10.1.6.6 0.0.0.0 area 0 network 10.1.46.6 0.0.0.0 area 0 SW1# interface Loopback0 ip address 10.1.7.7 255.255.255.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport Copyright © 2010 Internetwork Expert www.INE.com - 32 - CCIE Service Provider Lab Workbook Volume I Version 1.0 ip address 10.1.37.7 255.255.255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router ospf 1 network 10.1.7.7 0.0.0.0 area 0 network 10.1.37.7 0.0.0.0 area 0 SW2# interface Loopback0 ip address 10.1.8.8 255.255.255.0 ! interface FastEthernet0/3 no switchport ip address 10.1.38.8 255.255.255.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router ospf 1 network 10.1.8.8 0.0.0.0 area 0 network 10.1.38.8 0.0.0.0 area 0 Verification R1#show ip route <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O O O C C 150.1.24.0/24 [110/65] via 150.1.12.2, 00:13:36, FastEthernet0/0 150.1.4.4/32 [110/66] via 150.1.3.3/32 [110/65] via 150.1.13.0/24 is directly 150.1.12.0/24 is directly 150.1.12.2, 00:13:36, FastEthernet0/0 150.1.13.3, 00:13:36, Serial0/1 connected, Serial0/1 connected, FastEthernet0/0 R2#show ip route <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks C 150.1.24.0/24 is directly connected, Serial0/0.1 O 150.1.4.4/32 [110/65] via 150.1.24.4, 00:13:57, Serial0/0.1 O 150.1.3.3/32 [110/66] via 150.1.12.1, 00:13:57, FastEthernet0/0 O C 150.1.13.0/24 [110/65] via 150.1.12.1, 00:13:57, FastEthernet0/0 150.1.12.0/24 is directly connected, FastEthernet0/0 Copyright © 2010 Internetwork Expert www.INE.com - 33 - CCIE Service Provider Lab Workbook Volume I Version 1.0 R3#show ip route vrf * <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks O 150.1.24.0/24 [110/846] via 150.1.13.1, 00:21:53, Serial1/2 O 150.1.4.4/32 [110/847] via 150.1.13.1, 00:21:53, Serial1/2 C 150.1.3.3/32 is directly connected, Loopback0 C 150.1.13.0/24 is directly connected, Serial1/2 O 150.1.12.0/24 [110/782] via 150.1.13.1, 00:21:53, Serial1/2 Routing Table: R5-SW1 <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.7.7/32 [110/11] via 10.1.37.7, 00:11:28, Ethernet0/0 B 10.1.5.5/32 [200/11] via 150.1.4.4, 00:09:44 B 10.1.45.0/24 [200/0] via 150.1.4.4, 00:10:29 C 10.1.37.0/24 is directly connected, Ethernet0/0 Routing Table: R6-SW2 <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O 10.1.8.8/32 [110/11] via 10.1.38.8, 00:11:28, Ethernet0/1 B 10.1.6.6/32 [200/11] via 150.1.4.4, 00:09:29 B 10.1.46.0/24 [200/0] via 150.1.4.4, 00:10:33 C 10.1.38.0/24 is directly connected, Ethernet0/1 R4#show ip route vrf * <output omitted> 150.1.0.0/16 is variably subnetted, 5 subnets, 2 masks C 150.1.24.0/24 is directly connected, Serial0/0.1 C 150.1.4.4/32 is directly connected, Loopback0 O 150.1.3.3/32 [110/130] via 150.1.24.2, 00:22:28, Serial0/0.1 O 150.1.13.0/24 [110/129] via 150.1.24.2, 00:22:28, Serial0/0.1 O 150.1.12.0/24 [110/65] via 150.1.24.2, 00:22:28, Serial0/0.1 Routing Table: R5-SW1 <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks B 10.1.7.7/32 [200/11] via 150.1.3.3, 00:11:13 O 10.1.5.5/32 [110/11] via 10.1.45.5, 00:10:28, Ethernet0/1 C 10.1.45.0/24 is directly connected, Ethernet0/1 B 10.1.37.0/24 [200/0] via 150.1.3.3, 00:11:13 Routing Table: R6-SW2 <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks B 10.1.8.8/32 [200/11] via 150.1.3.3, 00:11:13 O 10.1.6.6/32 [110/11] via 10.1.46.6, 00:10:22, Ethernet0/0 C 10.1.46.0/24 is directly connected, Ethernet0/0 B 10.1.38.0/24 [200/0] via 150.1.3.3, 00:11:13 R5#show ip route <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.1.7.7/32 [110/21] via 10.1.45.4, 00:10:44, Ethernet0/1 C 10.1.5.0/24 is directly connected, Loopback0 C 10.1.45.0/24 is directly connected, Ethernet0/1 Copyright © 2010 Internetwork Expert www.INE.com - 34 - CCIE Service Provider Lab Workbook Volume I O IA Version 1.0 10.1.37.0/24 [110/11] via 10.1.45.4, 00:10:44, Ethernet0/1 R6#show ip route <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA C C O IA 10.1.8.8/32 [110/12] via 10.1.46.4, 00:12:05, GigabitEthernet0/0 10.1.6.0/24 is directly connected, Loopback0 10.1.46.0/24 is directly connected, GigabitEthernet0/0 10.1.38.0/24 [110/2] via 10.1.46.4, 00:12:05, GigabitEthernet0/0 SW1#show ip route <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.1.5.5/32 [110/21] via 10.1.37.3, 00:13:42, FastEthernet0/3 C 10.1.7.0/24 is directly connected, Loopback0 O IA 10.1.45.0/24 [110/11] via 10.1.37.3, 00:14:31, FastEthernet0/3 C 10.1.37.0/24 is directly connected, FastEthernet0/3 SW1#show ip route <output omitted> 10.0.0.0/8 is variably subnetted, 4 subnets, 2 masks O IA 10.1.5.5/32 [110/21] via 10.1.37.3, 00:13:42, FastEthernet0/3 C 10.1.7.0/24 is directly connected, Loopback0 O IA 10.1.45.0/24 [110/11] via 10.1.37.3, 00:14:31, FastEthernet0/3 C 10.1.37.0/24 is directly connected, FastEthernet0/3 R3#show ip bgp vpnv4 all BGP table version is 97, local router ID is 150.1.3.3 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.1.5.5/32 150.1.4.4 11 100 0 ? *> 10.1.7.7/32 10.1.37.7 11 32768 ? *> 10.1.37.0/24 0.0.0.0 0 32768 ? *>i10.1.45.0/24 150.1.4.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.1.6.6/32 150.1.4.4 11 100 0 ? *> 10.1.8.8/32 10.1.38.8 11 32768 ? *> 10.1.38.0/24 0.0.0.0 0 32768 ? *>i10.1.46.0/24 150.1.4.4 0 100 0 ? Copyright © 2010 Internetwork Expert www.INE.com - 35 - CCIE Service Provider Lab Workbook Volume I Version 1.0 R4#show ip bgp vpnv4 all BGP table version is 97, local router ID is 150.1.4.4 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal, r RIB-failure, S Stale Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10.1.5.5/32 10.1.45.5 11 32768 ? *>i10.1.7.7/32 150.1.3.3 11 100 0 ? *>i10.1.37.0/24 150.1.3.3 0 100 0 ? *> 10.1.45.0/24 0.0.0.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10.1.6.6/32 10.1.46.6 11 32768 ? *>i10.1.8.8/32 150.1.3.3 11 100 0 ? *>i10.1.38.0/24 150.1.3.3 0 100 0 ? *> 10.1.46.0/24 0.0.0.0 0 32768 ? Copyright © 2010 Internetwork Expert www.INE.com - 36 - CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.0 www.INE.com - 37 - CCIE Service Provider Lab Workbook Volume I Version 1.0 MPLS VPNs with EIGRP Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using EIGRP between the PE-CE. Copyright © 2010 Internetwork Expert www.INE.com - 38 - R3. R6.3.0.13.com .1 0.1.1.1. and SW2 per the diagram Create the Loopback 10.1.13.6/24 on R6 and advertise it into EIGRP Create the Loopback 10. SW1.255. R3.6.0 Directions • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.0.0 tag-switching ip ! interface Serial0/1 ip address 150.7.INE.1.1.255.8/24 on SW2 and advertise it into EIGRP R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF Run EIGRP as the PE-CE protocol between R3 & SW1 using AS 57 Run EIGRP as the PE-CE protocol between R3 & SW2 using AS 68 Run EIGRP as the PE-CE protocol between R4 & R5 using AS 57 Run EIGRP as the PE-CE protocol between R4 & R6 using AS 68 Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.1 255.1 0.255.255.3/32 on R3 and advertise it into OSPF Create the Loopback 150.2 255.0 tag-switching ip ! router ospf 1 network 150.39 - .4/32 on R4 and advertise it into OSPF Enable EIGRP on R5.255.0.5.8.0 area 0 network 150.0.12.12. and R4 Configure MPLS on the interfaces between R1.5/24 on R5 and advertise it into EIGRP Create the Loopback 10.1. R2.CCIE Service Provider Lab Workbook Volume I Version 1. R2.255.1.1.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert www.7/24 on SW1 and advertise it into EIGRP Create the Loopback 10.1 255.1.1.4.12. and R4 Create the Loopback 150. 1.1.1.0.INE.0 ! interface Serial1/2 ip address 150.3 255.0 tag-switching ip clockrate 64000 ! router eigrp 1 ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 1 1 1 1 1 network 10.1 point-to-point ip address 150.3 0.37.1.0.38.255.24.255.38.1.CCIE Service Provider Lab Workbook Volume I Version 1.com .255.0.1.0.0 area 0 network 150.3.0 no auto-summary autonomous-system 68 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 1 1 1 1 1 network 10.3 255.0 no auto-summary autonomous-system 57 exit-address-family ! Copyright © 2010 Internetwork Expert www.1.3 255.255.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.0.2 255.255.3 255.40 - .12.1.255.0 interface Serial0/0.1.255.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.37.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.0.2 0.24.2 0.13.3 0.0.255.255.255.0. 1.4 255.1.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.1 point-to-point ip address 150.1.3.1.INE.255.0 area 0 ! router bgp 1 neighbor 150.46.13.com .3 0.255.4 255.4.3 0.4 255.41 - .4.255.255.1.0 area 0 network 150.4.255.4.1.0.0.4 update-source Loopback0 neighbor 150.4 activate neighbor 150.1.4 remote-as 1 neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute eigrp 68 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute eigrp 57 exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.0 ! Copyright © 2010 Internetwork Expert www.24.255.45.4 next-hop-self ! address-family vpnv4 neighbor 150.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.4.4.4 255.255.0.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.1.1.0 router ospf 1 log-adjacency-changes network 150.0.1. 0.1.0.3.3 next-hop-self ! address-family vpnv4 neighbor 150.1.0.3.1.0 ! interface Ethernet0/1 ip address 10.1.37.5.1.0 no auto-summary autonomous-system 57 exit-address-family ! router ospf 1 log-adjacency-changes network 150.0.0 no auto-summary Copyright © 2010 Internetwork Expert www.3.0 no auto-summary autonomous-system 68 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 1 1 1 1 1 network 10.1.0 area 0 ! router bgp 1 neighbor 150.45.0 network 10.0 router eigrp 1 ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 1 1 1 1 1 network 10.0.3.3 0.0.1.3 activate neighbor 150.3.255.0.4.45.5 255.1.3 update-source Loopback0 neighbor 150.0.1.255.INE.42 - .4 0.0 ! router eigrp 57 network 10.CCIE Service Provider Lab Workbook Volume I Version 1.3 remote-as 1 neighbor 150.4 0.0.255.4 0.0.1.255.1.com .0.4 0.0.46.1.24.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute eigrp 68 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute eigrp 57 exit-address-family R5# ip cef ! interface Loopback0 ip address 10.0 area 0 network 150.5 255. 7.255.0 no auto-summary SW1# interface Loopback0 ip address 10.0.7 255.43 - .255.0.0.1.0 R6# ip cef ! interface Loopback0 ip address 10.46.255.0.6.255.0 no auto-summary SW2# interface Loopback0 ip address 10.8 255.255.7 255.com .255.0.255.0 ! interface GigabitEthernet0/0 ip address 10.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.8.6 255.255.1.0 ! interface FastEthernet0/3 no switchport ip address 10.255.1.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router eigrp 68 network 10.8 255.0 ! router eigrp 68 network 10.38.0.255.0 no auto-summary Copyright © 2010 Internetwork Expert www.37.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.INE.6 255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router eigrp 57 network 10.1.1.1. 24. 00:24:46.0.1.0.0/16 is variably subnetted.4.1.1.1.0/16 is variably subnetted.0. Serial0/0. 01:54:32.3.0.1.0/16 is variably subnetted.1.24.37.13.13.3.0/24 is directly 150.0/16 is variably subnetted.1.1.1.0/24 is directly connected.12.0 is directly connected.0 is directly connected. 2 masks O 150.1. 00:13:36. Serial1/2 O 150.7. FastEthernet0/0 150. Serial0/0. 4 subnets D 10.1.8.2.46.3/32 [110/66] via 150.CCIE Service Provider Lab Workbook Volume I Version 1. 00:16:18 B 10.1.0.1.1.12.1.13.1 C 150.4.1. 01:55:31.0 [200/409600] via 150.1. Serial0/1 connected.4.12.1. Serial0/0.4.3.4.4/32 [110/65] via 150.0/24 is subnetted.4.1. Serial0/0. 2 masks C 150. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.24.4.3/32 [110/130] via 150.1.0/24 is directly connected.1.1 Copyright © 2010 Internetwork Expert www. 00:13:36. Loopback0 O 150.1.1.1.4.0/24 [110/65] via 150.12.0/24 [110/65] via 150.8.1.12.0. Ethernet0/1 R4#show ip route vrf * <output omitted> 150.2. 00:16:18 C 10. 01:54:32.1.1 O 150. Loopback0 C 150.0/24 is directly connected.3.0 Verification R1#show ip route <output omitted> 150.1.3. 00:13:57. 01:55:31.0/24 is subnetted.44 - .0 [90/409600] via 10.4.1.0 [90/409600] via 10.38.1.4.1.12.0/24 [110/782] via 150. 5 subnets.1.13. 5 subnets. FastEthernet0/0 O C 150. Serial1/2 O 150. Serial1/2 Routing Table: R5-SW1 10. 00:23:51. 00:13:36.1.0/24 is directly 150.12.2. 2 masks O O O C C 150.1.1 O 150. 00:13:57. Ethernet0/0 Routing Table: R6-SW2 10.0.24. Ethernet0/1 B 10.1.0/24 [110/129] via 150.0/24 [110/846] via 150.1.2. Serial0/0. 5 subnets.com .1 O 150.1.1. 00:16:18 B 10.5.1.1. 5 subnets.0.1.24.1.1.1.1.1.24.1. 4 subnets D 10. Serial0/0.4/32 is directly connected.24.38.4/32 [110/847] via 150.0 [200/0] via 150.45.1. FastEthernet0/0 150. Serial0/1 connected.3/32 is directly connected. 01:54:32.1.13. Ethernet0/0 B 10.24.1.1.3/32 [110/65] via 150.1.0 [200/0] via 150.1.13.0/24 [110/65] via 150. 00:16:18 C 10.1.4/32 [110/66] via 150. 00:13:57.1.4.0/24 is directly connected.4.1. FastEthernet0/0 150.1 O 150. 01:55:31. FastEthernet0/0 R2#show ip route <output omitted> 150.2.13.37.12.0 [200/409600] via 150.6.7. 2 masks C 150. Serial1/2 C 150.INE.13.4. 0 [200/409600] via 150.45.1. Ethernet0/1 B 10.1. Ethernet0/0 B 10.0.1.0/24 is subnetted.1. 00:15:14.3.38.1. Ethernet0/1 R6#show ip route <output omitted> 10.0 is directly connected. Ethernet0/1 C 10.1. FastEthernet0/3 C 10.38.46.7. Loopback0 D 10.1.46. Loopback0 D 10.38.6. 00:15:55.0.1.0 is directly connected. Loopback0 10.0/24 is subnetted. 00:14:53 D 10.1.3.6. 4 subnets D C C D 10.0 is directly connected.3.0 is directly connected. GigabitEthernet0/0 10.1.4.46.1.1. Ethernet0/1 D 10. 4 subnets C 10.1.1. FastEthernet0/3 SW2#show ip route <output omitted> 10.3.4.1.0 Routing Table: R5-SW1 10.0 is directly connected.45.1.38. 4 subnets C 10.1.0 [90/307200] via 10. 00:15:14.0 [90/284160] via 10.1. GigabitEthernet0/0 10.5. 4 subnets B 10.8.0 [200/0] via 150. 4 subnets D 10. 00:14:53 R5#show ip route <output omitted> 10.46.37.1.3.0 [90/307200] via 10.3. FastEthernet0/3 D 10.46.37.1.3.0.5.46.0. GigabitEthernet0/0 SW1#show ip route <output omitted> 10.0 [90/409600] via 10. 00:15:55.1.37.1. 00:15:27.0 is directly connected.3.3.0.45.1.0 is directly connected.5.1.0/24 is subnetted. 00:16:26.37. 00:14:53 D 10.0.1.38.0.0.0 is directly connected. Ethernet0/1 C 10.45 - .6.5.1.37. 00:14:53 Routing Table: R6-SW2 10.45.1.0/24 is subnetted.0 [90/307200] via 10.6. 00:18:45.3. 00:15:27.7.1.0. FastEthernet0/3 C 10. FastEthernet0/3 D 10.1. 00:18:53.8.8.0 is directly connected.7.0/24 is subnetted.1.1. FastEthernet0/3 Copyright © 2010 Internetwork Expert www.1.4.1.0 [90/409600] via 10.1.0 [90/435200] via 10.4.0 [200/0] via 150.1.0 [90/435200] via 10.3.45.0 is directly connected.0/24 is subnetted.INE.0.0 [90/412160] via 10.0 [90/435200] via 10. 4 subnets B 10.CCIE Service Provider Lab Workbook Volume I Version 1. 00:16:26. Ethernet0/0 C 10.0 [200/409600] via 150.45.0.com .1. Loopback0 C 10.3.0.1.1. 0/24 150.1.3 409600 100 0 ? *>i10.EGP.37.0/24 10.1.1.0. e .1.1.EGP.4.0/24 10.0.internal. h history.5.3.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10.0.0 0 32768 ? *>i10.7 409600 32768 ? *> 10.IGP.4 409600 100 0 ? *> 10.46 - .0/24 150.0 R3#show ip bgp vpnv4 all BGP table version is 163.45.INE.1.3 409600 100 0 ? *>i10. d damped.1.1.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.6.0.3 0 100 0 ? *> 10. r RIB-failure.46.3. S Stale Origin codes: i .0/24 10.3 0 100 0 ? *> 10.1.IGP.1. S Stale Origin codes: i .0/24 0.46.0/24 150.0/24 150.0/24 0.3.0.8.1.1.4.1.37.6 409600 32768 ? *>i10. * valid.4. > best.0/24 150.internal.7.0/24 10.4.1.46.1.5.8. * valid.3. d damped.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.1.8 409600 32768 ? *> 10. h history. e .38.0/24 150.5 409600 32768 ? *>i10. local router ID is 150.0.1.1.3 Status codes: s suppressed.3.1.4.1.0.CCIE Service Provider Lab Workbook Volume I Version 1.0 0 32768 ? Copyright © 2010 Internetwork Expert www.37.45. ? .com . i .1.1. local router ID is 150.6.1.1.1.0 0 32768 ? *>i10.1.1.0/24 0.0.4 0 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 168.45.1.0/24 150. i .0/24 150.38.1.4 Status codes: s suppressed. r RIB-failure.1.38.0/24 0. ? . > best.4 409600 100 0 ? *> 10.7. 47 - .INE.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.0 www.com . 48 - .INE.0 MPLS VPNs with EBGP Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using EBGP between the PE-CE. Copyright © 2010 Internetwork Expert www.CCIE Service Provider Lab Workbook Volume I Version 1.com . 1.13.1. and R4 Create the Loopback 150.CCIE Service Provider Lab Workbook Volume I Version 1.INE.255.255.1 0.2 255.1.255.5/24 on R5 and advertise it into BGP Create the Loopback 10. R2. and SW2 per the diagram Create the Loopback 10.255. R3.13.0 area 0 network 150.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay Copyright © 2010 Internetwork Expert www.6.1.1.1.4. R6.1.7/24 on SW1 and advertise it into BGP Create the Loopback 10. SW1.0 tag-switching ip ! router ospf 1 log-adjacency-changes network 150.49 - .3/32 on R3 and advertise it into OSPF Create the Loopback 150.1. R3.12. and R4 Configure MPLS on the interfaces between R1.255.0.8.8/24 on SW2 and advertise it into BGP R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF R3 and SW1 should peer via EBGP R3 and SW2 should peer via EBGP R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF R4 and R5 should peer via EBGP R4 and R6 should peer via EBGP Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.7.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.5.1 255.0. R2.0 tag-switching ip ! interface Serial0/1 ip address 150.1.12.4/32 on R4 and advertise it into OSPF Configure BGP on R5.1.com .1 255.1 0.12.255.1.0.0.6/24 on R6 and advertise it into BGP Create the Loopback 10.0 Directionsaree • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.3. 0.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute connected neighbor 10.8 as-override exit-address-family ! Copyright © 2010 Internetwork Expert www.0.2 0.4.1.1.255.INE.CCIE Service Provider Lab Workbook Volume I Version 1.255.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.1.38.255.24.255.4.8 remote-as 200 neighbor 10.3 255.1.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.8 activate neighbor 10.12.1.255.1.0 tag-switching ip clockrate 64000 ! router bgp 1 neighbor 150.2 255.com .4.1.4.1.38.1.1 point-to-point ip address 150.255.24.38.3.4 activate neighbor 150.1.255.0.0 area 0 network 150.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.1.4 next-hop-self ! address-family vpnv4 neighbor 150.13.50 - .3 255.0.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.37.255.0 ! interface Serial1/2 ip address 150.1.1.38.4 update-source Loopback0 neighbor 150.4.2 0.1.4 remote-as 1 neighbor 150.255.3 255.0 ! interface Serial0/0.255.1.3 255. 4 255.4 255.255.1.46.37.24.3.0 ! router bgp 1 neighbor 150.1.7 remote-as 100 neighbor 10.0 address-family ipv4 vrf R5-SW1 redistribute connected neighbor 10.4.1.4 255.255.3 activate neighbor 150.255.1.255.6 as-override exit-address-family ! Copyright © 2010 Internetwork Expert www.3 remote-as 1 neighbor 150.6 activate neighbor 10.3.1.1.6 remote-as 200 neighbor 10.255.1.4 255.3.1.1.255.com .45.3.7 as-override exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.1.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.CCIE Service Provider Lab Workbook Volume I Version 1.3.46.46.3 next-hop-self ! address-family vpnv4 neighbor 150.37.3 update-source Loopback0 neighbor 150.1 point-to-point ip address 150.37.51 - .1.255.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.1.1.INE.255.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute connected neighbor 10.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.1.46.1.7 activate neighbor 10. com .255.255.46.45.1.1.1.5 as-override exit-address-family R5# interface Loopback0 ip address 10.255.0 mask 255.0 mask 255.0 mask 255.1.1.52 - .255.0 ! router bgp 100 network 10.6 255.0 neighbor 10.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.46.6 255.0 ! router bgp 200 network 10.255.7 255.1.0 address-family ipv4 vrf R5-SW1 redistribute connected neighbor 10.1.1.1.5 255.1.0 neighbor 10.37.1.45.1.6.255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router bgp 100 network 10.7.4 remote-as 1 SW1# ip routing ! interface Loopback0 ip address 10.CCIE Service Provider Lab Workbook Volume I Version 1.255.5.45.5 activate neighbor 10.0 neighbor 10.255.255.5.7.1.5 255.4 remote-as 1 R6# interface Loopback0 ip address 10.255.3 remote-as 1 SW2# ip routing Copyright © 2010 Internetwork Expert www.45.INE.5 remote-as 100 neighbor 10.7 255.255.0 ! interface Ethernet0/1 ip address 10.255.1.6.255.255.255.1.255.45.0 ! interface GigabitEthernet0/0 ip address 10.255.37.255. 4.1.12.0/24 is directly 150.4.1.13.0/24 is directly connected. 00:06:27 B 10. Loopback0 C 150.24. 2 masks O 150.0 [20/0] via 10. 02:27:34.13. FastEthernet0/0 150.8.1.1.1. 2 masks O O O C C 150.1.3.4/32 [110/65] via 150. FastEthernet0/0 R2#show ip route <output omitted> 150.4.1.1 O 150. 00:10:28 B 10.1.1.5.4/32 [110/66] via 150.1.12. 5 subnets.1.1. Serial0/1 connected. Serial0/1 connected. FastEthernet0/0 150.1.3/32 [110/65] via 150. 00:13:25.1. FastEthernet0/0 O C 150.3.0 [200/0] via 150.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router bgp 200 network 10. 00:13:25.13.2.0/24 is directly connected. Serial1/2 O 150.1.3 remote-as 1 Verification R1#show ip route <output omitted> 150. 02:28:04.8.255.13.1.3.0/16 is variably subnetted.1.1. Ethernet0/0 Copyright © 2010 Internetwork Expert www. 02:27:34.0.1.0/24 is directly connected.0/24 [110/65] via 150.1.255.1. 00:10:43 C 10. 02:28:04.INE.0/24 [110/846] via 150.3.1.37.1.0/24 [110/782] via 150.1.1.12.7.3/32 is directly connected. 2 masks C 150.1.0.1.1.7.1.CCIE Service Provider Lab Workbook Volume I Version 1.4.1. Serial1/2 Routing Table: R5-SW1 <output omitted> 10.1.24. 02:27:34.8 255.0/24 is directly 150.0/24 [110/65] via 150.53 - .12. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.4/32 [110/847] via 150.1.255.com .13. 02:28:04.4.255.38.1.12. 00:13:25.1.0/16 is variably subnetted.13.255.2.0.24.24.3/32 [110/66] via 150. Serial0/0. Serial1/2 C 150.1.13.1 O 150.0 neighbor 10.0 [200/0] via 150.45.0.1.0 ! interface Loopback0 ip address 10.0 is directly connected.4.1. Serial0/0. 5 subnets.1.0 mask 255.1. 4 subnets B 10.0.1.37.12.4.4.0 ! interface FastEthernet0/3 no switchport ip address 10.255.8 255. 5 subnets.1.38.12.0/16 is variably subnetted.1.0/24 is subnetted. FastEthernet0/0 150.1. Serial1/2 O 150. 0 Routing Table: R6-SW2 <output omitted> 10. 2 masks C 150.0.1. 4 subnets 10.46. 00:05:41 C 10.0.0 is directly connected.38. 00:06:30 Copyright © 2010 Internetwork Expert www.0.3.45.1. 4 subnets B 10.3/32 [110/130] via 150. 00:06:11 B 10.0.4.37.6. Serial0/0.0.2.1.1.0 [200/0] via 150.0. Ethernet0/1 B 10. 00:05:13 B 10. 4 subnets B 10.0/24 is subnetted.0/24 is directly connected.24. GigabitEthernet0/0 B 10.1.45.1 Routing Table: R5-SW1 <output omitted> 10.4.CCIE Service Provider Lab Workbook Volume I Version 1.38.1.1 O 150.3. Serial0/0.1.com .0.0 [20/0] via 10.1.0 [20/0] via 10.4/32 is directly connected.0 [200/0] via 150.1. 00:08:26 R5#show ip route <output omitted> 10. Loopback0 C 10.1.45. 00:05:25 C 10.45. 00:06:30 C 10.1. 5 subnets.6.4.1. 4 subnets B 10.0 is directly connected. 4 subnets B 10.4.1. Ethernet0/1 B 10.6.1.1.1.0 [20/0] via 10.1.1.1. 00:05:57 C 10.0/24 is subnetted. 00:13:58.3.5.1.46.0.5.0 is directly connected.4.0 [20/0] via 10.1.1. Ethernet0/0 B 10. Loopback0 C 10.1.0/24 is subnetted.0 [20/0] via 10.54 - .13.0.0 is directly connected.0/24 [110/65] via 150.7.1.1.3.8.7.12.3.0 [200/0] via 150.37. 00:08:41 Routing Table: R6-SW2 <output omitted> 10.0 [200/0] via 150. Serial0/0.46.0.1.0.1 C 150.1.0/24 is subnetted.1.5.8. Loopback0 O 150.8.0/24 is subnetted. 4 subnets B 10. 00:09:12 C 10.46.4.0/16 is variably subnetted.1. 00:05:57 B 10.2.8.1.46.4.6. Ethernet0/1 R4#show ip route vrf * <output omitted> 150.3. 00:13:58.0/24 [110/129] via 150.1.4.0/24 is subnetted.0.1.24.0 [200/0] via 150.24. Serial0/0.1.0 is directly connected.1.45.1.0 [200/0] via 150. 00:13:58.1.38.1.2.38.0.1 O 150.0 [20/0] via 10.1.1.1.0 [20/0] via 10.1. 00:06:41 B 10.3.3.24. 00:05:57 R6#show ip route <output omitted> 10.4.0 is directly connected.0 is directly connected.46.1.INE.3. 1.4.1.0/24 150.38.0 is directly connected.1. i .0 is directly connected. * valid.46.1.1. 00:06:30 C 10. h history.46.6.0 SW1#show ip route <output omitted> 10.6 0 0 200 i *>i10.38.0/24 10.1. e .1. FastEthernet0/3 R3#show ip bgp vpnv4 all BGP table version is 17.1.8 0 0 200 i *> 10.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 150.4 0 100 0 200 i *> 10.1.8.3. S Stale Origin codes: i . i .8.4.0 is directly connected. * valid.4.3.1.0.1.0 [20/0] via 10.1.4.0 [20/0] via 10. d damped.0 is directly connected. S Stale Origin codes: i .6. GigabitEthernet0/0 B 10.3.1.EGP.46.1.37.0.1.0. Loopback0 C 10.0/24 150.0.3.37.IGP. ? .1.46.46.1.3.5.7.0/24 0.1.IGP.6. 4 subnets B 10. > best.38.0 0 32768 ? Copyright © 2010 Internetwork Expert www.0.1.1.3 0 100 0 200 i *>i10.3 Status codes: s suppressed. r RIB-failure.38.0/24 150.0/24 0.1.1.0/24 10.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10.38.3 0 100 0 ? *> 10. e .1.1.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.0/24 150.4 Status codes: s suppressed.1.0 [20/0] via 10.45.38.1.EGP.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10.0. r RIB-failure.1.6.0.55 - .0.3. ? .1.5 0 0 100 i *>i10.1.0 [20/0] via 10.1. Loopback0 B 10.0/24 150.45.1.4.7.0.1.1.0/24 is subnetted.3.1.7 0 0 100 i *> 10.46.1.8.0/24 is subnetted.5.internal. h history.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.1. local router ID is 150. 00:06:30 SW2#show ip route <output omitted> 10.37.0.1.internal.4 0 100 0 100 i *> 10.45. > best.8.46.0 0 32768 ? *>i10.1.0.0/24 0.0/24 0.4 0 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 17.INE.0 0 32768 ? *>i10.0/24 10.1.38.3 0 100 0 ? *> 10.com .4.0/24 150.1.1.3 0 100 0 100 i *>i10. local router ID is 150.0/24 150. 00:08:47 B 10. 00:08:47 C 10.0/24 10.4. d damped. 4 subnets C 10.1.0. 37.37. h history.1.7.internal.1.1.1. local router ID is 10.37.56 - . local router ID is 10.0.EGP.1. > best.46.1.internal.6.3 10.4 10.0/24 Next Hop 10.0/24 Next Hop 0. h history.5. ? . * valid.46.46.7.46. i .45. e .IGP.INE.5.0/24 10. > best. r RIB-failure. r RIB-failure. ? .3 Metric LocPrf Weight 0 0 32768 0 0 0 Path 1 1 i i 1 ? 1 ? SW2#show ip bgp BGP table version is 6.1.0 10.7.1.com .1.1. ? .3 10. h history.0/24 Next Hop 0. i . S Stale Origin codes: i .1.1.1.1.6. e .0 10. ? .4 Metric LocPrf Weight Path 0 32768 i 0 1 1 i 0 1 ? 0 0 1 ? R6#show ip bgp BGP table version is 11.45.1.8. d damped.37.IGP.8.0.0/24 10. e .incomplete *> *> *> r> Network 10.1. * valid.0/24 10.0 10.45. > best. e .4 Metric LocPrf Weight Path 0 32768 i 0 1 1 i 0 1 ? 0 0 1 ? SW1#show ip bgp BGP table version is 11.IGP.38. i .1.38.7 Status codes: s suppressed. * valid.1.0 10.0/24 10. r RIB-failure.0/24 Next Hop 10.0/24 10. h history.0. d damped.5.1.8.0.0 R5#show ip bgp BGP table version is 11.1.1.0/24 10. * valid.internal.8 Status codes: s suppressed.46.0/24 10. > best. local router ID is 10. local router ID is 10.CCIE Service Provider Lab Workbook Volume I Version 1.4 10.5 Status codes: s suppressed.38.incomplete *> *> r> *> Network 10.0/24 10.38.1.0.0/24 10. S Stale Origin codes: i .1.6.0/24 10.0. d damped.1. d damped. S Stale Origin codes: i .1.0.3 0.1.6 Status codes: s suppressed. S Stale Origin codes: i .EGP.1.EGP.4 10.3 0. r RIB-failure.1.internal.38.0/24 10.37.0.incomplete *> *> *> r> Network 10.1.incomplete *> *> r> *> Network 10.4 10.EGP. i .45.1.3 Metric LocPrf Weight 0 0 32768 0 0 0 Copyright © 2010 Internetwork Expert Path 1 1 i i 1 ? 1 ? www.0/24 10.IGP.1.1.45. INE.com .57 - .CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.0 www. INE. and SW2 have access to R5’s networks but do not have access to any of each other’s networks.4 .com .38.24.1.2 OSPF Area 0 R2 S0/0.1.0/24 VLAN 46 RIPv2 10.0/24 VLAN 45 402 RIPv2 .1.0/24 VLAN 12 Fa0/0 .1.0/24 S0/1 .1 .6 G0/0 Copyright © 2010 Internetwork Expert R6 www.4 S0/0. Fa0/3 Fa0/3 E0/1 E0/0 R3 .1 150.0/24 RIPv2 SW2 .4 E0/1 R4 BGP AS 1 E0/0 E0/1 10.2 204 Frame Relay 150.7 SW1 RIPv2 .1.5 R5 .3 S1/2 150.1.37.58 - .3 .46.0/24 .1.12. SW1.1 .CCIE Service Provider Lab Workbook Volume I Version 1.8 BGP AS 1 10.1 R1 Fa0/0 .3 10.45.0 Central Services MPLS VPNs Objective: Configure MPLS VPNs in such a way that R6.13.0/24 . and SW2 should not have connectivity to each other Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.0 area 0 network 150.13.1.CCIE Service Provider Lab Workbook Volume I Version 1. and SW2 R6.1 255.5.1.1 0.12.1.255.3/32 on R3 and advertise it into OSPF Create the Loopback 150.1. and SW2 Create the Loopback 10. SW1.0 tag-switching ip ! interface Serial0/1 ip address 150. R3. R3. R6.0 area 0 Copyright © 2010 Internetwork Expert www.1 0.4/32 on R4 and advertise it into OSPF Configure RIPv2 on the Ethernet interfaces of R5.1.8/24 on SW2 and advertise it into RIPv2 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 should be in VRF “R5” Use the route distinguisher and export route target 1:5 for this VRF R6 should be in VRF “R6” Use the route distinguisher and export route target 1:6 for this VRF SW1 should be in VRF “SW1” Use the route distinguisher and export route target 1:7 for this VRF SW2 should be in VRF “SW2” Use the route distinguisher and export route target 1:8 for this VRF Run RIPv2 as the PE-CE protocol on R3 and R4 Redistribute where necessary Bidirectional connectivity should be established between the Loopback of R5 and the Loopbacks of R6.6/24 on R6 and advertise it into RIPv2 Create the Loopback 10.1 255.0 Directions • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.8. SW1.7.255.5/24 on R5 and advertise it into RIPv2 Create the Loopback 10.6.255.INE.0.0. R2.4.255.1. R2.0 tag-switching ip ! router ospf 1 log-adjacency-changes network 150. and R4 Configure MPLS on the interfaces between R1.12.1. and R4 Create the Loopback 150.59 - .1.13.com . SW1.0.1.1.3.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10.0. 1.12.0.3 0.2 0.CCIE Service Provider Lab Workbook Volume I Version 1.13.0.1.1.24.37.3 255.255.255.13.1.60 - .0 area 0 network 150.3 255.0 area 0 network 150.3.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.3 0.1.255.1 point-to-point ip address 150.0 area 0 ! Copyright © 2010 Internetwork Expert www.INE.255.0.38.0 R2# ip cef ! interface FastEthernet0/0 ip address 150.0 area 0 R3# ip cef ! ip vrf SW1 rd 1:7 route-target export 1:7 route-target import 1:5 ! ip vrf SW2 rd 1:8 route-target export 1:8 route-target import 1:5 ! interface Loopback0 ip address 150.0.12.1.255 ! interface Ethernet0/0 ip vrf forwarding SW1 ip address 10.255.3.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.0 ! interface Serial1/2 ip address 150.255.255.1.255.255.255.1.3 255.1.2 0.com .0 ! interface Ethernet0/1 ip vrf forwarding SW2 ip address 10.0.24.255.0.0.2 255.255.0.3 255.1.2 255. 4.4.4.255.1.4 255.4 update-source Loopback0 neighbor 150.4 send-community both exit-address-family ! address-family ipv4 vrf SW2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1 redistribute rip exit-address-family R4# ip cef ! ip vrf R5 rd 1:5 route-target export 1:5 route-target import 1:6 route-target import 1:7 route-target import 1:8 ! ip vrf R6 rd 1:6 route-target export 1:6 route-target import 1:5 ! interface Loopback0 ip address 150.255.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.4 activate neighbor 150.1.4 remote-as 1 neighbor 150.255.0.0.0.com .4 255.4 next-hop-self ! address-family vpnv4 neighbor 150.4.0.61 - .1.1.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1 redistribute bgp 1 metric 2 network 10.1.0 ! Copyright © 2010 Internetwork Expert www.4.46.4.255 ! interface Ethernet0/0 ip vrf forwarding R6 ip address 10.0 router rip ! address-family ipv4 vrf SW2 redistribute bgp 1 metric 2 network 10.CCIE Service Provider Lab Workbook Volume I Version 1.INE.255.1.1. 1.4 0.4 255.4 0.1.0 interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.0 area 0 ! router rip ! address-family ipv4 vrf R6 redistribute bgp 1 metric 2 network 10.0.4.INE.0.0 area 0 network 150.0.3.0.1.CCIE Service Provider Lab Workbook Volume I Version 1.24.3 send-community both exit-address-family ! address-family ipv4 vrf R6 redistribute rip exit-address-family ! address-family ipv4 vrf R5 redistribute rip exit-address-family Copyright © 2010 Internetwork Expert www.0.62 - .255.4 255.3.3.1.3 update-source Loopback0 neighbor 150.0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf R5 redistribute bgp 1 metric 2 network 10.1.0 ! router ospf 1 log-adjacency-changes network 150.3.3 remote-as 1 neighbor 150.0.1.255.1.3 next-hop-self ! address-family vpnv4 neighbor 150.255.255.1.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5 ip address 10.1 point-to-point ip address 150.com .0.3 activate neighbor 150.24.3.45.1. 255.0 no auto-summary R6# interface Loopback0 ip address 10.7.6 255.0 no auto-summary SW1# ip routing ! interface Loopback0 ip address 10.1.0.5.6.255.255.0 ! interface GigabitEthernet0/0 ip address 10.0.7 255.1.46.45.255.0.255.255.1.0 R5# interface Loopback0 ip address 10.7 255.255.0 ! interface Ethernet0/1 ip address 10.0 no auto-summary Copyright © 2010 Internetwork Expert www.255.1.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.5 255.255.1.CCIE Service Provider Lab Workbook Volume I Version 1.37.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router rip version 2 network 10.6 255.255.255.1.0.0.5 255.com .0.0 ! router rip version 2 network 10.INE.0 ! router rip version 2 network 10.255.63 - . 255.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router rip version 2 network 10.0/24 is directly 150.com .1. FastEthernet0/0 150.4/32 [110/847] via 150.1.0/16 is variably subnetted. Serial0/1 connected.13. 19:33:36.1.12.1.1.1.3/32 is directly connected.1.3. 2 masks O 150. Serial1/2 O 150. 19:37:48.1.13.1.24.0/16 is variably subnetted.12.3/32 [110/65] via 150.12. Serial0/0.12.0/16 is variably subnetted.1.12.64 - .4.255.0 ! interface FastEthernet0/3 no switchport ip address 10. Serial0/0.24. 19:33:36.0.0/24 [110/65] via 150.0 SW2# ip routing ! interface Loopback0 ip address 10.1. FastEthernet0/0 O C 150. 00:21:39.255.1.1 O 150.0/24 is directly 150.13. 19:37:48.2.8 255. FastEthernet0/0 150.1.13. 19:33:36. Serial0/1 connected. 2 masks O O O C C 150.0/24 is directly connected.1. 5 subnets.13.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.4.0.1.38.4.0/24 is directly connected.1. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.0 no auto-summary Verification R1#show ip route <output omitted> 150.1. 5 subnets.3/32 [110/66] via 150.1.2.3.0.24.0.1.1. FastEthernet0/0 150. Serial1/2 O 150.1.0/24 [110/846] via 150.8.INE.1.1. Loopback0 C 150.4/32 [110/65] via 150.13.24.1. 5 subnets.0/24 [110/782] via 150.13.1.0/24 is directly connected. Serial1/2 C 150.1 O 150.1.4.12.12.1.1.255.1.0.3.3.0/24 [110/65] via 150. 00:21:39.1.8 255. FastEthernet0/0 R2#show ip route <output omitted> 150. 2 masks C 150. Serial1/2 Copyright © 2010 Internetwork Expert www. 19:37:48.4/32 [110/66] via 150. 00:21:39.1. 0.1.0.46.37.1.2.0 [120/2] via 10.5.45.0 is directly connected. Ethernet0/0 Routing Table: SW2 <output omitted> 10.1.1. 00:11:30 B 10.6.1.6. 4 subnets R 10.1. 00:11:32 B 10.1.1 C 150.7. 8 subnets R 10.45.6.0 is directly connected.3/32 [110/130] via 150.0 [120/2] via 10.3.5. Serial0/0.0 [120/1] via 10. 00:00:24.0.3.24.4.4.1.1.0 is directly connected.INE.6 (R6). 4 subnets R 10.0 is directly connected.1 O 150. 00:10:47. 00:00:19.45.1. 00:00:24.2.37.37. Loopback0 R 10.0 [200/1] via 150.1.1.46.1. Ethernet0/0 B 10.3. Serial0/0.6.1. 00:11:32 B 10.1. 5 subnets.4.1.38. 00:10:47.1.1.0/24 is subnetted.0 is directly connected.0/24 is subnetted.0. Ethernet0/0 R 10.37.3.0 [20/1] via 10.0 Routing Table: SW1 <output omitted> 10. Ethernet0/1 B 10.0. Ethernet0/1 R5#show ip route <output omitted> 10.4.0/16 is variably subnetted. 00:00:19.12. Ethernet0/1 R 10.1. Ethernet0/0 B 10.0 [120/1] via 10.24. 00:00:24.3. 8 subnets B 10. Loopback0 O 150.4.0 [200/1] via 150.1.1.1.1.65 - .0.1.4.7. 00:00:24.5.4.45.4/32 is directly connected.1. 2 masks C 150. 00:00:12. Ethernet0/1 C 10.38. Ethernet0/1 C 10.0/24 [110/65] via 150.38.4.0 [200/0] via 150.45. Ethernet0/1 R 10.1.0/24 is subnetted.1.8.0 [20/1] via 10.0 [120/2] via 10.1.0 [120/2] via 10. Ethernet0/1 C 10.0 [120/2] via 10.1. Ethernet0/1 R 10.0 [120/2] via 10.45.3.4.8.1.45. 4 subnets R 10.24.45.4.1.4.1.45.1.0.1. Ethernet0/1 B 10. Ethernet0/1 Copyright © 2010 Internetwork Expert www.0 [200/1] via 150.38.4.0 [200/1] via 150. Serial0/0.1.0/24 [110/129] via 150.1.1.1.1. Ethernet0/1 R 10.5.45.4.1. 00:11:32.1.45. Serial0/0.1.1.0 is directly connected. Ethernet0/0 B 10.0/24 is subnetted.45.0.0.7.1. 00:21:58.45.3.46.5.1.1.0 [200/0] via 150.0/24 is directly connected.1.5. 00:11:30 B 10. 00:12:15 C 10.8.5 (R5).8.1.1.1 Routing Table: R5 <output omitted> 10.0 [120/1] via 10.3. Ethernet0/1 B 10.1.13.1. 00:00:24. 00:10:47.com .0.46.1 O 150.1. 00:10:47 Routing Table: R6 <output omitted> 10. Ethernet0/0 C 10.1.0.0 is directly connected. 00:21:58.2. 00:00:16.0 [200/0] via 150.4.0 is directly connected.3.24.7.0 [200/0] via 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 [120/1] via 10. 00:10:47 B 10.46. 00:12:15 C 10.1.4. 00:21:58.1.1. Ethernet0/1 R4#show ip route vrf * <output omitted> 150.0/24 is subnetted. 00:00:24. GigabitEthernet0/0 R 10. FastEthernet0/3 C 10.CCIE Service Provider Lab Workbook Volume I Version 1. GigabitEthernet0/0 SW1#show ip route <output omitted> 10.5.38. Loopback0 R 10.3. Loopback0 R 10.1.3. 00:00:27.1. FastEthernet0/3 SW2#show ip route <output omitted> 10.1.0 R6#show ip route <output omitted> 10.1.0/24 is subnetted.38. FastEthernet0/3 C 10.4.0.45.5.8.5.0 is directly connected. 00:00:27.6.0 is directly connected.4.0 [120/2] via 10.0.0. 00:00:16.INE.0.0.1. 00:00:23.1.0 is directly connected.1. FastEthernet0/3 Copyright © 2010 Internetwork Expert www. 00:00:16.46.45.0 [120/2] via 10.37.0 [120/2] via 10.38. FastEthernet0/3 R 10.0 is directly connected. Loopback0 R 10. FastEthernet0/3 R 10.1.1.1.0 is directly connected.1. 4 subnets C 10.0.1.0 [120/2] via 10.46.37.1.3.0/24 is subnetted. GigabitEthernet0/0 C 10.1. 00:00:23.0 is directly connected.7. 4 subnets C 10.37.45.46.1. 4 subnets C 10.0 [120/2] via 10.0/24 is subnetted.66 - .0 [120/2] via 10.1.3.1.com .1. 67 - .INE.0 www.com .CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1. 0/24 RIPv2 SW2 .1.1.4 E0/1 R4 BGP AS 1 E0/0 E0/1 10.3 10.0 MPLS VPNs with Extranets Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using RIPv2 as the PE-CE routing protocol.24.46.1.13.1.0/24 .3 S1/2 150.7 SW1 RIPv2 .12.0/24 S0/1 .3 .4 S0/0.4 .6 G0/0 Copyright © 2010 Internetwork Expert R6 www.45.0/24 VLAN 46 RIPv2 10.1.0/24 .2 OSPF Area 0 R2 S0/0.CCIE Service Provider Lab Workbook Volume I Version 1. R5 and R6 should have connectivity to each other via an MPLS VPN Extranet. Fa0/3 Fa0/3 E0/1 E0/0 R3 .37.1.8 BGP AS 1 10.68 - .0/24 VLAN 45 402 RIPv2 .1 .1 150.38.1 .5 R5 .1 R1 Fa0/0 .com .1.INE.0/24 VLAN 12 Fa0/0 .2 204 Frame Relay 150. 1 0.13.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10.3. R6.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.0. R2. R2.5.INE.255.1.0.255. SW1.1.1 255.6/24 on R6 and advertise it into RIPv2 Create the Loopback 10.1.0 tag-switching ip Copyright © 2010 Internetwork Expert www.0 area 0 network 150.2 255. and R4 Create the Loopback 150.12.0. and SW2 Create the Loopback 10.0.12.1.4/32 on R4 and advertise it into OSPF Configure RIPv2 on the Ethernet interfaces of R5.1.1. and R4 Configure MPLS on the interfaces between R1.255.1 0.CCIE Service Provider Lab Workbook Volume I Version 1.1.255.0 tag-switching ip ! router ospf 1 log-adjacency-changes network 150.69 - .0 tag-switching ip ! interface Serial0/1 ip address 150. R3.1.13.6.1.5/24 on R5 and advertise it into RIPv2 Create the Loopback 10.8.12. R3.4.255.1.0 Directions • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.1 255.1.7.8/24 on SW2 and advertise it into RIPv2 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” Use the route distinguisher and route target 1:57 for this VRF R4 should export routes coming from R5 as both 1:5 and 1:57 Run RIPv2 as the PE-CE protocol between R3 & SW1 and R4 & R5 R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF R4 should export routes coming from R6 as both 1:6 and 1:68 Run RIPv2 as the PE-CE protocol between R3 & SW2 and R4 & R6 Redistribute where necessary to gain connectivity within the VPNs R5 and R6 should have connectivity within their VPNs and to each other SW1 and SW2 should not have connectivity to each other Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.255.3/32 on R3 and advertise it into OSPF Create the Loopback 150.com . 3 255.0 area 0 ! router rip ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 2 network 10.0.2 0.255.0 area 0 network 150.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.0.0.38.255 ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.255.255.0 area 0 network 150.70 - .com .2 255.3 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.3 255.3.3.1.255.0 ! interface Serial1/2 ip address 150.1.255.1.255.3 0.3 255.0.1.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.1 point-to-point ip address 150.1.0.255.1.13.24.0.INE.255.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 2 Copyright © 2010 Internetwork Expert www.0.1.2 0.0.0 area 0 R3# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target import 1:57 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.12.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.37.13.24.0.1.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.1.3 0.0. 71 - .255.4 next-hop-self ! address-family vpnv4 neighbor 150.4 255.4.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding R5-SW1 Copyright © 2010 Internetwork Expert www.1.4.1.0 network 10.4 remote-as 1 neighbor 150.4 update-source Loopback0 neighbor 150.1.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.4.255.4 activate neighbor 150.com .1.INE.CCIE Service Provider Lab Workbook Volume I Version 1.4 255.46.255.1.1.4 255.24.0.4.4.255.255.1.0.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute rip exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute rip exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:57 route-target export 1:57 route-target export 1:5 route-target import 1:57 route-target import 1:6 ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target export 1:6 route-target import 1:68 route-target import 1:5 ! interface Loopback0 ip address 150.255.1.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.4.1 point-to-point ip address 150. 0.1.6 255.255.3 remote-as 1 neighbor 150.0.3.4 255.3 update-source Loopback0 neighbor 150.72 - .1.0 ip address 10.0.255.com .0.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.0.3.4.3.4 0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute bgp 1 metric 2 network 10.5 255.0 area 0 ! router rip ! address-family ipv4 vrf R6-SW2 redistribute bgp 1 metric 2 network 10.6.45.5 255.0.255.255.1.3 activate neighbor 150.3 next-hop-self ! address-family vpnv4 neighbor 150.255.1.0 ! interface Ethernet0/1 ip address 10.CCIE Service Provider Lab Workbook Volume I Version 1.0 area 0 network 150.255.5.0.1.1.4 0.0 no auto-summary R6# interface Loopback0 ip address 10.1.1.INE.0.0.0.1.45.255.0 ! Copyright © 2010 Internetwork Expert www.0 ! router ospf 1 log-adjacency-changes network 150.255.1.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute rip exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute rip exit-address-family R5# interface Loopback0 ip address 10.1.3.0 ! router rip version 2 network 10.24.3. 255.73 - .8 255.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router rip version 2 network 10.255.1.1.255.0.255.1.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.INE.46.0 no auto-summary SW1# ip routing ! interface Loopback0 ip address 10.com .255.0 no auto-summary Copyright © 2010 Internetwork Expert www.38.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.37.255.0 ! router rip version 2 network 10.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.0 interface GigabitEthernet0/0 ip address 10.0.7 255.0 ! interface FastEthernet0/3 no switchport ip address 10.0.7.0.255.8 255.8.6 255.255.7 255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router rip version 2 network 10.255.255.0.0. 1.0 [200/0] via 150.38.3/32 is directly connected.4. Serial0/0.1.0/16 is variably subnetted.3.0.0/24 is directly connected. 02:28:04. 01:34:21 B 10. Ethernet0/0 Routing Table: R6-SW2 <output omitted> 10.1.0/24 [110/65] via 150. Serial0/1 connected.37.1 O 150.13.0.0/16 is variably subnetted.1.0/16 is variably subnetted. 4 subnets R 10.1. Loopback0 O 150.0/24 is directly connected. Serial0/0.4/32 [110/847] via 150. 02:27:34.3.0.1.1.4.1 O 150.0 [120/1] via 10.3.CCIE Service Provider Lab Workbook Volume I Version 1.1.12. 02:28:04. 00:16:29.0 [120/1] via 10.12.4. 02:28:04. 01:19:54.4/32 is directly connected. 5 subnets.0/24 is directly connected. Serial0/0. FastEthernet0/0 150. 00:16:29. 5 subnets.0/24 is directly 150.13.1. 5 subnets.1.0.0/24 is directly connected.1 O 150.0/24 [110/846] via 150.0.4. 2 masks C 150.1.1.4.7.3/32 [110/65] via 150.1.0.13. 01:19:54.4.INE.1.24.1.1 C 150. FastEthernet0/0 150.4.0/24 is subnetted.0 is directly connected.2.24.1.1.0/24 [110/65] via 150.13.1. 2 masks O O O C C 150.1 Copyright © 2010 Internetwork Expert www. 00:00:03.5.6.1. Ethernet0/0 B 10. 00:00:25.1.0/24 is subnetted.0 is directly connected.1.74 - .12.7. FastEthernet0/0 R2#show ip route <output omitted> 150.1. 01:34:07 B 10.46.3/32 [110/66] via 150.1.0.13. Serial1/2 O 150.2.0/24 [110/782] via 150. 02:27:34.8.4.1.0/24 is directly 150.1.13.1. Serial0/0.12. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150. Loopback0 C 150.1.12.2.1. 4 subnets R 10.1.1. 2 masks O 150.0/16 is variably subnetted. Serial0/0.24.4.1.1.1.1.37.13.3/32 [110/130] via 150.12.1.3.0 [200/1] via 150.2. Ethernet0/1 B 10. 5 subnets. 2 masks C 150.0 [200/1] via 150.1. Serial0/1 connected. 01:19:54.4. Serial1/2 C 150.4. Serial1/2 Routing Table: R5-SW1 <output omitted> 10.24.0.45.1.24.38.com .1.0 Verification R1#show ip route <output omitted> 150.0 [200/0] via 150.13.12.1.24.1.1. 01:34:21 C 10. Ethernet0/1 R4#show ip route vrf * <output omitted> 150. Serial1/2 O 150.3.24. Serial0/0.1. FastEthernet0/0 O C 150.4/32 [110/66] via 150.1.2.0/24 [110/129] via 150.1.4.1.1 O 150. FastEthernet0/0 150.1.24.0/24 [110/65] via 150.1.1.1.1.1.4. 00:16:29.1. 01:34:07 C 10.1.1.4/32 [110/65] via 150.8.12. 02:27:34.1. 1.38.5. 00:12:00.38.3.3.1.46.0. 00:00:17.0.0 is directly connected.1.0 [120/2] via 10. 00:12:09 R5#show ip route <output omitted> 10.0.1.0.46.46.0 is directly connected.5. FastEthernet0/3 R 10. Loopback0 R 10. 00:00:08.4.0 [200/1] via 150.1.1. 4 subnets R 10.37.0 [120/2] via 10.5. 4 subnets R 10.1.1.46.0 [200/0] via 150.0 [120/2] via 10.38. Ethernet0/0 B 10.0 [20/1] via 10.1.0. 4 subnets C 10.0 is directly connected.37.0 [200/0] via 150.0 is directly connected.37.0 [120/2] via 10.1.6.3.1. 00:00:13. 00:00:08.45.0 [20/1] via 10.6 (R6-SW2).0/24 is subnetted.1. Ethernet0/1 C 10.45. FastEthernet0/3 C 10. FastEthernet0/3 Copyright © 2010 Internetwork Expert www.0.8. GigabitEthernet0/0 SW1#show ip route <output omitted> 10.1. 00:12:00. 00:00:08.1.0 is directly connected.38.1.0/24 is subnetted.45. Loopback0 C 10. Ethernet0/1 R6#show ip route <output omitted> 10.3.1.1.0 [200/1] via 150.1.5.1.46.1.1.1.4. 00:12:09 B 10.1.0/24 is subnetted.1.1.6.0 [120/1] via 10.0/24 is subnetted.0/24 is subnetted. 00:00:13.1. 4 subnets C 10. 6 subnets B 10.1.7. GigabitEthernet0/0 C 10.0 is directly connected.0 is directly connected.3.INE. 00:00:08.46.45.6.6.45. 00:12:09 Routing Table: R6-SW2 10.1.CCIE Service Provider Lab Workbook Volume I Version 1.1. 00:00:08.38. 6 subnets B 10.45.0/24 is subnetted.0.3.0 is directly connected.3. FastEthernet0/3 C 10.0 [120/2] via 10.0 is directly connected.1.com .0 is directly connected.5. Loopback0 R 10. Ethernet0/1 B 10.1.8.1. Ethernet0/0 B 10.75 - .8.6. Ethernet0/1 B 10.1. FastEthernet0/3 R 10.7.1.4.1. 00:00:01.0 [120/2] via 10.3.1. FastEthernet0/3 SW2#show ip route <output omitted> 10.3. 00:12:09 R 10.45.1.37.0. 00:00:01. 00:12:00.0 is directly connected.0 [120/1] via 10.0.46.1.1.0. Loopback0 C 10. Ethernet0/1 C 10. Ethernet0/1 B 10.7.1.1.0.3.0 Routing Table: R5-SW1 <output omitted> 10.0. 00:12:00.3.1. GigabitEthernet0/0 R 10.0 [120/2] via 10.37. Ethernet0/1 R 10.1.3.45.0 [120/2] via 10.5 (R5-SW1).4.46. Ethernet0/0 C 10.0 is directly connected. Ethernet0/0 R 10.1. 3.0.0/24 10. ? .0/24 0.1.0/24 10.45.0 0 32768 ? Copyright © 2010 Internetwork Expert www.INE.0.0/24 150.1.76 - . d damped. e .6 1 32768 ? *>i10.0.0.6.1.1.37.0/24 0.IGP.1.45.38. local router ID is 150. ? .incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *> 10. S Stale Origin codes: i .1.1.internal.0/24 150.37. h history.8.3 1 100 0 ? *>i10.1.1.5 1 32768 ? *> 10.8 1 32768 ? *> 10.4.3 1 100 0 ? *>i10.4.1.6 1 32768 ? *>i10.0 0 32768 ? *> 10.1. * valid.0/24 0.1.1. h history. > best.1.0/24 0. r RIB-failure. S Stale Origin codes: i .0.4 1 100 0 ? *> 10.7.6.1.1.0 R3#show ip bgp vpnv4 all BGP table version is 17.0.0/24 150.7.4.3.1.1.1. * valid.4.1.7 1 32768 ? *> 10. d damped.0/24 10.45. i .3 0 100 0 ? *> 10.46.1.1.0.46.internal.0/24 10.1.1.45.0 0 32768 ? *>i10.0/24 150.0.38.38.1.4 0 100 0 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *>i10.0.3.4 Status codes: s suppressed.3 0 100 0 ? *> 10. e . r RIB-failure.46.EGP.EGP.5.8.0 0 32768 ? *>i10.IGP.1.1. local router ID is 150.37.3.5.0/24 150.0.0/24 10.1.0/24 0.1.0 0 32768 ? Route Distinguisher: 1:68 (default for vrf R6-SW2) *> 10. i .0/24 150.1.5 1 32768 ? *> 10. > best.5.1.0/24 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.4.0/24 150.46.0 0 32768 ? *> 10.6.0.1.com .3.0/24 10.3 Status codes: s suppressed.0/24 0.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:57 (default for vrf R5-SW1) *>i10.1.46.4 1 100 0 ? *> 10.1.4 0 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 17.45.0.1. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1.com .INE.0 www.77 - . 3 10.4 R4 S0/1 BGP .2 204 Frame Relay 150.38.1.8 BGP AS 1 10.5 S0/0.1 150. and SW2 has connectivity to VLAN 55.12.5.0/24 VLAN 5 E0/0 .0/24 S0/1 .0/24 402 .1.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 VLAN 12 Fa0/0 . Fa0/3 Fa0/3 E0/1 E0/0 R3 .1. but not VLAN 55.55.0/24 .1 AS 1 S0/1 RIPv2 10.1.13.45.1 R1 Fa0/0 .7 SW1 SW2 RIPv2 .3 S1/2 150.1.2 OSPF Area 0 R2 S0/0.com .4 10.5 .1.37. but not VLAN 5.0 MPLS VPNs and VRF Export Map Objective: Configure MPLS VPNs with the export-map feature on R5 in such a way that SW1 has connectivity to VLAN 5.1.0/24 RIPv2 .1.INE.3 .0/24 R5 E0/1 .24.0/24 VLAN 55 Copyright © 2010 Internetwork Expert www.78 - .5 10.1 . R3.13. R2.1 0.1 255. and R4 Configure MPLS on the interfaces between R1.255.0 Directions • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1.4.3/32 on R3 and advertise it into OSPF Create the Loopback 150.1.8/24 on SW2 and advertise it into RIPv2 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces SW1 should be in VRF “SW1” Use the route distinguisher and route target 1:7 for this VRF SW2 should be in VRF “SW2” Use the route distinguisher and route target 1:8 for this VRF R5 should be in VRF “R5” Use the route distinguisher 1:5 for this VRF VLAN 5 should be exported into VRF “R5” with the route target 1:7 VLAN 55 should be exported into VRF “R5” with the route target 1:8 Run RIPv2 as the PE-CE protocol on R3 and R4 Redistribute where necessary SW1 should have reachability to VLAN 5 but not VLAN 55 SW2 should have reachability to VLAN 55 but not VLAN 5 Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.1.79 - .255.0 area 0 network 150.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.12.255.12.1.0.1.0 tag-switching ip ! router ospf 1 network 150.7.3. and SW2 Create the Loopback 10. R3.255.1. SW1.255.1. and R4 Create the Loopback 150.0.1 0.0 tag-switching ip ! Copyright © 2010 Internetwork Expert www.13.1 255.4/32 on R4 and advertise it into OSPF Configure RIPv2 on the Ethernet interfaces of R5.INE.1. R2.com .CCIE Service Provider Lab Workbook Volume I Version 1.8.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10.1.0 tag-switching ip ! interface Serial0/1 ip address 150.255.0.0.2 255.1.12. 1.255.0.0 area 0 ! router rip ! address-family ipv4 vrf SW2 redistribute bgp 1 metric 2 network 10.0.3 255.0 area 0 network 150.1 point-to-point ip address 150.0.1.38.255 ! interface Ethernet0/0 ip vrf forwarding SW1 ip address 10.3 0.2 0.255.1.1.0 Copyright © 2010 Internetwork Expert www.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.1.13.2 0.3 255.3.255.0.0 interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3 255.INE.0 ! interface Ethernet0/1 ip vrf forwarding SW2 ip address 10.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1 redistribute bgp 1 metric 2 network 10.0.com .0.0.0 area 0 network 150.0.1.24.12.13.37.0.1.255.0.2 255.1.80 - .3.255.0.1.24.0 ! interface Serial1/2 ip address 150.255.0 area 0 R3# ip cef ! ip vrf SW1 rd 1:7 route-target export 1:7 route-target import 1:7 ! ip vrf SW2 rd 1:8 route-target export 1:8 route-target import 1:8 ! interface Loopback0 ip address 150.255.CCIE Service Provider Lab Workbook Volume I Version 1.255.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.3 0.255.3 255.0.255. 1.4.255.1 point-to-point ip address 150.0 tag-switching ip frame-relay interface-dlci 402 ! interface Serial0/1 ip vrf forwarding R5 ip address 10.1.0.4 activate neighbor 150.1.1.4 0.4.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.4 0.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.24.4.1.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.INE.4 255.4.0 ! router ospf 1 network 150.255.1.0.1.4 update-source Loopback0 neighbor 150.0.255.com .4 255.1.4 send-community both exit-address-family ! address-family ipv4 vrf SW2 redistribute rip no auto-summary no synchronization exit-address-family ! address-family ipv4 vrf SW1 redistribute rip no auto-summary no synchronization exit-address-family R4# ip cef ! ip vrf R5 rd 1:5 export map R5_EXPORT route-target import 1:7 route-target import 1:8 ! interface Loopback0 ip address 150.255.81 - .4 remote-as 1 neighbor 150.4.4 next-hop-self ! address-family vpnv4 neighbor 150.1.1.45.0.4.0 area 0 network 150.24.4 255.4.0 area 0 ! Copyright © 2010 Internetwork Expert www. 5.1.3.45.com .CCIE Service Provider Lab Workbook Volume I Version 1.3 next-hop-self ! address-family vpnv4 neighbor 150.1.0 clockrate 64000 ! router rip version 2 network 10.0 no auto-summary Copyright © 2010 Internetwork Expert www.3 update-source Loopback0 neighbor 150.255.1.0/24 ! route-map R5_EXPORT permit 10 match ip address prefix-list VLAN5 set extcommunity rt 1:7 ! route-map R5_EXPORT permit 20 match ip address prefix-list VLAN55 set extcommunity rt 1:8 R5# ip cef ! interface Ethernet0/0 ip address 10.255.0.0.5 255.INE.3 remote-as 1 neighbor 150.5 255.0.3 activate neighbor 150.0/24 ! ip prefix-list VLAN55 seq 5 permit 10.0.1.3.55.82 - .1.0 ! interface Serial0/1 ip address 10.55.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.0 router rip ! address-family ipv4 vrf R5 redistribute bgp 1 metric 2 network 10.255.3.1.1.255.3 send-community both exit-address-family ! address-family ipv4 vrf R5 redistribute rip exit-address-family ! ip prefix-list VLAN5 seq 5 permit 10.1.255.5 255.255.5.3.1.1.0 half-duplex ! interface Ethernet0/1 ip address 10.3. 45. Serial0/1 R 10. Serial0/1 R 10.0 is directly connected.1.255.0 [120/2] via 10. 00:00:06.38.255.0 is directly connected. 00:00:06.7 255.38.1.0.8.8.8 255.1.0/24 is subnetted.4.255.INE.0 ! router rip version 2 network 10.0 ! interface FastEthernet0/3 no switchport ip address 10.0 is directly connected. Serial0/1 C 10.0 no auto-summary Verification R5#show ip route <output omitted> 10.1.83 - .4.45.1. 7 subnets R 10.1.0 [120/2] via 10.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10. 00:00:06.1.255.com .0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.45.37.8 255.0 ! router rip version 2 network 10. Serial0/1 C 10.CCIE Service Provider Lab Workbook Volume I Version 1.45.1.255.0 SW1# ip routing ! interface Loopback0 ip address 10. 00:00:06. Serial0/1 R 10.7.1.37.1.7.1.1. Ethernet0/0 C 10.0.0.255.0 [120/2] via 10.0.1.4.0 [120/2] via 10.255.55.255.45.5.7 255.0.1.0. Ethernet0/1 Copyright © 2010 Internetwork Expert www.1.4. 13. Loopback0 C 10.0 is directly connected. 3 subnets C 10.0 [120/2] via 10.8. 00:05:50 C 10.13. Ethernet0/0 B 10.24.1.1.1.1.38.com .0.37. 3 subnets R 10.1. 00:05:50 Copyright © 2010 Internetwork Expert www. FastEthernet0/3 SW1#ping 10.8 Type escape sequence to abort.0 [120/1] via 10. Serial1/2 C 150.1.7.12.4.5 source 10. 00:00:22.5.1.1.5.1. 00:06:23.1. 5 subnets.38.0 SW1#show ip route <output omitted> 10. FastEthernet0/3 R 10.7. FastEthernet0/3 SW2#ping 10.8.4/32 [110/847] via 150.13.3.1.1.0 is directly connected.1.5. Serial1/2 Routing Table: SW1 <output omitted> 10.0 is directly connected.13.3/32 is directly connected.1.1.0. Ethernet0/0 Routing Table: SW2 <output omitted> 10. 00:00:20. FastEthernet0/3 C 10.1.1.1.5. Serial1/2 O 150.0/24 [110/846] via 150.0 is directly connected.1. Loopback0 C 150. 2 masks O 150.7.0 is directly connected.55.38.8 !!!!! Success rate is 100 percent (5/5).3. round-trip min/avg/max = 116/119/120 ms SW2#show ip route <output omitted> 10.0/24 is subnetted.0 [120/2] via 10.0 [200/1] via 150. 00:00:21.8.8.1. 100-byte ICMP Echos to 10.3.0 [120/1] via 10.1.55.37.1.1. 00:06:23. Loopback0 R 10.1.0.5.1.1. 100-byte ICMP Echos to 10.0. 3 subnets C 10.5. 3 subnets R 10.1.5 source 10.4.0.55.38.0.0.1.7.4.0/24 is subnetted.1.1.0 [200/1] via 150.4.55. Serial1/2 O 150.0 is directly connected.1. Sending 5.1. Sending 5.84 - .37.INE.0/24 is subnetted.CCIE Service Provider Lab Workbook Volume I Version 1.1. 00:00:06.1.8. timeout is 2 seconds: Packet sent with a source address of 10.4. Ethernet0/1 B 10.7 Type escape sequence to abort.1.0.0/24 is subnetted. timeout is 2 seconds: Packet sent with a source address of 10.0/16 is variably subnetted.1.7.0.0/24 [110/782] via 150. Ethernet0/1 C 10.7 !!!!! Success rate is 100 percent (5/5).37. round-trip min/avg/max = 116/118/120 ms R3#show ip route vrf * <output omitted> 150.1. 00:06:23.0/24 is directly connected.1. 0.1. metric 1. best Extended Community: RT:1:8.1.4. internal.1. best #1.7.1.1.1. metric 1.0. metric 1.4.5.5.0 0 32768 ? *>i10.4.INE. best #1. valid.1.0.0/24 10.5.1.1. valid.1.1.CCIE Service Provider Lab Workbook Volume I Version 1. version 6 Paths: (1 available.55.4.4.37.0/24.4. imported path from 1:5:10.1.1.0/24.4 (metric 847) from 150.4 1 100 0 ? *>i10.38.1.4 (150.1.0/24 150.4 1 100 0 ? Route Distinguisher: 1:7 (default for vrf SW1) *>i10.4 (150.4 (metric 847) from 150.5.4. localpref 100.1. table SW2) Not advertised to any peer Local. best Extended Community: RT:1:8.4) Origin incomplete.1. version 8 Paths: (1 available. localpref 100. valid.4 1 100 0 ? R3#show ip bgp vpnv4 all 10. mpls labels in/out nolabel/19 R3#show ip bgp vpnv4 all 10.4.55.55.4.4. imported path from 1:5:10.0/24 150.7 1 32768 ? *> 10. best #1.1.55. localpref 100.4.1.1.4.1.55.1.4. best Extended Community: RT:1:7.0/24 150.4 1 100 0 ? *> 10.0/24 150. best Extended Community: RT:1:7.4) Origin incomplete.0/24 150. no table) Not advertised to any peer Local 150. internal. mpls labels in/out nolabel/21 BGP routing table entry for 1:8:10. no table) Not advertised to any peer Local 150.4.1.0 BGP routing table entry for 1:5:10.0/24 150.com .1.0.0/24 0.85 - .5. best #1.55.8.4. version 7 Paths: (1 available.4) Origin incomplete.37. metric 1. internal.1.0 BGP routing table entry for 1:5:10.4 (metric 847) from 150.5.8 1 32768 ? *> 10.4 (150.0 0 32768 ? Route Distinguisher: 1:8 (default for vrf SW2) *> 10.1.1.4 (metric 847) from 150.4 (150.1.0/24.0/24. mpls labels in/out nolabel/21 Copyright © 2010 Internetwork Expert www.1.0/24 0.38.1. version 9 Paths: (1 available.1. table SW1) Not advertised to any peer Local. internal.1. mpls labels in/out nolabel/19 BGP routing table entry for 1:7:10. valid.0/24 10.4.1.4) Origin incomplete.1. localpref 100.0 R3#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:5 *>i10. 1. Serial0/0.0 0 32768 ? *> 10.45.0/24 [110/129] via 150.3 1 100 0 ? *>i10.1.3 1 100 0 ? *>i10.2.1.0/24 150.1.3.3.37.1.37. Serial0/1 R4#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:5 (default for vrf R5) *> 10.4.1.CCIE Service Provider Lab Workbook Volume I Version 1. Serial0/1 B 10.0.24.1. 5 subnets. 7 subnets B 10. 2 masks C 150. 00:00:22.0 [120/1] via 10.0/24 150.1 O 150.1. 00:08:00 B 10. Serial0/0.INE.55.1.0.3.8.3 0 100 0 ? *>i10.1.0/24 [110/65] via 150.0/24 150.3. 00:08:00 R 10.1.0 is directly connected.3.3.55.1.0/24 0.1.45.0 [120/1] via 10. 00:08:00 B 10.5.1.7.8.3.0.38.0 [200/0] via 150.0.1.0/24 150.0/24 150.3.1.0/24 150.1 C 150. 00:08:42.4/32 is directly connected. 00:00:22.86 - .0/24 150.1.3.1 O 150.45.1. 00:08:42.24.0.1.0/16 is variably subnetted.3 0 100 0 ? Copyright © 2010 Internetwork Expert www. Serial0/0.1.1.5 1 32768 ? Route Distinguisher: 1:7 *>i10.com . 00:08:42.1.1.3.0/24 10.1.0 [200/0] via 150.7.45.2.5.1.0/24 is directly connected.38.3.3.0 [200/1] via 150.3/32 [110/130] via 150.1.3.7.1.3.1.5 1 32768 ? *>i10.3.1.3 1 100 0 ? *>i10.1.1.2. Serial0/0.3 0 100 0 ? Route Distinguisher: 1:8 *>i10.1 Routing Table: R5 <output omitted> 10.24.0 [200/1] via 150.0/24 10.12.0/24 is subnetted.5. Serial0/1 C 10.1.1. Loopback0 O 150.1.24.1.0 R4#show ip route vrf * <output omitted> 150.37.38.1.1.3 0 100 0 ? *> 10.1.1. 00:08:00 R 10.1.13.1.0/24 150.3.3.45.1.1.45.5.3 1 100 0 ? *>i10.8. com .87 - .0 www.INE.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1. CCIE Service Provider Lab Workbook Volume I Version 1.8 E0/1 E0/0 BGP AS 100 Fa0/13 10.0/24 S1/2 BGP AS 100 150.0/24 R3 .37.0/24 VLAN 12 Fa0/0 .7 BGP AS 1 10.1 150.0/24 402 S0/0.13.1.7 Fa0/3 .78.4 BGP AS 100 .1.24.2 OSPF Area 0 R2 S0/0.0/24 S0/1 .1.38.3 .1.1.1 .46.1.0/24 VLAN 46 .4 R4 BGP AS 1 E0/0 10.1 .1 R1 Fa0/0 .com .2 204 Frame Relay 150.6 G0/0 Copyright © 2010 Internetwork Expert R6 www.3 .INE.0/24 SW2 Fa0/3 .8 . Fa0/13 SW1 .0 MPLS VPNs with BGP Site-Of-Origin Objective: Configure an MPLS VPN to gain connectivity between AS 100 sites and use BGP SOO to prevent looping between SW1 and SW2.12.1.3 10.88 - . 3.89 - . and R4 Configure MPLS on the interfaces between R1.255.0 tag-switching ip ! router ospf 1 log-adjacency-changes network 150.8/24 on SW2 and advertise it into BGP Configure R6.0.4.4/32 on R4 and advertise it into OSPF Configure BGP on R6. and SW2 to advertise all other connected interfaces into BGP R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R6.255.3/32 on R3 and advertise it into OSPF Create the Loopback 150.255. and R4 Create the Loopback 150.0 Directions • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Configure OSPF area 0 on the interfaces between R1.1.1 255. R2.com .12.0.0 area 0 R2# ip cef ! interface FastEthernet0/0 ip address 150.1 255.255.1. R2.1 0.0 Copyright © 2010 Internetwork Expert www.1.6.1.6/24 on R6 and advertise it into BGP Create the Loopback 10.255.1.7.0 tag-switching ip ! interface Serial0/1 ip address 150.1.7/24 on SW1 and advertise it into BGP Create the Loopback 10. SW1. R3. R3.1.2 255. and SW2 should be in VRF “AS100” Use the route distinguisher and route target 1:100 for this VRF R3 and SW1 should peer via EBGP R3 and SW2 should peer via EBGP R4 and R6 should peer via EBGP Routes that R3 learns from SW1 & SW2 should be tagged with a BGP Site of Origin of 1:100 Redistribute where necessary to gain connectivity within the VPNs Ensure that SW1 and SW2 do not route through R3 to reach each other’s networks Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.255.1.0 area 0 network 150.1.8.12.0.13.13.0.1 0. and SW2 per the diagram Create the Loopback 10. SW1. SW1.CCIE Service Provider Lab Workbook Volume I Version 1.1.INE.12. 2 0.37.1 point-to-point ip address 150.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.255.24.4 send-community both exit-address-family ! address-family ipv4 vrf AS100 neighbor 10.2 0.4.1.255.1.7 activate neighbor 10.4.37.3 255.0 ! interface Ethernet0/1 ip vrf forwarding AS100 ip address 10.1.255 ! interface Ethernet0/0 ip vrf forwarding AS100 ip address 10.com .12.1.3 255.1.7 remote-as 100 neighbor 10.1.1.INE.0 area 0 R3# ip cef ! ip vrf AS100 rd 1:100 route-target export 1:100 route-target import 1:100 ! interface Loopback0 ip address 150.0 tag-switching ip frame-relay interface-dlci 204 ! router ospf 1 network 150.4.3.1.0 area 0 ! router bgp 1 neighbor 150.1.4 update-source Loopback0 neighbor 150.255.0.4.1.1.255.3 255.4 next-hop-self ! address-family vpnv4 neighbor 150.0.0.0 area 0 network 150.3 0.37.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.24.1.255.3 255.2 255.13.1.4 remote-as 1 neighbor 150.0.13.1.7 route-map SOO in Copyright © 2010 Internetwork Expert www.4.1.255.1.7 as-override neighbor 10.255.4 activate neighbor 150.37.CCIE Service Provider Lab Workbook Volume I Version 1.0 ! interface Serial1/2 ip address 150.1.255.38.255.0.255.0.0 area 0 network 150.90 - .37.0.1.3 0.3. 0 area 0 ! router bgp 1 neighbor 150.3 remote-as 1 neighbor 150.38.0.8 activate neighbor 10.4 255.6 as-override exit-address-family Copyright © 2010 Internetwork Expert www.4 0.38.1.1.1.38.1.1.3 activate neighbor 150.255.46.0 ! interface Serial0/0.46.8 route-map SOO in exit-address-family ! route-map SOO permit 10 set extcommunity soo 1:100 R4# ip cef ! ip vrf AS100 rd 1:100 route-target export 1:100 route-target import 1:100 ! interface Loopback0 ip address 150.8 remote-as 100 neighbor 10.3.46.255.com .1.1.255.CCIE Service Provider Lab Workbook Volume I Version 1.255.1.4 255.46.0 area 0 network 150.38.6 remote-as 100 neighbor 10.1 point-to-point ip address 150.24.1.3.1.4.0 neighbor 10.1.3 next-hop-self ! address-family vpnv4 neighbor 150.3.1.4 255.255.4 0.0.24.255.1.3.6 activate neighbor 10.0.255 ! interface Ethernet0/0 ip vrf forwarding AS100 ip address 10.1.1.INE.3 update-source Loopback0 neighbor 150.91 - .8 as-override neighbor 10.0 tag-switching ip frame-relay interface-dlci 402 ! router ospf 1 log-adjacency-changes network 150.3.1.1.4.3 send-community both exit-address-family ! address-family ipv4 vrf AS100 neighbor 10.0. 1.CCIE Service Provider Lab Workbook Volume I Version 1.7 255.0 mask 255.1.0 neighbor 10.1.1.0 network 10.255.1.4 remote-as 1 SW1# interface Loopback0 ip address 10.0 no auto-summary ! router bgp 100 network 10.0 ! router bgp 100 network 10.255.92 - .1.0 R6# ip cef ! interface Loopback0 ip address 10.0 neighbor 10.255.7.255.46.255.0 mask 255.255.6.0 mask 255.255.0 ! router rip version 2 network 10.6 255.0.0 network 10.255.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! interface FastEthernet0/13 no switchport ip address 10.1.78.6.0 mask 255.1.0 ! interface GigabitEthernet0/0 ip address 10.255.6 255.37.INE.7 255.com .78.7.0 mask 255.255.0 network 10.255.1.37.255.46.255.3 remote-as 1 Copyright © 2010 Internetwork Expert www.1.1.255.46.37.255.1.255.255.255.255.7 255.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.0.255. FastEthernet0/0 150.1.12.1.8 255.INE.13.0.1 O 150.1.1.1.1.3.1. 5 subnets.0/24 [110/65] via 150.13.0 no auto-summary ! router bgp 100 network 10.1.24.1.3/32 [110/65] via 150.0.0.255. 04:25:33.0/16 is variably subnetted.38.com .2.2.255. 2 masks C 150.1.1.255.1.4.0.1.1.0/24 [110/846] via 150.255. Serial1/2 O 150.0 neighbor 10.1.255. 5 subnets.1.1.13.3.0 network 10.1.3.0/16 is variably subnetted.12.1.8.1. Serial0/0.3 remote-as 1 neighbor 10.24.255. 04:20:21.1. 01:01:58.4.38. Serial0/1 connected.0/24 is directly connected.255. 04:20:21.1.1.78.1.0/16 is variably subnetted.4. Loopback0 C 150.13.38.13.4. 2 masks O O O C C 150. FastEthernet0/0 150.78.4/32 [110/66] via 150.1 O 150. 01:01:58.0/24 is directly 150.1.255.0 mask 255.1.4/32 [110/65] via 150.1.7 remote-as 100 Verification R1#show ip route <output omitted> 150.93 - . 04:25:33.1.0 ! router rip version 2 network 10.8.0 network 10.1.1.0 ! interface FastEthernet0/13 no switchport ip address 10.0/24 is directly connected.0 mask 255.3/32 [110/66] via 150.1.0. 2 masks O 150.1. FastEthernet0/0 150.3/32 is directly connected.0 SW2# interface Loopback0 ip address 10.24.78. FastEthernet0/0 R3#show ip route vrf * <output omitted> 150.4/32 [110/847] via 150.12.8 255. Serial0/0.255. Serial1/2 Copyright © 2010 Internetwork Expert www. 5 subnets. Serial1/2 C 150.3. Serial1/2 O 150.1.255.0 ! interface FastEthernet0/3 no switchport ip address 10.255. 04:20:21. Serial0/1 connected.1. 01:01:58.1.0/24 [110/65] via 150.24.1.0/24 is directly connected.12.1. FastEthernet0/0 R2#show ip route <output omitted> 150.1.0/24 [110/782] via 150.1.1. FastEthernet0/0 O C 150.12.CCIE Service Provider Lab Workbook Volume I Version 1.255.8 255.12.0/24 is directly 150. 04:25:33.12.13.13.0 mask 255. 1.1.78. 00:00:04.6.1.37.46.1.3.0 [200/0] via 150.1.0 [20/0] via 10.1.37.INE. 00:39:12 C 10.0 [120/1] via 10. 00:37:28 B 10. 00:43:57 B 10.37. 00:39:26 C 10. FastEthernet0/13 C 10.1.0 [200/0] via 150. Ethernet0/0 B 10.1.1.0 Routing Table: AS100 <output omitted> 10.0/24 is subnetted. 7 subnets B 10.6.1.1.6. 00:45:34.1.78. GigabitEthernet0/0 B 10.1.1.2.0 [20/0] via 10.0 [200/0] via 150. 00:39:23 B 10. 7 subnets B 10.3. 2 masks C 150.0.0/24 is subnetted.4.CCIE Service Provider Lab Workbook Volume I Version 1.0 is directly connected.38.37.4.6.1. 00:45:34. 00:00:04.1.0. FastEthernet0/13 C 10.24.0 is directly connected.0/24 [110/129] via 150.46. 00:40:41 B 10.24. Serial0/0.0 [200/0] via 150. 7 subnets B 10.1 Routing Table: AS100 <output omitted> 10. Serial0/0.0/24 is subnetted.4.8.46.0.0 [200/0] via 150.2.8.7. 00:40:26 R6#show ip route <output omitted> 10.1.3.1.1. 00:39:26 B 10. 00:37:28 B 10.1.4.3. 00:45:34.0 is directly connected.1.0 is directly connected.0 is directly connected. 00:39:26 B 10.46.1. 00:39:57 B 10. Ethernet0/1 C 10.0 is directly connected.1.0 [200/0] via 150.com .0.94 - .1.8.46.0 [20/0] via 10.0 [20/0] via 10.1.0 [120/1] via 10.0.8.1.3.37. FastEthernet0/3 C 10.4.4.3. 00:39:26 B 10.1.1.3.0/24 is subnetted.78.8.1.1.1.0 [20/0] via 10.4.0.1.46.0 is directly connected.38.0 [20/0] via 10.78.1 O 150.38. Serial0/0. Loopback0 B 10.7. Serial0/0. 00:38:21 C 10. Loopback0 O 150.24.4.1.1.0 [20/0] via 10.12. 00:39:23 R 10.1 C 150. Loopback0 C 10.1.1.24.0 [200/0] via 150.1.1.4.0/16 is variably subnetted.7.8.46.1.46.1. 00:38:21 B 10.1.1.1 O 150.0 [20/0] via 10.46.0/24 [110/65] via 150.3.1. 7 subnets R 10.37.0.0 [20/0] via 10.1.78.78.3. 5 subnets.4. 00:43:57 B 10.1.1. Ethernet0/0 B 10.1.37.1.13.3/32 [110/130] via 150.1.0.0 is directly connected.3.2.7.1. FastEthernet0/1 Copyright © 2010 Internetwork Expert www.7.1. 00:39:26 SW1#show ip route <output omitted> 10.8.46.38.3.1.1.6.3.3.1.37.38. 00:39:51 R4#show ip route vrf * <output omitted> 150.7.1.1.1.0 [20/0] via 10.0/24 is directly connected.4/32 is directly connected.0.0 [20/0] via 10. 7 0 0 100 i r> 10.38. ? . e . i .1. local router ID is 10. 00:39:41 B 10.46.6 0 0 100 i *>i10.1.7.3 0 100 0 100 i *>i10.4 Metric LocPrf Weight Path 0 32768 i 0 1 1 i 0 1 1 i 0 1 1 i Copyright © 2010 Internetwork Expert www.1.37. S Stale Origin codes: i .78.6. h history.46.0/24 150.1.0 10.0/24 10.0/24 10. * valid.38.1.4 Status codes: s suppressed. d damped.0 [120/1] via 10.3. h history.1.0.1.0/24 Next Hop 0.internal.0/24 150.0 SW2#show ip route <output omitted> 10.0/24 150.78. S Stale Origin codes: i . FastEthernet0/3 R 10.38.1.0/24 10.3.7. r RIB-failure.3.3.1.1. ? .46.37. local router ID is 150.1.1.1.1. i .3 0 100 0 100 i *>i10.6.1.1.internal.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf AS100) *>i10. FastEthernet0/13 B 10.8.3.1.1.37.1. FastEthernet0/13 R3#show ip bgp vpnv4 all BGP table version is 66. FastEthernet0/13 C 10.1.0 [20/0] via 10.4 0 100 0 100 i * 10.8.95 - . > best.7.1. d damped.IGP. 00:00:18. 00:00:18.1.IGP.8 0 0 100 i *>i10. S Stale Origin codes: i .0/24 10.37.1.37.0/24 10. * valid.IGP.6 0 0 100 i *>i10.0 is directly connected.1.1.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf AS100) *> 10.EGP.4 10.0.0/24 is subnetted.1.INE.46. > best.4 10.1.0/24 10.0 [120/1] via 10.3 0 100 0 100 i *>i10.8.0/24 150.0/24 10.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.4 0 100 0 100 i *> 10.0.1.com .37.1.3.1. local router ID is 150.6.78.38.1.incomplete *> *> *> *> Network 10. d damped. r RIB-failure.46.1.46.0 is directly connected.EGP.0/24 10.1.0/24 10.4.4.1.0/24 150. Loopback0 R 10.78.1.3 0 100 0 100 i r> 10.7.38.1.38. > best.0. 7 subnets C 10.78.6 Status codes: s suppressed. ? .7.38.37.EGP.4.7 0 0 100 i R4#show ip bgp vpnv4 all BGP table version is 67.1.1.6.1.0 [20/0] via 10.0/24 150.7.1.1.8 0 0 100 i *> 10.0 is directly connected.1. 00:39:41 C 10.1.1.8 0 0 100 i r> 10. e . h history. i .3 Status codes: s suppressed.8. e .0/24 150.46.3.1. * valid.3 0 100 0 100 i R6#show ip bgp BGP table version is 12.0/24 10.1.46.6.38.1.3.1.7 0 0 100 i *> 10. r RIB-failure.internal. 0 10.255.1. d damped.6. mpls labels in/out 23/nolabel R3#show ip bgp vpnv4 vrf AS100 10. r RIB-failure.37.0/24.CCIE Service Provider Lab Workbook Volume I *> 10.78. version 64 Paths: (1 available.0.0 0 0 1 1 i 32768 i 0 1 1 i SW1#show ip bgp BGP table version is 19.8) Origin IGP.1.0/24 Next Hop 10.1.8.46.0 0.1.38.7 Status codes: s suppressed.8.1. best #1. i . metric 0.0.0 10. best #1. external.7.1.46.internal.3 0. mpls labels in/out 24/nolabel Copyright © 2010 Internetwork Expert www. table AS100) Advertised to update-groups: 1 100 10.6.incomplete *> *> *> *> *> Network 10.0/24 10. ? .internal.0/24 10. i .0 BGP routing table entry for 1:100:10.0.255.3 0.1. version 66 Paths: (1 available.0. best Extended Community: SoO:1:100 RT:1:100. localpref 100.IGP.IGP.0. local router ID is 10.255.0.46. local router ID is 10.1. valid.38.1.1.1.0/24 10.46.0/24 10. d damped. h history.1.8.0 10.0.4 Version 1.1.38.1.0.1.8.incomplete *> *> *> *> *> Network 10.0 0.1.0/24 10.96 - . localpref 100.8 from 10. S Stale Origin codes: i .0 255. valid. * valid.1.0 Metric LocPrf Weight 0 0 32768 0 32768 0 0 32768 Path 1 1 i i i 1 1 i i R3#show ip bgp vpnv4 vrf AS100 10.1.38.0.255.7) Origin IGP.1.8 Status codes: s suppressed.1.8.1.1.1. external.37.1. metric 0. table AS100) Advertised to update-groups: 1 100 10.7. best Extended Community: SoO:1:100 RT:1:100.0 BGP routing table entry for 1:100:10.37.0.0. e .1.1.0.com .0/24 Next Hop 10.3 0.0/24 10.EGP. > best.EGP.78.0/24 *> 10.4 0.8 (10.0.37.46.0/24 10.0/24.37.78.0/24 10. e . * valid. r RIB-failure.INE.0/24 10.1.7.7.38.1.1. S Stale Origin codes: i .38.7 from 10.7. h history.0.7 (10.0/24 *> 10.1.1. > best.0 255.3 0.0 Metric LocPrf Weight 0 0 32768 0 32768 0 0 32768 Path 1 1 i i i 1 1 i i SW2#show ip bgp BGP table version is 19. ? . INE.97 - .0 www.com .CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert Version 1. 68.4 S0/0.1.1.13.1 R1 Fa0/0 .0/24 S0/1 10.2 OSPF Area 0 IS-IS Level 2 R2 S0/0.2 204 Frame Relay 150.com .3 150. BGP AS 1 R3 S1/2 .1 10.1 150.3 .6 .0 MPLS VPNs with OSPF and Sham-Links Objective: Configure an MPLS VPN through AS 1 to connect R6 and SW2.INE.24.1.0/24 VLAN 46 402 G0/1 .1.0/24 .8 Fa0/6 .8 SW2 Fa0/3 .4 R4 BGP AS 1 OSPF Area 0 10.38.98 - .1.0/24 Fa0/0 .1.6 G0/0 R6 E0/0 Copyright © 2010 Internetwork Expert www. The backdoor link between R6 and SW2 should only be used if the MPLS VPN through AS 1 is down.1 .0/24 VLAN 12 .46.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 E0/1 OSPF Area 0 .12. R3.1.1 255.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 Directions • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure IS-IS Level 2 on the interfaces between R1.8/24 on SW2 and advertise it into OSPF Configure a Loopback 10.0000.3/32 on R3 that is part of VRF “R6-SW2” Configure a Loopback 10.0000.255.3/32 on R3 and advertise it into IS-IS Create the Loopback 150.0 ip router isis tag-switching ip ! router isis net 00. and R4 Create the Loopback 150.0000.1.1 255.com .3.4/32 on R4 that is part of VRF “R6-SW2” Redistribute where necessary Configure an OSPF Sham-Link between R3 and R4 using these new Loopbacks so that the Ethernet link between R6 & SW2 is only used in the case that connectivity through the MPLS provider network is down Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.1.13.99 - .4.6/24 on R6 and advertise it into OSPF Create the Loopback 10.00 is-type level-2-only Copyright © 2010 Internetwork Expert www.12.3.000Y.4/32 on R4 and advertise it into IS-IS R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF Run OSPF as the PE-CE protocol between R3 & SW2 and R4 & R6 Run OSPF on the Ethernet link between R6 & SW2. and R4 Use NET addresses in the format 00. R2.1.00 Configure MPLS on the interfaces between R1. this link should have the maximum OSPF cost supported Create the Loopback 10.255.6.8.4.0000.1.255.255.INE. R2.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay IETF ! interface Serial0/1 ip address 150.1. R3.0001. 1.1.255.255.0 ! interface Serial1/2 ip address 150.3.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.2 255.38.0.255.0 ip router isis tag-switching ip frame-relay interface-dlci 204 ! router isis net 00.0 R2# ip cef ! interface FastEthernet0/0 ip address 150.INE.255 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.4 redistribute bgp 1 subnets network 10.1.0.1 point-to-point ip address 150.3 255.2 255.255.1.255.255 ip router isis ! interface Loopback1 ip vrf forwarding R6-SW2 ip address 10.255.1.0 area 0 ! router isis net 00.1.CCIE Service Provider Lab Workbook Volume I Version 1.0000.3.255.1.13.12.1.100 - www.255.0002.com .0000.255.3 0.255.3 10.1.00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .3 255.24.3 255.4.00 is-type level-2-only R3# ip cef ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.0003.0000.0000.38.3.3 255.0 ip router isis tag-switching ip clockrate 64000 ! router ospf 1 vrf R6-SW2 log-adjacency-changes area 0 sham-link 10.255.255. 1.4.1.1.4.255.4.255.0 router bgp 1 neighbor 150.4 255.1.1.3.255 ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.INE.1.0004.4 update-source Loopback0 neighbor 150.4.1.0000.4.4 0.4 255.1 point-to-point ip address 150.1.1.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0000.1.0.1.46.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute connected redistribute ospf 1 vrf R6-SW2 exit-address-family R4# ip cef ! ip vrf R6-SW2 rd 1:68 route-target export 1:68 route-target import 1:68 ! interface Loopback0 ip address 150.255 ip router isis ! interface Loopback1 ip vrf forwarding R6-SW2 ip address 10.255.1.0.CCIE Service Provider Lab Workbook Volume I Version 1.00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .0 ip router isis tag-switching ip frame-relay interface-dlci 402 ! router ospf 1 vrf R6-SW2 log-adjacency-changes area 0 sham-link 10.255.4 10.4.46.4 255.4.255.255.3 redistribute bgp 1 subnets network 10.255.4 activate neighbor 150.4 remote-as 1 neighbor 150.com .4 next-hop-self ! address-family vpnv4 neighbor 150.4.24.255.4 255.101 - www.0 area 0 ! router isis net 00. 1.6 0.0 ! Copyright © 2010 Internetwork Expert .1.0.com .6 0.255.0.8 255.46.1.38.1.3 next-hop-self ! address-family vpnv4 neighbor 150.1.3.255.1.3.INE.1.102 - www.255.1.1.1.6 255.3 remote-as 1 neighbor 150.255.0 ! interface GigabitEthernet0/1 ip address 10.3.1.1.6.6 255.255.0 router bgp 1 neighbor 150.68.255.3.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute connected redistribute ospf 1 vrf R6-SW2 exit-address-family R6# interface Loopback0 ip address 10.8.0 area 0 SW1# interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 SW2# ip routing ! interface Loopback0 ip address 10.0.0.0 area 0 network 10.255.0.6 255.0 ip ospf cost 65535 ! router ospf 1 log-adjacency-changes network 10.0 area 0 network 10.3 update-source Loopback0 neighbor 150.0 ! interface FastEthernet0/3 no switchport ip address 10.6.68.8 255.3.0 ! interface GigabitEthernet0/0 ip address 10.3 activate neighbor 150.255.0.255.46.6 0.CCIE Service Provider Lab Workbook Volume I Version 1.1.255. GigabitEthernet0/1 R4#show ip ospf sham-links Sham Link OSPF_SL0 to address 10. Serial1/2 Copyright © 2010 Internetwork Expert .1.255.3.0/24 [110/12] via 10.0.4.4 Run as demand circuit DoNotAge LSA allowed.4.12.46.3/32 is directly connected.68.1.1.1.1.1.1.0.0.1.0 area 0 network 10.1. Hello due in 00:00:09 Adjacency State FULL (Hello suppressed) Index 2/2.1.1.68.3.4. 00:00:01. Timer intervals configured.46.8. GigabitEthernet0/1 10.1. Wait 40. GigabitEthernet0/0 10.103 - www. 5 subnets.1. GigabitEthernet0/1 With Sham-Link: R6#show ip route <output omitted> O O E2 O E2 C C O C 10.1.68.46.0/8 is variably subnetted.46.0 area 0 network 10.8 0.4.8 255.13. Loopback0 10.0 area 0 Verification Without Sham-Link: R6#show ip route ospf O O 10. Dead 40.38.1.0/24 is directly connected.1.38. GigabitEthernet0/0 10.CCIE Service Provider Lab Workbook Volume I Version 1. 00:10:46. 00:10:46. GigabitEthernet0/0 10. 2 masks i L2 150. Loopback0 C 150.8/32 [110/65536] via 10.1.0.4/32 [110/1] via 10.0.1. maximum is 0 msec R3#show ip route vrf * <output omitted> 150.com .8.INE.0.1. Cost of using 1 State POINT_TO_POINT. 5 subnets.4.1. 7 subnets. Serial1/2 C 150.0/24 is directly connected.8.68.1. Serial1/2 i L2 150.4/32 [115/40] via 150.1.3 is up Area 0 source address 10.1.1.0. 00:00:01.0/24 [110/65545] via 10.1.3/32 [110/1] via 10.8/32 [110/13] via 10.1.0. maximum is 0 Last retransmission scan time is 0 msec.38.1. GigabitEthernet0/0 10.13.8.13.0/16 is variably subnetted.1.4.0 ip ospf cost 65535 ! router ospf 1 network 10. 2 masks 10.8 0. Hello 10.0/24 is directly connected.0.13.0/24 is directly connected.0/24 [115/20] via 150.0. 00:10:46.46. Serial1/2 i L2 150. GigabitEthernet0/0 10.0/8 is variably subnetted.1.1.8. 00:10:46.0/24 [115/30] via 150.1.3.68. 2 masks 10.1.4.1. retransmission queue length 0.6.8 0.0.24.0 interface FastEthernet0/6 no switchport ip address 10.255. number of retransmission 0 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 0. 6. 00:09:14 C 10.4.46.68. Ethernet0/0 O 10. 00:09:36 O 10.1. 00:09:21 C 10.3/32 [200/0] via 150.4.1.4.2.1. 5 subnets.INE.1.0 Routing Table: R6-SW2 <output omitted> 10.0/24 is directly connected.0/8 is variably subnetted.3. Loopback1 O 10.0/24 [110/11] via 150.1.0/8 is variably subnetted.104 - www. 00:09:14.3.3.1.46.1.4.1.38.46.0/24 is directly connected.4.1.0.12.4. 2 masks O 10.4/32 [200/0] via 150.0.6/32 [110/12] via 150.13.1.0/24 [110/65545] via 10. Serial0/0. Ethernet0/1 R4#show ip route vrf * <output omitted> 150.com .0/24 [115/30] via 150.4/32 is directly connected.0/24 is directly connected.8.68.1.4.0.1.0.1 i L2 150.1.8.2. 00:09:36.8. Serial0/0. 2 masks O 10.4.1.1 Routing Table: R6-SW2 <output omitted> 10.8.3.24.0.1 i L2 150.6/32 [110/11] via 10.0/16 is variably subnetted.46. Ethernet0/1 O 10.0/24 [115/20] via 150.24. Ethernet0/0 C 10.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.3. Ethernet0/1 O 10.3.24. 00:09:36 O 10.8/32 [110/12] via 150.3/32 [115/40] via 150.3. Loopback1 B 10. 7 subnets.6.0/24 [110/65545] via 10.8/32 [110/11] via 10. 7 subnets.0/24 [110/11] via 150.3.38.1.38.1.4/32 is directly connected.1.1.1. 00:09:36. Serial0/0.24.6.3/32 is directly connected.1.1.1. 00:09:14 B 10.1.1. 00:09:14. Loopback0 i L2 150.1 C 150.38.6.1.4.1. Serial0/0. Ethernet0/0 Copyright © 2010 Internetwork Expert .1.1.2. 2 masks C 150. 00:10:22 C 10.1.1.3.1. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE.com .105 - Version 1.0 www. 13.1.5 R5 .1.7 SW1 SW2 OSPF Area 0 .2 204 Frame Relay 150.4 S0/0.3 S1/2 .1.1.1 .46.3 10.24.37.1.1 150.com .0/24 .1 .4 .6 G0/0 R6 www.0/24 VLAN 45 402 OSPF Area 0 .CCIE Service Provider Lab Workbook Volume I Version 1.0/24 VLAN 46 OSPF Area 0 10. Fa0/3 Fa0/3 E0/1 E0/0 R3 .0/24 VLAN 12 Fa0/0 . OSPF routes between VPN sites should appear as Inter-Area routes.45.3 150.106 - 10.12.2 IS-IS Level 2 R2 S0/0.1 R1 Fa0/0 .0/24 S0/1 .0 MPLS VPNs with OSPF and Domain-ID Objective: Configure MPLS VPNs between R5 & SW1 and R6 & SW2 using OSPF as the PE-CE routing protocol and a unique OSPF Process-ID on the PE routers.8 BGP AS 1 10.4 E0/1 R4 BGP AS 1 E0/0 E0/1 Copyright © 2010 Internetwork Expert .38.1.INE.0/24 .0/24 OSPF Area 0 .1. 7/24 on SW1 and advertise it into OSPF Create the Loopback 10.107 - www.0.1.INE.7.12. R6.1.000Y. SW1.0000.3.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure IS-IS Level 2 on the interfaces between R1.57 VRF “R6-SW2” should use the OSPF Domain-ID 0.1.6/24 on R6 and advertise it into OSPF Create the Loopback 10.1.4/32 on R4 and advertise it into IS-IS Enable OSPF area 0 on the Ethernet interfaces of R5. and R4 Create the Loopback 150.255.00 Configure MPLS on the interfaces between R1.5. and R4 Use NET addresses in the format 00. and SW2 Create the Loopback 10.68 Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface FastEthernet0/0 ip address 150.1.0.CCIE Service Provider Lab Workbook Volume I Version 1. R3.0 ip router isis tag-switching ip ! router isis net 00.0000.0 ip router isis tag-switching ip ! interface Serial0/1 ip address 150.0.8.1.1 255.0000.255.8/24 on SW2 and advertise it into OSPF R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R5 and SW1 should be in VRF “R5-SW1” R3 should use the route distinguisher and route target 1:7 for this VRF R4 should use the route distinguisher and route target 1:5 for this VRF R6 and SW2 should be in VRF “R6-SW2” Use the route distinguisher and route target 1:68 for this VRF R3 should use the route distinguisher and route target 1:8 for this VRF R4 should use the route distinguisher and route target 1:6 for this VRF Run OSPF as the PE-CE protocol between R3 & SW1 using process-id 7 Run OSPF as the PE-CE protocol between R3 & SW2 using process-id 8 Run OSPF as the PE-CE protocol between R4 & R5 using process-id 5 Run OSPF as the PE-CE protocol between R4 & R6 using process-id 6 VRF “R5-SW1” should use the OSPF Domain-ID 0.255.255.13.1 255. R2.6.0001.com .00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .3/32 on R3 and advertise it into IS-IS Create the Loopback 150. R3.0000.1. R2.5/24 on R5 and advertise it into OSPF Create the Loopback 10.1.0.4. 255.0 ! interface Ethernet0/1 ip vrf forwarding R6-SW2 ip address 10.255.38.37.255.12.2 255.1.3 255.255.0000.1.255.1.13.255.3 255.1 point-to-point ip address 150.0 ip router isis tag-switching ip clockrate 64000 ! router ospf 8 vrf R6-SW2 domain-id 0.255.3 255.1.0002.0000.255.0 ! interface Serial1/2 ip address 150.1.0.1.68 redistribute bgp 1 subnets network 10.1.255 ip router isis ! interface Ethernet0/0 ip vrf forwarding R5-SW1 ip address 10.255.2 255.0.108 - www.255.0.3 255.0.255.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3 0.0 ip router isis tag-switching ip frame-relay interface-dlci 204 ! router isis net 00.CCIE Service Provider Lab Workbook Volume I Version 1.38.INE.0 R2# ip cef ! interface FastEthernet0/0 ip address 150.255.00 is-type level-2-only R3# ip cef ! ip vrf R5-SW1 rd 1:7 route-target export 1:7 route-target import 1:5 ! ip vrf R6-SW2 rd 1:8 route-target export 1:8 route-target import 1:6 ! interface Loopback0 ip address 150.3.0 area 0 ! Copyright © 2010 Internetwork Expert .24.com . 1.57 redistribute bgp 1 subnets network 10.0.255.46.255.37.0.255.255.4 remote-as 1 neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.0000.4 255.24.255.0.4 activate neighbor 150.4.4.1 point-to-point ip address 150.1.INE.4.1.0 ip router isis tag-switching ip frame-relay interface-dlci 402 ! Copyright © 2010 Internetwork Expert .4 255.4 update-source Loopback0 neighbor 150.00 is-type level-2-only ! router bgp 1 neighbor 150.1.0003.255.4 next-hop-self ! address-family vpnv4 neighbor 150.4 255.1.4 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute ospf 8 vrf R6-SW2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute ospf 7 vrf R5-SW1 exit-address-family R4# ip cef ! ip vrf R5-SW1 rd 1:5 route-target export 1:5 route-target import 1:7 ! ip vrf R6-SW2 rd 1:6 route-target export 1:6 route-target import 1:8 ! interface Loopback0 ip address 150.1.0 area 0 ! router isis net 00.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ip router isis ! interface Ethernet0/0 ip vrf forwarding R6-SW2 ip address 10.109 - www.1.4.0.com .0 router ospf 7 vrf R5-SW1 domain-id 0.1.3 0.1.0000.4.4. 0.3.46.0 interface Ethernet0/1 ip vrf forwarding R5-SW1 ip address 10.0.46.255.0.0.255.6 0.6.1.0.5 0.0.1.1.3.6 255.4 255.45.1.0.4 0.0.0.3.INE.0 ! router ospf 1 network 10.255.0 area 0 network 10.0 area 0 ! router ospf 6 vrf R6-SW2 domain-id 0.00 is-type level-2-only ! router bgp 1 neighbor 150.45.255.0 ! interface GigabitEthernet0/0 ip address 10.CCIE Service Provider Lab Workbook Volume I Version 1.5 0.0.1.1.0000.3 activate neighbor 150.3.0.0 area 0 R6# interface Loopback0 ip address 10.5.0 ! interface Ethernet0/1 ip address 10.1.1.3 next-hop-self ! address-family vpnv4 neighbor 150.0000.3 send-community both exit-address-family ! address-family ipv4 vrf R6-SW2 redistribute ospf 6 vrf R6-SW2 exit-address-family ! address-family ipv4 vrf R5-SW1 redistribute ospf 5 vrf R5-SW1 exit-address-family R5# interface Loopback0 ip address 10.255.46.0 area 0 network 10.com .5 255.110 - www.45.1.1.6 255.1.1.0.0 area 0 Copyright © 2010 Internetwork Expert .5 255.255.255.6 0.3 update-source Loopback0 neighbor 150.0 area 0 ! router isis net 00.6.3 remote-as 1 neighbor 150.3.0 ! router ospf 1 network 10.0.68 redistribute bgp 1 subnets network 10.1.0.255.1.4 0.1.45.1.0.255.5.0.0 ! router ospf 5 vrf R5-SW1 domain-id 0.255.57 redistribute bgp 1 subnets network 10.0004. 0 SW1# interface Loopback0 ip address 10.1.0 ! interface FastEthernet0/4 switchport access vlan 45 ! interface FastEthernet0/5 switchport access vlan 45 ! router ospf 1 network 10.8.1.38.255.1.0.7 255.0.0 area 0 SW2# interface Loopback0 ip address 10.1.38.1. 00:02:30.0.37. Loopback0 O E2 10.1.255.1.0 area 0 network 10.38.255.255. 2 masks C 10.8 255.3.8 255. 4 subnets.46.0/24 is directly connected.1.7 0.0 area 0 network 10.8.1.0 ! interface FastEthernet0/3 no switchport ip address 10.7.8 0.7.8 0.0/8 is variably subnetted.0. FastEthernet0/3 O E2 10.1.0.0/24 [110/1] via 10.0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 ip address 10.0.6/32 [110/11] via 10.255.1.6.com .7 255.37.0 ! interface FastEthernet0/4 switchport access vlan 46 ! interface FastEthernet0/6 switchport access vlan 46 ! router ospf 1 network 10. FastEthernet0/3 Copyright © 2010 Internetwork Expert . FastEthernet0/3 C 10.0.255.255.1.INE.3. 00:02:30.38.1.0.0 area 0 Verification Without OSPF Domain-ID Configured: SW2#show ip route <output omitted> 10.8.255.0.111 - www.0.CCIE Service Provider Lab Workbook Volume I Version 1.38.1.0/24 is directly connected.7 0. Serial1/2 Routing Table: R5-SW1 <output omitted> 10.8. 4 subnets.1.1. Ethernet0/1 R6#show ip route <output omitted> O IA C C O IA 10.0/8 is variably subnetted. 00:14:18.1. 4 subnets. FastEthernet0/3 C 10.1. 00:14:49.37. 00:12:26 C 10. 00:13:51.1.7/32 [110/11] via 10.7. Ethernet0/0 B 10.CCIE Service Provider Lab Workbook Volume I Version 1.0/8 is variably subnetted.1.1.5.5.0/8 is variably subnetted. 00:12:26 B 10.0.0. Loopback0 O IA 10.1. 00:14:11. Ethernet0/0 Copyright © 2010 Internetwork Expert . 4 subnets.0 With OSPF Domain-ID Configured: R5#show ip route <output omitted> 10.0/24 is directly connected.1.7.5/32 [200/11] via 150.1.46.1.INE.37.1.8/32 [110/12] via 10. 00:14:18.4.1.1. FastEthernet0/3 C 10.0/24 [110/11] via 10. Serial1/2 i L2 150.1.4.1.5/32 [110/21] via 10.0.8.0/24 is directly connected.37.7.0/24 [110/11] via 10.37.0. Serial1/2 i L2 150.6/32 [110/21] via 10.1.45.46. Loopback0 C 10.1.12.com .1.1. FastEthernet0/3 O IA 10.38.1.45. 4 subnets.6. GigabitEthernet0/0 10. 2 masks C 10.1.0/24 is directly connected. 2 masks O 10.45.1.1.13.3.46.1.0/24 is directly connected.3/32 is directly connected.4. 2 masks O IA 10.7/32 [110/21] via 10.1. 2 masks O IA 10. 5 subnets.1. 00:14:40.38.1.1.0.4.0.1. 2 masks 10. 00:14:49.1.0/24 [110/2] via 10.4.38.4.38. 2 masks i L2 150. Ethernet0/1 C 10.0/24 is directly connected.3.0/8 is variably subnetted.1.1.0/24 [110/11] via 10.13.4.0.1.1.1.3.13.0/16 is variably subnetted.45. FastEthernet0/3 SW2#show ip route <output omitted> 10. 00:13:51.4/32 [115/40] via 150.1. Loopback0 10.112 - www.3.1.1.7.0/24 is directly connected.0.37.0. Ethernet0/1 O IA 10.0.0/24 [115/30] via 150.1.0/24 is directly connected. FastEthernet0/3 C 10. Serial1/2 C 150. 00:14:40.3.1.0/24 is directly connected. FastEthernet0/3 R3#show ip route vrf * <output omitted> 150.4.1. GigabitEthernet0/0 SW1#show ip route <output omitted> 10.46. Loopback0 C 150.0/24 [200/0] via 150.0/24 is directly connected.37.1.13.6.45.0. GigabitEthernet0/0 10.4. 4 subnets.0/24 [115/20] via 150.0/24 is directly connected.24.0/8 is variably subnetted.5. Loopback0 O IA 10. 0/24 is directly connected.1 i L2 150. Serial0/0.0.37.24.1 C 150.1. Serial0/0.4.0.INE.38.1.1. 4 subnets.6.24.1. Loopback0 i L2 150.8.38.4. 2 masks B 10.4/32 is directly connected.0/24 [115/30] via 150.1 Routing Table: R5-SW1 <output omitted> 10.8/32 [200/11] via 150.0/24 is directly connected.0/8 is variably subnetted. 4 subnets. 00:12:26 C 10. Ethernet0/1 C 10. 00:12:47 Routing Table: R6-SW2 <output omitted> 10.0/24 [200/0] via 150.1.7. 2 masks C 150. Ethernet0/1 B 10. 2 masks O 10.3/32 [115/40] via 150. Serial0/0.12.0/24 is directly connected.1.1.3.0.113 - www.4.46. 00:12:26 B 10.0.45.0. 00:14:11.1.1. Serial0/0.6.6/32 [200/11] via 150. 00:12:47 O 10.0 Routing Table: R6-SW2 <output omitted> 10.3.3.3.7/32 [200/11] via 150.0/24 [200/0] via 150.1.com .0/8 is variably subnetted.0/16 is variably subnetted.3. 5 subnets.5.46.8.1.1 i L2 150.1.2.1.3.1.2.8/32 [110/11] via 10. 00:14:06.5/32 [110/11] via 10.1.0/24 [200/0] via 150.46. Ethernet0/1 R4#show ip route vrf * <output omitted> 150. Ethernet0/0 B 10.0/24 is directly connected.0.1.1.1.1. 4 subnets.1.24.4. 00:12:47 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1. Ethernet0/1 B 10.0/8 is variably subnetted.0/24 [115/20] via 150.13.6.6/32 [110/11] via 10. 00:14:06.4.24.1.3. 2 masks B 10.0.2.45.8.3.5. 00:12:47 O 10.1.1. Ethernet0/0 C 10.1.1.38.1.3.1.1.1.1. 3 S1/2 S0/1 150.6 G0/1 RIPv2 Fa0/6 SW2 10.X. Fa0/3 10.6 R6 .13.1.1.com BB3 .1 R5 E0/0 .5 BB2 150.1.INE.4 E0/0 R4 E0/1 .0/24 OSPF Area 0 R1 S0/0.114 - www.10.X. SW2.0 MPLS VPNs with VPNv4 Route Reflection Objective: Configure R2 as a VPNv4 route reflector to provide MPLS VPN connectivity between SW1.0/24 .12.0/24 VLAN 24 S0/0.8 Copyright © 2010 Internetwork Expert .25.1.2 .0/24 VLAN 42 S0/0.1 Frame Relay .0/24 BGP AS 100 204.1.0/24 R2 Frame Relay 205 502 .0/24 .24.3 .5 192.2 .1 150.37. and R1 as an IPv4 route reflector to provide connectivity from AS 100 to AS 54.1 102 201 .7 RIPv2 E0/0 R3 SW1 BGP AS 54 .1.2 RIPv2 150.0/24 VLAN 56 G0/0 .1.68.CCIE Service Provider Lab Workbook Volume I Version 1.56.254 .0/24 VLAN 31 . & BB2.10.4 S0/0.2 .1 Fa0/0 150. 1.0/24 into OSPF on R1.CCIE Service Provider Lab Workbook Volume I Version 1.0/16 to BB3 via BGP.0 ! interface Serial2/0 encapsulation frame-relay ! interface Serial2/0.X.1 255.X. R4. Configure OSPF area 0 on the interfaces between R1 through R6.255.255. Configure MPLS on the interfaces between R1 through R6.7. Configure R1 to peer with BB3 via EBGP.12. R1 should reflect IPv4 unicast prefixes to these neighbors.1.255.1 255.0. Configure BGP AS 100 on R1 through R6.1. R2 should reflect VPNv4 prefixes to these neighbors. These neighbors should not exchange IPv4 unicast prefixes. R4. Use the route distinguisher and route target 100:1 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1. and R6 using the Loopback interfaces.1 255. BB2 will be expecting RIPv2 packets to be MD5 authenticated with the password CISCO R2 should peer via iBGP with R3.12.255.com .0 Directions • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10.INE.1.12.255. Create VRF “VPN_A” on R3.8. R1 should peer via iBGP with R2 through R6 using the Loopback interfaces. and R6 & SW2.Y.1.1.1. Advertise the network 204.8/24 on SW2 and advertise it into RIP Create Loopbacks in the format 150.Y/32 on R1 through R6.115 - www.7/24 on SW1 and advertise it into RIP Create the Loopback 10.1 point-to-point ip address 150.0 tag-switching ip frame-relay interface-dlci 102 ! Copyright © 2010 Internetwork Expert . and R6.255 ! interface FastEthernet1/0 ip address 204.255. Redistribute where necessary to gain connectivity within the VPNs Final Configuration R1# ip cef ! interface Loopback0 ip address 150. Configure R1 to advertise the aggregate 150. R4 & BB2. 0 0.0 0.0.1.2 point-to-point ip address 150.1.2.255.2 255.25.4.5 route-reflector-client neighbor 150.com .1.2 255.1.1.2.0 summary-only neighbor 150.3.1.255.255.13.1.1.6.1.1.4 update-source Loopback0 neighbor 150.1.255.255.24.0 tag-switching ip ! interface Serial2/0 encapsulation frame-relay ! interface Serial2/0.6 remote-as 100 neighbor 150.116 - www.0 255.2.1.INE.255.1.0 tag-switching ip ! router ospf 1 redistribute connected subnets network 150.2.1.1.6 route-reflector-client neighbor 204.0.255.255.0.1.255.1 mask 255.255.1 point-to-point ip address 150.4.3.255.1.255 area 0 ! Copyright © 2010 Internetwork Expert .1.5 remote-as 100 neighbor 150.2 255.3 update-source Loopback0 neighbor 150.4.255 aggregate-address 150.255.1.6.254 remote-as 54 R2# ip cef ! interface Loopback0 ip address 150.12.6.5 update-source Loopback0 neighbor 150.1 255.5.1.6 update-source Loopback0 neighbor 150.2 route-reflector-client neighbor 150.2 remote-as 100 neighbor 150.5.255 area 0 ! router bgp 100 network 150.2 update-source Loopback0 neighbor 150.1.0.3 route-reflector-client neighbor 150.255 ! interface FastEthernet1/0 ip address 150.255.3.0 tag-switching ip frame-relay interface-dlci 205 ! router ospf 1 network 150.CCIE Service Provider Lab Workbook Volume I Version 1.4 remote-as 100 neighbor 150.3 remote-as 100 neighbor 150.4 route-reflector-client neighbor 150.1.255.5.1.1.0.1.0 tag-switching ip frame-relay interface-dlci 201 ! interface Serial2/0.2 255.0.1.0 interface Serial2/1 ip address 150.12.255. 6 remote-as 100 neighbor 150.255.INE.1.6 activate neighbor 150.6.255.1.1.1.1.3 send-community extended neighbor 150.1.3 remote-as 100 neighbor 150.3 route-reflector-client neighbor 150.1.255.1.6.3 255.4 route-reflector-client neighbor 150.6.3.1.1.37.1.3 255.3 activate no neighbor 150.3.1.1 remote-as 100 neighbor 150.3.117 - www.4 remote-as 100 neighbor 150.1.6.255 area 0 ! Copyright © 2010 Internetwork Expert .1.4.4.4.0.6.0 router bgp 100 neighbor 150.1.255.com .6 route-reflector-client exit-address-family R3# ip cef ! ip vrf VPN_A rd 100:1 route-target export 100:1 route-target import 100:1 ! interface Loopback0 ip address 150.1.0.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.3.1.255.1.6 update-source Loopback0 ! address-family ipv4 neighbor 150.4.1.3.4.1.0 ! interface Serial1/2 ip address 150.1.1.6 activate exit-address-family ! address-family vpnv4 neighbor 150.13.3 update-source Loopback0 neighbor 150.1.6.4 update-source Loopback0 neighbor 150.1.3.6 send-community extended neighbor 150.4 activate neighbor 150.255 ! interface Ethernet0/0 ip vrf forwarding VPN_A ip address 10.1.255.4 send-community extended neighbor 150.3 activate neighbor 150.255.1 activate no neighbor 150.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.1 update-source Loopback0 neighbor 150.4 activate no neighbor 150.1.0 0.3.4.3 255. 1 update-source Loopback0 neighbor 150.1 remote-as 100 neighbor 150.INE.0 tag-switching ip ! interface Ethernet0/1 ip vrf forwarding VPN_A ip address 192.1.255.2.255.255.1.118 - www.0.1.4 255.4 255.2 activate exit-address-family ! address-family vpnv4 neighbor 150.10.1.1.com .255.2 activate neighbor 150.1.255 area 0 ! Copyright © 2010 Internetwork Expert .0 ip rip authentication mode md5 ip rip authentication key-chain RIP ! router ospf 1 network 150.0 router rip ! address-family ipv4 vrf VPN_A redistribute bgp 100 metric 1 network 10.1.2 remote-as 100 neighbor 150.2 update-source Loopback0 ! address-family ipv4 neighbor 150.2.2.255 ! interface Ethernet0/0 ip address 150.1 activate no neighbor 150.1.1.2 send-community extended exit-address-family ! address-family ipv4 vrf VPN_A redistribute rip exit-address-family R4# ip cef ! ip vrf VPN_A rd 100:1 route-target export 100:1 route-target import 100:1 ! key chain RIP key 1 key-string CISCO ! interface Loopback0 ip address 150.0.1.2.1.1.255.4 255.0 0.1.255.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.1.1.2.24.255.CCIE Service Provider Lab Workbook Volume I Version 1.4.0.0. INE.1.5.2 send-community extended exit-address-family ! address-family ipv4 vrf VPN_A redistribute rip exit-address-family R5# ip cef ! interface Loopback0 ip address 150.1 point-to-point ip address 150.1.119 - www.1.2 activate exit-address-family ! address-family vpnv4 neighbor 150.1 remote-as 100 neighbor 150.1.2 update-source Loopback0 ! address-family ipv4 neighbor 150.2.255.1.2.0 tag-switching ip frame-relay interface-dlci 502 ! router ospf 1 network 150.56.255 area 0 ! router bgp 100 neighbor 150.5 255.10.1.1.0 router rip ! address-family ipv4 vrf VPN_A redistribute bgp 100 metric 1 network 192.255.1 activate no neighbor 150.2.1.2.255.1 remote-as 100 neighbor 150.0.1.25.1.2 activate neighbor 150.255.0.255.255.1 update-source Loopback0 neighbor 150.5 255.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ! interface Ethernet0/0 ip address 150.0 0.1.1.com .1.2 remote-as 100 neighbor 150.1.1.1 update-source Loopback0 Copyright © 2010 Internetwork Expert .1.1.1.2.5 255.1.255.1.CCIE Service Provider Lab Workbook Volume I Version 1. 1.255.0 ! router ospf 1 network 150.255.2 activate exit-address-family ! address-family vpnv4 neighbor 150.2.1.0.2 remote-as 100 neighbor 150.120 - www.255.68.56.0 mpls ip ! interface GigabitEthernet0/1 ip vrf forwarding VPN_A ip address 10.1.6 255.1.255.1 update-source Loopback0 neighbor 150.1.1.INE.1.1.255.1.6.1.1.0.com .0 R6# ip cef ! ip vrf VPN_A rd 100:1 route-target export 100:1 route-target import 100:1 ! interface Loopback0 ip address 150.2 update-source Loopback0 ! address-family ipv4 neighbor 150.1.2.2.0.6 255.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.2.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 0.2 send-community extended exit-address-family ! address-family ipv4 vrf VPN_A redistribute rip exit-address-family Copyright © 2010 Internetwork Expert .255.255 area 0 ! router rip ! address-family ipv4 vrf VPN_A redistribute bgp 100 metric 1 network 10.1 remote-as 100 neighbor 150.0.1.1 activate no neighbor 150.255 ! interface GigabitEthernet0/0 ip address 150.2.6 255.1.255.2 activate neighbor 150. 0 ! interface FastEthernet0/24 switchport access vlan 42 ! router rip version 2 network 10.1.0 no auto-summary Copyright © 2010 Internetwork Expert .37.255.7 255.7 255.1.255.0.CCIE Service Provider Lab Workbook Volume I Version 1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! interface FastEthernet0/24 switchport access vlan 31 ! router rip version 2 network 10.255.255.INE.0 ! interface FastEthernet0/3 switchport access vlan 32 ! interface FastEthernet0/4 switchport access vlan 42 ! interface FastEthernet0/6 no switchport ip address 10.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.8 255.0.com .8.7.1.255.1.8 255.255.68.255.0.0.0 SW1# ip routing ! interface Loopback0 ip address 10.121 - www.0 ! interface FastEthernet0/1 switchport access vlan 31 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.255. 6 1 100 0 ? *>i10.1.0 150. local router ID is 150.incomplete Network Next Hop Route Distinguisher: 100:1 *>i10.10. S Stale Origin codes: i .1.1. * valid.0 150.3 *>i10. d damped. h history.1.4.0.3.1. d damped.20.6.10.3 Status codes: s suppressed.INE.3.68.3. i .1.2.20.0/24 150.internal.3.0/24 150.4 Status codes: s suppressed.1.0/24 150.EGP.4 *>i222.6 *>i10.254 7 32768 ? Copyright © 2010 Internetwork Expert .7.68. * valid.1.37.1.3 0 100 0 ? *>i10. r RIB-failure.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf VPN_A) *> 10.1.0/24 150.4 Metric LocPrf Weight Path 1 1 0 0 0 7 7 7 100 100 100 100 100 100 100 100 0 0 0 0 0 0 0 0 ? ? ? ? ? ? ? ? R3.1.4.37.IGP.1.10. h history.1.0/24 150.0 192.3.6.254 7 32768 ? *> 220.8.1. ? .1.1.4 7 100 0 ? *>i222.1.EGP.internal.0 150.1.7.4.2.0.1. * valid.4 *>i220.1.IGP.90.1.0/24 150.31.6.1.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf VPN_A) *>i10.0 150.90. h history.4.internal. R4.1.8.1.4 *>i205.CCIE Service Provider Lab Workbook Volume I Version 1.6.6 0 100 0 ? *> 192.6.6 *>i192.1.4.0 Verification R2 installs the VPNv4 routes for RD 100:1 but does not associate them with VPN_A R2#show ip bgp vpnv4 all BGP table version is 9.4.1.122 - www.0/24 0. > best.4 7 100 0 ? *>i220.0 150.0 0.EGP.0/24 150.1.4.4 0 100 0 ? *>i205.22.3. S Stale Origin codes: i .8.0 0 32768 ? *>i10.1.1.4.0.0/24 150. i .1. S Stale Origin codes: i .1.0 150.1. e . > best. r RIB-failure.4 7 100 0 ? R4#show ip bgp vpnv4 all BGP table version is 17.10.3.4.1.6.1.3 *>i10.1. > best.2.7.IGP.0 150.37.0/24 150. and R6 learn VPNv4 prefixes from R2 and install them as VPN_A routes R3#show ip bgp vpnv4 all BGP table version is 17. local router ID is 150. local router ID is 150.31.0/24 10.0. ? .3. d damped. r RIB-failure.com .10.2 Status codes: s suppressed. i .6 0 100 0 ? *>i192.7 1 32768 ? *>i10.0 0 32768 ? *> 205.37.6 1 100 0 ? *> 10.1.1.68. e .31.1.20.90. ? .0 192.3 1 100 0 ? *>i10. e .0/24 150.22.1.0 150. 0. d damped.1.31.0.0.1.1.0.3.12.0 150.incomplete *> *> *> *> *> *> *> *> *> *> *> s> Network 28.119.0.3.1/32 Next Hop 204.1. h history.0 *>i117.0 113.0 192.0.internal. i .0 *>i118.0.123 - Metric LocPrf Weight Path 0 100 0 54 i 0 100 0 54 i 0 100 0 54 50 60 i 0 100 0 54 50 60 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i www.0.12.1. * valid.1.CCIE Service Provider Lab Workbook Volume I *> 222.internal.0.0.1 Status codes: s suppressed.incomplete Network *>i28.3 0 100 0 ? *> 10.1.1.16. local router ID is 150.0.1.0 7 32768 ? R6#show ip bgp vpnv4 all BGP table version is 17.4.0 116.0. d damped.0 Metric LocPrf Weight Path 0 0 54 i 0 0 54 i 0 54 50 60 i 0 54 50 60 i 0 54 i 0 54 i 0 54 i 0 54 i 0 54 i 0 54 i 32768 i 0 32768 i R2#show ip bgp BGP table version is 12.EGP.12.0 118. r RIB-failure.com . h history.0.0.37.68.0 117.12.0/24 112.0.4 7 100 0 ? *>i220.254 204.0.0 *>i119.1.22.254 204.0 119.12. S Stale Origin codes: i .1.4.0 *>i116.0 150.254 204.2.0/24 0.1.254 204.0.0.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf VPN_A) *>i10.1.0.EGP.1.0.1.1.0.0/24 10.0.1. S Stale Origin codes: i . * valid.254 204.1.0.254 204. e .0 115.1.1. d damped.0 150. r RIB-failure. i .12.7.0/24 150.12.1.12.1.16.0/24 *>i112.4 7 100 0 ? *>i222.254 Copyright © 2010 Internetwork Expert .254 204. > best.0.254 0.2.254 204.IGP. local router ID is 150.254 204.90.1.0.0.12.22. S Stale Origin codes: i . > best.12.119.254 Version 1.254 204.1. e .3. ? .254 204. * valid.0.1.0.12.12.0 150.119.1.0/24 *>i28. ? .12.12.1.6 Status codes: s suppressed.0.0.254 204. h history.12.0 0.12.1.1.internal.10.3 1 100 0 ? *> 10.2 Status codes: s suppressed.0.0.20.0 0 32768 ? *>i192.0 150.1. r RIB-failure.1.0 *>i113.254 204. > best.0 150.1.0.2.0 114. ? .0/24 28.119.12.4 7 100 0 ? Other BGP routers only know of IPv4 Unicast prefixes R1#show ip bgp BGP table version is 14.0.1.254 204.17.17.8 1 32768 ? *>i10.0 *>i115.12. i .0. local router ID is 150.1.0.IGP.0.1.1.1.1.0 Next Hop 204.1.0 *>i114.254 204.4.1.INE.0.6. e .0.254 204.4.EGP.254 204.8.68.10.IGP.12.0/24 150.4 0 100 0 ? *>i205.254 204.12. IGP.254 204.12.119.254 150.0.0. h history.0/24 *>i112.254 204.0.0 *>i114.0 *>i115.0.0.internal. ? .0.0 *>i116.254 204.12.internal.1.17.254 204.12. i .12.0 Next Hop 204.1.1.0.1.EGP. r RIB-failure.12.12.0.0.12. local router ID is 150.0 *>i113. d damped.0 *>i119.0 *>i117.0.1.12.0.254 204.CCIE Service Provider Lab Workbook Volume I *>i150.0.1.1.0.0.0 *>i115. d damped. r RIB-failure.1. S Stale Origin codes: i . > best.254 204.254 204.254 204.0.1.1.0.254 204.1. > best.0 *>i119.0.12.1.0/24 *>i112. r RIB-failure.16.3. * valid.0.3 Status codes: s suppressed.16.254 204.0/24 *>i112.12.EGP.0.12.12.0. h history.254 204.0 0 100 0 i R3#show ip bgp BGP table version is 12.0.1 Metric LocPrf Weight Path 0 100 0 54 i 0 100 0 54 i 0 100 0 54 50 60 i 0 100 0 54 50 60 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 i R4#show ip bgp BGP table version is 12.incomplete Network *>i28.254 204.12.0 *>i150.1.12.1.0 *>i118.incomplete Network *>i28. > best. e .12.12.0.com .1.12.0.1.0.254 204.0. d damped.0/24 *>i28.0.0.254 204.254 204.17.0 *>i115. ? .0.0.1.0.0 *>i114.1.0.IGP.0.12.1. e .0.0.1.254 204.0 Next Hop 204.254 204.1.254 204.1.119.119.254 204.12.254 204. S Stale Origin codes: i .254 204.1. i .0 Next Hop 204.0/24 *>i28.1.4 Status codes: s suppressed.1.0.0.0. h history.IGP.0.1.1 Copyright © 2010 Internetwork Expert .0 *>i113.0. e .0.1.12.12.0 150.0 *>i116.12.254 204.12. i .0.0.0 *>i114.254 150.0/24 *>i28. * valid.12.0.254 204.0.1.1.0 *>i150.0 *>i116.12. local router ID is 150. * valid.0.12.254 204.12.17.12.1 Metric LocPrf Weight Path 0 100 0 54 i 0 100 0 54 i 0 100 0 54 50 60 i 0 100 0 54 50 60 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 i R4#show ip bgp BGP table version is 12.1.internal.incomplete Network *>i28.0. ? .1.EGP.119.0.1.0 *>i117.0 *>i150.1.1.4.1.1.INE.0.254 204.1.0 *>i119.0.0.12.0 *>i117.119.1 Version 1.1.119.0.1. S Stale Origin codes: i .254 204.16.0 *>i118.4 Status codes: s suppressed.1.254 150.0.12.0 *>i113.124 - Metric LocPrf Weight Path 0 100 0 54 i 0 100 0 54 i 0 100 0 54 50 60 i 0 100 0 54 50 60 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 i www.1.1.1. local router ID is 150.1.1.0 *>i118.254 204.4. 0.1.1.1.0 *>i117.1.12.0. d damped.0/24 *>i28.1. 2 subnets 28.0.1. ? .254.0. 00:28:14.1 B 117. 00:28:14.0.12.1.1.2.0 [20/0] via 204.2.254.0.12.1.com .0.0.0.0.0/8 [200/0] via 204.12.254 204.12. Serial2/0.0.13.1.254.12.12.4/32 [110/50] via 150.1. 00:25:20 B 114. > best. 00:28:14.1.0.56.1 150.1.125 - www.254. Serial2/0.1.254 204.0.4.119.1.0.0.1. * valid.0.0.0/8 [20/0] via 204. 00:28:20 114.0.0.0.1.1.3.1 R2#show ip route <output omitted> B 119.1.254.3.1.254.0/16 [200/0] via 0.12.0.0.0.1.12.12.6.12.0. Serial2/0. 00:25:20 Copyright © 2010 Internetwork Expert .12.1.1. Serial2/0.1.0 *>i116.1.1 150.0/24 is directly connected.6.17.0.0 *>i114.254 204. 00:25:20 B 116.1.0.1.0.0/8 [20/0] via 204.0/24 is directly connected.0/24 [110/49] via 150.2. 00:28:14.0.0/8 [20/0] via 204.12.254.INE.1.12.1.0 Next Hop 204.0.1.1. 00:28:20 28. 00:28:20 115.12.internal.0/8 [20/0] via 204.0.1 150.0.EGP. 00:23:40.254.1.1. 00:28:14.12.254 204.0/8 [20/0] via 204. i .2.12.0 *>i119.12.0/24 [110/106] via 150.12.1. 3 masks 150.0/16 is variably subnetted.254. Loopback0 150.12.5.0.0/8 [20/0] via 204.0/8 [200/0] via 204.1.2.1. 00:25:20 O E2 204.0.1. h history. 00:28:35.0.0/24 *>i112. local router ID is 150. 00:28:21 150.0. Serial2/1 150. Serial2/0.1.1. Serial2/1 150.25.1.254.12.0.0/24 [110/20] via 150.0.0 *>i115.12.0/24 is subnetted.1 150. 00:28:20 118. 00:28:20 116.1.0/8 [20/0] via 204.12. 00:28:20 113.2/32 [110/49] via 150.254. Serial2/0.1.12.12.1.0/8 [20/0] via 204.254.1.2.16.incomplete Network *>i28.1. Serial2/0. 00:25:20 B 115.3/32 [110/49] via 150. 00:28:14.254 204.12.254 150.0 *>i150.24.1. Serial2/0.12.0. 00:28:21 28.254.1.1/32 is directly connected.0. 00:25:20 B 118.0 R6#show ip bgp BGP table version is 12.12. 12 subnets.17.0.2.0/8 [200/0] via 204.119.254.13.0.1 150.1.12.1.6 Status codes: s suppressed. S Stale Origin codes: i .12. Serial2/0. 00:28:20 112.12.0.2.0.0.1 Metric LocPrf Weight Path 0 100 0 54 i 0 100 0 54 i 0 100 0 54 50 60 i 0 100 0 54 50 60 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 54 i 0 100 0 i R1#show ip route <output omitted> B B C B B B B B B B B O O O O O O O C B C C O 119.0.254.12.12.1.0/8 [200/0] via 204.0/24 [110/96] via 150.1.119.254 204.5/32 [110/97] via 150.1 150. FastEthernet1/0 117.1.CCIE Service Provider Lab Workbook Volume I Version 1.0/8 [200/0] via 204. e .IGP.0 *>i118.6/32 [110/107] via 150.12.0.254.254 204.254 204.0 *>i113.0.119.16.1 150. r RIB-failure.254 204. Null0 150.0 [20/0] via 204.1.0.0. 00:28:14.0.1.0/8 [200/0] via 204.12.1.1.12.0. 00:28:20 204.0/24 is directly connected.12.0. 00:28:14. 0.4.0. Serial2/0.1. Loopback0 150.0.1.3/32 [110/97] via 150.12.0 [200/0] via 204. 00:00:01.25. 00:28:36.6.1.1.1.0/16 is variably subnetted.0.254.0/24 [200/0] via 150.12. 3 masks 150.1. 00:25:34 B 116.1. Serial2/0.7.24.1.0.13.0. 00:24:02 150.0/24 [110/20] via 150.1. Serial1/2 C 150.119.1.12.0/16 [200/0] via 150. 00:24:27 C 150.0.254. 00:07:11 R 10.1. 00:07:11 B 220.1.1.0/24 [110/58] via 150.1/32 [110/49] via 150. 00:29:01. 00:25:21 28.1.254. 00:29:01.1.1.1.1.1.0/24 is directly connected.20.1.16.56.5/32 [110/49] via 150. 00:29:00.126 - www.1.1.0.119.0/24 [110/830] via 150. Ethernet0/0 C 10. 00:25:34 28.1.16.1.1.0 [120/1] via 10. 00:29:01. 00:28:36.0. 00:29:01.1.12.13.2.254. 00:25:34 B 113.2/32 [110/830] via 150.1.1. 00:28:36.5.1 150.6/32 [110/59] via 150. Serial1/2 B 150. FastEthernet1/0 150.254.68. Serial1/2 O 150.37.1.1.254.0 [200/0] via 150.5. Serial2/0.37.6.1. 00:25:34 B 112.1.12.25.254.1.1. Serial2/0.2.0. Serial1/2 B 117.6. 12 subnets.13.0.1.1.4. 00:28:36.1.0.1 150.254.1 150.12.6.0/8 [200/0] via 204.0/16 is variably subnetted. 12 subnets.1.1.7.12.1.12.0.0.1.254.1.1.1.22.1.1.13.0 [200/1] via 150.0/24 is directly connected. Serial1/2 O 150.12.2 150.12.0/8 [200/0] via 204.2 R3#show ip route vrf * <output omitted> B 119.0. 3 masks O 150.4.119. Serial1/2 O 150.13. 00:25:34 O E2 204.3.8.24.0.0.0/24 is subnetted.2 150. Serial2/0.12.12.0.3. Serial2/0.0. 00:29:01.0.1.25.1.1.254.12. Ethernet0/0 B 10.12. 00:29:01.2 150. 00:25:20 112.0/8 [200/0] via 204.17.1.1.24.0/24 [110/877] via 150.0/8 [200/0] via 204. 00:07:11 Copyright © 2010 Internetwork Expert .1. Serial1/2 O 150.1. 00:07:11 B 192. 00:25:34 B 118.1.2. 4 subnets B 10.17.119.4/32 [110/2] via 150.0/24 [110/829] via 150.4.0 is directly connected.0/8 [200/0] via 204.0. Serial2/0.0/16 [200/0] via 150.5/32 [110/878] via 150.0 [200/0] via 204.1.4.1.254.0/24 is directly connected. Loopback0 O 150.1.0/24 [200/7] via 150. FastEthernet1/0 150.5.1.0.0/24 is subnetted.0 113. 00:28:36. Serial2/0.0/8 [200/0] via 204. 00:29:01.0.0/8 [200/0] via 204.1.0. 00:25:34 B 114.1.1.6. 00:25:34 B 115.1.1/32 [110/782] via 150.3. Serial1/2 O 150.1.13.1.1.2/32 is directly connected.0.1. 00:28:36.12.0/24 [110/887] via 150.1.1.13.254.5.1.3/32 is directly connected. 00:25:20 28.1.4/32 [110/831] via 150.0/24 [110/96] via 150. Serial1/2 O 150.0/24 is subnetted.5.56.25.13.4.1.1.1. 00:28:36.1.12.0 [200/0] via 204.1.0/24 is directly connected. 00:29:01. 00:25:35 B 28. 00:25:21 150.1.10.1.1 150. 00:25:35 150.com .13.1.25.13.1.0/8 [200/0] via 204.1.INE.12.0/24 [200/7] via 150. Serial1/2 Routing Table: VPN_A <output omitted> B 222.1.6. 00:29:01.0.0/8 [200/0] via 204.4.13.1.6/32 [110/888] via 150.12.4.0.12.0/8 [200/0] via 204.0 [200/0] via 204. 2 subnets B 28.0.4.1.1.254.1.254.1. Serial1/2 O 150.13.1.12.0. 00:07:11 10.1.0. 2 subnets 28.CCIE Service Provider Lab Workbook Volume I B B B B C C O O O O C O B O C O Version 1.1.1. 0/8 [200/0] via 204.0.0/8 [200/0] via 204. Serial0/0.0/8 [200/0] via 204. Ethernet0/0 O 150.20. 00:25:54 150.1.90.3.119. 00:26:13 150.3. 2 subnets B 28. Ethernet0/0 B 117. Ethernet0/0 O 150.24.10.1.254.10.2.12.0.1.1.37.22. Loopback0 O 150.2.0.12.1.0.0/24 is subnetted.0/8 [200/0] via 204.1.31.2.254.254.3. Ethernet0/0 B 150.254. 00:29:28.0/8 [200/0] via 204.0.0/24 [110/68] via 150.119.1.254.10.0 [200/0] via 150.24.0/8 [200/0] via 204.12.1.2/32 [110/11] via 150.0/16 [200/0] via 150.1. 00:29:28. 4 subnets B 10. 00:00:01.0.0. 00:26:12 B 118.0. 00:25:54 B 28.12.3/32 [110/107] via 150. Ethernet0/0 O 150.17.2.2.12.127 - www.0.1.25. 00:29:28. 00:29:28.0 [200/1] via 150. Ethernet0/0 Routing Table: VPN_A <output omitted> R 222.1.0/24 [110/106] via 150.254.5. 00:26:12 O E2 204.12.1.12.0 205. Ethernet0/0 C 150.1.7.1. 00:25:53 B 115.1.1/32 [110/59] via 150. 00:25:53 B 118. Ethernet0/0 C 150. 00:26:12 28.1.56.1. 00:25:53 B 116.0 [200/1] via 150. 00:26:12 B 114. 00:26:13 B 28.0.0.1.254.24.0.1.3.254.254.12.0/24 is subnetted.0.1.2.0/24 is directly connected.0/24 [110/20] via 150.1.0.0.12.1.0. 00:25:53 B 112.0. 00:29:26.13.0/8 [200/0] via 204.1.INE.2.12.12.0.5/32 [110/59] via 150.0/24 [120/7] via 192. 00:24:54 O 150.0/24 [120/7] via 192.0.2.1. 00:07:40 B 10.0/24 [120/7] via 192.12.0/8 [200/0] via 204.1.12.254.0/8 [200/0] via 204.0.0/24 is directly connected.2.1.1. 00:29:54.1. Ethernet0/0 O 150.com .2.2.1.31.0 [200/0] via 204.1.1.254.6.254.0/8 [200/0] via 204.0/8 [200/0] via 204.1.1.0/16 is variably subnetted. 00:25:53 B 113.12.0 [200/0] via 204.1.1.0.0/8 [200/0] via 204.CCIE Service Provider Lab Workbook Volume I B Version 1.1.0/8 [200/0] via 204.1.0/8 [200/0] via 204.0/24 [200/7] via 150. Ethernet0/1 R 205. 00:07:40 B 10.12.1.10.1.254.0 [200/0] via 204. 12 subnets.12. 00:29:28.0 [200/0] via 204.0.6.24.3.90.0.12. 2 subnets B 28.0/24 is subnetted.1.1.0. Ethernet0/0 O 150.24.0.24.16.254.0/16 is variably subnetted.0. 00:29:28.254.8.254.254.0.0 [200/0] via 150.4.254.12. 00:07:40 B 10.0/24 [110/58] via 150. 00:26:12 B 115.1. 00:00:01.1.0/8 [200/0] via 204. 00:26:12 B 112.2.1. Ethernet0/0 O 150.0. Ethernet0/1 R5#show ip route <output omitted> B 119.0/8 [200/0] via 204.68.1.254. 00:29:28.254.25.12.0.1.1.1. 3 masks Copyright © 2010 Internetwork Expert .24. 12 subnets. 3 masks O 150. 00:29:28.1.0.0.0/24 [110/20] via 150.0/24 [110/58] via 150. 00:07:40 C 192.1 B 117.1. 00:07:11 R4#show ip route vrf * <output omitted> B 119.24.12. 00:25:53 O E2 204.1. 00:29:28.1.4.254.1.1.6.0.1.0.0.1. 00:00:02.6/32 [110/69] via 150.1. 00:26:12 B 116.1.24.0. 00:25:53 B 114.1.6.12.0.24.1.4/32 is directly connected.1.17.24.2.1.1. 00:25:53 28.119.16.0. Ethernet0/1 R 220.6.0.119.254.0.254.1.4.12.12. Ethernet0/1 10.3. 00:26:12 B 113.0.0. 1.1.1.25.6/32 is directly connected.5.16.1.12.2/32 [110/66] via 150. Serial0/0.1.56.1. 00:26:34 B 112.0/24 is directly connected.1.25. GigabitEthernet0/0 B 150. 3 masks O 150.25. 00:25:21 150.0/8 [200/0] via 204. 00:29:55.0/24 [200/7] via 150.254.0/8 [200/0] via 204. 00:26:34 B 118.1. GigabitEthernet0/0 O 150.56. 00:08:26 C 10. 12 subnets.56.5.5/32 [110/2] via 150.22.1.5.1.4/32 [110/66] via 150.1.1. Loopback0 O 150. 00:30:18. 00:29:55. 00:30:18.0 150. 00:08:26 10.1. 00:29:55.5.1.1 150.0 [200/1] via 150.12.1. 00:08:27 Copyright © 2010 Internetwork Expert . 00:25:44 O 150.56. 00:29:55. 00:08:26 B 10. GigabitEthernet0/0 O 150.0/24 [110/66] via 150.1 150.56. 00:29:55.1.3. GigabitEthernet0/0 O 150.3.0 [200/0] via 150. Serial0/0.4.5.1.0/24 is directly connected.1 150.0.6.8.3/32 [110/161] via 150.0.12.6/32 [110/11] via 150.0.0.1. 00:26:35 150.12.1.0.0 [120/1] via 10.56.12.0/8 [200/0] via 204.2/32 [110/65] via 150.4.0/24 [110/161] via 150. 00:30:18. 4 subnets R 10.1.0.0/8 [200/0] via 204.4.1.1.1.1.1. 00:26:34 B 114.4.25.1.128 - www.0/16 [200/0] via 150.1.2.12.1.1.0/24 is directly connected.0/24 [200/7] via 150.5.1.1/32 [110/114] via 150.0 [200/0] via 204.254.10.0.5.0. Serial0/0.24.1 150.5.2.12.25.1.0.5.0/24 [110/65] via 150.1.6.1.1.1.1. 00:29:55. GigabitEthernet0/0 C 150.254.1. GigabitEthernet0/0 Routing Table: VPN_A <output omitted> B 222.2. 00:30:18. 00:26:34 B 115.1.0.8.1. GigabitEthernet0/0 O 150.56.0/24 [110/113] via 150.2.1.25.0 [200/0] via 204.1.1 150.1.1.0.1.2.1.4.3/32 [110/162] via 150.90.1.com .3.1.13.1. GigabitEthernet0/1 B 192. Loopback0 150.6.1.3.3.1.1.4.0/24 is subnetted. 00:30:18.68.0/16 is variably subnetted.0. 00:26:34 28.1 150.1.0.254.56.12.56. 00:26:35 B 28.0.0/24 is subnetted.37. GigabitEthernet0/1 B 10. GigabitEthernet0/0 C 150.25.1.25.CCIE Service Provider Lab Workbook Volume I C O O C O O O O B O O C Version 1.2.0 is directly connected.25. Serial0/0.0/8 [200/0] via 204.1.0/8 [200/0] via 204.1.0/24 [110/160] via 150.INE.1/32 [110/113] via 150. 00:08:26 B 220.0/8 [200/0] via 204.1 150.1.1. 00:26:34 O E2 204.0.0.20. 00:30:18.1.5. 00:30:18.3. Serial0/0.31.17.12.0.0/24 [110/112] via 150. 2 subnets B 28.12.5.254. 00:30:18.1. Serial0/0. Serial0/0.4. Ethernet0/0 150.12.56.4.1. Serial0/0.56.254.0.0. 00:29:55.0.254.1.4/32 [110/67] via 150.1.0/8 [200/0] via 204. 00:26:34 B 113.2.2. 00:30:17.0/16 [200/0] via 150.1. 00:29:55.119.0/24 [110/65] via 150.0.0/24 [110/20] via 150.119.2.254. 00:08:27 B 205. GigabitEthernet0/0 O 150.1. GigabitEthernet0/0 B 117.1.1. Ethernet0/0 R6#show ip route vrf * <output omitted> B 119. 00:26:34 B 116.68.4.1.0.1. 00:00:15.56.0/24 [200/0] via 150.12.0.1.24.7.254.56.254.12.1.1.5.1. 00:30:18.1.3.2.5/32 is directly connected.1.0/24 [200/7] via 150. GigabitEthernet0/0 O 150.13.1 150.4. FastEthernet0/3 R 192.0.22.0/24 is subnetted. 00:00:08. FastEthernet0/6 10. 00:00:08. FastEthernet0/6 R 10.1.1.37.com .22. 00:00:22.129 - www.0/24 [120/1] via 10.0/24 [120/1] via 10.INE. FastEthernet0/3 10.37. 00:00:22. FastEthernet0/3 C 10.20.1. FastEthernet0/6 Copyright © 2010 Internetwork Expert .1.3. 4 subnets R 10.68.0 is directly connected.1. 00:00:23.0.0 [120/1] via 10.0 [120/1] via 10. FastEthernet0/3 R 205. FastEthernet0/6 R 220.37.6.CCIE Service Provider Lab Workbook Volume I Version 1. 00:00:08.0/24 [120/1] via 10.3.0/24 [120/1] via 10.1.0/24 [120/1] via 10.0.0 is directly connected. FastEthernet0/6 C 10.1.37.68.37. FastEthernet0/3 SW2#show ip route <output omitted> R 222. 00:00:22.1.3. FastEthernet0/3 R 10. Loopback0 R 10.6.0/24 is subnetted.68.90. 00:00:08.3.3.1.1.7.68.2.1.1.8.0/24 [120/1] via 10.37.3.90. FastEthernet0/6 R 192.0 is directly connected.8. 00:00:08.6.68.68.31.3.68.0 is directly connected.1.0 SW1#show ip route <output omitted> R 222. FastEthernet0/3 R 220.1.37.0 [120/1] via 10. 4 subnets C 10.6.6.1.3.1.31.0 [120/1] via 10.0/24 [120/1] via 10.10. 00:00:08.1.1.37. Loopback0 C 10. 00:00:22.1.10.20.0/24 [120/1] via 10.1. 00:00:22.1.6. FastEthernet0/6 R 205.2.7.68.0.1. 37.0/24 Area 0 Frame Relay R1 .6 G0/1 RIPv2 Fa0/6 SW2 10.13.Y/24 VLAN 100 150.68.200.3 .2 S0/0.3 S1/2 BGP AS 1 S0/1 150.1.1.6 54.X.1 OSPF 150.0/24 .5 S0/0.254 SW1 RIPv2 RIPv2 E0/0 E0/1 R3 .INE.10.1.1.200 150.1 IS-IS Level 2 R5 E0/0 .1.0/24 R4 S0/0.1 S0/0.100 E0/0.130 - www.7 192.12.com .56.4 BGP AS 2 Frame Relay 405 504 .5 150.1.1.8 .1 R2 Fa0/0.1 .45.0 Inter-AS MPLS VPNs with Back-to-Back VRF Objective: Provide VPN transit between SW1 & BB1 and SW2 & BB2 using back-to-back VRF exchange between AS 1 and AS 2.254 RIPv2 BB1 Copyright © 2010 Internetwork Expert .0/24 Frame Relay 101 .CCIE Service Provider Lab Workbook Volume I Version 1.3 10.1.1.0/24 .1 102 201 .200 150.100.0/24 . Fa0/3 .X.0/24 VLAN 32 BB2 .100 Fa0/0.Y/24 VLAN 200 E0/0.1 R6 .0/24 VLAN 56 G0/0 .6 S0/0/0. 2.7/24 on SW1 and advertise it into RIP Create the Loopback 10.1/32 on R1 and advertise it into OSPF Create the Loopback 150.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram The connection between R2 and R4 should use 802. and R6 Use NET addresses in the format 00.131 - www.1.1q trunking to provide transit for VLANs 100 and 200 Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10.CCIE Service Provider Lab Workbook Volume I Version 1.1. R2.000Y.1.7.INE. and R3 Create the Loopback 150. R3.com .5.0000. R5.8.00 Configure MPLS on the interfaces between R4.1. R2. R5.2/32 on R2 and advertise it into OSPF Create the Loopback 150.3/32 on R3 and advertise it into OSPF Configure IS-IS Level-2 routing on the interfaces between R4.4/32 on R4 and advertise it into IS-IS Create the Loopback 150.6/32 on R6 and advertise it into IS-IS SW1 and BB1 should be in VRF “SW1-BB1” Use the route distinguisher and route target 1:100 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & BB1 SW2 and BB2 should be in VRF “SW2-BB2” Use the route distinguisher and route target 1:200 for this VRF Run RIPv2 as the PE-CE protocol between R6 & SW2 and R3 & BB2 BB2 will be expecting RIPv2 packets to be MD5 authenticated with the password CISCO R2 and R4’s interfaces in VLAN 100 should participate in VRF “SW1-BB1” R2 and R4’s interfaces in VLAN 200 should participate in VRF “SW2-BB2” Configure BGP on R2.8/24 on SW2 and advertise it into RIP Configure OSPF area 0 on the interfaces between R1. and R6 per the diagram R2 and R3 should peer via iBGP in AS 1 using their Loopback interfaces R4 and R6 should peer via iBGP in AS 2 using their Loopback interfaces R2 and R4 should peer via EBGP twice.0000.3.1. once for VRF “SW1-BB1” and once for VRF “SW2-BB2” Redistribute where necessary to gain connectivity within the VPNs Copyright © 2010 Internetwork Expert .4.1. and R3 Configure MPLS on the interfaces between R1.1.1. R4.5/32 on R5 and advertise it into IS-IS Create the Loopback 150.6.1. and R6 Create the Loopback 150. 2 255.0.0 ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .200 encapsulation dot1Q 200 ip vrf forwarding SW2-BB2 ip address 150.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.com .255.0 area 0 network 150.0 tag-switching ip ! router ospf 1 network 150.100 encapsulation dot1Q 100 ip vrf forwarding SW1-BB1 ip address 150.0 area 0 network 150.1 point-to-point ip address 150.1.1.INE.0 ! interface FastEthernet0/0.1 255.255.1.1.0 area 0 R2# ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! ip cef ! interface Loopback0 ip address 150.255.1.1.12.1.255.1 255.132 - www.255.1.255.12.1.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.1 0.255.255.0.1.0.100.0.13.1.0.1 0.2 255.255 ! interface FastEthernet0/0.200.255.0 Final Configuration R1# ip cef ! interface Loopback0 ip address 150.1 255.13.0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1 0.255.2 255.2. 1.8.3.1.255.1.37.3 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 neighbor 150.255.1.3 255.com .3.255.1.133 - www.255.3 remote-as 1 neighbor 150.100.1.12.0.1.0 ip rip authentication mode md5 ip rip authentication key-chain RIP Copyright © 2010 Internetwork Expert .255 ! interface Ethernet0/0 ip vrf forwarding SW1-BB1 ip address 10.0 ! interface Ethernet0/1 ip vrf forwarding SW2-BB2 ip address 192.200.255.0.3 255.2 255.1 point-to-point ip address 150.2 0.0.255.100.4 remote-as 2 neighbor 150.200.1.4 remote-as 2 neighbor 150.3.1.3.0 area 0 ! router bgp 1 neighbor 150.12.3.4 activate exit-address-family R3# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! key chain RIP key 1 key-string CISCO ! interface Loopback0 ip address 150.1.1.255.2 0.1.10.255.0 interface Serial0/0.0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 network 150.4 activate exit-address-family ! address-family ipv4 vrf SW1-BB1 neighbor 150.0.INE.1.CCIE Service Provider Lab Workbook Volume I Version 1.3 255.2.3 activate neighbor 150.0 area 0 network 150.3 update-source Loopback0 ! address-family vpnv4 neighbor 150. 0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.0.1.10.0.0.0 ! interface Serial1/2 ip address 150.255.2 remote-as 1 neighbor 150.2 activate neighbor 150.13.1.3 0.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.2.8.2 update-source Loopback0 ! address-family vpnv4 neighbor 150.2.0.com .255.134 - www.3 0.1.1.13.0.1.0 area 0 network 150.1.3.INE.2.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 1 metric 1 network 10.2.2 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R4# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export route-target import ! ip vrf SW2-BB2 rd 1:200 route-target export route-target import ! ! 1:100 1:100 1:200 1:200 Copyright © 2010 Internetwork Expert .1.0.0 area 0 ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 1 metric 1 network 192.3 255. 0 interface Loopback0 ip address 150.1.6.255.1.4 255.4.100.2 remote-as 1 neighbor 150.INE.255.200.255.6 update-source Loopback0 ! address-family vpnv4 neighbor 150.5 255.5 255.6 activate neighbor 150.255 ip router isis ! interface Ethernet0/0.255.1.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.2 remote-as 1 neighbor 150.1 point-to-point ip address 150.56.00 is-type level-2-only ! router bgp 2 neighbor 150.2 activate exit-address-family ! address-family ipv4 vrf SW1-BB1 neighbor 150.100 encapsulation dot1Q 100 ip vrf forwarding SW1-BB1 ip address 150.5.255 ip router isis ! interface Ethernet0/0 ip address 150.6.0 ! interface Ethernet0/0.com .255.45.1.0000.1.100.2 activate exit-address-family R5# ip cef ! interface Loopback0 ip address 150.255.100.255.0 ip router isis tag-switching ip Copyright © 2010 Internetwork Expert .1.1.6.4 255.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.255.0 ip router isis tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.4 255.6 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 neighbor 150.0004.135 - www.1.255.6.200.1.1.255.200.200 encapsulation dot1Q 200 ip vrf forwarding SW2-BB2 ip address 150.6 remote-as 2 neighbor 150.255.1.4 255.0000. 255.255.255.255.00 is-type level-2-only R6# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! interface Loopback0 ip address 150.255.255.255.1.6.1.00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .68.CCIE Service Provider Lab Workbook Volume I Version 1.1 point-to-point ip vrf forwarding SW1-BB1 ip address 54.6 255.INE.0 ! router isis net 00.255.0000.136 - www.255.0005.1.6 255.0000.0 frame-relay interface-dlci 101 ! interface GigabitEthernet0/1 ip vrf forwarding SW2-BB2 ip address 10.0006.com .0000.255 ip router isis ! interface GigabitEthernet0/0 ip address 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.45.0 ip router isis tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.1.5 255.56.255.0000.6 255.6 255.0 ip router isis tag-switching ip ! interface Serial0/0/0 encapsulation frame-relay ! interface Serial0/0/0.8.1 point-to-point ip address 150. 4 activate neighbor 150.137 - www.1.0 ! interface FastEthernet0/4 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 Copyright © 2010 Internetwork Expert .0.7 255.7.0.0 no auto-summary version 2 exit-address-family ! router bgp 2 neighbor 150.0 router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 2 metric 1 network 10.1.4.1.1.200 ! interface Loopback0 ip address 10.255.255.4 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family SW1# ip routing vlan 100.INE.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 2 metric 1 network 54.1.4 remote-as 2 neighbor 150.4 update-source Loopback0 ! address-family vpnv4 neighbor 150.0.4.0 ! interface FastEthernet0/2 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/3 no switchport ip address 10.255.7 255.0.4.255.4.37.1.CCIE Service Provider Lab Workbook Volume I Version 1.com . com .0. FastEthernet0/3 SW1#ping 212.8.37.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.3. 100-byte ICMP Echos to 212.0 is directly connected. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).18. 00:00:04.18.0 [120/1] via 10.0 ! interface FastEthernet0/24 switchport access vlan 32 ! router rip version 2 network 10.CCIE Service Provider Lab Workbook Volume I Version 1.0 ! router rip version 2 network 10. 00:00:04.0 no auto-summary Verification SW1#show ip route <output omitted> 54.1.18.8.0 is directly connected.7. 00:00:04.1. 00:00:04.0/24 [120/1] via 10.3.1.0 ! interface FastEthernet0/3 switchport access vlan 32 ! interface FastEthernet0/6 no switchport ip address 10.255.255. FastEthernet0/3 R 212.0.37. 00:00:04.37.INE.1. FastEthernet0/3 R 212. round-trip min/avg/max = 116/116/116 ms Copyright © 2010 Internetwork Expert .0.138 - www.18. FastEthernet0/3 R 212.68.18.1.1 Type escape sequence to abort.1.0.0.1.3.0.37.0. Sending 5.3.3. 1 subnets R 54.0/24 [120/1] via 10.0/24 is subnetted.255. Loopback0 C 10.0/24 [120/1] via 10.37.1.18.1.3. FastEthernet0/3 10.255.37.8 255.1.8 255.2.0/24 [120/1] via 10.0.1. 2 subnets C 10.0.0. FastEthernet0/3 R 212.0/24 is subnetted.0.1. 0 0 32768 ? *>i54.0/24 is subnetted.18.8. ? .2.0/24 10.68.200.10.6.0 150.1.8.2.1.90.1.1.4 0 2 ? *> 212.0/24 [120/1] via 10.6.1.18.2. local router ID is 150.1.1.22.3 7 100 0 ? R3#show ip bgp vpnv4 all BGP table version is 27.3 0 100 0 ? *>i205.3.6. i .IGP. FastEthernet0/6 SW2#ping 222.3.7.18.0 SW2#show ip route <output omitted> R 222.0/24 150.18.18. > best.0/24 [120/1] via 10.0 150.INE.18.3 1 100 0 ? *>i10.18.1.EGP.3 Status codes: s suppressed.1.2 0 100 0 2 ? Copyright © 2010 Internetwork Expert .0 150.CCIE Service Provider Lab Workbook Volume I Version 1. round-trip min/avg/max = 96/99/100 ms R2#show ip bgp vpnv4 all BGP table version is 35.1.2.internal.2 0 100 0 2 ? *>i212.1.0 150.139 - www.EGP.1.4 0 2 ? *>i192.2.68. S Stale Origin codes: i . 2 subnets C 10. 00:00:10.2 0 100 0 2 ? *>i212. e .1.1.0. i .2 Status codes: s suppressed.IGP.1.0 150.0 150. 00:00:10.com . 00:00:10. * valid.0 150. FastEthernet0/6 R 192.3 7 100 0 ? *>i220.1. Sending 5.1. FastEthernet0/6 R 205. * valid.1.0/24 150.2 0 100 0 2 ? *>i212.10.100.4 0 2 ? *> 212.3.0 is directly connected. h history. > best.internal.4 0 2 ? *> 212.200.1.1.2.4 0 2 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.0/24 [120/1] via 10.1.1 Type escape sequence to abort.68. 00:00:10.68.1.2. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).8.1.4 0 2 ? *> 10.2.3.3.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *>i10.100. FastEthernet0/6 R 220.0/24 150.1.100.1.0. h history. ? .37.7.3. 100-byte ICMP Echos to 222.8. r RIB-failure.68.1. r RIB-failure.3. S Stale Origin codes: i .3 7 100 0 ? *>i222.0/24 0.0/24 [120/1] via 10.2.31. FastEthernet0/6 10.0 150. d damped.1.1.3.0/24 150.0 150.22.2. local router ID is 150.8.1. e .8.100.1.0.0 150.68.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10.1.3.31.1.20.1. Loopback0 C 10.37.4 0 2 ? *> 212.0 is directly connected.3.1.1.1.2 0 100 0 2 ? *>i212.37.0.3.0.100. d damped.0/24 150.90.6.20.22.0 150.0.2.0 150.3 0 100 0 ? *> 54.0/24 150.1.18.7 1 32768 ? *> 10.22.1.2. 2.3.18.1.254 1 32768 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.20.1.1.1.6 1 100 0 ? *>i10.8.10.1.68.1.140 - www.1.4.1.com .10.4.2.1.6 0 100 0 ? *> 192.254 7 *> 220.37.1.0 150.10.1. d damped.100. S Stale Origin codes: i .1.2.2.18.0/24 0.1.2 0 100 *> 192.6 1 100 0 ? *>i212.4.200.1.90.8.2 0 1 ? *> 10.10.1.0 54.0 0 *> 205.0/24 150.1.6 1 100 0 ? *>i212.200.10.IGP.0/24 150.6.1. e .4 0 100 0 1 ? *> 54.1.4 0 100 0 1 ? *>i10.1.1.2.1.2 0 1 ? *> 220.0/24 0.0/24 150.4 0 100 0 1 ? *>i220.6 Status codes: s suppressed.0 150.1. local router ID is 150.254 1 32768 ? *> 212.90.10.0/24 150.0 150.8.6 1 100 0 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *>i10. h history.4.0.8.1.1. i .8.3.0/24 150.1.2 0 1 ? *> 222. * valid.1.0 54.0 150.18.8.0/24 150.0 150.90.3.1.3.6 1 100 0 ? *>i212.6.200.0.INE.1.22.0 0 32768 ? *> 212.6 0 100 0 ? *>i212.EGP.0.0 0.22.7.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10.2.6.2 0 100 *>i10.200.0 150.IGP.1.0 150.6.31.4 0 100 0 1 ? *>i205.68.EGP.4 0 100 0 1 ? *>i222.1.18.4.1.0 0 32768 ? *>i192.31.18.0.254 1 32768 ? *> 212.20.internal. ? .6.CCIE Service Provider Lab Workbook Volume I Version 1.4.8.0 54.1.0 150.0 150.6.0 192.4 0 100 0 1 ? Copyright © 2010 Internetwork Expert .0 54.1.0 150.3.1.2. r RIB-failure.8.254 7 *> 222.0/24 150.0 Route Distinguisher: 1:200 (default for vrf SW2-BB2) *>i10.1.68. > best. d damped.4.68.0.0.0 192.2 0 1 ? *>i54.0/24 150.0 192.31.0 150.254 1 32768 ? *> 212. e .2 0 1 ? R6#show ip bgp vpnv4 all BGP table version is 27.8 1 32768 ? *> 10.18.8.6.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *>i10.22.0.1.0 150.0/24 10. h history.8.1.1. local router ID is 150.254 7 0 0 32768 32768 32768 32768 2 ? 2 ? ? ? ? ? R4#show ip bgp vpnv4 all BGP table version is 27.18.8.0/24 150.1. r RIB-failure.1. S Stale Origin codes: i . * valid. i internal. ? .0. > best.2 0 1 ? *> 205.1.8.20.100.8.1.37.8.4 Status codes: s suppressed.6.18.8.7. 3.1/32 150.0/24[V] 212.200 Et0/0.4 150.31.8.4 150.3.1.100 Fa0/0.200.7.3/32 10.200.1 Et0/0.5.1.1.20.8.100 Fa0/0.200 Fa0/0.0.1/32 150.200.1.1.1 Fa0/0.0/24[V] 212.3.200 Fa0/0.4 150.90.1.0/24[V] 10.0/24[V] 205.2 www.1 Se0/1 Next Hop Bytes tag switched 0 0 0 472 0 0 0 0 0 590 Outgoing interface Se0/0.2.1.8.1.1 Se0/0.1.0/24[V] 220.0/24[V] 10.22.2.1 Se0/0.10.3.10.200 Et0/0.56.1.0/24[V] 212.1.6/32 150.0/24[V] 192.2.0/24[V] 192.com .100.4 150.100.1.0/24[V] point2point point2point point2point 150.0/24[V] 10.10.200.2.20.200.1 Se0/0.1.254 Bytes tag switched 0 0 0 0 0 590 0 0 590 Outgoing interface Se0/0.200.31.2/32 150.1.1.2/32 150.37.37.12.1.3/32 Bytes tag switched 12038 11806 Outgoing interface Se0/0.1 Se0/0.8.INE.13.0/24 150.1.2 150.CCIE Service Provider Lab Workbook Volume I Version 1.254 192.1.100 Fa0/0.6.0 R1#show mpls forwarding-table Local tag 16 17 Outgoing tag or VC Pop tag Pop tag Prefix or Tunnel Id 150.100 Fa0/0.0/24 150.1.0/24[V] 10.0/24[V] Copyright © 2010 Internetwork Expert .200 Et0/0.4 R3#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Untagged Aggregate Aggregate Untagged Untagged Untagged Prefix or Tunnel Id 150.100.18.1.100.8.10.0/24[V] 220.0/24[V] 222.1.37.1.7 R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Untagged Untagged Untagged Untagged Untagged Untagged Prefix or Tunnel Id 150.18.0/24[V] 54.18.2.2 150.22.1.0/24[V] point2point point2point point2point 10.18.1.8.1.1.100.100 Next Hop point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 25 Outgoing tag or VC Pop tag Pop tag 17 Untagged Untagged Untagged Untagged Untagged Untagged Untagged Prefix or Tunnel Id 150.1.0/24[V] 212.1.2 150.3.90.1.7.1.1.100.2 150.1.1.100 Et0/0.68.100.4 150.4 150.254 192.0/24[V] 222.0/24 10.200 Et0/0.8.141 - point2point point2point point2point 150.1.100 Next Hop Bytes tag switched 0 0 0 0 520 0 0 0 570 Outgoing interface Se1/2 Se1/2 Se1/2 Et0/0 Next Hop Et0/1 Et0/1 Et0/1 192.10.2 150.5/32 205.1. 100 Et0/0.2 R6#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 25 Outgoing tag or VC Pop tag Pop tag 17 Aggregate Untagged Untagged Untagged Untagged Untagged Aggregate Prefix or Tunnel Id 150.5 www.18.31.200 Et0/0.200 Et0/0.200.100.2 150.6.18.2 150.0/24[V] Copyright © 2010 Internetwork Expert .0/24[V] 192.2 150.0/24[V] 222.100.1.1.3.1 Gig0/1 point2point point2point point2point point2point 10.1.1.1 Se0/0.1.3.1.56.0/24[V] 10.1.56.1.0.8.8.45.0/24[V] 10.5.68.0 R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Untagged Untagged Untagged Untagged Untagged Untagged Prefix or Tunnel Id 150.0/24[V] 212.200 Et0/0.1.5 150.56.0/24[V] 10.5/32 205.200.1.2 150.2.1.2 150.7.CCIE Service Provider Lab Workbook Volume I Version 1.1 Et0/0.56.1.1 Se0/0.4/32 54.1.18.22.com .2.37.6/32 150.1.1.90.1 Se0/0.200.5.20.0/24[V] 220.0/24[V] 212.1.5 150.INE.1 Se0/0.1.0/24[V] 212.142 - 150.1.1.100 Next Hop Bytes tag switched 0 0 0 0 0 520 0 0 0 416 Outgoing interface Et0/0 Et0/0 Et0/0 Next Hop Se0/0.0/24 150.10.1 Se0/0.1.200 Et0/0.5/32 150.1.200.68.0/24[V] 10.0/24[V] 212.1.18.0/24 150.8.8 point2point point2point point2point 150.0/24[V] Bytes tag switched 0 0 0 0 0 590 0 0 590 Outgoing interface Se0/0.4. INE.143 - Version 1.com .CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .0 www. 0/24 VLAN 56 G0/0 .12.6 G0/1 RIPv2 Fa0/6 SW2 10.5 150.2 S0/0.4 150.10.0/24 .24.0/24 Area 0 Frame Relay R1 .45.6 S0/0/0.1.1.1.2 E0/0 .6 54.4 BGP AS 2 405 504 .1.3 10.1.1 R2 Fa0/0 . Fa0/3 .com .INE.8 .0/24 Frame Relay 101 .13.7 RIPv2 RIPv2 E0/0 E0/1 R3 .0/24 .1.0 Inter-AS MPLS VPNs with MP-eBGP for VPNv4 Exchange Objective: Provide VPN transit between SW1 & BB1 and SW2 & BB2 using MPeBGP VPNv4 exchange between R2 and R4.254 SW1 .1 OSPF 150.1 Frame Relay .X.0/24 192.0/24 VLAN 32 BB2 .3 S1/2 BGP AS 1 S0/1 150.254 RIPv2 BB1 Copyright © 2010 Internetwork Expert .37.1 S0/0.0/24 R4 S0/0.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.1 R6 .1 102 201 .3 .0/24 VLAN 24 150.68.144 - www.56.1 IS-IS Level 2 R5 E0/0 .5 S0/0.X. 2. R5.3/32 on R3 and advertise it into OSPF Configure IS-IS Level-2 routing on the interfaces between R4.8/24 on SW2 and advertise it into RIP Configure OSPF area 0 on the interfaces between R1.3. R4. and R3 Configure MPLS on the interfaces between R1.1.4/32 on R4 and advertise it into IS-IS Create the Loopback 150.0000.7. R3. R5.4.6. R2.1.8. and R6 Use NET addresses in the format 00.com . and R3 Create the Loopback 150.7/24 on SW1 and advertise it into RIP Create the Loopback 10.1.1.5.1.145 - www.INE.1.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10. R2.6/32 on R6 and advertise it into IS-IS SW1 and BB1 should be in VRF “SW1-BB1” Use the route distinguisher and route target 1:100 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & BB1 SW2 and BB2 should be in VRF “SW2-BB2” Use the route distinguisher and route target 1:200 for this VRF Run RIPv2 as the PE-CE protocol between R6 & SW2 and R3 & BB2 BB2 will be expecting RIPv2 packets to be MD5 authenticated with the password CISCO Configure BGP on R2.5/32 on R5 and advertise it into IS-IS Create the Loopback 150.1.1.0000. and R6 Create the Loopback 150.000Y. and R6 per the diagram R2 and R3 should peer via iBGP in AS 1 using their Loopback interfaces R4 and R6 should peer via iBGP in AS 2 using their Loopback interfaces R2 and R4 should peer via MP-EBGP and exchange VPNv4 routes Perform next-hop modification where necessary so that AS 1 and AS 2 do not need to exchange information about their internal topology Redistribute where necessary to gain connectivity within the VPNs Copyright © 2010 Internetwork Expert .1/32 on R1 and advertise it into OSPF Create the Loopback 150.00 Configure MPLS on the interfaces between R4.2/32 on R2 and advertise it into OSPF Create the Loopback 150.1.CCIE Service Provider Lab Workbook Volume I Version 1. 1 0.1.2 255.255.1.0 area 0 R2# ip cef ! interface Loopback0 ip address 150.0 area 0 network 150.255.0 Final Configuration R1# ip cef ! interface Loopback0 ip address 150.1 255.INE.0.1.3.1.0.24.1.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3 update-source Loopback0 neighbor 150.1.255.3 activate neighbor 150.0.1.1.1.255.3.1.2 0.2.255.1 255.1 point-to-point ip address 150.0.3.0 area 0 network 150.2.1.2 0.255.0.1 point-to-point ip address 150.0 tag-switching ip ! router ospf 1 network 150.255.3 next-hop-self neighbor 150.0 area 0 ! router bgp 1 no bgp default route-target filter neighbor 150.1 255.4 remote-as 2 ! address-family vpnv4 neighbor 150.12.255.3 remote-as 1 neighbor 150.0.13.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.com .1 0.2 255.255.2 255.1 0.12.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.0.0.1.12.3.1.255 ! interface FastEthernet0/0 ip address 150.1.13.12.1.1.3.0 area 0 network 150.1.24.255.0.3 send-community extended Copyright © 2010 Internetwork Expert .0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 network 150.146 - www.1.0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150. 24.0.0 area 0 ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 1 metric 1 network 192.3 0.255 ! interface Ethernet0/0 ip vrf forwarding SW1-BB1 ip address 10.3 255.255.255.10.1.INE.37.147 - www.0 area 0 network 150.255.0.3.3.255.0.0 ip rip authentication mode md5 ip rip authentication key-chain RIP ! interface Serial1/2 ip address 150.3 255.3 255.0.0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 1 metric 1 network 10.0 no auto-summary version 2 Copyright © 2010 Internetwork Expert .4 send-community extended exit-address-family R3# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! key chain RIP key 1 key-string CISCO ! interface Loopback0 ip address 150.0 neighbor 150.3 255.com .1.24.4 activate neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.1.0.255.1.1.0 ! interface Ethernet0/1 ip vrf forwarding SW2-BB2 ip address 192.13.255.1.3 0.10.13.1.1.1.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.255.255. 1.6 update-source Loopback0 neighbor 150.1.0 exit-address-family ! router bgp 1 neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.24.255.2.6.24.1.1.0000.1.2 remote-as 1 ! address-family vpnv4 neighbor 150.6 activate neighbor 150.2.6 remote-as 2 neighbor 150.1.6.1.1 point-to-point ip address 150.2 send-community extended exit-address-family Copyright © 2010 Internetwork Expert .255.1.2 update-source Loopback0 ! address-family vpnv4 neighbor 150.4.1.6.2.1.1.24.com .0000.1.255.0004.1.4 255.24.148 - www.1.6 send-community extended neighbor 150.4 255.0 ip router isis tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.4 255.6.INE.2 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R4# ip cef ! interface Loopback0 ip address 150.2.2 activate neighbor 150.255 ip router isis ! interface Ethernet0/0 ip address 150.00 is-type level-2-only ! router bgp 2 no bgp default route-target filter neighbor 150.2 activate neighbor 150.45.2 remote-as 1 neighbor 150.255.255.6 next-hop-self neighbor 150.6.255. 6 255.0 R5# ip cef ! interface Loopback0 ip address 150.00 is-type level-2-only R6# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! interface Loopback0 ip address 150.1.1.0000.255.255.255.255.5.0 ip router isis tag-switching ip ! interface Serial0/0/0 encapsulation frame-relay ! interface Serial0/0/0.255.1 point-to-point ip address 150.255.5 255.INE.1 point-to-point ip vrf forwarding SW1-BB1 ip address 54.0005.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.45.6.56.255.149 - www.0 frame-relay interface-dlci 101 ! Copyright © 2010 Internetwork Expert .255.CCIE Service Provider Lab Workbook Volume I Version 1.1.0000.5 255.1.6 255.255 ip router isis ! interface Ethernet0/0 ip address 150.255 ip router isis ! interface GigabitEthernet0/0 ip address 150.255.6 255.1.com .0 ip router isis tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.5 255.56.255.255.255.1. 150 - www.1.4.0 ! router isis net 00.6 255.00 is-type level-2-only ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 2 metric 1 network 10.255.7.INE.7 255.255.255.0 interface GigabitEthernet0/1 ip vrf forwarding SW2-BB2 ip address 10.0000.255.4.0.CCIE Service Provider Lab Workbook Volume I Version 1.0006.4 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family SW1# ip routing ! interface Loopback0 ip address 10.1.37.1.1.0.1.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.0.com .4 update-source Loopback0 ! address-family vpnv4 neighbor 150.7 255.255.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 2 metric 1 network 54.4 activate neighbor 150.68.4 remote-as 2 neighbor 150.4.0.4.1.255.0000.1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! Copyright © 2010 Internetwork Expert .0 no auto-summary version 2 exit-address-family ! router bgp 2 neighbor 150. 0. 00:00:04.37.0.1.0/24 [120/1] via 10.68. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).0 interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router rip version 2 network 10.0 ! interface FastEthernet0/24 switchport access vlan 32 ! router rip version 2 network 10.1.37.3.1. Sending 5.8 255.0 [120/1] via 10. 00:00:04.0/24 is subnetted.8 255. 2 subnets C 10.255. FastEthernet0/3 R 212.151 - www.3. FastEthernet0/3 SW1#ping 212.1. FastEthernet0/3 10.1.1.1.3.0. Loopback0 C 10.0 is directly connected.37. 100-byte ICMP Echos to 212.1.1 Type escape sequence to abort.1.18.8.37.18. 1 subnets R 54.18.0.18.com .0.1.18.0/24 [120/1] via 10.0.0/24 [120/1] via 10.0.0.3. 00:00:04. FastEthernet0/3 R 212.0/24 is subnetted.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10. 00:00:04.3.37.7. 00:00:04.INE.0 ! interface FastEthernet0/3 switchport access vlan 32 ! interface FastEthernet0/6 no switchport ip address 10.8.255.255.3.CCIE Service Provider Lab Workbook Volume I Version 1.0.2.1. FastEthernet0/3 R 212.255.0. FastEthernet0/3 R 212.0/24 [120/1] via 10.37.1.0 is directly connected.0.0 no auto-summary Verification SW1#show ip route <output omitted> 54.18. round-trip min/avg/max = 116/116/116 ms Copyright © 2010 Internetwork Expert . 1.37.18.2. e .0/24 0.0/24 150. 00:00:10.1.3 Metric LocPrf Weight Path 1 0 0 7 7 7 100 100 100 100 100 100 0 0 0 0 0 0 0 ? ? 2 2 2 2 2 0 0 0 0 0 0 2 ? 2 ? ? ? ? ? ? ? ? ? ? R3#show ip bgp vpnv4 all BGP table version is 27.1.3.22.2.1.0/24 150.90.4 *> 212.2.90.18.24.1.18.24.4 *> 212.IGP. h history.4 Route Distinguisher: 1:200 *> 10.3.2 0 100 0 2 ? *>i212. local router ID is 150.10.0/24 150. ? .0 150.2 0 100 0 2 ? *>i212.1. FastEthernet0/6 SW2#ping 222.1. 00:00:10.3 Status codes: s suppressed.7 1 32768 ? *> 10. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).8.1.3 *>i220.internal.0/24 150. FastEthernet0/6 R 205.1.3.0/24 [120/1] via 10.1. d damped.0. i .INE.4 *>i192.1.8.0.24.18.6. r RIB-failure.EGP.3.1. 100-byte ICMP Echos to 222. 00:00:10. round-trip min/avg/max = 96/99/100 ms R2#show ip bgp vpnv4 all BGP table version is 53.1.0 is directly connected. S Stale Origin codes: i .0 150.0 150.3 *> 54.0/24 is subnetted.0/24 150. S Stale Origin codes: i .incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10. h history.68.1.1.0/24 10.20. Sending 5.3.1.22.1.24.incomplete Network Next Hop Route Distinguisher: 1:100 *>i10. d damped.0 150.0 0 32768 ? *>i54.1.0 is directly connected.8. * valid.37.3.2 0 100 0 2 ? Copyright © 2010 Internetwork Expert .0 150. local router ID is 150. ? .3 *>i222.2.EGP. FastEthernet0/6 10.1.2 0 100 0 2 ? *>i212.com .1.3.7.2.68.6.24.22.1.1.24.2.8.0 150.18.1.3.18.4 *> 212.68.0 150.0 150. r RIB-failure. > best.0/24 150.6.20. FastEthernet0/6 R 220.3 *>i205. 00:00:10.22.1.0 150.1 Type escape sequence to abort.6.1.2.1.1.0 150.1.3. e .0 150.1.0/24 [120/1] via 10.18.7.10.0.0.1.2 0 100 0 2 ? *>i212.1.internal.8.0.31.31.1. * valid.1.8.0 150.2 Status codes: s suppressed.0 SW2#show ip route <output omitted> R 222.2.1.IGP. Loopback0 C 10.CCIE Service Provider Lab Workbook Volume I Version 1.1. i .3.2.0/24 [120/1] via 10. > best.3.1.2.24. 2 subnets C 10.1.18.68.0.37.68.68. FastEthernet0/6 R 192.4 *> 10.3 *>i10.0/24 [120/1] via 10.152 - www.2.4 *> 212.2.1. 68.1.2 *> 220.1.4 0 100 0 1 ? *>i10.1.2.0 150.0 150.0 150.22.153 - www.0.1.1.0.8.18.6.1.1.0/24 150.4 Status codes: s suppressed.0.8.1.8.0/24 150. ? . e .7.90.1.10.0 150.EGP.EGP.6.3.0 192.0 150. d damped.1.18.24.2.1.1.254 1 32768 ? *> 212.0. * valid. * valid.0 0 *> 205. h history.6.4 0 100 0 1 ? Copyright © 2010 Internetwork Expert .6.22.0.0 0 32768 ? *>i192.IGP.2 *>i54.0 54.1.0 150. r RIB-failure.1.24.24.22. > best.6 Route Distinguisher: 1:200 *>i10.CCIE Service Provider Lab Workbook Volume I Version 1.1.4.0.1.254 7 *> 220. S Stale Origin codes: i .2 Metric LocPrf Weight Path 0 1 1 1 1 100 100 100 100 100 1 0 100 100 0 0 0 0 0 0 0 1 ? 1 ? ? ? ? ? ? 0 0 0 0 0 0 ? ? 1 1 1 1 ? ? ? ? R6#show ip bgp vpnv4 all BGP table version is 27.6.7.com .1.0 150.2 *> 205.20. S Stale Origin codes: i .0 150.1.0 150.2.6 *>i212.254 1 32768 ? *> 212.4.0 54.1.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *>i10.254 1 32768 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.68.1.6 *>i10.31. > best.90.37.1.2.254 7 *> 222.0 192.1.0 54.INE.1.0/24 150.1.1.68.1.1.0 0.2.0 Route Distinguisher: 1:200 (default for vrf SW2-BB2) *>i10. h history.1.8 1 32768 ? *> 10.1.1.4.24.0/24 150.4.0/24 150.2 *> 222.internal.incomplete Network Next Hop Route Distinguisher: 1:100 *> 10.1.IGP.0/24 10.0/24 0.1.6.3.1.31.1.254 7 0 0 32768 32768 32768 32768 2 ? 2 ? ? ? ? ? R4#show ip bgp vpnv4 all BGP table version is 27.1. local router ID is 150.3. e .6 *>i212.1.1.0/24 150.18.0 192.0/24 150.6 *>i212.18.8.4 0 100 0 1 ? *> 54.0/24 150.10.10.4 0 100 0 1 ? *>i220.24. i internal.20.1.8.37.0 150.1.6.1.10.18.4.0.0 150.0/24 0.1.1.3. ? .1.4.0. i .10.1.18.24.2 0 100 *> 192.2.31.2 *> 10.2 0 100 *>i10.3.1.10.68.0/24 150.4.4 0 100 0 1 ? *>i222.6.0 0 32768 ? *> 212.20.1.6 *>i212.6 *> 192.8.8.90.1.18.1. d damped.18.6 Status codes: s suppressed.2.4 0 100 0 1 ? *>i205.0 54.254 1 32768 ? *> 212.1. r RIB-failure. local router ID is 150.8.0 150. 1.10.0/24[V] 192.37.2.1.1.1 Se0/0.22.20.1.4 point2point point2point point2point R3#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag Pop tag 17 Untagged Aggregate Aggregate Untagged Untagged Untagged Prefix or Tunnel Id 150.3/32 Bytes tag switched 12038 11806 Outgoing interface Se0/0.1.24.13.2/32 10.24.1.INE.1.0.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 \ 560 1:200:192.1.1.1.0/24 \ 0 1:100:212.37.0/24[V] 10.1 Se0/1 Next Hop Prefix Bytes tag or Tunnel Id switched 150.37.1.18.0/24 \ 0 1:100:10.254 point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag Pop tag 16 Pop tag 16 21 16 22 16 23 16 24 24 25 25 26 26 27 27 28 28 29 30 30 29 31 16 32 16 150.154 - point2point point2point point2point 10.3.7 www.com .0/24 \ 590 1:100:212.12.254 192.4 Fa0/0 150.2.18.24.0/24 0 1:200:205.1.4 Fa0/0 150.1.24.8.90.0/24 \ 0 1:200:10.2/32 150.1.1.0/24 \ 560 Outgoing interface Fa0/0 Se0/0.4/32 0 150.10.3.1.10.24.4 Fa0/0 150.1 Se0/0.0/24 \ 0 1:200:222.2.2.1.0/24 \ 0 1:100:10.1.1.2.1 point2point Outgoing interface Se1/2 Se1/2 Se1/2 Et0/0 Next Hop Et0/1 Et0/1 Et0/1 192.1.18.1.1.24.1 point2point Se0/0.0/24 \ 0 1:200:10.10.4 Fa0/0 150.1 point2point Fa0/0 150.0 R1#show mpls forwarding-table Local tag 16 17 Outgoing tag or VC Pop tag Pop tag Prefix or Tunnel Id 150.0/24 \ 0 1:100:54.20.3.4 Se0/0.254 192.7.1.0/24 \ 0 1:100:212.1 point2point Se0/0.0/24 \ 472 1:200:220.0/24[V] Bytes tag switched 0 0 0 0 520 0 0 0 570 Copyright © 2010 Internetwork Expert .1 Next Hop Se0/0.1.1.68.3.0/24[V] 205.1.4 Fa0/0 150.24.24.10.1.1.1.22.31.1.0/24 \ 0 1:100:212.1 point2point Se0/0.0/24[V] 220.1.0/24[V] 222.4 Fa0/0 150.18.90.1 point2point Se0/0.1/32 150.31.1/32 0 150.1.0/24 150.1.3.24.3/32 0 150.1.7. 1.20.1 point2point Se0/0.1.1 Next Hop Et0/0 150.200.1 Et0/0.1 point2point Et0/0 150.90.200 Et0/0.24.2.0/24 \ 0 1:100:54.1.0/24 \ 0 1:200:205.6.2 150.0/24 \ 448 1:200:10.1 Se0/0.0/24 \ 0 Outgoing interface Et0/0 Se0/0.200 Et0/0.com .0/24[V] 192.2 Outgoing interface Et0/0 Se0/0.100.8.0/24 \ 590 1:100:10.1 Se0/0.10.155 - 150.0/24[V] Bytes tag switched 0 0 0 0 0 590 0 0 590 Outgoing interface Se0/0.0/24[V] 10.200.7.0/24 \ 0 1:100:212.56.22.2 Et0/0 150.1.5/32 0 150.22.1.200.0/24[V] 220.6.2 150.200 Et0/0.0/24 150.4.1 point2point Se0/0.37.6/32 150.2/32 0 150.5.1.31.18.1 Se0/0.0 R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Untagged Untagged Untagged Untagged Untagged Untagged Prefix or Tunnel Id 150.24.1.4/32 Bytes tag switched 31257 2203 Copyright © 2010 Internetwork Expert .56.24.18.0/24 0 1:200:222.8.200.1.2 150.6/32 150.1.0/24 \ 0 1:200:220.1 Se0/0.1.2 Et0/0 150.1.18.200 Et0/0.1 Next Hop point2point point2point point2point 150.0/24 \ 590 1:100:10.0.1.2 Se0/0.0/24[V] 10.7.1.6.0/24 \ 0 1:200:192.INE.5.1.56.31.5/32 205.1.2.100 Next Hop Prefix Bytes tag or Tunnel Id switched 150.1.3.1.0/24[V] 222.100 Et0/0.10.2 150.1.1.24.37.1.1 point2point Se0/0.0/24 \ 0 1:200:10.20.2 150.1.6/32 0 150.24.3.18.2 point2point point2point point2point R5#show mpls forwarding-table Local tag 16 17 Outgoing tag or VC Pop tag Pop tag Prefix or Tunnel Id 150.1 point2point Se0/0.2 Et0/0 150.1.0/24 \ 0 1:100:212.1.1.24.6 point2point www.24.1.1.0/24 \ 560 1:100:212.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.90.1.24.1.2 R4#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag Pop tag 16 Pop tag 32 21 22 22 21 23 23 24 16 25 16 26 16 27 16 28 16 29 16 30 16 31 31 32 20 150.1.1 point2point Se0/0.2 Et0/0 150.68.3.100.0/24 \ 0 1:100:212.1 point2point Se0/0.2.1.1. 56.1 Gi0/1 150.18.8.156 - Outgoing interface Gi0/0 Next Hop Gi0/0 Gi0/0 Se0/0/0.INE.0 R6#show mpls forwarding-table Local tag 17 18 19 21 27 28 29 30 31 32 Outgoing tag or VC Pop tag Aggregate Pop tag 17 Untagged Untagged Untagged Untagged Untagged Aggregate Prefix or Tunnel Id 150.1.18.1.0/24[V] Bytes tag switched 0 0 0 0 520 0 0 0 0 416 Copyright © 2010 Internetwork Expert .1.1 Se0/0/0.com .0/24[V] 212.1 Se0/0/0.4.18.1.0.45.0/24 150.1.56.3.5/32 54.2.0/24[V] 150.5.1.5 point2point point2point point2point point2point 10.5 150.68.0/24[V] 10.1.1.68.18.CCIE Service Provider Lab Workbook Volume I Version 1.0/24[V] 212.1.56.1.0/24[V] 10.1.8 150.4/32 212.1 Se0/0/0.0/24[V] 212.5 www.1. 0 www.com .INE.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .157 - Version 1. 158 - www.1 .254 BB2 SW1 .0/24 Frame Relay 101 Fa0/6 SW2 .1.5 S0/0.1.com .1 R6 RIPv2 .5 150.6 54.1 R2 Fa0/0 .0 Inter-AS MPLS VPNs with Multihop MP-eBGP for VPNv4 Exchange Objective: Provide VPN transit between SW1 & BB1 and SW2 & BB2 using multihop MP-eBGP VPNv4 exchange between R3 and R6.0/24 VLAN 24 150.6 S0/0/0.8 .6 G0/1 .3 .13.12.2 R1 S0/0.4 150.CCIE Service Provider Lab Workbook Volume I Version 1.1.4 BGP AS 2 Frame Relay 405 504 .2 E0/0 .INE.1 102 201 .45.1.0/24 R4 S0/0.56.0/24 .7 RIPv2 RIPv2 E0/0 E0/1 R3 .254 RIPv2 BB1 Copyright © 2010 Internetwork Expert .X. Fa0/3 .3 S1/2 BGP AS 1 S0/1 150.0/24 VLAN 56 G0/0 .24.1 OSPF 150.3 .1.1 S0/0.1 IS-IS Level 2 R5 E0/0 .1.0/24 Area 0 Frame Relay . R2.1.1.CCIE Service Provider Lab Workbook Volume I Version 1. and R6 Create the Loopback 150.2/32 on R2 and advertise it into OSPF Create the Loopback 150.1.INE.1.3.0000.8.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10. and R6 Use NET addresses in the format 00.000Y.7.1.00 Configure MPLS on the interfaces between R4.3/32 on R3 and advertise it into OSPF Configure IS-IS Level-2 routing on the interfaces between R4.5/32 on R5 and advertise it into IS-IS Create the Loopback 150.8/24 on SW2 and advertise it into RIP Configure OSPF area 0 on the interfaces between R1.2.7/24 on SW1 and advertise it into RIP Create the Loopback 10.4. R5.5.1. R4.6. and R6 per the diagram Advertise R3’s Loopback into BGP on R2 Advertise R6’s Loopback into BGP on R4 R2 and R4 should peer via EBGP to exchange R2 and R4’s IPv4 Loopbacks and their associated MPLS labels Configure R2 to advertise R6’s Loopback into IS-IS Configure R4 to advertise R3’s Loopback into OSPF R3 and R6 should peer via their loopbacks with MP-EBGP and exchange VPNv4 routes Redistribute where necessary to gain connectivity within the VPNs Copyright © 2010 Internetwork Expert .1. R3.0000.1/32 on R1 and advertise it into OSPF Create the Loopback 150. and R3 Configure MPLS on the interfaces between R1.6/32 on R6 and advertise it into IS-IS SW1 and BB1 should be in VRF “SW1-BB1” Use the route distinguisher and route target 1:100 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & BB1 SW2 and BB2 should be in VRF “SW2-BB2” Use the route distinguisher and route target 1:200 for this VRF Run RIPv2 as the PE-CE protocol between R6 & SW2 and R3 & BB2 BB2 will be expecting RIPv2 packets to be MD5 authenticated with the password CISCO Configure BGP on R2. R2.1.1.159 - www.4/32 on R4 and advertise it into IS-IS Create the Loopback 150. and R3 Create the Loopback 150. R5.com . 0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.255.0 area 0 R2# ip cef ! interface Loopback0 ip address 150.0 area 0 network 150.0.0 area 0 network 150.0.255.2 0.24.1 point-to-point ip address 150.3 mask 255.1.1 point-to-point ip address 150.12.255.CCIE Service Provider Lab Workbook Volume I Version 1.1.4 send-label network 150.160 - www.4 remote-as 2 neighbor 150.13.1.12.0 area 0 network 150.255.1.1.2 0.2 255.2 255.1.1.255.2.24.com .0.1 255.255.1 0.255.2.1.0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 redistribute bgp 1 subnets route-map BGP_TO_IGP network 150.24.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.13.255.12.0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1.2 255.255.255.255 ! ip prefix-list R6_LOOPBACK seq 5 permit 150.255.12.1.1.0.0 Final Configuration R1# ip cef ! interface Loopback0 ip address 150.1.255.0.0 tag-switching ip ! router ospf 1 network 150.1.0.3.1 0.1 255.0.1 255.255 ! interface FastEthernet0/0 ip address 150.0.INE.6.0.1.1.255.0 area 0 ! router bgp 1 neighbor 150.1 0.6/32 ! route-map BGP_TO_IGP permit 10 match ip address prefix-list R6_LOOPBACK Copyright © 2010 Internetwork Expert .1.255.1. 13.255.3 255.10.3 0.1.37.10.0 area 0 ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 1 metric 1 network 192.255.255.0.255.255 ! interface Ethernet0/0 ip vrf forwarding SW1-BB1 ip address 10.1.255.1.1.0 R3# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! key chain RIP key 1 key-string CISCO ! interface Loopback0 ip address 150.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 1 metric 1 network 10.0 no auto-summary version 2 exit-address-family ! Copyright © 2010 Internetwork Expert .com .13.0.3.3 255.0 ip rip authentication mode md5 ip rip authentication key-chain RIP ! interface Serial1/2 ip address 150.3 0.0.1.161 - www.0.0.1.0 area 0 network 150.0 ! interface Ethernet0/1 ip vrf forwarding SW2-BB2 ip address 192.0.255.255.3.255.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.3 255.1.CCIE Service Provider Lab Workbook Volume I Version 1.INE.3 255. 4 255.4 255.1.162 - www.1.6.com .45.1.255.1.6 ebgp-multihop 255 neighbor 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.6.255.6 update-source Loopback0 ! address-family vpnv4 neighbor 150.INE.0000.6.1 point-to-point ip address 150.0004.255.6 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R4# ip cef ! interface Loopback0 ip address 150.1.6.24.0 ip router isis tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.1.6 mask 255.255.255.6 remote-as 2 neighbor 150.255.255 ip router isis ! Copyright © 2010 Internetwork Expert .255 ip router isis ! interface Ethernet0/0 ip address 150.5.255.2 send-label R5# ip cef ! interface Loopback0 ip address 150.6.4 255.1.4.24.1.2 remote-as 1 neighbor 150.5 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.6 activate neighbor 150.255.255 neighbor 150.24.1.255.6.1.1.0000.0 router bgp 1 neighbor 150.1.00 is-type level-2-only redistribute bgp 2 route-map BGP_TO_IGP ! router bgp 2 network 150. 1.1.1 point-to-point ip vrf forwarding SW1-BB1 ip address 54.255.1.0 interface Ethernet0/0 ip address 150.0000.255.com .56.255.1.45.6 255.0 ip router isis tag-switching ip ! interface Serial0/0/0 encapsulation frame-relay ! interface Serial0/0/0.6 255.6 255.255.0005.255.255.0 ip router isis tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.255.255.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.INE.255 ip router isis ! interface GigabitEthernet0/0 ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1.0000.1.6 255.0000.255.00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .1 point-to-point ip address 150.0 ! router isis net 00.00 is-type level-2-only R6# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! interface Loopback0 ip address 150.1.0 frame-relay interface-dlci 101 ! interface GigabitEthernet0/1 ip vrf forwarding SW2-BB2 ip address 10.5 255.0000.255.5 255.6.68.0006.1.255.163 - www.255.56. 37.3 activate neighbor 150.7.0 router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 2 metric 1 network 10.1.255.255.3 update-source Loopback0 ! address-family vpnv4 neighbor 150.0.7 255.255.0.1.3.1.1.0 no auto-summary version 2 exit-address-family ! router bgp 2 neighbor 150.1.0.255.3 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family SW1# ip routing ! interface Loopback0 ip address 10.3.3.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.3 remote-as 1 neighbor 150.3 ebgp-multihop 255 neighbor 150.7 255.CCIE Service Provider Lab Workbook Volume I Version 1.com .3.1.0.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! Copyright © 2010 Internetwork Expert .0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 2 metric 1 network 54.1.3.164 - www.INE. Loopback0 C 10.INE. FastEthernet0/3 R 212.1 Type escape sequence to abort.1.3.0/24 is subnetted.0.3.1.18.0 is directly connected.255. 00:00:04.255.1.0/24 [120/1] via 10.1.68.165 - www.0 is directly connected.0.0.1. FastEthernet0/3 10.com .0 ! interface FastEthernet0/3 switchport access vlan 32 ! interface FastEthernet0/6 no switchport ip address 10.0 no auto-summary Verification SW1#show ip route <output omitted> 54. 00:00:04.255. FastEthernet0/3 R 212.1. Sending 5. FastEthernet0/3 R 212. FastEthernet0/3 R 212.0/24 [120/1] via 10.8 255. 1 subnets R 54.37. 00:00:04.18.0.37.1.255.0/24 is subnetted.18. 00:00:04.0.1.0 ! interface FastEthernet0/24 switchport access vlan 32 ! router rip version 2 network 10.0/24 [120/1] via 10.37.3.0. 00:00:04. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).0.37.1.2. round-trip min/avg/max = 116/116/116 ms Copyright © 2010 Internetwork Expert .8 255.1.3.0 [120/1] via 10.0. 2 subnets C 10.18.37.8.0 router rip version 2 network 10.0.18.1.8.CCIE Service Provider Lab Workbook Volume I Version 1.3. 100-byte ICMP Echos to 212.7.0.0.1. FastEthernet0/3 SW1#ping 212.37.3.0/24 [120/1] via 10.18.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10. 1. 00:00:10.0.22.0 0 32768 ? *> 54. > best.0/24 150. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5). local router ID is 150.6.1.2. S Stale Origin codes: i .0 150.1.2.7 1 32768 ? *> 10.1.3.1.1.0.1.0 is directly connected.6 0 0 2 ? Copyright © 2010 Internetwork Expert .4. h history.6/32 Next Hop 150.68.8.0.1. d damped. FastEthernet0/6 R 192.0 is directly connected. > best.68.IGP. * valid. i .68. * valid.6 1 0 2 ? *> 10. 00:00:10.1. ? .EGP.1.166 - www. ? . Loopback0 C 10.3.internal.0.4 Metric LocPrf Weight Path 129 32768 i 30 0 2 i R4#show ip bgp BGP table version is 10.1.68.24.6.1.6 1 0 2 ? *> 212.3.22. d damped.IGP.0. 00:00:10.8.3.2.68.0/24 0.internal.6.EGP.2 Status codes: s suppressed. round-trip min/avg/max = 96/99/100 ms R2#show ip bgp BGP table version is 8.6 1 0 2 ? *> 212.CCIE Service Provider Lab Workbook Volume I Version 1.18. h history.6.1.90.1.6. local router ID is 150. r RIB-failure. e .6.1.20.6 1 0 2 ? *> 212.0/24 [120/1] via 10.0/24 10. e .1.incomplete Network *> 150. local router ID is 150. * valid.45.18.18.6 1 0 2 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.IGP.1. i .1. > best.0/24 150.1. S Stale Origin codes: i .incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10.1 Type escape sequence to abort.INE.12. Sending 5.1. FastEthernet0/6 R 220.com . ? .2 150.0 SW2#show ip route <output omitted> R 222. FastEthernet0/6 R 205.1.2.0 150.6.0 150. 00:00:10. 100-byte ICMP Echos to 222.internal.0/24 [120/1] via 10.incomplete Network *> 150.EGP.6 0 0 2 ? *> 212.6.1. r RIB-failure. FastEthernet0/6 SW2#ping 222.0/24 is subnetted. h history.22.1. FastEthernet0/6 10.0/24 [120/1] via 10.3/32 *> 150.3.3/32 *> 150.31.1. e .1 150.37.7.18.1.10.6/32 Next Hop 150.6. r RIB-failure.4 Status codes: s suppressed.1. 2 subnets C 10.1.5 Metric LocPrf Weight Path 129 0 1 i 30 32768 i R3#show ip bgp vpnv4 all BGP table version is 41.1.1.1.68.0/24 [120/1] via 10.24.1.6.1.0 150.0/24 150.3 Status codes: s suppressed.1. S Stale Origin codes: i .6. d damped.37.2.8.6. i .6. 0 0 32768 ? *> 212.2.2.1 Fa0/0 Next Hop Bytes tag switched 0 0 0 0 0 520 Outgoing interface Se1/2 Se1/2 Se1/2 Se1/2 Et0/0 Next Hop point2point point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag Pop tag 16 Pop tag 18 Prefix or Tunnel Id 150.0 54.1.1/32 150.1 Se0/0.8 1 32768 ? *> 10.167 - point2point point2point point2point point2point 10.1.18.2/32 150.1.7.0/24 150.1.2/32 150.1 Next Hop Bytes tag switched 0 0 2148 0 2016 Outgoing interface Fa0/0 Se0/0.37.0/24 0.1.0 0 32768 ? *> 192.1.2.1.7 www.0/24 150.1.internal.0 192.6.0 150.0 54.3 7 0 1 ? R1#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC Pop tag Pop tag 20 Prefix or Tunnel Id 150.IGP.INE.0 150.1.7.1.1.3. S Stale Origin codes: i .24.0.3.1.1.18.3.0.3.1.4 point2point point2point point2point 150.254 192.3.1.10. e .1.1 Se0/0.0.0.4/32 150. ? .1.1. * valid.1.254 1 32768 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.10.20.1/32 150.6.1.31.254 1 32768 ? *> 212.3 1 0 1 ? *> 10.0 0 7 7 7 32768 32768 32768 32768 ? ? ? ? R6#show ip bgp vpnv4 all BGP table version is 27.254 192.0 0.3/32 150. local router ID is 150.1.1 Se0/0.1.4 R3#show mpls forwarding-table Local tag 16 17 18 25 26 27 Outgoing tag or VC Pop tag Pop tag 17 18 Untagged Aggregate Prefix or Tunnel Id 150.1.3 7 0 1 ? *> 220.0/24 0.1.13.1.8. r RIB-failure.6/32 Bytes tag switched 21915 16488 1836 Outgoing interface Se0/1 Se0/0.1.3 0 0 1 ? *> 54.0 150.254 1 32768 ? *> 212.1. d damped.10.0.1.3/32 150.1.68.24.1.2.0.1.10.1.22.0 222.1.1.10.0/24[V] Copyright © 2010 Internetwork Expert .0 54.20.1. h history.37.2.3.1.0 54.1.22.1.3.3.1.0/24 150.0/24 10.3.6/32 150.1.EGP. i .12.6 Status codes: s suppressed.0/24 150.CCIE Service Provider Lab Workbook Volume I *> *> *> *> 192.1.3.0 205.24.254 1 32768 ? *> 212.0/24[V] 10.com .0 150. > best.1.6.1.6.3 0 0 1 ? *> 205.incomplete Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10.1.90.0.1.18.1.6/32 10.254 Version 1.90.68.0 220.3.31.3 7 0 1 ? *> 222.37.1.18. 1.2/32 150.0/24[V] 150.0/24[V] 212.1.1.56.24.254 192.3.10.5 point2point point2point point2point point2point 10.5 150.1.1 Se0/0.1.1.1.INE.68.4/32 150.56.56.2.254 Bytes tag switched 0 0 1970 0 2652 Outgoing interface Et0/0 Se0/0.0 0 0 0 1140 Et0/1 Et0/1 Et0/1 192.1.5.3.45.68.1.1.5.6/32 150.1.5 www.3/32 150.4/32 212.5/32 150.1.1.5/32 150.22.0/24[V] 10.6/32 150.1.254 192.1 Et0/0 Next Hop Bytes tag switched 27056 16240 2382 Outgoing interface Et0/0 Se0/0.168 - 150.18.1.1 Se0/0/0.20.3.4.10.90.2.1 Next Hop Bytes tag switched 0 0 0 0 0 520 0 0 0 0 936 Outgoing interface Gi0/0 Gi0/0 Gi0/0 Next Hop Gi0/0 Se0/0/0.1.0/24[V] 205.56.0/24 150.3.1.3/32 150.24.6.1.1 Se0/0/0.CCIE Service Provider Lab Workbook Volume I 28 29 30 31 Aggregate Untagged Untagged Untagged 192.0/24[V] 10.0/24[V] 212.24.1.2 R5#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC Pop tag Pop tag 20 Prefix or Tunnel Id 150.0/24[V] 220.10.com .0/24[V] 212.5 150.1.1.3.1 Se0/0.6 point2point point2point R6#show mpls forwarding-table Local tag 16 17 19 20 21 22 23 24 25 26 33 Outgoing tag or VC 18 Pop tag Pop tag Aggregate 17 Untagged Untagged Untagged Untagged Untagged Aggregate Prefix or Tunnel Id 150.4.1.1.1.1 Se0/0.10.8.0/24[V] Version 1.0/24 54.1 Se0/0/0.18.6.8 R4#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag Pop tag 16 Pop tag 18 Prefix or Tunnel Id 150.1.18.1 Gi0/1 150.1.56.3/32 150.56.1.0.1.0/24[V] 222.0/24[V] Copyright © 2010 Internetwork Expert .1.31.2 point2point point2point point2point 150.18. 169 - Version 1.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE.0 www.com . 3 S1/2 S0/1 150.1.0 Carrier Supporting Carrier – IP Only Customer Carrier Objective: Configure an MPLS Carrier Supporting Carrier architecture with AS 2 as the backbone carrier and AS 1 as the customer carrier to provide transit between AS 65001 and AS 65002.170 - www.0/24 .0/24 VLAN 56 G0/0 G0/1 SW2 Fa0/6 10.0/24 Area 0 Frame Relay R1 .6 BGP AS 1 R6 .56.1 S0/0.3 .1.2 S0/0.com .1 BGP AS 1 OSPF 150.CCIE Service Provider Lab Workbook Volume I Version 1.68.1 150.0/24 .1. Fa0/3 SW1 10.1 Frame Relay .1.13.1.INE.37.1 102 201 .0/24 OSPF Area 0 R5 E0/0 .5 150.5 S0/0.0/24 .1.4 405 504 .6 BGP AS 65002 .7 E0/0 R3 BGP AS 65001 .4 OSPF Area 0 R4 S0/0.24.1.45.2 BGP AS 2 E0/0 150.1 R2 Fa0/0 .0/24 VLAN 24 .12.8 Copyright © 2010 Internetwork Expert . 1.0 ! router ospf 1 network 150.4/32 on R4 and advertise it into OSPF Configure MPLS on the interfaces between R2 and R4 and their connections to AS 1 Create VRF “AS1” on R2 and R4 using the route target and distinguisher 2:1 Apply this VRF to AS 2’s connections to AS 1 Run OSPF as the PE-CE routing protocol between AS 2 and AS 1 Peer with iBGP between R2 and R4 to exchange VPNv4 prefixes Configure Loopbacks on R1.1.1 255.0 Directions • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the link between R2 and R4 Create the Loopback 150.Y/32 Enable OSPF area 0 on all interfaces in the 150.255.1 0.1 255.1 point-to-point ip address 150.2.CCIE Service Provider Lab Workbook Volume I Version 1.INE.1.1.12.1.1.2/32 on R2 and advertise it into OSPF Create the Loopback 150.13.1.0.0.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.171 - www.0.8.0. R1 & R5.com .1 0.1.0/16 network in AS 1 Enable MPLS on R1 and R5’s connections to AS 1 Configure iBGP peerings between R1 & R3. R3.255.255.1 0.7.0.255.0.1.0 area 0 ! Copyright © 2010 Internetwork Expert .255.1. R5. and R5 & R6 R1 should be a route-reflector for R3 R5 should be a route-reflector for R6 Create the Loopback 10.8/24 on SW2 and advertise it into BGP Configure EBGP peerings between R3 & SW1 and R6 & SW2 Redistribute where necessary to gain connectivity between AS 65001 and AS 65002 Final Configuration R1# ip cef ! interface Loopback0 ip address 150.1.0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.Y.1.255.1.4.12.0 area 0 network 150.1.0.1 255.0 area 0 network 150.13.7/24 on SW1 and advertise it into BGP Create the Loopback 10. and R6 in the format 150. 4 send-community both exit-address-family ! address-family ipv4 vrf AS1 redistribute ospf 2 exit-address-family Copyright © 2010 Internetwork Expert .1.255.1.255.0 area 0 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150.0.0.255.24.24.1.172 - www.2 255.2.2 0.255.0 router bgp 1 neighbor 150.1.1.255.5.4 activate neighbor 150.255 ! interface FastEthernet0/0 ip address 150.5 update-source Loopback0 neighbor 150.2 0.24.1.INE.2 255.2 0.0.com .24.0.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.CCIE Service Provider Lab Workbook Volume I Version 1.1 point-to-point ip vrf forwarding AS1 ip address 150.1.1.3 remote-as 1 neighbor 150.2.4 remote-as 2 ! address-family vpnv4 neighbor 150.12.5.1.12.255.5 remote-as 1 neighbor 150.0 area 0 network 150.0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 network 150.2 255.3 route-reflector-client R2# ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! ip cef ! interface Loopback0 ip address 150.13.0.0 area 0 ! router bgp 2 neighbor 150.1.24.0.1.1.13. 4 255.13.0.CCIE Service Provider Lab Workbook Volume I Version 1.0 area 0 network 150.13.255 ! interface Ethernet0/0 ip address 10.0 area 0 ! router bgp 1 neighbor 10.255.1.3 0.24.255.4.INE.0 area 0 ! Copyright © 2010 Internetwork Expert .0.1.1.255.4 0.0.0 area 0 ! router ospf 1 network 150.0.3 255.255.24.1.255 ! interface Ethernet0/0 ip address 150.255.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.7 remote-as 65001 neighbor 150.255.13.255.1.37.1 point-to-point ip vrf forwarding AS1 ip address 150.0.255.0 tag-switching ip frame-relay interface-dlci 405 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150.1 remote-as 1 neighbor 150.13.4 255.4 0.0.0 ! interface Serial1/2 ip address 150.45.1.1.3.45.1.0.0 area 0 network 150.255.0 clockrate 64000 ! router ospf 1 network 150.37.1.1 next-hop-self R4# ip cef ! ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! interface Loopback0 ip address 150.1.3.0.0 R3# ip cef ! interface Loopback0 ip address 150.1.255.4 255.0.4 0.3 0.com .173 - www.0.1.255.4.1.1.3 255.3 255. 2 send-community both exit-address-family ! address-family ipv4 vrf AS1 redistribute ospf 2 vrf AS1 exit-address-family R5# ip cef ! interface Loopback0 ip address 150.6 0.5.1.0 area 0 ! Copyright © 2010 Internetwork Expert .255 ! interface Ethernet0/0 ip address 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 area 0 ! router bgp 1 neighbor 150.24.CCIE Service Provider Lab Workbook Volume I Version 1.0 area 0 network 150.1.6 255.1.255.2 activate neighbor 150.0 ! router ospf 1 network 150.1.56.0.255.1 point-to-point ip address 150.0.5 0.56.45.1 update-source Loopback0 neighbor 150.5 255.6.0.5 0.56.1.6 remote-as 1 neighbor 150.0 ! interface GigabitEthernet0/1 ip address 10.5.45.1.255 ! interface GigabitEthernet0/0 ip address 150.255.1.0 router bgp 2 neighbor 150.56.0.com .1.255.5 0.2 remote-as 2 ! address-family vpnv4 neighbor 150.1.6 255.6.1.1 remote-as 1 neighbor 150.1.255.174 - www.0.24.1.6 0.5 255.68.255.0.0.0 area 0 network 150.0.1.1.1.24.1.255.255.5 255.1.6 255.56.1.6 route-reflector-client R6# ip cef ! interface Loopback0 ip address 150.56.0.255.255.255.0 area 0 network 150.0 tag-switching ip frame-relay interface-dlci 504 ! router ospf 1 network 150.255.1.0.1.INE. 255.0 neighbor 10.0.1.37.1.255.255.255.1.255. FastEthernet0/3 Copyright © 2010 Internetwork Expert .0 mask 255.1.255.255.68.6 remote-as 1 Verification SW1#show ip route <output omitted> 10.56.7.0 neighbor 10.0 router bgp 1 neighbor 10.8.1.0 is directly connected.68.1.1.255.7.0 mask 255.8 remote-as 65002 neighbor 150.1.1.37.5 remote-as 1 neighbor 150.0/24 is subnetted.7.255.1.68.7 255.1. 3 subnets B 10.56.0 ! router bgp 65002 network 10.8.INE.5 next-hop-self SW1# ip routing ! interface Loopback0 ip address 10.0 is directly connected.com .0 [20/0] via 10.8 255.7 255.8.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.37.0.3 remote-as 1 SW2# interface Loopback0 ip address 10.1.3.255.8 255.255.255.1.1.0 ! interface FastEthernet0/6 no switchport ip address 10. Loopback0 C 10.37.CCIE Service Provider Lab Workbook Volume I Version 1.1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router bgp 65001 network 10.175 - www. 00:19:27 C 10. 0.0/24 [110/128] via 150.45.1.56.1.1. Serial0/0.0/24 is directly connected.1.1.1.1.1.7.8.0.1/32 [110/65] via 150.176 - www.0/24 [110/65] via 150.1.0.1.0.1.1. 00:19:39 C 10.37.1.24.1 O IA 150. Serial0/1 C 150.0.0/24 is subnetted.3.1.1. Loopback0 Routing Table: AS1 150.1 B 150.1.8. Sending 5. 00:35:47.6/32 [110/920] via 150.1 O IA 150.12.6/32 [110/139] via 150. 00:13:23.12.0/24 [200/0] via 150.13.1.13. FastEthernet0/0 C 150. 00:36:18 R3#show ip route <output omitted> 10.0/16 is variably subnetted.5.13. 00:36:18 B 150.0/24 [110/138] via 150.1.1. 00:10:48 B 10. 3 subnets. 100-byte ICMP Echos to 10.12.0 [200/0] via 150.1. round-trip min/avg/max = 144/144/144 ms R1#show ip route <output omitted> 10.6.1.4.2.1. 00:42:18.1.1.24. Serial0/0.1.0/24 is directly connected.6.45.4.8.1/32 is directly connected.0 is directly connected. 8 subnets. 00:36:18 O 150.0/24 [200/74] via 150.24. Serial0/0.0.1.6.CCIE Service Provider Lab Workbook Volume I Version 1.0 [20/0] via 10. Serial0/0. 00:35:19.12. Loopback0 C 150.0/24 is subnetted.13. 2 masks O IA 150.0/24 is subnetted.2.1.1. 2 masks C 150.1.2.1.0/16 is variably subnetted.5/32 [110/129] via 150.12.0 [20/0] via 10.1.13. Loopback0 B 10.1. Serial0/0. Serial1/2 Copyright © 2010 Internetwork Expert .68.7.1 R2#show ip route vrf * <output omitted> 150.INE.1.0 [200/0] via 150.0 is directly connected. 00:14:29 C 10. 00:13:23.12.1.1. 00:35:19.0.4.1.1.1 O 150.1 O 150.1.4.1.1.1.com .7.1. 00:35:19.0 SW2#show ip route <output omitted> 10.8.1.3.4/32 [110/2] via 150.1. 8 subnets. 00:11:00 150.2.1. Serial0/0.0.2/32 is directly connected.4.3/32 [110/129] via 150.8. Serial0/0. 00:13:23.3.6.1.2.1.1.12.7.24.1. 3 subnets C 10.0/24 is directly connected.0 [200/0] via 150.56.3/32 [110/65] via 150.7 !!!!! Success rate is 100 percent (5/5). 00:11:38 B 10.0.8. 2 masks B 150.0/16 is variably subnetted.1. 00:13:23. 00:13:23.1 O IA 150. 2 subnets B 10. 2 masks O IA 150.1 C 150.12.1.1.0/16 is variably subnetted.7.1.1. Ethernet0/0 150.0.7 Type escape sequence to abort.3.1. Serial0/0.1 O 150.1.56. Serial0/1 C 150.6.37.1.5/32 [200/65] via 150.7.1. Serial0/0. 3 subnets B 10.56.5.1.68.0/24 is directly connected.4.24.24.1.12. FastEthernet0/0 O 150.1.8 source 10. timeout is 2 seconds: Packet sent with a source address of 10. 8 subnets. FastEthernet0/6 SW1#ping 10.0 is directly connected. 00:36:18 B 150.6.6/32 [200/75] via 150. 24.1.13.1.6.13.0.7.3.1.45.45.1.1.0.com .13.56.1. 00:15:40 B 10.1.1/32 [110/65] via 150. Serial0/0.3. 2 subnets B 10.1. Ethernet0/0 C 150.1 R5#show ip route <output omitted> 10.1.56. 00:42:40.1.1.1.1/32 [200/65] via 150.24.5.1.1. Ethernet0/0 C 150.2.56. Serial1/2 150.0.1.6.0/24 is directly connected. 00:41:21.5.INE.5. 8 subnets.56. Serial0/0.56.0/24 [200/128] via 150.2.5.0/24 is directly connected.12.1 R6#show ip route <output omitted> B B C C O O O O O C O E2 E2 E2 E2 10.0/24 [110/1] via 150.6/32 [110/75] via 150. GigabitEthernet0/0 150.0/16 is variably subnetted.5.1.0.3/32 is directly connected. 00:35:47. 00:38:20 B 150.2/32 [110/11] via 150. Loopback0 150.0/24 [110/919] via 150.4. Serial0/0. 00:15:52 150.1.1. Serial1/2 150.13.12. GigabitEthernet0/1 150.1.1.0/24 [110/846] via 150. 00:35:47.1.1.6/32 is directly connected.1.CCIE Service Provider Lab Workbook Volume I O IA C O C O O IA O IA Version 1.1.56.56.56.4. 00:35:47. 00:38:59.1. 00:18:07 10.45. 00:41:21.1.1.5.5/32 [110/65] via 150.1.24. 00:38:20 B 150.6/32 [110/11] via 150. 8 subnets.0.24. Serial1/2 150.1.1.0/24 [110/74] via 150.45.3. Serial1/2 150.1.1. 00:38:20 B 150.12.1.1.1.1 O 150.0/24 is subnetted. 2 masks C 150.1. Loopback0 O E2 150. GigabitEthernet0/0 150.56.1/32 [110/782] via 150.0/16 is variably subnetted.1. Ethernet0/0 Routing Table: AS1 <output omitted> 150.1. 2 masks O 150.45.56.1.1. Serial1/2 R4#show ip route vrf * <output omitted> 150.0/16 is variably subnetted.3/32 [110/129] via 150.1 O E2 150.0/24 [200/0] via 150.56.45.1 B 150.24.5.5. Serial0/0.5.1.2.56.0/24 is directly connected.6.1.8. GigabitEthernet0/0 150.1.13.1. 00:35:47. 3 subnets 10.1.2.0/24 [110/1] via 150.1. 00:41:21. 00:42:40. Serial0/0.0 [200/0] via 150.1 C 150.1.1. 00:40:17.1 C 150.45.0.3/32 [110/129] via 150.2. GigabitEthernet0/0 150.45.1.1.4.68.4/32 is directly connected.1.1.1.1.0/24 is directly connected.8.177 - www.3.1.0.1.2.13. 00:39:38.0/24 [110/128] via 150.5/32 [110/2] via 150. 00:18:07 10.1.1. 00:38:59.0/16 is variably subnetted.4.13. Loopback0 150.1.5/32 [110/910] via 150. 2 masks O 150.3/32 [200/129] via 150.0 is directly connected.0/24 is directly connected. GigabitEthernet0/0 150.0 [200/0] via 150. Loopback0 O 150. 00:38:20 O 150.1.1.1 O E2 150.0/24 is subnetted. 00:46:17.0/24 [110/845] via 150. 00:39:38.45.5.68. 8 subnets.1. Serial0/0. Serial0/0.1.13.8.4.5.0/24 is directly connected.1/32 [110/65] via 150.0.6.0/24 [110/65] via 150. GigabitEthernet0/0 Copyright © 2010 Internetwork Expert . Ethernet0/0 C 150.6.1.1.1. 00:35:47.5. Serial0/0.1.0 150.7.5/32 is directly connected.1.3.13.5.1.1.3. 00:41:22.24. Serial0/0.1.1.12.1 O E2 150.1. 00:38:59.0 [200/0] via 150.1.1.45. GigabitEthernet0/0 150. 00:39:38. 00:38:59.1. 2 masks 150.1.1.13. Serial1/2 150.1.45.0 [20/0] via 10. 3 subnets.0/24 [110/128] via 150.1.13. 12.178 - www.8.1.56.24.CCIE Service Provider Lab Workbook Volume I Version 1.6 Metric LocPrf Weight Path 0 100 0 65001 i 0 100 0 65002 i R6#show ip bgp <output omitted> Network *>i10.1.1.0/24 *> 10.1.1 129 32768 ? *>i150.1.7.0/24 *>i10.13.7.1.1.7.1.56.com .0.1.0 R2#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *> 150.8.0/24 150.5.1 128 32768 ? *>i150.5/32 150.5/32 150.1.37.0/24 150.1.1.1.24.45.0/24 150.5 65 32768 ? *> 150.1.3.45.45.24.13.1.1.2 65 100 0 ? *>i150.24.24.0/24 150.0/24 Next Hop 150.1 65 32768 ? *> 150.12.6/32 150.13.1.1/32 150.1.13.1.3 10.1.1.1.1.3.1.2 128 100 0 ? *> 150.1.1.7.1.1.2 0 100 0 ? *>i150.3 150.4 75 100 0 ? *> 150.24.0/24 Next Hop 150.12.0/24 0.1/32 150.0/24 *>i10.6 Metric LocPrf Weight Path 0 100 0 65001 i 0 100 0 65002 i R3#show ip bgp <output omitted> Network *> 10.1.1.6.3/32 150.1.1.0/24 Next Hop 10.12.68.13.12.1.0/24 150.1.0/24 0.1.1.45.8.1.8.56.1.1.2 129 100 0 ? *> 150.1.1.1.1.1.INE.8 Metric LocPrf Weight Path 0 100 0 65001 i 0 0 65002 i Copyright © 2010 Internetwork Expert .45.0/24 Next Hop 150.4 0 100 0 ? *>i150.0.5.3 150.0.0 0 32768 ? *> 150.0.7 150.6/32 150.5 75 32768 ? *>i150.4 74 100 0 ? R4#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *>i150.56.0/24 *>i10.1.3/32 150.0 0 32768 ? *> 150.4 65 100 0 ? *>i150.0/24 150.1.24.56.24.6 Metric LocPrf Weight Path 0 0 65001 i 0 100 0 65002 i R5#show ip bgp <output omitted> Network *>i10.1.6.1.5 74 32768 ? R1#show ip bgp <output omitted> Network *>i10. CCIE Service Provider Lab Workbook Volume I Version 1.3/32 150.3/32 150.24.24.1.0/24[V] 150.4 150.1 Next Hop Bytes tag switched 0 2006 0 590 2679 540 2192 1768 0 Outgoing interface Fa0/0 Fa0/0 Fa0/0 Fa0/0 Fa0/0 Se0/0.6.6.2 Bytes tag switched 570 0 0 0 0 Outgoing interface Et0/0 Se0/0.1.4/32 150.1 Se0/0.24.1 Next Hop Et0/0 Et0/0 Et0/0 Et0/0 150.1.3/32[V] 150.1.24.1.1 Se0/0.1.0/24 Bytes tag switched 520 0 0 0 0 Outgoing interface Se0/1 Se0/0.3/32[V] 150.1 Se0/0.179 - 150.1.1.1.45.1/32 150.3.1 Next Hop Bytes tag switched 0 540 2631 1768 0 3200 590 0 2006 Outgoing interface Et0/0 Se0/0.6/32[V] 150.6 point2point point2point point2point point2point www.13.1.56.0 R1#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Untagged 20 19 18 17 Prefix or Tunnel Id 150.6.INE.1.1.12.4.24.1.1.5.1.3.1.4 150.0/24[V] 150.com .6/32 150.12.2/32 150.1.1.1/32[V] 150.3.1 Se0/0.1.5.5/32[V] 150.24.56.1.4 150.1.56.1 Se0/0.1.1.2 150.1.6.2.6/32[V] 150.13.5/32 150.1.5.0/24[V] 150.0/24[V] 150.6/32 150.1 Se0/0.0/24 150.0/24[V] 150.1/32[V] 150.1 Next Hop point2point point2point point2point point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 19 20 17 18 16 Pop tag Pop tag Aggregate Prefix or Tunnel Id 150.56.1.1 Se0/0.1.4 150.1.24.12.1.13.1.1.1 Se0/0.2 150.45.1.4 point2point point2point point2point R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Pop tag Aggregate 22 21 24 23 Prefix or Tunnel Id 150.45.1.24.0/24 Copyright © 2010 Internetwork Expert .0/24[V] 150.0/24 150.1 Se0/0.1.0/24[V] 150.24.2 point2point point2point point2point R5#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Untagged 21 22 23 24 Prefix or Tunnel Id 150.5/32[V] 150.2 150.3.1.1.24.1.1.1.1 Se0/0.1.0/24[V] 150.1.1. 0/24 .0/24 Area 0 Frame Relay R1 . Fa0/3 SW1 .1.8 Copyright © 2010 Internetwork Expert .4 OSPF Area 0 R4 S0/0.56.1 102 201 .13.0/24 VLAN 24 .1 R2 Fa0/0 .24.2 BGP AS 2 E0/0 150.6 G0/1 SW2 Fa0/6 10.1.12.4 405 504 .0/24 BGP AS 1 E0/0 R3 BGP AS 65001 .2 S0/0.1.com .1 Frame Relay .1 150.INE.3 S1/2 S0/1 150.45.5 150.1.0/24 OSPF Area 0 R5 E0/0 .1 S0/0.180 - www.1.68.7 10.3 .0 Carrier Supporting Carrier – MPLS Enabled Customer Carrier Objective: Configure an MPLS Carrier Supporting Carrier architecture with AS 2 as the backbone carrier and AS 1 as an MPLS enabled customer carrier to provide transit between AS 65001 and AS 65002.0/24 VLAN 56 G0/0 .5 S0/0.CCIE Service Provider Lab Workbook Volume I Version 1.1.0/24 .6 BGP AS 65002 R6 BGP AS 1 .1.37.1 OSPF 150. 13.CCIE Service Provider Lab Workbook Volume I Version 1.0/16 network on R1.7.Y/32 Enable OSPF area 0 on all interfaces in the 150. R5. and R6 Enable MPLS on the links between R1 & R3.0.1 point-to-point ip address 150.2/32 on R2 and advertise it into OSPF Create the Loopback 150.1.255. R3.7/24 on SW1 and advertise it into BGP Create the Loopback 10. R5.255.12.com .0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.4/32 on R4 and advertise it into OSPF Configure MPLS on the interfaces between R2 and R4 and their connections to AS 1 Create VRF “AS1” on R2 and R4 using the route target and distinguisher 2:1 Apply this VRF to AS 2’s connections to AS 1 Run OSPF as the PE-CE routing protocol between AS 2 and AS 1 Peer with iBGP between R2 and R4 to exchange VPNv4 prefixes Configure Loopbacks on R1.1.1.1 255.1.181 - www.2.255.1.255.1.1 255.1.255.INE.8/24 on SW2 and advertise it into BGP Configure EBGP peerings between R3 & SW1 and R6 & SW2 Redistribute where necessary to gain connectivity between AS 65001 and AS 65002 Final Configuration R1# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.1. R3.1.Y.1 255.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.0 Directions • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the link between R2 and R4 Create the Loopback 150. R5 & R6. and R6 in the format 150.0 tag-switching ip ! Copyright © 2010 Internetwork Expert .8.4. and on R1 & R5’s connections to AS 1 Configure an iBGP peering between R3 and R6 Create the Loopback 10. INE.2 0.1.0.24.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.2 0.0.0 area 0 network 150.255.12.1.0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 network 150.1.12.255.2 255.24.2 255.24.0.1.182 - www.1 0.0.0 area 0 network 150.255.4 activate neighbor 150.0.0 area 0 ! router bgp 2 neighbor 150.1 0.CCIE Service Provider Lab Workbook Volume I Version 1.1.255.24.1.1.0.255.1.0.2.0.0 area 0 R2# ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.24.1.0.2 0.12.1 point-to-point ip vrf forwarding AS1 ip address 150.0.4 send-community both exit-address-family ! address-family ipv4 vrf AS1 redistribute ospf 2 exit-address-family R3# ip cef ! mpls label protocol ldp Copyright © 2010 Internetwork Expert .com .13.1 0.1.1.2 255.1.0 area 0 network 150.0.0.1.255.2.255 ! interface FastEthernet0/0 ip address 150.0 router ospf 1 network 150.4 remote-as 2 ! address-family vpnv4 neighbor 150.0 area 0 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150. 0.183 - www.255.45.4 0.255.0.0 area 0 network 150.255.0.255.0 ! interface Loopback0 ip address 150.com .4 0.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.6.255.255 ! interface Ethernet0/0 ip address 10.3 255.1.0 tag-switching ip frame-relay interface-dlci 405 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150.255 ! interface Ethernet0/0 ip address 150.6.45.6 next-hop-self R4# ip cef ! mpls label protocol ldp ! ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! interface Loopback0 ip address 150.0.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.37.1 point-to-point ip vrf forwarding AS1 ip address 150.1.255.24.6 remote-as 1 neighbor 150.1.1.255.0.4.255.255.4 0.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.3.13.0 area 0 ! Copyright © 2010 Internetwork Expert .1.3.1.1.0.0.255.1.3 255.0 area 0 ! router bgp 1 neighbor 10.4 255.0 area 0 ! router ospf 1 network 150.0 area 0 network 150.6 update-source Loopback0 neighbor 150.4 255.INE.7 remote-as 65001 neighbor 150.0 ! interface Serial1/2 ip address 150.1.0.255.3 0.37.13.4.4 255.255.1.0.0.1.3 255.1.6.3 0.1.24. 0 tag-switching ip frame-relay interface-dlci 504 ! router ospf 1 network 150.0.24.5 255.255.2 remote-as 2 ! address-family vpnv4 neighbor 150.1.0 router bgp 2 neighbor 150.0 area 0 network 150.56.com .1.5 0.255.6 255.1.255.INE.0.6 255.45.255 ! interface GigabitEthernet0/0 ip address 150.1.0 ! router ospf 1 network 150.1.0 area 0 Copyright © 2010 Internetwork Expert .5 0.0.184 - www.56.0.56.1 point-to-point ip address 150.0 area 0 network 150.1.255.6.24.68.0.255.6 0.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.5 255.0 mpls ip ! interface GigabitEthernet0/1 ip address 10.0 area 0 network 150.255.2 activate neighbor 150.0.1.255.6.6 0.5 0.255.255.1.6 255.1.1.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.56.255 ! interface Ethernet0/0 ip address 150.5.2 send-community both exit-address-family ! address-family ipv4 vrf AS1 redistribute ospf 2 vrf AS1 exit-address-family R5# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.0.1.5.0.255.24.1.1.0.0.1.5 255.0 area 0 R6# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.45. 255.7.1.37.3.0/24 is subnetted.8.com .255.1.0 neighbor 10.INE.255.8 255. 00:02:44 C 10.3 remote-as 65002 remote-as 1 update-source Loopback0 next-hop-self SW1# ip routing ! interface Loopback0 ip address 10.37.37.37.68.0 mask 255.0 is directly connected.0 ! router bgp 1 neighbor 10.6 remote-as 1 Verification SW1#show ip route <output omitted> 10.7.0.255.8.1.0 [20/0] via 10.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router bgp 65001 network 10.255.0.3. FastEthernet0/3 Copyright © 2010 Internetwork Expert .1.0 ! router bgp 65002 network 10.8.1.0 neighbor 10.3 remote-as 1 SW2# interface Loopback0 ip address 10.7 255.8 neighbor 150.1.68.7.255.1.3 neighbor 150.1.1. Loopback0 C 10.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.3.1.8 255.3.7 255.255. 3 subnets B 10.0 mask 255.3 neighbor 150.1.1.185 - www.255.0 ! interface FastEthernet0/6 no switchport ip address 10.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.1.0 is directly connected.255.68.1.255.255.255. 1. 00:02:04. 3 subnets B 10.1.1.1.0/24 is directly connected. FastEthernet0/6 SW1#ping 10.0/24 is directly connected.0 is directly connected.1. 00:02:04. 03:07:36 B 150.1.1. Loopback0 Routing Table: AS1 <output omitted> 150.1.0 [200/0] via 150.8 source 10.13.0/24 is directly connected.1.6/32 [200/75] via 150.1.13.1. FastEthernet0/0 O 150.5. Serial1/2 O IA 150. 00:02:56 C 10.13.1.45.0 [20/0] via 10.1.4. Serial0/0.1.1.0. 8 subnets.1.1.12. Serial0/0. 03:06:59.68.6. 3 subnets.1.12.com .8. 02:45:41 C 10.6. 03:06:37.1/32 [110/65] via 150.0/16 is variably subnetted.1.0.1.4. 03:13:36.1.1.5.1.24.24. Serial0/0.0 [20/0] via 10.7. round-trip min/avg/max = 144/147/148 ms R1#show ip route <output omitted> 150.12.3/32 [110/65] via 150.1.1. 2 masks O IA 150.1 R2#show ip route vrf * <output omitted> 150.1. 2 masks C 150. Loopback0 B 10.1 C 150.13.186 - www. 00:02:04.1.6.1. Serial0/0.1 O IA 150.1. Serial0/0.4/32 [110/2] via 150.3.1.1.1.0.0/16 is variably subnetted.0.12.1 O 150.0/16 is variably subnetted. Serial0/0. 03:06:37. Serial0/0.7.5/32 [110/129] via 150.4. 00:02:04.2.1.0/24 [200/74] via 150.1.2.12.1.7 !!!!! Success rate is 100 percent (5/5).0/16 is variably subnetted.2.6/32 [110/920] via 150.8.1.1 B 150.0/24 is subnetted.7.56.12. 03:07:36 O 150.24.68.1.24.0/24 [110/138] via 150.3/32 [110/129] via 150. Serial0/1 C 150. 03:06:59.1.3. Ethernet0/0 150.1.0. Sending 5.37.5/32 [200/65] via 150. 2 masks B 150.2. 2 masks O IA 150.1.1 O IA 150.5/32 [110/910] via 150.6/32 [110/139] via 150. 3 subnets C 10.12.2.1 O 150. 03:06:37.8.1.1. 00:01:31 B 10.1.0 is directly connected. Serial0/0.1.6.0.0/24 is directly connected.1 O 150.4. 03:07:36 R3#show ip route <output omitted> 10.1.1.4. 100-byte ICMP Echos to 10. Serial0/1 C 150.0/24 is subnetted.7.0 SW2#show ip route <output omitted> 10. 8 subnets.1.12.24.56.1.45.1.1 O IA 150.0 is directly connected.7.1.INE.CCIE Service Provider Lab Workbook Volume I Version 1.1.0. Loopback0 C 150.13.0/24 [200/0] via 150.8.6.24. Serial1/2 Copyright © 2010 Internetwork Expert .1.4.37. FastEthernet0/0 C 150.1.1.1.6.7 Type escape sequence to abort.1. 03:07:36 B 150.1.1/32 is directly connected.1.3.1. 00:02:04.2/32 is directly connected.1.0/24 [110/128] via 150.5.0/24 [110/65] via 150.8.12.0. Serial0/0. timeout is 2 seconds: Packet sent with a source address of 10. 8 subnets. 1 O E2 150.1.1. 02:43:54 10.1.1.1.56.0/24 [110/65] via 150.1. 3 subnets. GigabitEthernet0/0 150.1.3.1.1.1.1.0/24 [110/128] via 150.5/32 is directly connected. Serial0/0.0/24 is directly connected.56.1.1. 03:07:09. Serial0/0.1. 03:06:26 B 150. Ethernet0/0 C 150.1.3/32 [110/129] via 150. Loopback0 150.1. 00:03:23.1.5. 03:06:26 B 150. Serial0/0.56.1.1.12.24.0/24 is directly connected.0 [20/0] via 10. Serial0/0.6.1.56. GigabitEthernet0/0 Copyright © 2010 Internetwork Expert .6/32 is directly connected.1/32 [110/782] via 150.1.12.1.13. 03:06:59. 00:03:23. GigabitEthernet0/1 150.13.1.8.1. Loopback0 O 150. Serial0/0.3.3/32 [200/129] via 150.1.0.1.1.5.1.45.13.1.24. Serial1/2 150.1.1.0 150. 8 subnets.0.3. Serial0/0.5/32 [110/65] via 150.1. 03:06:26 B 150. GigabitEthernet0/0 150.1.13. 03:07:09.1.0/24 is directly connected.2.5. 8 subnets. Loopback0 150.1.0/24 [110/919] via 150.CCIE Service Provider Lab Workbook Volume I C O C O O IA O IA Version 1. 00:03:23. Serial0/0.1.1. GigabitEthernet0/0 150.13.0/24 is subnetted.5.45. 03:06:26 O 150.1.187 - www.1.13.5.4.1. Serial0/0.0/24 is directly connected. 03:07:44.1 R6#show ip route <output omitted> B B C C O O O O O C O E2 E2 E2 E2 10. 2 masks C 150.1.68. Loopback0 O E2 150.1.13. 2 masks 150.1.0 [200/0] via 150.1.5.1.45.0/16 is variably subnetted.1 R5#show ip route <output omitted> 150.6.1. 03:06:59. 03:07:08.13.45.4.1.0/16 is variably subnetted.1.7. 03:07:08.12.2.1.2.0.0/16 is variably subnetted.com .0/16 is variably subnetted.1.6.1.56.5/32 [110/2] via 150. Serial1/2 150.6/32 [110/75] via 150. 8 subnets.0/24 [110/128] via 150.56.5.1 B 150. GigabitEthernet0/0 150.5.2.1.24.3.1.0/24 [200/128] via 150. Serial1/2 150.45.3/32 is directly connected.0/24 is directly connected.1 O E2 150.45.1.2/32 [110/11] via 150.4.6/32 [110/11] via 150. 00:03:23.1.56.1.56. Serial1/2 150.5.3.1/32 [110/65] via 150.1. GigabitEthernet0/0 150.0/24 is directly connected.0/24 [110/1] via 150.1.0 is directly connected.0/24 [110/846] via 150.0/24 [200/0] via 150.24.INE.12.1.56.0/24 [110/845] via 150. 2 masks O 150.0/24 [110/1] via 150.56.1 C 150.1.1.4. 03:07:44.68.1.0. 2 masks O 150.1.1. Ethernet0/0 C 150.45. 00:02:30 10. 03:06:59.1. 00:03:23.4.2.2. 03:08:27.1.0/24 [110/74] via 150.45. Ethernet0/0 Routing Table: AS1 <output omitted> 150.56.1/32 [200/65] via 150.8.0.45.5.1.24.1.1.45. Serial1/2 R4#show ip route vrf * <output omitted> 150.5. GigabitEthernet0/0 150.6.1 C 150. Ethernet0/0 C 150.4/32 is directly connected.0.45.1 O E2 150.3/32 [110/129] via 150. Serial0/0.24.1 O 150. 03:06:59.1. 03:07:44.1. 03:08:27.1. 03:14:23. 3 subnets 10.5.1.3.1/32 [110/65] via 150. 5/32 150.0/24 150.1.1.1.12.4 0 100 0 ? *>i150.1.8.1.3/32 150.1 Next Hop Bytes tag switched 0 3186 0 Outgoing interface Fa0/0 Fa0/0 Fa0/0 Next Hop point2point point2point point2point point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 Outgoing tag or VC Pop tag 19 20 Prefix or Tunnel Id 150.6/32 150.7 150.45.1.24.24.6.1 128 32768 ? *>i150.7.1.1.12.4 150.188 - 150.6/32 150.5.1.45.24.45.1.1.1.5 74 32768 ? R3#show ip bgp <output omitted> Network *> 10.0 0 32768 ? *> 150.0/24 0.1/32 150.24.0/24 150.24.5/32 150.CCIE Service Provider Lab Workbook Volume I Version 1.2 0 100 0 ? *>i150.1.3.com .3.1.1.5 75 32768 ? *>i150.24.24.1.6/32 150.1.12.1.1.0/24 Next Hop 150.24.1.0/24[V] 150.1.1.1.12.5 65 32768 ? *> 150.6.1.3 10.1.1 Se0/0.1.45.24.6.68.0/24 *> 10.1.0 0 32768 ? *> 150.0.INE.1 65 32768 ? *> 150.45.1.0/24 150.1.56.24.1.1.3.8 Metric LocPrf Weight Path 0 100 0 65001 i 0 0 65002 i R1#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag 20 19 18 17 Prefix or Tunnel Id 150.1 Se0/0.37.24.0 R2#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *> 150.3/32 150.0/24 150.45.1.1.1 129 32768 ? *>i150.1.1.4 www.45.56.1.1.56.1.1.0/24 Next Hop 10.1.12.2 128 100 0 ? *> 150.0.5.13.0/24 *>i10.1.1.2 129 100 0 ? *> 150.5/32 150.1.1.4 65 100 0 ? *>i150.1 Se0/0.6 Metric LocPrf Weight Path 0 0 65001 i 0 100 0 65002 i R6#show ip bgp <output omitted> Network *>i10.0/24 150.56.0/24 150.6.0/24 Bytes tag switched 905 0 1041 0 0 Outgoing interface Se0/1 Se0/0.1.1.0/24 0.1.0.8.0.3.0/24 150.4 75 100 0 ? *> 150.4 74 100 0 ? R4#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *>i150.4.5.1/32 150.13.0/24[V] Copyright © 2010 Internetwork Expert .1.3/32 150.7.4/32 150.4 150.2 65 100 0 ? *>i150.1.1.1. 1.1.1.0/24[V] 150.1.56.12.1.56.0/24 150.1.2 150.1.56.1.5/32[V] 150.1.2 Bytes tag switched 1313 0 1181 0 0 Outgoing interface Et0/0 Se0/0.0/24[V] 150.6.12.2 point2point point2point point2point R5#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag 21 22 23 24 Prefix or Tunnel Id 150.1.1.1.0/24 150.1 Se0/0.0/24 150.56.5 www.24.1.3/32 150.1 Se0/0.0/24[V] 150.1.1.2 150.1.13.com .3/32[V] 150.1.1/32[V] 150.1.1 Se0/0.1/32[V] 150.4 point2point point2point point2point Bytes tag switched 0 0 0 0 0 0 Outgoing interface Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Next Hop Bytes tag switched 0 1652 15902 2808 0 22153 1774 0 3186 Outgoing interface Et0/0 Se0/0.3.0/24 150.1 Se0/0.1.5.0/24 150.1.12.1 Next Hop Et0/0 Et0/0 Et0/0 Et0/0 150.45.1 Se0/0.5 150.0/24 Copyright © 2010 Internetwork Expert .5 150.0/24[V] 150.0/24 150.3.1.24.5 150.1.1.1.24.56.5.4 150.1.1 150.5/32 150.1.24.1 Se0/0.5.1.189 - 150.13.1.6.3.2/32 150.1.56.0/24 point2point point2point point2point point2point point2point point2point R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Pop tag Aggregate 22 21 24 23 Prefix or Tunnel Id 150.5 150.1/32 150.3/32[V] 150.1/32 150.1.0 1828 19836 1604 17667 2808 0 Fa0/0 Fa0/0 Se0/0.5/32 150.1.24.1 Next Hop Bytes tag switched 0 0 0 0 0 0 Outgoing interface Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Next Hop R3#show mpls forwarding-table Local tag 16 17 18 19 20 21 Outgoing tag or VC 18 17 Pop tag Pop tag 20 19 Prefix or Tunnel Id 150.6 point2point point2point point2point point2point R6#show mpls forwarding-table Local tag 16 17 18 19 20 21 Outgoing tag or VC Pop tag 18 17 20 19 Pop tag Prefix or Tunnel Id 150.1.INE.13.13.3.6.1.1.1.2 150.6/32[V] 150.1.1.0/24[V] Version 1.1.CCIE Service Provider Lab Workbook Volume I 19 20 21 22 23 24 17 18 16 Pop tag Pop tag Aggregate 150.56.5 150.6/32 150.1.1.12.5.56.1.1 Se0/0.6.24.2.1.45.0/24[V] 150.1.24.1.6/32[V] 150.1/32 150.1.1.1.1.3/32 150.6/32 150.45.1.12.1.1.56.5/32[V] 150. 1.24.1 S0/0.1 R2 Fa0/0 .3 S1/2 S0/1 150.com .37.2 BGP AS 2 E0/0 150.4 150.1.1 R6 BGP AS 1 .1.3 .13.1 102 201 .0/24 VLAN 32 BB2 . Fa0/3 .8 .1.1.1 OSPF Area 0 R5 E0/0 .0/24 R4 S0/0.0/24 .190 - www.INE.X.7 BGP AS 1 10.1.0/24 Area 0 Frame Relay R1 .CCIE Service Provider Lab Workbook Volume I Version 1.0/24 .1.5 S0/0.4 405 504 .0 Carrier Supporting Carrier – Hierarchical MPLS VPNs Objective: Configure an MPLS Carrier Supporting Carrier architecture with AS 2 as the backbone carrier and AS 1 as the customer carrier to provide MPLS VPN service between SW1 & BB1 and SW2 & BB2.1 OSPF 150.6 G0/1 RIPv2 Fa0/6 SW2 10.0/24 192.254 RIPv2 BB1 Copyright © 2010 Internetwork Expert .12.X.68.6 54.254 RIPv2 RIPv2 E0/0 E0/1 R3 .0/24 VLAN 56 G0/0 .2 S0/0.0/24 Frame Relay 101 .45.1.10.6 S0/0/0.0/24 VLAN 24 .3 SW1 .5 150.56.1 OSPF Area 0 Frame Relay . 1.0.191 - www. and R6 Enable MPLS on the links between R1 & R3.com . and R6 in the format 150.2/32 on R2 and advertise it into OSPF Create the Loopback 150.Y.1.2.INE.255.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the link between R2 and R4 Create the Loopback 150. R5. R5 & R6.1. R5.4/32 on R4 and advertise it into OSPF Configure MPLS on the interfaces between R2 and R4 and their connections to AS 1 Create VRF “AS1” on R2 and R4 using the route target and distinguisher 2:1 Apply this VRF to AS 2’s connections to AS 1 Run OSPF as the PE-CE routing protocol between AS 2 and AS 1 Peer with iBGP between R2 and R4 to exchange VPNv4 prefixes Configure Loopbacks on R1.8.1.1. R3.255 ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .1 255. R3.7/24 on SW1 and advertise it into RIP Create the Loopback 10.255.7.1.CCIE Service Provider Lab Workbook Volume I Version 1.8/24 on SW2 and advertise it into RIP Configure an iBGP peering between R1 and R6 for VPNv4 exchange Redistribute where necessary to gain connectivity between SW1 & BB1 and SW2 & BB2 Final Configuration R1# ip cef mpls label protocol ldp ! interface Loopback0 ip address 150.1.Y/32 Enable OSPF area 0 on all interfaces in the 150.4. and on R1 & R5’s connections to AS 1 SW1 and BB1 should be in VRF “SW1-BB1” on R3 and R6 Use the route distinguisher and route target 1:100 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & BB1 SW2 and BB2 should be in VRF “SW2-BB2” on R3 and R6 Use the route distinguisher and route target 1:200 for this VRF Run RIPv2 as the PE-CE protocol between R6 & SW2 and R3 & BB2 BB2 will be expecting RIPv2 packets to be MD5 authenticated with the password CISCO Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10.0/16 network on R1.1. 13.2 255.1.255 ! interface FastEthernet0/0 ip address 150.0 interface Serial0/0.0 tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.0.1.255.12.1.com .1.INE.2 255.255.1 0.0 area 0 R2# ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! ip cef mpls label protocol ldp ! interface Loopback0 ip address 150.0.1.0 area 0 network 150.255.0 area 0 network 150.1.0.2 0.1.192 - www.4 send-community both exit-address-family ! Copyright © 2010 Internetwork Expert .4 remote-as 2 ! address-family vpnv4 neighbor 150.12.12.24.255.24.1 255.0.0.24.1.1.1.255.1.255.0 area 0 ! router bgp 2 neighbor 150.2 0.0.2 255.1 point-to-point ip vrf forwarding AS1 ip address 150.0.0.1 0.24.1.1.1 point-to-point ip address 150.1.1 0.1 255.0.0.0 tag-switching ip frame-relay interface-dlci 201 ! router ospf 1 network 150.0.255.13.0 area 0 network 150.255.2 0.CCIE Service Provider Lab Workbook Volume I Version 1.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 area 0 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150.24.2.2.0.12.0 tag-switching ip ! router ospf 1 network 150.255.4 activate neighbor 150.1. 3.3 255.10.0 tag-switching ip clockrate 64000 ! router ospf 1 network 150.0.0.3.3 0.255.0 area 0 ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 1 metric 1 network 192.com .255.37.0 ! interface Ethernet0/1 ip vrf forwarding SW2-BB2 ip address 192.0 ip rip authentication mode md5 ip rip authentication key-chain RIP ! interface Serial1/2 ip address 150.0.CCIE Service Provider Lab Workbook Volume I Version 1.INE.255.255.3 0.1.1.255.1.193 - www.0 address-family ipv4 vrf AS1 redistribute ospf 2 exit-address-family R3# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! mpls label protocol ldp ! key chain RIP key 1 key-string CISCO ! interface Loopback0 ip address 150.255.0.0 no auto-summary version 2 exit-address-family ! Copyright © 2010 Internetwork Expert .1.1.1.0 area 0 network 150.3 255.10.255 ! interface Ethernet0/0 ip vrf forwarding SW1-BB1 ip address 10.255.13.1.13.3 255.255.3 255. 255.0.1.6 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R4# ip cef ! ip vrf AS1 rd 2:1 route-target export 2:1 route-target import 2:1 ! mpls label protocol ldp ! interface Loopback0 ip address 150.com .6 update-source Loopback0 neighbor 150.6.1.6 activate neighbor 150.255.0 area 0 ! Copyright © 2010 Internetwork Expert .6.0 tag-switching ip frame-relay interface-dlci 405 ! router ospf 2 vrf AS1 redistribute bgp 2 subnets network 150.45.4.255.1.4 0.255.255.6.1.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.1.1.6.4 255.194 - www.INE.45.4 255.4 255.1.0.255.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.1.0.6 next-hop-self ! address-family vpnv4 neighbor 150.1 point-to-point ip vrf forwarding AS1 ip address 150.0.6.0 address-family ipv4 vrf SW1-BB1 redistribute bgp 1 metric 1 network 10.6 remote-as 1 neighbor 150.24.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! interface Ethernet0/0 ip address 150. 5 255.0 area 0 network 150.com .1.4 0.0.1.56.0.0 tag-switching ip frame-relay interface-dlci 504 ! router ospf 1 network 150.5 255.0 area 0 network 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.0 area 0 network 150.45.0.0 area 0 ! router bgp 2 neighbor 150.0 tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.0 area 0 R6# ip cef ! ip vrf SW1-BB1 rd 1:100 route-target export 1:100 route-target import 1:100 ! ip vrf SW2-BB2 rd 1:200 route-target export 1:200 route-target import 1:200 ! mpls label protocol ldp ! Copyright © 2010 Internetwork Expert .56.45.255 ! interface Ethernet0/0 ip address 150.255.0.0.1.1.1.255.255.INE.195 - www.2 remote-as 2 ! address-family vpnv4 neighbor 150.0.24.1.0.5.5 255.2 activate neighbor 150.1.1.0.0 router ospf 1 network 150.255.5 0.0.24.255.5 0.24.4.5 0.4 0.1.2 send-community both exit-address-family ! address-family ipv4 vrf AS1 redistribute ospf 2 vrf AS1 exit-address-family R5# ip cef ! mpls label protocol ldp ! interface Loopback0 ip address 150.5.255.1 point-to-point ip address 150.24. 0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 1 metric 1 network 54.6.1.6 255.255.3 next-hop-self ! address-family vpnv4 neighbor 150.0.3 activate neighbor 150.com .1 point-to-point ip vrf forwarding SW1-BB1 ip address 54.0.3 remote-as 1 neighbor 150.0 ! interface Serial0/0/0 encapsulation frame-relay ! interface Serial0/0/0.0.1.3.68.0 area 0 ! router rip ! address-family ipv4 vrf SW2-BB2 redistribute bgp 1 metric 1 network 10.1.1.3.CCIE Service Provider Lab Workbook Volume I Version 1.1.6.0 interface Loopback0 ip address 150.255.1.0.6 255.1.1.3.3.196 - www.56.6 255.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.6 0.56.255.0.0 area 0 network 150.3 update-source Loopback0 neighbor 150.0.6 0.255 ! interface GigabitEthernet0/0 ip address 150.1.255.0 mpls ip ! interface GigabitEthernet0/1 ip vrf forwarding SW2-BB2 ip address 10.6 255.1.0.255.INE.255.255.1.3.0.3 send-community extended exit-address-family ! address-family ipv4 vrf SW2-BB2 redistribute rip no auto-summary no synchronization exit-address-family ! Copyright © 2010 Internetwork Expert .255.0 frame-relay interface-dlci 101 ! router ospf 1 network 150.1. 255.37.255.255.0 ! interface FastEthernet0/24 switchport access vlan 32 ! router rip version 2 network 10.1.0 address-family ipv4 vrf SW1-BB1 redistribute rip no auto-summary no synchronization exit-address-family SW1# ip routing ! interface Loopback0 ip address 10.1.0 no auto-summary Copyright © 2010 Internetwork Expert .0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.1.0 ! interface FastEthernet0/3 switchport access vlan 32 ! interface FastEthernet0/6 no switchport ip address 10.7.255.255.8 255.0 no auto-summary SW2# interface Loopback0 ip address 10.0.7 255.197 - www.68.255.255.7 255.CCIE Service Provider Lab Workbook Volume I Version 1.1.8.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router rip version 2 network 10.com .8 255.0.0.INE.0.255. 5.1 source 10.1.7. Serial0/1 C 150.5/32 [110/129] via 150.1.2.6. 00:00:20.6.0/24 [120/1] via 10.1.37.1. 00:00:00.1. Loopback0 C 10.1 O 150. Sending 5.12.37. timeout is 2 seconds: Packet sent with a source address of 10.20.0 [120/1] via 10. Serial0/0.6.1.0.2. 06:47:39.3.0.18.37.1.31.1. FastEthernet0/6 R 220.0.0/24 [120/1] via 10.7.3.90. 00:00:00.0/24 is subnetted.1.1 O IA 150.68.INE.37.0/16 is variably subnetted.3.0/24 is subnetted.0 Verification SW1#show ip route <output omitted> 54.0.1.12.68.56.22.1.0.12.8 Type escape sequence to abort.1.1. FastEthernet0/3 R 212.1 source 10. Loopback0 C 150.0/24 is directly connected.68.0 is directly connected. FastEthernet0/3 10.0/24 [120/1] via 10.1.6.18.1.0 is directly connected.2.1 O IA 150.1.1.1.3.18.3. FastEthernet0/6 10.com . 2 subnets C 10.1. FastEthernet0/3 SW1#ping 212.18.37. 00:00:20.1. Sending 5. Serial0/0. 100-byte ICMP Echos to 212. 00:00:00.198 - www. 1 subnets R 54.68.8.0/24 [110/65] via 150.3.13. 8 subnets.2.3/32 [110/65] via 150. FastEthernet0/3 R 212.37.7.1. 06:47:39.1. 06:47:39.2.1.0.7 Type escape sequence to abort. FastEthernet0/6 SW2#ping 222.0.1. 2 subnets C 10.1.3.7 !!!!! Success rate is 100 percent (5/5).2.0/24 [120/1] via 10.13. Loopback0 C 10. 00:00:20. round-trip min/avg/max = 184/185/188 ms SW2#show ip route <output omitted> R 222.6/32 [110/139] via 150.0/24 [120/1] via 10. 06:47:39. 2 masks O IA 150. FastEthernet0/6 R 192. Serial0/1 C 150.1.0.12.3.0 is directly connected.45. Serial0/0.1.0.0.0/24 [120/1] via 10.8.18.0/24 [120/1] via 10.0/24 is subnetted.1.CCIE Service Provider Lab Workbook Volume I Version 1.1. 00:00:00.1. round-trip min/avg/max = 152/155/156 ms R1#show ip route <output omitted> 150. 00:00:20.0/24 is directly connected. FastEthernet0/3 R 212.22. Serial0/0.1.0/24 [120/1] via 10. FastEthernet0/3 R 212.1 O IA 150.18. 06:47:39.1.68. Serial0/0.2.1.1.2.6. timeout is 2 seconds: Packet sent with a source address of 10.1. 100-byte ICMP Echos to 222.1.8 !!!!! Success rate is 100 percent (5/5).1.22.0 is directly connected.1 Copyright © 2010 Internetwork Expert . FastEthernet0/6 R 205.12.8.1.10.0/24 [110/138] via 150. 00:00:00.3.1/32 is directly connected. 6.56.1.1.1.0 [200/0] via 150. 00:10:53 B 212. FastEthernet0/0 O 150.1.1.6.1.6.18.0/24 [200/1] via 150. 09:53:25 B 150.1.1.10. Serial0/0.5.6.1.0. Loopback0 Routing Table: AS1 <output omitted> 150.1.1.0/16 is variably subnetted.199 - www.0/24 is directly connected.2.1.6. 09:52:26.0. 00:00:10.254.7.1.1.1 B 150.1.0.13. Ethernet0/0 B 212.0 [200/1] via 150.1.1.45.1. 2 subnets B 10.0/24 [110/846] via 150.13.10.0/24 [110/128] via 150.0. Serial1/2 C 150.0/24 [200/1] via 150. 09:53:25 B 150.1 O 150. 00:10:53 B 212.20.6.1.1.com . 09:59:25.254. 1 subnets B 54.5/32 [110/910] via 150.1. Serial1/2 Routing Table: SW1-BB1 <output omitted> 54.1.4/32 [110/2] via 150.24.4.0 [200/0] via 150.3.1. 09:57:32.12.2.5. 2 subnets R 10.3/32 [110/129] via 150.1 O 150. 09:52:26.13.0/24 is directly connected. Ethernet0/1 Copyright © 2010 Internetwork Expert .22.0/24 is subnetted.0 is directly connected.0/24 [120/7] via 192.12.1.1. 00:00:10. Serial1/2 O IA 150.6.6. 00:10:53 B 212. 00:10:53 Routing Table: SW2-BB2 <output omitted> R 222.24.37.4. Ethernet0/1 R 220.1.10.13.6. 2 masks B 150.0.6.1.0/24 [120/7] via 192.4.1.1.1.24. 09:53:25 O 150.7.13.1.1.0/24 is directly connected.1 C 150.6/32 [200/75] via 150.0.1. 8 subnets.6.37.0/24 is subnetted. Loopback0 O 150.1. 3 subnets.1/32 [110/65] via 150. FastEthernet0/0 C 150. 00:10:53 10.0 [120/1] via 10.1.24.1.56.1.6.0/16 is variably subnetted.0/24 [110/845] via 150. 00:10:53 B 10.2.0 R2#show ip route vrf * <output omitted> 150. 09:57:32.5/32 [200/65] via 150. 09:57:32.24.0/24 [200/1] via 150.1.1.18. 00:00:10. 8 subnets.1.0/24 [200/1] via 150.1. 2 masks C 150.1.0. Serial1/2 O IA 150.13.12.1.18.1.1.3/32 is directly connected.1.10. Serial1/2 O IA 150.0/24 [200/74] via 150. Serial1/2 O 150.0/24 [200/0] via 150. 09:57:32.1. 00:00:19.4.0/24 [110/919] via 150.12.1. 09:53:25 R3#show ip route vrf * <output omitted> 150.45.2/32 is directly connected.31.3.6/32 [110/920] via 150. 2 masks O IA 150.0/24 is subnetted.1.6.90.1.1. 09:57:32. 09:57:32.8.3.68.1.1.0/24 is directly connected. Ethernet0/0 C 10.4. 09:52:26.13.1.0/16 is variably subnetted.6.24.1.1.1.18. Serial0/0.1/32 [110/782] via 150.0.1. Serial0/0.13.1.6.INE.1.12.0.1.1. Ethernet0/1 10.1. Ethernet0/1 R 205.1. 00:10:53 C 192.CCIE Service Provider Lab Workbook Volume I Version 1.4.0/24 [120/7] via 192.254.1.6.1. Serial1/2 C 150.3. Serial0/0.0. 00:11:45 B 10.1.0/24 [120/1] via 54.1. 8 subnets.0/24 [200/128] via 150.1.1.1 R6#show ip route vrf * <output omitted> C O O O O O C O E2 E2 E2 E2 150. Ethernet0/0 C 150. 09:58:24.1.1.13.1. Serial0/0.5.1.1 R 212.37.4. Serial0/0.56.1.2. Loopback0 O 150.1.254.com .0.1 O 150.1.1. 2 masks C 150.0/16 is variably subnetted.3.0 [200/0] via 150. 09:58:24. 09:57:40.1.2.2/32 [110/11] via 150.18.1.0/24 is directly connected.1. 00:00:08.5/32 [110/2] via 150.1 B 150. Serial0/0/0. 06:53:53.1/32 [200/65] via 150. Loopback0 150.56. 00:00:08.CCIE Service Provider Lab Workbook Volume I Version 1.0/16 is variably subnetted.45.0. Ethernet0/0 C 150.1.6/32 [110/11] via 150.1.1 C 150.1 R5#show ip route <output omitted> 150.18.56.0/24 [120/1] via 54.0/24 [110/1] via 150.254.0/24 [110/74] via 150.0/24 [110/1] via 150.1. Ethernet0/0 C 150.13.5.6.24. Serial0/0.5.1 Copyright © 2010 Internetwork Expert .0/24 is directly connected. 06:53:53.1.24.5.1.1.5.24.56.2.1.1.2.1 10.5.1.3/32 [110/129] via 150.1. 09:58:58. 1 subnets C 54. 09:57:05 O 150.13. 2 masks O 150.200 - www.1.1. 06:53:53.1.24.45. 09:57:05 B 150. Ethernet0/0 Routing Table: AS1 <output omitted> 150.24. 2 subnets B 10.45.1/32 [110/65] via 150.1.1.1. GigabitEthernet0/0 150. GigabitEthernet0/0 150. 00:00:08. Serial0/0/0.0. 09:57:05 B 150.3/32 [110/129] via 150.3.6.1/32 [110/65] via 150. GigabitEthernet0/0 150.4.1.56.1.1.1 O E2 150.56. 09:57:40.0.1.1.0/24 is directly connected.0 R4#show ip route vrf * <output omitted> 150.3.2.1.0/16 is variably subnetted.0.1.0. 00:00:08.45.0/24 [110/128] via 150.1.12.1.1.0 is directly connected.56. 10:05:02.3.254.1.1 O E2 150.1.5/32 [110/65] via 150.3.0/16 is variably subnetted.1.0.45.4/32 is directly connected.1 O E2 150. Serial0/0.1.1.2. 00:11:45 R 212.12.0/24 is directly connected. GigabitEthernet0/0 150. 8 subnets.0/24 is directly connected. GigabitEthernet0/0 Routing Table: SW1-BB1 <output omitted> 54.12. Serial0/0.0/24 is subnetted.5.1.INE.6/32 [110/75] via 150.1.5/32 is directly connected. Serial0/0/0.1.45. 2 masks 150.56.1 R 212. 09:57:40.0/24 [120/1] via 54.2. Serial0/0.45. 09:57:40. 8 subnets.0 [200/1] via 150.0/24 is subnetted.56. GigabitEthernet0/0 150.7. Loopback0 O E2 150.3. Serial0/0.45.18. 06:53:53.1.5.1.1.1.1.24.4.254.45.1.1.0/24 [120/1] via 54.1.1.5.3.1. 09:57:05 B 150. 09:58:24.1.5.45.1.4.6/32 is directly connected.5.18. Serial0/0.4.1.56.1.1 C 150.0.1.1. GigabitEthernet0/0 150.0/24 [110/65] via 150.6.0. 09:58:58.0/24 [200/0] via 150.1 R 212.5.1. Serial0/0. Serial0/0/0.1. Serial0/0/0. 06:53:53.6.1.3/32 [200/129] via 150. 3 subnets.3.0/24 [110/128] via 150. 2 masks O 150. CCIE Service Provider Lab Workbook Volume I Version 1.0 Routing Table: SW2-BB2 <output omitted> B 222.22.2.0/24 [200/7] via 150.1.3.3, 00:09:14 B 220.20.3.0/24 [200/7] via 150.1.3.3, 00:09:14 10.0.0.0/24 is subnetted, 2 subnets R 10.1.8.0 [120/1] via 10.1.68.8, 00:00:24, GigabitEthernet0/1 C 10.1.68.0 is directly connected, GigabitEthernet0/1 B 192.10.1.0/24 [200/0] via 150.1.3.3, 00:11:45 B 205.90.31.0/24 [200/7] via 150.1.3.3, 00:09:14 R2#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *> 150.1.1.1/32 150.1.12.1 65 32768 ? *> 150.1.3.3/32 150.1.12.1 129 32768 ? *>i150.1.5.5/32 150.1.24.4 65 100 0 ? *>i150.1.6.6/32 150.1.24.4 75 100 0 ? *> 150.1.12.0/24 0.0.0.0 0 32768 ? *> 150.1.13.0/24 150.1.12.1 128 32768 ? *>i150.1.45.0/24 150.1.24.4 0 100 0 ? *>i150.1.56.0/24 150.1.24.4 74 100 0 ? R3#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *> 10.1.7.0/24 10.1.37.7 1 32768 ? *> 10.1.37.0/24 0.0.0.0 0 32768 ? *>i54.1.1.0/24 150.1.6.6 0 100 0 ? *>i212.18.0.0 150.1.6.6 1 100 0 ? *>i212.18.1.0 150.1.6.6 1 100 0 ? *>i212.18.2.0 150.1.6.6 1 100 0 ? *>i212.18.3.0 150.1.6.6 1 100 0 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *>i10.1.8.0/24 150.1.6.6 1 100 0 ? *>i10.1.68.0/24 150.1.6.6 0 100 0 ? *> 192.10.1.0 0.0.0.0 0 32768 ? *> 205.90.31.0 192.10.1.254 7 32768 ? *> 220.20.3.0 192.10.1.254 7 32768 ? *> 222.22.2.0 192.10.1.254 7 32768 ? R4#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 2:1 (default for vrf AS1) *>i150.1.1.1/32 150.1.24.2 65 100 0 ? *>i150.1.3.3/32 150.1.24.2 129 100 0 ? *> 150.1.5.5/32 150.1.45.5 65 32768 ? *> 150.1.6.6/32 150.1.45.5 75 32768 ? *>i150.1.12.0/24 150.1.24.2 0 100 0 ? *>i150.1.13.0/24 150.1.24.2 128 100 0 ? *> 150.1.45.0/24 0.0.0.0 0 32768 ? *> 150.1.56.0/24 150.1.45.5 74 32768 ? Copyright © 2010 Internetwork Expert - 201 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 R6#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 1:100 (default for vrf SW1-BB1) *>i10.1.7.0/24 150.1.3.3 1 100 0 ? *>i10.1.37.0/24 150.1.3.3 0 100 0 ? *> 54.1.1.0/24 0.0.0.0 0 32768 ? *> 212.18.0.0 54.1.1.254 1 32768 ? *> 212.18.1.0 54.1.1.254 1 32768 ? *> 212.18.2.0 54.1.1.254 1 32768 ? *> 212.18.3.0 54.1.1.254 1 32768 ? Route Distinguisher: 1:200 (default for vrf SW2-BB2) *> 10.1.8.0/24 10.1.68.8 1 32768 ? *> 10.1.68.0/24 0.0.0.0 0 32768 ? *>i192.10.1.0 150.1.3.3 0 100 0 ? *>i205.90.31.0 150.1.3.3 7 100 0 ? *>i220.20.3.0 150.1.3.3 7 100 0 ? *>i222.22.2.0 150.1.3.3 7 100 0 ? R1#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag 20 19 18 17 Prefix or Tunnel Id 150.1.3.3/32 150.1.5.5/32 150.1.6.6/32 150.1.45.0/24 150.1.56.0/24 Bytes tag switched 44383 0 42358 0 0 Outgoing interface Se0/1 Se0/0.1 Se0/0.1 Se0/0.1 Se0/0.1 Next Hop Bytes tag switched 0 3186 0 49718 19836 48695 17667 2808 0 Outgoing interface Fa0/0 Fa0/0 Fa0/0 Fa0/0 Fa0/0 Se0/0.1 Se0/0.1 Se0/0.1 Next Hop Bytes tag switched 0 0 0 0 0 0 0 0 570 Outgoing interface Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Next Hop Et0/0 10.1.37.7 point2point point2point point2point point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 19 20 17 18 16 Pop tag Pop tag Aggregate Prefix or Tunnel Id 150.1.4.4/32 150.1.56.0/24[V] 150.1.45.0/24[V] 150.1.6.6/32[V] 150.1.5.5/32[V] 150.1.3.3/32[V] 150.1.1.1/32[V] 150.1.13.0/24[V] 150.1.12.0/24[V] 150.1.24.4 150.1.24.4 150.1.24.4 150.1.24.4 150.1.24.4 point2point point2point point2point R3#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC 18 17 Pop tag Pop tag 20 19 Aggregate Aggregate Untagged Prefix or Tunnel Id 150.1.6.6/32 150.1.5.5/32 150.1.1.1/32 150.1.12.0/24 150.1.56.0/24 150.1.45.0/24 10.1.37.0/24[V] 192.10.1.0/24[V] 10.1.7.0/24[V] Copyright © 2010 Internetwork Expert - 202 - point2point point2point point2point point2point point2point point2point www.INE.com CCIE Service Provider Lab Workbook Volume I 25 26 27 Untagged Untagged Untagged Version 1.0 205.90.31.0/24[V] 0 220.20.3.0/24[V] 0 222.22.2.0/24[V] 570 Et0/1 Et0/1 Et0/1 192.10.1.254 192.10.1.254 192.10.1.254 Bytes tag switched 0 44066 15902 2808 0 22153 57027 0 3186 Outgoing interface Et0/0 Se0/0.1 Se0/0.1 Se0/0.1 Next Hop Et0/0 Et0/0 Et0/0 Et0/0 150.1.24.2 150.1.24.2 150.1.24.2 150.1.24.2 Bytes tag switched 47182 0 48607 0 0 Outgoing interface Et0/0 Se0/0.1 Se0/0.1 Se0/0.1 Se0/0.1 Next Hop Bytes tag switched 0 0 0 0 0 0 0 520 0 0 0 456 0 Outgoing interface Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Next Hop Se0/0/0.1 Se0/0/0.1 Se0/0/0.1 Se0/0/0.1 Gi0/1 point2point point2point point2point point2point 10.1.68.8 R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 Outgoing tag or VC Pop tag 16 Pop tag Pop tag Aggregate 22 21 24 23 Prefix or Tunnel Id 150.1.2.2/32 150.1.6.6/32[V] 150.1.5.5/32[V] 150.1.56.0/24[V] 150.1.45.0/24[V] 150.1.1.1/32[V] 150.1.3.3/32[V] 150.1.12.0/24[V] 150.1.13.0/24[V] 150.1.24.2 point2point point2point point2point R5#show mpls forwarding-table Local tag 16 17 18 19 20 Outgoing tag or VC Pop tag 21 22 23 24 Prefix or Tunnel Id 150.1.6.6/32 150.1.1.1/32 150.1.3.3/32 150.1.12.0/24 150.1.13.0/24 150.1.56.6 point2point point2point point2point point2point R6#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 25 26 27 28 Outgoing tag or VC Pop tag 18 17 20 19 Pop tag Aggregate Untagged Untagged Untagged Untagged Untagged Aggregate Prefix or Tunnel Id 150.1.5.5/32 150.1.3.3/32 150.1.1.1/32 150.1.13.0/24 150.1.12.0/24 150.1.45.0/24 54.1.1.0/24[V] 212.18.0.0/24[V] 212.18.1.0/24[V] 212.18.2.0/24[V] 212.18.3.0/24[V] 10.1.8.0/24[V] 10.1.68.0/24[V] Copyright © 2010 Internetwork Expert - 203 - 150.1.56.5 150.1.56.5 150.1.56.5 150.1.56.5 150.1.56.5 150.1.56.5 www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 VRF-Lite Objective: Configure VRF-Lite (Multi-VRF) on R3 and R6 to propagate routing information from SW1 & BB3 and SW2 & BB1 to R1 and R5 respectively. Fa0/3 .254 SW1 .7 RIPv2 RIPv2 E0/1 E0/0 R3 .3 10.1.37.0/24 204.10.X.0/24 VLAN 33 BB3 .3 .3 S1/2.1 S1/2.2 10.1.13.0/24 S0/1.1 10.1.31.0/24 .1 S0/1.2 150.1.12.0/24 R1 Frame Relay .1 102 BGP AS 100 201 .2 S0/0.1 IS-IS Level 2 R2 Fa0/0 .2 E0/0 .4 S0/0.1 150.1.24.0/24 VLAN 24 150.1.45.0/24 R4 S0/0.1 Frame Relay .4 405 BGP AS 100 504 .5 S0/0.1 R5 E0/0.56 E0/0.65 10.1.56.0/24 VLAN 56 .6 .5 .5 10.1.65.0/24 VLAN 65 .6 G0/0.56 G0/0.65 G0/1 S0/0/0.1 RIPv2 Fa0/6 SW2 10.1.68.0/24 .6 R6 .8 .6 54.X.1.0/24 Frame Relay RIPv2 101 .254 BB1 Copyright © 2010 Internetwork Expert - 204 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 Directions • • • • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram The Ethernet links connecting R5 and R6 should be 802.1q trunks to carry VLANs 56 and 65 The Serial link between R1 and R3 should run back-to-back Frame Relay Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10.1.7.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10.1.8.8/24 on SW2 and advertise it into RIPv2 Create VRFs “SW1” and “BB3” on R3 Networks 10.1.13.0/24 and 10.1.37.0/24 should be in VRF “SW1” Networks 10.1.31.0/24 and 204.12.X.0/24 should be in VRF “BB3” Configure RIPv2 for VRFs “SW1” and “BB3” on R3 Create VRFs “SW2” and “BB1” on R6 Networks 10.1.56.0/24 and 10.1.68.0/24 should be in VRF “SW2” Networks 10.1.65.0/24 and 54.X.1.0/24 should be in VRF “BB1” Configure RIPv2 for VRFs “SW2” and “BB1” on R6 Configure IS-IS Level-2 on the interfaces between R1, R2, R4, and R5 Create Loopbacks on R1 and R5 in the format 150.1.Y/Y/32 and advertise them into IS-IS Configure MPLS on the interfaces between R1, R2, R4, and R5 R1 and R5 should peer via iBGP in AS 1 using their Loopback interfaces Create VRF “SW1-BB1” on R1 and R5 using the route distinguisher and target 100:1 Create VRF “SW2-BB3” on R1 and R5 using the route distinguisher and target 100:2 Networks 10.1.13.0/24 and 10.1.65.0/24 on R1 and R6 should be in VRF “SW1-BB1” Networks 10.1.31.0/24 and 10.1.56.0/24 on R1 and R6 should be in VRF “SW2-BB3” Configure RIPv2 for VRFs “SW1-BB1” and “SW2-BB3” on R1 and R5 Redistribute where necessary to gain connectivity within the VPNs Copyright © 2010 Internetwork Expert - 205 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 Final Configuration R1# ip vrf SW1-BB1 rd 100:1 route-target export 100:1 route-target import 100:1 ! ip vrf SW2-BB3 rd 100:2 route-target export 100:2 route-target import 100:2 ! ip cef mpls label protocol ldp ! interface Loopback0 ip address 150.1.1.1 255.255.255.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.12.1 255.255.255.0 ip router isis tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 encapsulation frame-relay no keepalive ! interface Serial0/1.1 point-to-point ip vrf forwarding SW1-BB1 ip address 10.1.13.1 255.255.255.0 frame-relay interface-dlci 100 ! interface Serial0/1.2 point-to-point ip vrf forwarding SW2-BB3 ip address 10.1.31.1 255.255.255.0 frame-relay interface-dlci 200 ! router isis net 00.0000.0000.0001.00 is-type level-2-only passive-interface Loopback0 ! router rip version 2 ! address-family ipv4 vrf SW2-BB3 version 2 redistribute bgp 100 metric 1 network 10.0.0.0 no auto-summary exit-address-family Copyright © 2010 Internetwork Expert - 206 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 ! address-family ipv4 vrf SW1-BB1 version 2 redistribute bgp 100 metric 1 network 10.0.0.0 no auto-summary exit-address-family ! router bgp 100 neighbor 150.1.5.5 remote-as 100 neighbor 150.1.5.5 update-source Loopback0 ! address-family vpnv4 neighbor 150.1.5.5 activate neighbor 150.1.5.5 send-community both exit-address-family ! address-family ipv4 vrf SW2-BB3 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R2# ip cef mpls label protocol ldp ! interface FastEthernet0/0 ip address 150.1.24.2 255.255.255.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.12.2 255.255.255.0 ip router isis tag-switching ip frame-relay interface-dlci 201 ! router isis net 00.0000.0000.0002.00 is-type level-2-only Copyright © 2010 Internetwork Expert - 207 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 R3# ip cef ! ip vrf BB3 rd 100:2 ! ip vrf SW1 rd 100:1 ! interface Ethernet0/0 ip vrf forwarding SW1 ip address 10.1.37.3 255.255.255.0 ! interface Ethernet0/1 ip vrf forwarding BB3 ip address 204.12.1.3 255.255.255.0 ! interface Serial1/2 encapsulation frame-relay no keepalive clockrate 64000 ! interface Serial1/2.1 point-to-point ip vrf forwarding SW1 ip address 10.1.13.3 255.255.255.0 frame-relay interface-dlci 100 ! interface Serial1/2.2 point-to-point ip vrf forwarding BB3 ip address 10.1.31.3 255.255.255.0 frame-relay interface-dlci 200 ! router rip ! address-family ipv4 vrf SW1 network 10.0.0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf BB3 network 10.0.0.0 network 204.12.1.0 no auto-summary version 2 exit-address-family R4# ip cef ! mpls label protocol ldp ! interface Ethernet0/0 ip address 150.1.24.4 255.255.255.0 ip router isis tag-switching ip ! Copyright © 2010 Internetwork Expert - 208 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.45.4 255.255.255.0 ip router isis tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.0000.0000.0004.00 is-type level-2-only R5# ip cef ! ip vrf SW1-BB1 rd 100:1 route-target export 100:1 route-target import 100:1 ! ip vrf SW2-BB3 rd 100:2 route-target export 100:2 route-target import 100:2 ! mpls label protocol ldp ! interface Loopback0 ip address 150.1.5.5 255.255.255.255 ! interface Ethernet0/0.56 encapsulation dot1Q 56 ip vrf forwarding SW2-BB3 ip address 10.1.56.5 255.255.255.0 ! interface Ethernet0/0.65 encapsulation dot1Q 65 ip vrf forwarding SW1-BB1 ip address 10.1.65.5 255.255.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.1.45.5 255.255.255.0 ip router isis tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.0000.0000.0005.00 is-type level-2-only passive-interface Loopback0 ! Copyright © 2010 Internetwork Expert - 209 - www.INE.com CCIE Service Provider Lab Workbook Volume I Version 1.0 router rip version 2 ! address-family ipv4 vrf SW2-BB3 redistribute bgp 100 metric 1 network 10.0.0.0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute bgp 100 metric 1 network 10.0.0.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.1.1.1 remote-as 100 neighbor 150.1.1.1 update-source Loopback0 ! address-family vpnv4 neighbor 150.1.1.1 activate neighbor 150.1.1.1 send-community both exit-address-family ! address-family ipv4 vrf SW2-BB3 redistribute rip exit-address-family ! address-family ipv4 vrf SW1-BB1 redistribute rip exit-address-family R6# ip cef ! ip vrf BB1 rd 100:1 ! ip vrf SW2 rd 100:2 ! interface GigabitEthernet0/0.56 encapsulation dot1Q 56 ip vrf forwarding SW2 ip address 10.1.56.6 255.255.255.0 ! interface GigabitEthernet0/0.65 encapsulation dot1Q 65 ip vrf forwarding BB1 ip address 10.1.65.6 255.255.255.0 ! interface GigabitEthernet0/1 ip vrf forwarding SW2 ip address 10.1.68.6 255.255.255.0 ! Copyright © 2010 Internetwork Expert - 210 - www.INE.com 0.255.0 interface Serial0/0/0 encapsulation frame-relay ! interface Serial0/0/0.37.1.0.211 - www.255.255.7 255.CCIE Service Provider Lab Workbook Volume I Version 1.INE.0 no auto-summary version 2 exit-address-family SW1# ip routing ! interface Loopback0 ip address 10.1.0 no auto-summary Copyright © 2010 Internetwork Expert .0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.com .0 no auto-summary version 2 exit-address-family ! address-family ipv4 vrf BB1 network 10.0.6 255.255.0 frame-relay interface-dlci 101 ! router rip ! address-family ipv4 vrf SW2 network 10.0 network 54.0.0.255.255.7.1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/6 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/24 switchport access vlan 33 ! router rip version 2 network 10.0.0.7 255.1.1 point-to-point ip vrf forwarding BB1 ip address 54.0. Serial1/2. 00:00:14.0.12.3.12. 4 subnets R 30.1.1.1.1. Ethernet0/1 R 31.1 R 212.0/24 [120/1] via 10.13.0.0 [120/1] via 204.3. 00:00:14. Serial1/2.0.0/24 is subnetted.31.18.0/16 is subnetted.1 R 212.2.2. 00:00:00. Ethernet0/0 C 10. 00:00:00. Ethernet0/1 R 31. Ethernet0/1 R 30.0 [120/1] via 204.13.1.0 [120/1] via 10.1. 00:00:14.13. Serial1/2.18.0 [120/1] via 10.0 [120/1] via 204.1. 00:00:00.12.0.254.13.0 [120/1] via 10.0. Serial1/2.0 [120/1] via 204. Serial1/2.1 R 212. Ethernet0/1 R 31. Ethernet0/1 Routing Table: SW1 <output omitted> 54.1.212 - www.1.INE.1.37.12.1.7.31.254.2 C 10. 00:00:00.18.254.255.56. Serial1/2.1.0.1.0.0/24 is subnetted.0 no auto-summary Verification R3#show ip route vrf * <output omitted> Routing Table: BB3 <output omitted> C 204.0.18. Serial1/2.0/24 is subnetted.0/24 [120/1] via 10.1.0.1. Ethernet0/0 R 10.8.0.12. Serial1/2.1 R 10.31.0.1. 4 subnets R 10.7.68.1. 00:00:14.0.com .0 [120/1] via 204.0/24 [120/1] via 10.68.254.2 R 10. 00:00:00.0 is directly connected.254. 00:00:14. 00:00:14.1.0/24 [120/1] via 10.0/24 is directly connected.1.0. Ethernet0/1 R 30.1.12.1. 00:00:00.1.1.0 [120/1] via 10.1.12. 4 subnets C 10.3.1. 00:00:00.0.31.65.1.1.0.254.0 [120/1] via 204.1.0.8.1.1.1.1.0.0.0.1.0 [120/1] via 10.1. 00:00:14.0.1.0 SW2# ip routing ! interface Loopback0 ip address 10.0 [120/1] via 204. 1 subnets R 54.1.CCIE Service Provider Lab Workbook Volume I Version 1.8 255. 4 subnets R 31.1.13.0/16 is subnetted.0 ! interface FastEthernet0/3 switchport access vlan 33 ! interface FastEthernet0/6 no switchport ip address 10.1 Copyright © 2010 Internetwork Expert . Serial1/2.1.0 ! router rip version 2 network 10.0 is directly connected.1. 00:00:00.1.8 255. Serial1/2.2 R 10.1.12.1.0.1 10. 00:00:17.254.254.13. Ethernet0/1 10. 00:00:14.0.2 31.13.255.255.2.1.0 [120/1] via 204.37.255. Serial1/2.0 [120/1] via 10. Ethernet0/1 30. Ethernet0/1 R 30.12.0.1 R 212. 00:00:00.0 is directly connected. 1.12.0/16 is subnetted.2.5. 00:00:26. 00:00:01.68.0.5.0/16 is variably subnetted.56.5.1.0/24 [120/1] via 10.5.1.5. Serial0/0/0.0/24 [120/1] via 54. 00:00:26.24.1.1.1 Routing Table: SW1-BB1 <output omitted> 54.0. Serial0/1. 1 subnets 54.0/24 [115/20] via 150.1.5.1.56 Routing Table: BB1 <output omitted> C R R R R R R C R 54.0.5.0 ip route vrf * omitted> Table: SW2 omitted> 204.1.5.0/24 [200/2] via 150. GigabitEthernet0/0.5.0/24 [120/1] via 54.0 [120/2] via 10.1. GigabitEthernet0/0.1.1 R1#show ip route vrf * <output omitted> 150.0.18.0.0 is directly connected. GigabitEthernet0/1 10.1 B 10.1. 00:00:23.56.1.37.0.1.56 30.5. Loopback0 C 150. 00:00:26.12. GigabitEthernet0/0.1. GigabitEthernet0/0. 00:05:01 B 212.0.0 [120/1] via 10.1. 4 subnets 10.5.1.0. 00:00:01.5. 00:00:26.1. 00:00:26.5.2.5/32 [115/30] via 150.0.1 212.1.5.0 [120/1] via 10.com .5.5.0 [120/1] via 10.31.56.0. GigabitEthernet0/0.65 10. 00:05:02 B 212.1 i L2 150.3.0 [120/1] via 10. 00:00:17. Serial0/1.18.INE.0.0 [120/1] via 10.1 C 150.0 [120/1] via 10.5.12.1.7. 00:00:18.0.1.1.1.1.0/24 [120/1] via 54.3.56 31.13.68.12.0 [120/1] via 10.1.2.3.0/24 is subnetted.0 is directly connected.1.18.1.13.3.0. 00:00:26.18.7.254. Serial0/0/0.0 [120/1] via 10.254.0.56.56 31.5. 00:00:18.254. 2 masks i L2 150. 5 subnets.1.12.1 212.56 30. GigabitEthernet0/0.1.0.1. 00:00:26. GigabitEthernet0/0.0 is directly connected.65.0.1.1. 00:05:01 B 212. GigabitEthernet0/0. 00:05:01 Copyright © 2010 Internetwork Expert .0/16 is subnetted. 4 subnets 31.1.0.0.2.0.56.65 212.0.65 10. Serial0/0.1 10.1. 4 subnets 10. GigabitEthernet0/0.1. Serial0/1.0/24 is subnetted.3.1.18.5.0. GigabitEthernet0/0.65 10. GigabitEthernet0/0.65.0 [120/1] via 10.8.56.0 [120/1] via 10. 00:05:01 10.18.0 is directly connected.0 [120/1] via 10. Serial0/0/0.0 is directly connected.2.1.213 - www.5.1.1.0 [120/1] via 10.0. 00:00:26.56 30.56. 00:05:01 B 212.0/24 [115/30] via 150.1. GigabitEthernet0/0. GigabitEthernet0/0.0/24 is directly connected. Serial0/0. 00:00:26.0.2.1.0 [120/1] via 10. GigabitEthernet0/0.8.1.254.37.1.0/24 [200/2] via 150.0 [200/0] via 150.18.56 10.1.5.5.0/24 [200/2] via 150.45. 00:00:01.1.1. 00:00:18.56 10.56 30.65.56.CCIE Service Provider Lab Workbook Volume I R6#show <output Routing <output R R R C C R R R R R R R R Version 1.5.1 212.56. Serial0/0.1.1.1.1/32 is directly connected.1 R 10.56.0/24 is subnetted. Serial0/0.1. GigabitEthernet0/1 31.1.1.1.0/24 is subnetted.1.0.65.18.13.5. 00:00:01. 00:00:23.1.56. 4 subnets 30.0/24 [120/1] via 54.5.1 R 10. Serial0/0/0.0.1.5.56 10.3. 00:00:26.1.2.0 [120/1] via 10.0.1.1.56 31.0 [200/1] via 150.1 i L2 150.13.0. Serial0/0/0. 4 subnets C 10.65. 1 subnets B 54.1.1. GigabitEthernet0/0.1.0/24 is subnetted.0/24 [200/2] via 150. 1.0.0. 00:00:12. 00:05:02 C 10.0 [200/1] via 150. Serial0/1.65.1. 00:09:58 30.8.1. 4 subnets B 31.0.1/32 [115/30] via 150. 4 subnets R 10. Serial0/1.1.0. Ethernet0/0.1. Serial0/0.1.1.0 [200/0] via 150.1.65 R 212.65 R 212.0 [200/2] via 150. 00:09:58 B 31.1.1.65 R 212.13.0. 00:00:12. 00:09:58 B 31. 4 subnets B 30. 00:00:12.0 [200/2] via 150. Serial0/1. Ethernet0/0.1.0.3.1.0.65. 00:00:12.1.0.1.4.1 C 150. 00:00:19.3.0.2 B 10.3.1.0 Routing Table: SW2-BB3 <output omitted> R 204.2 R 31.18.0.0.0.0 [200/2] via 150.0/24 [120/2] via 10.12. Ethernet0/0.0 [200/2] via 150.0 is directly connected.1.0/16 is subnetted.0/16 is subnetted.CCIE Service Provider Lab Workbook Volume I Version 1.56.1.0/24 [120/2] via 10.1. 00:00:05.1 C 150.0 [200/0] via 150.5/32 is directly connected.0. Serial0/1.56 R 10.31.12.2.1.0 [120/2] via 10.com .2. 00:00:05.0 [200/1] via 150.1.1.1.0/24 [120/2] via 10. 00:05:02 31.1.3.1.31.1.1. 5 subnets. 00:09:58 B 10.56 31. 00:05:02 B 10.1.8. 00:00:12.1.1.65 R 212.1.0 [200/2] via 150.0.INE. 00:09:58 10.0 [120/2] via 10.1.18.0 [200/2] via 150.1.2 R 30.5.3.1.56.3.31.0.0.68.0.56.1.0 [120/2] via 10.45.2 10. 2 masks i L2 150. 4 subnets R 30.3.0.7. Ethernet0/0.2 R5#show ip route vrf * <output omitted> 150.31.45.0/24 [115/20] via 150. 00:00:12.3.0.0/24 [115/30] via 150.1.0.1.2 R 31.2 R 30.1. Serial0/1.6.1. 00:00:05. Ethernet0/0.1. 00:00:12.1. Loopback0 i L2 150.0. Serial0/0.1. Ethernet0/0. Serial0/0.1.4.1.5.3.0 [120/2] via 10.0. Ethernet0/0. 1 subnets R 54.0 [120/1] via 10.31.2.1.0.1. Serial0/1.1.0.5. Serial0/1. 00:09:58 C 10.12.2.0/24 is subnetted.0 [200/2] via 150. 00:08:13 B 10.0 [120/2] via 10.1.6.65 10. 4 subnets B 10.0 [120/2] via 10.45. Serial0/0.1.6.0/24 is directly connected.1.0.3.0.0/24 [200/1] via 150.1.2 R 31. 00:00:12.214 - www.1.1.1.5.0.1.1. Serial0/1.0/16 is subnetted.1.31.0 is directly connected.1.1 Routing Table: SW1-BB1 <output omitted> 54.1.2 30.1.1.0 [200/0] via 150.3.0 is directly connected.3. 00:00:05.6.6.2.2 R 30.65. Ethernet0/0.1. 00:00:12.0.1. 4 subnets B 10.1.65.0/24 [120/1] via 10.0.37.1.3.5.4.0.1. Ethernet0/0. 00:09:58 B 31. 00:09:58 Copyright © 2010 Internetwork Expert .1.0/24 is subnetted.5.0/24 is subnetted. Serial0/1.0 [120/2] via 10.65.1. 00:09:58 C 10.1.18.31.0.1.45.0 [120/2] via 10.1.1.5.1. 00:00:05.31. 4 subnets R 31.6.56 B 10.0/16 is variably subnetted.1.31.65 Routing Table: SW2-BB3 <output omitted> B 204.68.56.24. 00:00:19.0/24 [120/2] via 10.0.1.31. Serial0/1.65.1.0 [120/1] via 10.0.0/24 is subnetted.0/16 is subnetted.1 i L2 150.1.1.18.0.1.1.6.31.0 [120/2] via 10. 3 2 32768 ? *> 31.0/16 10.65.0/16 10.0/24 10.1.1.7.0 10.1.65.0 150.5 1 100 0 ? *> 30.0/24 150.1.0.1.1 2 100 0 ? *>i30.1.56.1.31.0/16 10.1.1.3 2 32768 ? *> 30.56.65.0.5.8.1.1.1.1 2 100 0 ? *>i30.65.3 2 32768 ? *> 10.18.1.1.2.0 0 32768 ? *> 10.18.0/24 150.31.65.0/24 0.0/24 150.1.31.13.com .0 [200/2] via 150.1.1.1.5 1 100 0 ? *>i212.0.0.1.0/16 10.1.1.1.12.0.1.0/24 150.6 2 32768 ? *> 212.1.5 0 100 0 ? *>i54.68.3 2 32768 ? *> 30.1.1.1 0 100 0 ? *> 10.1 0 100 0 ? *>i10.6 2 32768 ? Route Distinguisher: 100:2 (default for vrf SW2-BB3) *> 10.1.5.0.1 2 100 0 ? *>i31.3 2 32768 ? *> 31.1.1.1.1.0/16 150.1.3.0/24 150.1.5.6 1 32768 ? *> 212.1 2 100 0 ? *>i30.0.0/24 10.0.1.1.0 10.1.65.0.0.3 2 32768 ? *> 31.0.1.13.0.0 150.0/16 10.31.0.1.8.2.1.1 2 100 0 ? *>i31.18.0.1.0 [200/2] via 150.1.3.INE.18.1.31.12.0.3.5.215 - www.0/16 150.0/24 0. 00:09:58 30.1.31.5.1.1 2 100 0 ? *>i204.1.3.0.1 1 100 0 ? *> 10.1.1.0.0.0/16 150.0.CCIE Service Provider Lab Workbook Volume I B B B Version 1.1.1.0 0 32768 ? *>i10.1.0 30.31.0/24 150.3 2 32768 ? *> 31.1.56.18.0 10.0.2.0.0/24 0.65.3 2 32768 ? *> 204.31.1.13.0.0.5 2 100 0 ? *>i212.0 0 32768 ? *> 10.1.1.3 2 32768 ? *> 30.3 1 32768 ? R5#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf SW1-BB1) *>i10.1.1.31.0/16 10.0 150.6 1 32768 ? *>i30.37.1 1 100 0 ? Copyright © 2010 Internetwork Expert .31.18.3.1.1.1.1 2 100 0 ? *>i31.0/24 150.1.0.0.1.0/24 150.1.0 10.6 2 32768 ? *>i10.1.37.3 1 32768 ? *>i10.5 2 100 0 ? *>i212.1.0/24 10.2.0/16 150.0.1.1.5 2 100 0 ? *> 10.1.0/24 10.1.1.1.5.1.3.0.0/16 10.1.6 2 32768 ? *> 212.18.0/16 150.0 150.1.1 2 100 0 ? *>i31.7.1.56.31.5 0 100 0 ? *>i10.5.0 150.0 [200/2] via 150.1.5 2 100 0 ? Route Distinguisher: 100:2 (default for vrf SW2-BB3) *>i10.5.68.1.0/16 150.0 10.0/16 150.0/24 10.1.1.13.1.1.1 2 100 0 ? *>i10. 00:09:58 R1#show ip bgp vpnv4 all <output omitted> Network Next Hop Metric LocPrf Weight Path Route Distinguisher: 100:1 (default for vrf SW1-BB1) *> 10.0.0.0.0 0 32768 ? *> 54.0/16 10.1.2.0/24 0.1.0/16 150.0. 00:09:58 30.1.2.1.5 2 100 0 ? *>i212.1.1.0.1.1.0.6 2 32768 ? *> 212.3.5.1.1.0/24 150.1.18.0. 0/24 .1.1. Fa0/3 RIPv2 E0/0 R3 10.1 IS-IS Level 2 R2 Fa0/0 .0/24 R1 Frame Relay .56.0/24 VLAN 24 150.7 BGP AS 100 SW1 .1 S0/0.1.4 150.37.4 405 504 .1.13.24.12.1 150.0 Controlling MPLS Label Distribution Objective: Configure an MPLS VPN between SW1 and SW2 over AS 100.0/24 .6 BGP AS 100 .216 - www.1 Frame Relay .com .0/24 R4 S0/0.68.1.3 .1 102 201 .INE.3 S1/2 S0/1 150.0/24 .1.2 E0/0 .2 S0/0.CCIE Service Provider Lab Workbook Volume I Version 1. Only traffic between R3 and R6’s loopback should be label switched throughout AS 100.5 S0/0.6 G0/1 R6 RIPv2 Fa0/6 SW2 10.8 Copyright © 2010 Internetwork Expert .0/24 VLAN 56 G0/0 .1.45.1 R5 E0/0 .5 150. 255 ip router isis ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0. R3.1 point-to-point ip address 150. and R6 Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10.0000.1. and R6 in the format 150.0000.1.1. R2. R3. R4. R4.INE. R4.Y/Y/32 and advertise them into IS-IS Configure MPLS on the interfaces between R1.0 Directions • • • • • • • • • • • • • Build the logical topology per the diagram Configure IS-IS Level-2 on the interfaces between R1.0 ip router isis tag-switching ip frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.com .0001.7.1 255.255.8.1 255. and R6 Create Loopbacks on R1. R2.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10. R2.255.255. R3.1. R5. R5.1 255.255.1.13.00 is-type level-2-only ! Copyright © 2010 Internetwork Expert .12. R5.255.8/24 on SW2 and advertise it into RIPv2 R3 and R6 should peer via iBGP in AS 1 using their Loopback interfaces SW1 and SW2 should be in VRF “SW1-SW2” Use the route distinguisher and route target 100:1 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & SW2 Redistribute where necessary to gain connectivity within the VPNs Configure LDP filtering throughout the MPLS network so that only traffic between R3 and R6’s Loopback is label switched Final Configuration R1# ip cef mpls label protocol ldp ! no tag-switching advertise-tags tag-switching advertise-tags for 1 ! interface Loopback0 ip address 150.255.1.1.217 - www.CCIE Service Provider Lab Workbook Volume I Version 1.0 ip router isis tag-switching ip ! router isis net 00. 255 ip router isis ! interface Ethernet0/0 ip vrf forwarding SW1-SW2 ip address 10.255.255.1.255.0 ip router isis tag-switching ip frame-relay interface-dlci 201 ! router isis net 00.0 Copyright © 2010 Internetwork Expert .3 access-list 1 deny any R3# ip cef ! ip vrf SW1-SW2 rd 100:1 route-target export 100:1 route-target import 100:1 ! mpls label protocol ldp ! no tag-switching advertise-tags tag-switching advertise-tags for 1 ! interface Loopback0 ip address 150.1.255 ip router isis ! interface FastEthernet0/0 ip address 150.1.1 point-to-point ip address 150.12.218 - www.6 access-list 1 permit 150.2 255.00 is-type level-2-only ! access-list 1 permit 150.255.6.1.2 255.3 255.255.6 access-list 1 permit 150.255.255.0 access-list 1 permit 150.3.0000.1.0000.1.1.255.255.1.6.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3.1.3 access-list 1 deny any R2# ip cef mpls label protocol ldp ! no tag-switching advertise-tags tag-switching advertise-tags for 1 ! interface Loopback0 ip address 150.37.24.2.INE.0002.CCIE Service Provider Lab Workbook Volume I Version 1.3.3 255.2 255.com .255. 0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.6.3.13.6 remote-as 100 neighbor 150.1.6.4 255.0 ip router isis tag-switching ip clockrate 64000 ! router isis net 00.6.INE.219 - www.0.com .3 access-list 1 deny any R4# ip cef mpls label protocol ldp ! no tag-switching advertise-tags tag-switching advertise-tags for 1 ! interface Loopback0 ip address 150.6 access-list 1 permit 150.0000.1.255.24.1.255.0000.6.6 send-community extended exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! access-list 1 permit 150.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.6 update-source Loopback0 ! address-family vpnv4 neighbor 150.255.4 255.0003.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .255.0.1.1.255 ip router isis ! interface Ethernet0/0 ip address 150.1.1.6.1.4.1.6 activate neighbor 150.00 is-type level-2-only ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 100 metric 1 network 10.0 ! interface Serial1/2 ip address 150.3 255. 1.0 ip router isis tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.255.1 point-to-point ip address 150.255.1.0 ip router isis tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.5 255.0000.3 access-list 1 deny any Copyright © 2010 Internetwork Expert .3.56.0000.255.1.45.5 255.255.0000.255.255.45.0004.255 ip router isis ! interface Ethernet0/0 ip address 150.6 access-list 1 permit 150.1.5.6.1.255.0 interface Serial0/0.00 is-type level-2-only ! access-list 1 permit 150.1.3 access-list 1 deny any R5# ip cef mpls label protocol ldp ! no tag-switching advertise-tags tag-switching advertise-tags for 1 ! interface Loopback0 ip address 150.6 access-list 1 permit 150.6.0000.0005.4 255.1.INE.com .5 255.00 is-type level-2-only ! access-list 1 permit 150.CCIE Service Provider Lab Workbook Volume I Version 1.1.220 - www.0 ip router isis tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 point-to-point ip address 150.3.255. 3 remote-as 100 neighbor 150.0 R6# ip cef ! ip vrf SW1-SW2 rd 100:1 route-target export 100:1 route-target import 100:1 ! mpls label protocol ldp ! no mpls ldp advertise-labels mpls ldp advertise-labels for 1 ! interface Loopback0 ip address 150.1.3 update-source Loopback0 ! address-family vpnv4 neighbor 150.1.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.3.255 ip router isis ! interface GigabitEthernet0/0 ip address 150.0000.1.255.0000.6 access-list 1 permit 150.221 - www.0.1.00 is-type level-2-only ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 100 metric 1 network 10.1.6 255.3.255.3 send-community extended exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! access-list 1 permit 150.3.56.INE.68.0.3.6.1.0 ip router isis mpls ip ! interface GigabitEthernet0/1 ip vrf forwarding SW1-SW2 ip address 10.com .3 activate neighbor 150.0 ! router isis net 00.6 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.255.6 255.1.1.255.3.3 access-list 1 deny any Copyright © 2010 Internetwork Expert .0006.1.255.6. 0.1.0.3 access-list 1 deny any Copyright © 2010 Internetwork Expert .0 ip ospf network point-to-point ! interface FastEthernet0/6 no switchport ip address 10.6.7.0.255.INE.0 ! router rip version 2 network 10.68.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.0 no auto-summary ! access-list 1 permit 150.8 255.255.8.255.CCIE Service Provider Lab Workbook Volume I Version 1.0.255.com .255.0 SW1# ip routing ! interface Loopback0 ip address 10.255.8 255.6 access-list 1 permit 150.3.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router rip version 2 network 10.7 255.222 - www.1.1.7 255.37.1.255.255.1.1. 5.1.0/24[V] 10.1.1.24.3.1.5.1.0/24 150.0/24 150.6/32 150.2 www.CCIE Service Provider Lab Workbook Volume I Version 1.2.1.6/32 Bytes tag switched 2605 0 0 0 0 0 0 67 Outgoing interface Se0/1 Se0/0.3/32 Copyright © 2010 Internetwork Expert .4 150.1.5/32 150.223 - point2point point2point point2point 150.4/32 150.1.1.24.1 Se0/0.4 point2point point2point point2point 150.24.1.1.4.4.2 150.1 Se0/0.1.24.4 150.5/32 150.37.6.1/32 150.1.0/24 10.0 Verification R1#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 Outgoing tag or VC Pop tag Untagged Untagged Untagged Untagged Untagged Untagged 23 Prefix or Tunnel Id 150.1.1 Se0/0.1.1.2/32 150.0/24 150.56.1.3.7 R4#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 Outgoing tag or VC Untagged 16 Untagged Untagged Untagged Untagged Untagged 20 Prefix or Tunnel Id 150.1 Se0/0.24.1 Se0/0.0/24 150.0/24 150.5.3/32 150.1.56.4/32 150.0/24 150.1/32 150.1.7.0/24 150.24.3/32 150.1.1 Se0/0.6/32 150.6.45.4/32 150.1.1.0/24 150.1.0/24 150.1.24.0/24 150.45.5/32 150.6.1.0/24 150.1.2.56.INE.2 150.24.1.13.1.45.3.1.5/32 150.1.24.1.1 Next Hop Bytes tag switched 0 0 0 0 54361 0 0 154 Outgoing interface Fa0/0 Fa0/0 Se0/0.1.1 Et0/0 Et0/0 Et0/0 Et0/0 Et0/0 Next Hop point2point point2point point2point point2point point2point point2point point2point point2point R2#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 Outgoing tag or VC Untagged Untagged Untagged Untagged 16 Untagged Untagged 17 Prefix or Tunnel Id 150.6/32 150.1.1.1.37.24.2 150.1.0/24[V] point2point point2point point2point point2point point2point point2point point2point point2point point2point 10.1.1.24.0/24 150.2/32 150.12.2.com .1.6.24.1 Se0/0.1.4.1.1.1.5.2 150.1 Se0/0.1 Se0/0.1 Se0/0.13.1.1.2/32 150.1.1/32 150.4 R3#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 24 27 28 Outgoing tag or VC Untagged Untagged Untagged Untagged Untagged 23 Untagged Untagged Untagged Untagged Aggregate Prefix or Tunnel Id 150.1.1.12.1 Fa0/0 Fa0/0 Fa0/0 Next Hop Bytes tag switched 0 0 0 0 0 0 0 0 0 0 0 Outgoing interface Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Se1/2 Et0/0 Next Hop Bytes tag switched 0 368 0 0 0 0 0 351 Outgoing interface Se0/0.56.1.4 150. 1.1.INE.4.1.1.56.4/32 150.2/32 150.1.56.5 150.1 Se0/0.5 150.5 10.1.1 Se0/0.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 150.68.1 Se0/0.1 Se0/0.2.0/24 150.5.1 Se0/0.3/32 Bytes tag switched 8532 0 0 0 0 0 0 418 Outgoing interface Et0/0 Se0/0.6 point2point point2point point2point point2point point2point point2point point2point R6#show mpls forwarding-table Local tag 16 17 18 19 22 23 24 25 26 27 28 Outgoing tag or VC Untagged Untagged Untagged Untagged Untagged Untagged Untagged Untagged 23 Untagged Aggregate Prefix or Tunnel Id 150.1.5 150.45.56.1 Next Hop Bytes tag switched 0 0 0 0 0 0 0 0 0 0 0 Outgoing interface Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/0 Gi0/1 Next Hop 150.24.1.1.1.1.0/24 150.5 150.1.0/24[V] Copyright © 2010 Internetwork Expert .1.1.1.12.12.1.8.224 - 150.5 150.56.5/32 150.1.1.1.1/32 150.56.1.4.1.0/24[V] 10.3.5 150.1/32 150.0/24 150.3.56.8 www.1 Se0/0.1.1.56.1.56.56.1.0 R5#show mpls forwarding-table Local tag 16 17 18 19 20 21 22 23 Outgoing tag or VC Pop tag Untagged Untagged Untagged Untagged Untagged Untagged 23 Prefix or Tunnel Id 150.24.com .1.0/24 150.2/32 150.68.0/24 150.0/24 150.6/32 150.13.1.1.1.1.5 150.3/32 10.6.4/32 150.1.2.1.56.5 150.13. com .0 www.225 - Version 1.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE. CCIE Service Provider Lab Workbook Volume I Version 1.1.2 150.1 .1 R1 Fa0/0 .5 S0/0.25.0/24 SW1 BGP AS 2 E0/0 R3 .0/24 204 Frame Relay 502 150.com .0/24 VLAN 12 S0/0.3 S1/2 150.226 - SW2 www.0 MPLS Traffic Engineering – Dynamic PE to PE Tunnels Objective: Configure a dynamic MPLS Traffic Engineering tunnel between R3 and R4 with a 10Mbps guarantee to transport traffic between SW1 and SW2.1.0/24 10.1 .8 Fa0/4 Copyright © 2010 Internetwork Expert .2 S0/1 R5 . Fa0/3 .0/24 402 .1.3 .4 R4 BGP AS 1 E0/1 10.1.0/24 S0/1 .24.1.1.4 S0/1 .7 BGP AS 1 10.13.1.48.2 Fa0/0 .3 .37.2 R2 205 Frame Relay S0/0.INE.5 S0/0.45.12.4 .2 OSPF Area 0 .1 150.0/24 BGP AS 3 . 1.255. and R5 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R3 and SW1 should peer via EBGP R4 and SW2 should peer via EBGP Create the Loopback 10.227 - www. R2.255. R2.1.0 Directions • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram The Frame Relay links between R2 & R4 and R2 & R5 have a bandwidth of DS3 (45Mbps) The Point-to-Point links between R1 & R3 and R4 & R5 have a bandwidth of OC3 (155Mbps) Configure OSPF area 0 on the interfaces between R1.1. R3.Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1. R3. R4.255 ! interface FastEthernet0/0 ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1. and R5 Create Loopbacks on R1. R4. R3.1 255.255.7/24 on SW1 and advertise it into BGP Create the Loopback 10.1. and R5 in the format 150. R4.8/24 on SW2 and advertise it into BGP Enable support for MPLS TE tunnels on all transit interfaces in the MPLS network Enable RSVP support on all transit interfaces in the MPLS network Configure an MPLS TE tunnel on R3 with R4’s Loopback as the destination The path for this tunnel should be dynamically selected and have a priority of one Reserve 10Mbps through the MPLS network for this tunnel Advertise the tunnel interface into OSPF Configure an MPLS TE tunnel on R4 with R3’s Loopback as the destination The path for this tunnel should be dynamically selected and have a priority of one Reserve 10Mbps through the MPLS network for this tunnel Advertise the tunnel interface into OSPF Final Configuration R1# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.com .INE.255. R2.1.12.7.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 100000 100000 Copyright © 2010 Internetwork Expert .Y.1.8.1 255. 1 255.1.2 255.2 point-to-point bandwidth 45000 ip address 150.255.2 255.INE.0 area 0 network 150.255.1.24.0.1.0.255 ! interface FastEthernet0/0 ip address 150.1.1.1.12.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.2 255.255.25.1.1 0.0 area 0 network 150.0 area 0 network 150.0 area 0 R2# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.1.2 0.2 0.com .24.1.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 204 ip rsvp bandwidth 45000 45000 ! interface Serial0/0.255.1 0.1.0 area 0 Copyright © 2010 Internetwork Expert .2.12.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 100000 100000 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.13.255.1.0.2 255.0.0 area 0 network 150.0.1 0.0.255.255.0.255.0 ! interface Serial0/1 bandwidth 155000 ip address 150.2 0.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 205 ip rsvp bandwidth 45000 45000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.0.0.12.13.2.0.25.0.1.CCIE Service Provider Lab Workbook Volume I Version 1.0.1 point-to-point bandwidth 45000 ip address 150.2 0.0 area 0 network 150.0.228 - www.255.0.1.255. 3.3 255.255.255.1.48.4.255.13.CCIE Service Provider Lab Workbook Volume I Version 1.0.0.37.1.255.255.1.4.1.4 next-hop-self R4# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.1.4.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.255.4.0 area 0 network 150.4.4 remote-as 1 neighbor 150.255 ! interface Ethernet0/1 ip address 10.1.255 ! interface Ethernet0/0 ip address 10.1.0 ! interface Serial1/2 bandwidth 155000 ip address 150.1.7 remote-as 2 neighbor 150.3 255.229 - www.4 update-source Loopback0 neighbor 150.4 255.3.1.0 R3# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.0 Copyright © 2010 Internetwork Expert .4 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 10000 tunnel mpls traffic-eng path-option 1 dynamic ! interface Loopback0 ip address 150.255.3 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 10000 tunnel mpls traffic-eng path-option 1 dynamic ! interface Loopback0 ip address 150.0 area 0 ! router bgp 1 neighbor 10.4 255.1.0.3 0.1.3 0.1.3.255.com .0.1.13.INE.37.255.3 255.255. 3 update-source Loopback0 neighbor 150.1.0.3.1.4 0.255.1.0.5 255.4 0.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.0.4 255.2 point-to-point bandwidth 45000 ip address 150.4 255.com .255.45.255.0 area 0 ! router bgp 1 neighbor 10.5.24.230 - www.0.INE.255.0 area 0 network 150.3 next-hop-self R5# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.0 mpls traffic-eng tunnels tag-switching ip no dce-terminal-timing-enable ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.4 0.24.0.5 255.1.1.48.1.3 remote-as 1 neighbor 150.1.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 402 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.1.1 point-to-point bandwidth 45000 ip address 150.255.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 Copyright © 2010 Internetwork Expert .5 255.3.45.255.25.255.255.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 502 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.3.4.8 remote-as 3 neighbor 150.45.255.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 area 0 network 150.0.1.255. 1.0 area 0 network 150.255.0 neighbor 10.255.0.0 mask 255. Loopback0 C 10.0 area 0 SW1# ip routing ! interface Loopback0 ip address 10.48.0 ! interface FastEthernet0/1 switchport access vlan 24 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.8 255.37.0 ! router bgp 3 network 10. 3 subnets B 10.1.48.0.255.7 255.231 - www.37. 00:21:40 C 10.45.5.1.5 0.0.8.0.5 0.37.0. FastEthernet0/3 Copyright © 2010 Internetwork Expert .5 0.255.1.0 ! router bgp 2 network 10.0.7.0 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.1.com .7 255.37.0.255.0 ! interface FastEthernet0/4 no switchport ip address 10.1.0 [20/0] via 10.1.7.0.3.CCIE Service Provider Lab Workbook Volume I Version 1.0 mask 255.255.255.1.8.1.255.3 remote-as 1 SW2# ip routing ! interface Loopback0 ip address 10.255.25.8.0/24 is subnetted.0 area 0 network 150.1.4 remote-as 1 Verification SW1#show ip route <output omitted> 10.7.INE.255.1.0 neighbor 10.1.0 is directly connected.1.0 is directly connected.1.1.255.255.8 255. 37. FastEthernet0/4 SW1#ping 10. 00:03:54.0.25.7.0/16 is variably subnetted.1.45.2.12.45.4/32 is directly connected.1.0 SW2#show ip route <output omitted> 10. round-trip min/avg/max = 88/88/88 ms R3#show ip route <output omitted> 10.1. Serial1/2 C 150.2/32 [110/3] via 150.3.7.1.3/32 [110/5] via 0.3.0 [20/0] via 10. timeout is 2 seconds: Packet sent with a source address of 10. 00:03:54. 00:07:48 B 10.0/16 is variably subnetted.2/32 [110/3] via 150. Serial0/1 C 150.0.1.1 C 150.13. 00:07:50.1.0/24 is subnetted.0 is directly connected. Serial0/1 Copyright © 2010 Internetwork Expert .7.0/24 [110/4] via 150.1. 00:03:54.24.7.0. 10 subnets.1. Tunnel0 O 150.25.1/32 [110/2] via 150.1.1.48.8.232 - www.1/32 [110/4] via 150.0 [20/0] via 10.0 is directly connected.2.13.1.0/24 [110/4] via 150. 00:07:50.1.1.4.1. 100-byte ICMP Echos to 10.4.0/24 [110/2] via 150.1.13.0.0.1. Serial0/0.5/32 [110/5] via 150.1.1. Serial1/2 [110/5] via 0. Tunnel0 C 150.48.0.1. Ethernet0/1 150.7 !!!!! Success rate is 100 percent (5/5).5.1.1.8 source 10.0 [20/0] via 10.1.13.1.0. 00:42:36 C 10.24.4.0.1.2. 00:07:50. Loopback0 O 150.0.3.12.4/32 [110/5] via 0.1.0. Serial0/0. 00:03:54.3.1.2. 2 masks O 150.0/24 [110/4] via 150.1. 00:07:50.0/24 is directly connected.1.13.1.13.1.0 is directly connected.24. 3 subnets B 10.13.8.0 [200/0] via 150.1 O 150.1. Tunnel0 R4#show ip route <output omitted> 10.1.48.1 O 150.1.1.1.2. 00:03:54. Serial0/0.8. 3 subnets C 10. Serial0/1 C 150.1.4.1.45.1.1.com . 00:07:50. 10:38:25 B 10.1.5.1. 00:07:50. Serial0/0.7 Type escape sequence to abort.1. Serial1/2 O 150.1.1.1.0. 00:21:49 C 10. 2 masks O 150.8.1.0.1. 01:24:43 C 10.INE.1.7. 3 subnets B 10.45. Serial1/2 O 150.0.1 O 150.24.0/24 is subnetted.0.1.13. Serial1/2 O 150.1.0/24 is directly connected.1.0/24 is directly connected. Serial1/2 O 150.24.1.5/32 [110/2] via 150.13.0 [200/0] via 150.0/24 [110/3] via 150. 00:03:54.4. 00:07:50. Loopback0 O 150.0.0 is directly connected.1. Serial1/2 O 150.8.8. 00:07:50.0/24 [110/3] via 150.0.1.1.5.1.0/24 is subnetted.1.48.0.1.1.3/32 is directly connected. Loopback0 B 10. 00:03:54.37. Ethernet0/0 150.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 [110/5] via 150.2.1 O 150.1.24. Serial0/0. 00:07:50.5.8. Sending 5.1.1.7. Serial1/2 O 150. 10 subnets. CCIE Service Provider Lab Workbook Volume I Version 1. Tun_Id 0.1 150.0 R3#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds.233 - www.24.1. implicit-null OutLabel : RSVP Signalling Info: Src 150.3.3. Dst 150. next in 2579 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R3_t0 150.2 150.4.1.1.4 150.3 Explicit Route: 150.4. peak rate=10000 kbits Copyright © 2010 Internetwork Expert .3. type dynamic (Basis for Setup.12.3.1.12. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.3 Explicit Route: NONE Record Route: NONE Tspec: ave rate=10000 kbits.INE.1. burst=1000 bytes. 14 seconds LSP Tunnel R4_t0 is signalled.1.1.4 Oper: up Path: valid Signalling: connected path option 1.1.4 Record Route: NONE Tspec: ave rate=10000 kbits. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.3. burst=1000 bytes.3 Se1/2 up/up R3#show mpls traffic-eng tunnels Name: R3_t0 Status: Admin: up (Tunnel0) Destination: 150.4.3.1. burst=1000 bytes.1.4.1 150.com .3.4.4.1. peak rate=10000 kbits History: Tunnel: Time since created: 17 minutes. 17 RSVP Signalling Info: Src 150. 1 seconds Time since path change: 15 minutes. 14 seconds Current LSP: Uptime: 15 minutes. Tun_Id 0. Dst 150. connection is up InLabel : Serial1/2. path weight 4) Config Parameters: Bandwidth: 10000 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 10000 bw-based auto-bw: disabled InLabel : OutLabel : Serial1/2.1.4 Se1/2 up/up R4_t0 150. Tun_Instance 15 RSVP Path Info: My Address: 150.1.1. Tun_Instance 16 RSVP Path Info: My Address: 150.13.4. burst=1000 bytes. 1.234 - www. Dst 150.1. 1 (hold) Affinity: 0x0 (value). 20 RSVP Signalling Info: Src 150. type dynamic (Basis for Setup.1.com .1 : affinity 00000000.3 150.1.2 : affinity 00000000.3 Oper: up Path: valid Signalling: connected path option 1.13.4.24.12. 59 seconds Copyright © 2010 Internetwork Expert .3.1.3.1.1.1.2 : affinity 00000000.12.1.1. peak rate=10000 kbits History: Tunnel: Time since created: 18 minutes.1.2 150.12.0 R3#show mpls traffic-eng topology path tunnel0 Query Parameters: Destination: 150.3 Se0/0. burst=1000 bytes.12.3.4 145000 (kbps) 90000 (kbps) 90000 (kbps) 35000 (kbps) R4#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds.1 150.1 up/up R4#show mpls traffic-eng tunnels Name: R4_t0 Status: Admin: up (Tunnel0) Destination: 150. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits. 0xFFFF (mask) Query Results: Min Bandwidth Along Path: 35000 (kbps) Max Bandwidth Along Path: 145000 (kbps) Hop 0: 150.3 : affinity 00000000.4. bandwidth Hop 4: 150.2 150.3 Record Route: NONE Tspec: ave rate=10000 kbits.13.INE.1.CCIE Service Provider Lab Workbook Volume I Version 1. 6 seconds Time since path change: 15 minutes. bandwidth Hop 3: 150.4. 59 seconds Current LSP: Uptime: 15 minutes.4.1. bandwidth Hop 1: 150. path weight 4) Config Parameters: Bandwidth: 10000 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 10000 bw-based auto-bw: disabled InLabel : OutLabel : Serial0/0.4 Bandwidth: 10000 Priorities: 1 (setup).1.1. next in 2514 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R4_t0 150.1. Tun_Id 0. burst=1000 bytes. bandwidth Hop 2: 150.4 Explicit Route: 150.4.3.24.1 up/up R3_t0 150.4 Se0/0.1. Tun_Instance 16 RSVP Path Info: My Address: 150.4.1.3. 24. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.1 : affinity 00000000. 0xFFFF (mask) Query Results: Min Bandwidth Along Path: 35000 (kbps) Max Bandwidth Along Path: 145000 (kbps) Hop 0: 150. implicit-null OutLabel : RSVP Signalling Info: Src 150.1.1. Tun_Instance 15 RSVP Path Info: My Address: 150.3.1.1 : affinity 00000000.4 Explicit Route: NONE Record Route: NONE Tspec: ave rate=10000 kbits. bandwidth Hop 2: 150.3 Bandwidth: 10000 Priorities: 1 (setup).com . bandwidth Hop 3: 150. burst=1000 bytes.12.1.3.1.1.235 - 35000 (kbps) 90000 (kbps) 90000 (kbps) 145000 (kbps) www.INE.4.13.3 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1. peak rate=10000 kbits R4#show mpls traffic-eng topology path tunnel0 Query Parameters: Destination: 150.0 LSP Tunnel R3_t0 is signalled.3.4.2 : affinity 00000000.12.1.1. Tun_Id 0. burst=1000 bytes. Dst 150. connection is up InLabel : Serial0/0.4 : affinity 00000000. 1 (hold) Affinity: 0x0 (value).3.1. bandwidth Hop 1: 150.4. bandwidth Hop 4: 150.1. 1.0 MPLS Traffic Engineering – Explicit PE to PE Tunnels Objective: Configure an explicit MPLS Traffic Engineering tunnel from R3 to R1.0/24 10. Fa0/3 .1.5 S0/0.13.0/24 VLAN 12 S0/0.2 Fa0/0 .24.8 Fa0/4 Copyright © 2010 Internetwork Expert .1 150.4 S0/1 .1.1 R1 Fa0/0 .0/24 204 Frame Relay 502 150.37. R5.1 .45.48.2 S0/1 R5 .2 150.0/24 402 .2 OSPF Area 0 .com .0/24 S0/1 .0/24 BGP AS 3 .1.1.3 S1/2 150. R4 and back with a 10Mbps guarantee to transport traffic between SW1 and SW2. R2.7 BGP AS 1 10.2 R2 205 Frame Relay S0/0.1.INE.5 S0/0.236 - SW2 www.4 R4 BGP AS 1 E0/1 10.1.CCIE Service Provider Lab Workbook Volume I Version 1.4 .3 .12.0/24 SW1 BGP AS 2 E0/0 R3 .1 .3 .25. R2. R5.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 100000 100000 Copyright © 2010 Internetwork Expert .com .INE. R2. R3.0 Directions • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram The Frame Relay links between R2 & R4 and R2 & R5 have a bandwidth of DS3 (45Mbps) The Point-to-Point links between R1 & R3 and R4 & R5 have a bandwidth of OC3 (155Mbps) Configure OSPF area 0 on the interfaces between R1. R2. R2.237 - www. R4.Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.1 255.12.1.255.255.255. R3.7/24 on SW1 and advertise it into BGP Create the Loopback 10.8/24 on SW2 and advertise it into BGP Enable support for MPLS TE tunnels on all transit interfaces in the MPLS network Enable RSVP support on all transit interfaces in the MPLS network Configure an MPLS TE tunnel on R3 with R4’s Loopback as the destination The path for this tunnel should be explicitly defined with a path from R3 to R1. and R3 Reserve 10Mbps through the MPLS network for this tunnel Advertise the tunnel interface into OSPF Final Configuration R1# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.8.1. and R5 in the format 150.Y. R1.1.255.7. and R4 Reserve 10Mbps through the MPLS network for this tunnel Advertise the tunnel interface into OSPF Configure an MPLS TE tunnel on R4 with R3’s Loopback as the destination The path for this tunnel should be explicitly defined with a path from R4 to R5.1. R4. and R5 Create Loopbacks on R1.1. R4.1 255.1.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! interface FastEthernet0/0 ip address 150. R3. R2. and R5 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R3 and SW1 should peer via EBGP R4 and SW2 should peer via EBGP Create the Loopback 10. 1 0.1.1.0.12.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 205 ip rsvp bandwidth 45000 45000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.13.0 area 0 network 150.1 0.2 0.1.255.0.2 255.0.2 0.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.255.0 ! interface Serial0/1 bandwidth 155000 ip address 150.238 - www.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 100000 100000 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.0.255.2.0 area 0 network 150.1 0.255.2 0.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 204 ip rsvp bandwidth 45000 45000 ! interface Serial0/0.0.0 area 0 R2# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.25.255.1.0 area 0 Copyright © 2010 Internetwork Expert .1.0.1.0.255.0 area 0 network 150.0 area 0 network 150.24.24.1 point-to-point bandwidth 45000 ip address 150.1.255.1.0.INE.1.2.25.255 ! interface FastEthernet0/0 ip address 150.com .1.0.2 255.1.0 area 0 network 150.2 255.255.12.2 point-to-point bandwidth 45000 ip address 150.2 0.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.0.1 255.2 255.1.0.13.0.0.255.12. 255.4.INE.3 255.3 0.2 next-address 150.0 ! interface Serial1/2 bandwidth 155000 ip address 150.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.1.1 next-address 150.255.1.3.CCIE Service Provider Lab Workbook Volume I Version 1.1.13.0 area 0 ! router bgp 1 neighbor 10.25.4 R4# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.1.12.255.4.0 area 0 network 150.3.1.4.255.1.37.13.1.5 next-address 150.3 255.4 next-address 150.0.3.0.45.0.255 ! interface Ethernet0/0 ip address 10.0.0 R3# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.4 remote-as 1 neighbor 150.3 255.239 - www.7 remote-as 2 neighbor 150.1.1.37.4 next-hop-self ! ip explicit-path name R1_R2_R5_R4 enable next-address 150.com .255.4.3 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 10000 Copyright © 2010 Internetwork Expert .4.1.1.255.3 0.4 update-source Loopback0 neighbor 150.1.1.4 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 10000 tunnel mpls traffic-eng path-option 1 explicit name R1_R2_R5_R4 ! interface Loopback0 ip address 150.1.1.1.13. 255.4 255.12.4 0.1.0 area 0 network 150.4 0.1.1.0 mpls traffic-eng tunnels tag-switching ip no dce-terminal-timing-enable ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.0.240 - www.0.4.255 ! interface Ethernet0/1 ip address 10.5.4 255.3.1.0 tunnel mpls traffic-eng path-option 1 explicit name R5_R2_R1_R3 ! interface Loopback0 ip address 150.3 next-hop-self ! ip explicit-path name R5_R2_R1_R3 enable next-address 150.0.3 update-source Loopback0 neighbor 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.25.45.0 area 0 network 150.255.0 area 0 ! router bgp 1 neighbor 10.3.255.1.2 next-address 150.48.255.0.5 255.255.1.45.4.1.3 next-address 150.1 point-to-point bandwidth 45000 ip address 150.0.24.CCIE Service Provider Lab Workbook Volume I Version 1.3 R5# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.255.255.1.1.0.1.1.4 0.1.255.45.3.4 255.3 remote-as 1 neighbor 150.1.24.1.1.INE.255.255 ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .1.48.com .4 255.3.13.5 next-address 150.255.1 next-address 150.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 402 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.8 remote-as 3 neighbor 150.1. 1.255.48.0.0 ! interface FastEthernet0/4 no switchport ip address 10.255.255.37.255.0 ! router bgp 2 network 10.0 interface Serial0/0.3 remote-as 1 SW2# ip routing ! interface Loopback0 ip address 10.25.1.7 255.0 area 0 network 150.2 point-to-point bandwidth 45000 ip address 150.255.0 area 0 SW1# ip routing ! interface Loopback0 ip address 10.5 255.1.8 255.1.8.1.0.0.25.241 - www.255.255.255.45.5 0.5.8 255.255.37.255.0.1.0 area 0 network 150.1.0 mask 255.0 neighbor 10.48.5 255.1.255.0.1.255.CCIE Service Provider Lab Workbook Volume I Version 1.1.0 neighbor 10.0 mask 255.1.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 502 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.255.4 remote-as 1 Copyright © 2010 Internetwork Expert .0 ! interface FastEthernet0/1 switchport access vlan 12 ! interface FastEthernet0/2 switchport access vlan 12 ! interface FastEthernet0/3 no switchport ip address 10.1.7.1.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.255.7.8.com .INE.5 0.5 0.255.0 ! router bgp 3 network 10.255.0.7 255.45. 0.1.0. Serial1/2 O 150.8.1.3.0 is directly connected. Serial0/0.48.3/32 [110/5] via 0.0.13.1.0. 00:07:50.0.37.4.1.1. Tunnel0 O 150.1.1 Copyright © 2010 Internetwork Expert .1.0/24 is subnetted.1. 00:07:50.13. 10 subnets.1.1.INE.0.0.13. Serial0/0.1.1.0 Verification SW1#show ip route <output omitted> 10.0.0 [20/0] via 10.0.3.37.2/32 [110/3] via 150. 3 subnets B 10. 00:07:50. 00:07:48 B 10.3. 00:07:50. Serial1/2 O 150. Serial1/2 [110/5] via 0. FastEthernet0/4 SW1#ping 10. timeout is 2 seconds: Packet sent with a source address of 10.0 is directly connected. 00:07:50. 01:24:43 C 10.0.0 is directly connected.37.24.0 [20/0] via 10.3/32 is directly connected. Tunnel0 R4#show ip route <output omitted> 10. 00:21:49 C 10.0.1.0 is directly connected. 00:03:54.13. Serial0/1 C 150.8.48.7 !!!!! Success rate is 100 percent (5/5). 00:42:36 C 10. round-trip min/avg/max = 88/88/88 ms R3#show ip route <output omitted> 10.1.1.3.1.242 - www.0 is directly connected.1.1 O 150. Loopback0 O 150.5/32 [110/2] via 150.0.1. Serial1/2 C 150.0/24 [110/3] via 150.7 Type escape sequence to abort.0/24 [110/2] via 150.25.7.1.1.5. 3 subnets C 10.1.2.0/16 is variably subnetted.1.0/24 is subnetted. Serial1/2 O 150.1.1. Serial1/2 O 150.1.0/24 is subnetted. 00:07:50.1.4.24.1. Loopback0 O 150.0. 3 subnets B 10.7.25.1.1.8.1.8 source 10.1.com .1.45. Serial1/2 O 150. 00:03:54.37.4/32 [110/5] via 0. 00:03:54. Ethernet0/1 150.1.0/24 [110/4] via 150.48.48.3. 2 masks O 150.0/16 is variably subnetted.4. 00:07:50. 2 masks O 150.2/32 [110/3] via 150. 100-byte ICMP Echos to 10.13. 00:03:54.0.1. 10:38:25 B 10.8.1. 00:21:40 C 10.0.0 [20/0] via 10.1.5.13.0.0.1.1.5/32 [110/5] via 150.0/24 [110/5] via 150.8.0/24 is subnetted.45.7.1.1.1.2.1.1. Ethernet0/0 150.13.13.8. Serial0/1 C 150.1.1.1.1.1.7. Loopback0 B 10.4. 00:07:50.1/32 [110/2] via 150.1.8.1. FastEthernet0/3 SW2#show ip route <output omitted> 10.1.4.1. Sending 5.2.7.0 [20/0] via 10.8. 00:07:50. Serial1/2 O 150.1.1.0/24 is directly connected.0 [200/0] via 150.0/24 is directly connected. Loopback0 C 10.5.24.1.45.1.0 is directly connected.7.4/32 is directly connected.0.0 [200/0] via 150.CCIE Service Provider Lab Workbook Volume I Version 1.5.0. Tunnel0 C 150. 3 subnets B 10.0/24 [110/4] via 150.7.1.1. 10 subnets.12. next in 2089 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R3_t0 150. type explicit R1_R2_R5_R4 (Basis for Setup. Tun_Instance 1 RSVP Path Info: My Address: 150.1.1. Dst 150.1 150.3 Se1/2 up/up R3#show mpls traffic-eng tunnels Name: R3_t0 Status: Admin: up (Tunnel0) Destination: 150.1.4. Serial0/0.0/24 [110/3] via 150.12.1.1. Serial0/0.3.1.4 Se1/2 up/up R4_t0 150. 52 seconds Time since path change: 7 minutes. peak rate=10000 kbits History: Tunnel: Time since created: 7 minutes.1.0 150.3. 23 RSVP Signalling Info: Src 150.4.1.1.3.1.4 150.1.1.2.13.1.1.24.24.1.3. burst=1000 bytes.45. path weight 5) Config Parameters: Bandwidth: 10000 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 10000 bw-based auto-bw: disabled InLabel : OutLabel : Serial1/2.INE.1. Dst 150.3.3 Explicit Route: 150.25.4 Oper: up Path: valid Signalling: connected path option 1. Tun_Instance 1 RSVP Path Info: My Address: 150.1/32 [110/4] via 150.45.CCIE Service Provider Lab Workbook Volume I O O O C Version 1.5 150. Tun_Id 0.1.4.1.1. 00:03:54.1 150. implicit-null OutLabel : RSVP Signalling Info: Src 150.13.1 150.2 150.4.1. Serial0/1 R3#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds. 51 seconds LSP Tunnel R4_t0 is signalled.3 Explicit Route: NONE Record Route: NONE Tspec: ave rate=10000 kbits.2.com . Serial0/0.3.4. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.2.1 150.3.4. 51 seconds Current LSP: Uptime: 7 minutes.24.4 Record Route: NONE Tspec: ave rate=10000 kbits.1 150. Tun_Id 0. 00:03:54.243 - www.12. 00:03:54. connection is up InLabel : Serial1/2.0/24 [110/4] via 150.4.0/24 is directly connected.1.12. burst=1000 bytes.1. burst=1000 bytes.1. peak rate=10000 kbits RSVP Resv Info: Copyright © 2010 Internetwork Expert . burst=1000 bytes.4 Explicit Route: 150. path weight 5) Config Parameters: Bandwidth: 10000 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 10000 bw-based auto-bw: disabled InLabel : OutLabel : Serial0/1. 1 (of 1) tails R4#show mpls traffic-eng tunnels Name: R4_t0 Status: Admin: up (Tunnel0) Destination: 150.1.1.4.12.1.4.1. implicit-null OutLabel : RSVP Signalling Info: Src 150.CCIE Service Provider Lab Workbook Volume I Version 1. 55 seconds Current LSP: Uptime: 3 minutes.4. next in 402 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R4_t0 150.com .3 Oper: up Path: valid Signalling: connected path option 1. burst=1000 bytes. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.1. 56 seconds Time since path change: 3 minutes.0 Record Route: NONE Fspec: ave rate=10000 kbits.244 - www.25. Tun_Id 0.1.3. type explicit R5_R2_R1_R3 (Basis for Setup. Tun_Instance 1 RSVP Path Info: My Address: 150.4.2 150. burst=1000 bytes. peak rate=10000 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=10000 kbits.1.3. connection is up InLabel : Serial0/1.3. Dst 150.1.3.45. peak rate=10000 kbits History: Tunnel: Time since created: 3 minutes. Dst 150.12.4.1.5 150. 55 seconds LSP Tunnel R3_t0 is signalled.4.3 Se0/1 up/up R3_t0 150.1.4 Se0/1 up/up Displayed 1 (of 1) heads.3 150. peak rate=10000 kbits Copyright © 2010 Internetwork Expert .1.3. peak rate=10000 kbits R4#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds. burst=1000 bytes.13. 24 RSVP Signalling Info: Src 150. 0 (of 0) midpoints.3 Record Route: NONE Tspec: ave rate=10000 kbits. burst=1000 bytes.INE. Tun_Id 0.1.3.1 150.4 Explicit Route: NONE Record Route: NONE Tspec: ave rate=10000 kbits.4.1.1.2 150.1.3. Tun_Instance 1 RSVP Path Info: My Address: 150. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE.com .0 www.245 - Version 1. 0 MPLS Traffic Engineering – Unequal Cost Load Balancing Objective: Configure two MPLS Traffic Engineering Tunnels with a total guarantee of 10Mbps between R3 and R4 to transport traffic between SW1 and SW2.1 .4 R4 BGP AS 1 E0/1 10.1.CCIE Service Provider Lab Workbook Volume I Version 1.2 OSPF Area 0 .24.0/24 402 .5 S0/0. Fa0/3 .25.12.48.37.2 150.1 R1 Fa0/0 .7 BGP AS 1 10.1. One-third of the traffic between these devices should transit R5.45.0/24 204 Frame Relay 502 150.4 S0/1 .0/24 SW1 BGP AS 2 E0/0 R3 .246 - SW2 www.0/24 10.1 .2 S0/1 R5 .0/24 BGP AS 3 .INE.8 Fa0/4 Copyright © 2010 Internetwork Expert .1.1 150.3 .1.5 S0/0.4 .2 R2 205 Frame Relay S0/0.2 Fa0/0 .com .1.1.3 S1/2 150.13.3 .0/24 VLAN 12 S0/0.0/24 S0/1 .1. the other’s path should be dynamically selected Reserve 6667Kbps through the dynamic tunnel and 3333Kbps through the static tunnel Advertise both of the tunnel interfaces into OSPF Final Configuration R1# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150. R4.0 mpls traffic-eng tunnels Copyright © 2010 Internetwork Expert .Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.255. R2. and R5 in the format 150.8/24 on SW2 and advertise it into BGP Enable support for MPLS TE tunnels on all transit interfaces in the MPLS network Enable RSVP support on all transit interfaces in the MPLS network Configure two MPLS TE tunnels on R3 with R4’s Loopback as the destination One tunnel should be explicitly defined with a path from R3 to R1. R1. R5. R2. R3. R2.255.7.1.255 ! interface FastEthernet0/0 ip address 150. R4.247 - www.1.INE.Y. R2.8. the other’s path should be dynamically selected Reserve 6667Kbps through the dynamic tunnel and 3333Kbps through the static tunnel Advertise both of the tunnel interfaces into OSPF Configure two MPLS TE tunnels on R4 with R3’s Loopback as the destination One tunnel should be explicitly defined with a path from R4 to R2.255.com .12.1.255.1. and R3.7/24 on SW1 and advertise it into BGP Create the Loopback 10.1 255.1 255. R5. R3.1. R3. and R4. and R5 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces R3 and SW1 should peer via EBGP R4 and SW2 should peer via EBGP Create the Loopback 10. and R5 Create Loopbacks on R1.1. R4.CCIE Service Provider Lab Workbook Volume I Version 1.0 Directions • • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram The Frame Relay links between R2 & R4 and R2 & R5 have a bandwidth of DS3 (45Mbps) The Point-to-Point links between R1 & R3 and R4 & R5 have a bandwidth of OC3 (155Mbps) Configure OSPF area 0 on the interfaces between R1. 25.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 100000 100000 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.0.0.255.24.1.1 point-to-point bandwidth 45000 ip address 150.13.1.2 0.2 0.2.1.12.2 255.2 255.0.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 205 ip rsvp bandwidth 45000 45000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.255.255.1 0.1.1.0 area 0 R2# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.0.2 point-to-point bandwidth 45000 ip address 150.0 area 0 network 150.255.1.255.2 0.25.1 0.1.2.1 255.0 mpls traffic-eng tunnels tag-switching ip ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.0.INE.255.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.255.0 area 0 network 150.13.12.255 ! interface FastEthernet0/0 ip address 150.24.1 0.0.255.0.0 area 0 network 150.255.0 tag-switching ip ip rsvp bandwidth 100000 100000 ! interface Serial0/1 bandwidth 155000 ip address 150.0.2 255.0 area 0 network 150.0.248 - www.0 area 0 network 150.255.0 area 0 Copyright © 2010 Internetwork Expert .0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 204 ip rsvp bandwidth 45000 45000 ! interface Serial0/0.1.0.2 255.2 0.com .1.1.0.0.0.12.1. 4.37.3 0.25.255.13.4 Copyright © 2010 Internetwork Expert .0 area 0 network 150.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.1.3 0.3.0.3 255.4.1.4.13.4.1.0.4 update-source Loopback0 neighbor 150.3 255.4 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 6667 tunnel mpls traffic-eng path-option 1 dynamic ! interface Tunnel1 ip unnumbered Loopback0 tunnel destination 150.255.4.1.0.7 remote-as 2 neighbor 150.1.4.0 area 0 ! router bgp 1 neighbor 10.255.1.255.1.0 ! interface Serial1/2 bandwidth 155000 ip address 150.1.1.4 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 3333 tunnel mpls traffic-eng path-option 1 explicit name R1_R2_R5_R4 ! interface Loopback0 ip address 150.255.255.1.12.0 R3# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.1.1.5 next-address 150.255 ! interface Ethernet0/0 ip address 10.249 - www.1 next-address 150.3.1.3 255.4 next-hop-self ! ip explicit-path name R1_R2_R5_R4 enable next-address 150.1.37.4 remote-as 1 neighbor 150.2 next-address 150.4 next-address 150.1.45.INE.0.com .1.13.CCIE Service Provider Lab Workbook Volume I Version 1. 4 0.24.255.250 - www.0.4 255.0.255.255.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 402 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1.0.1.4 255.255.255.255.4 255.1.1.48.3.45.4 0.4.0.4.0 area 0 network 150.255.0 R4# ip cef mpls traffic-eng tunnels ! interface Tunnel0 ip unnumbered Loopback0 tunnel destination 150.4 255.1.0.1.1.3.3 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 3333 tunnel mpls traffic-eng path-option 1 explicit name R5_R2_R1_R3 ! interface Loopback0 ip address 150.INE.0 mpls traffic-eng tunnels tag-switching ip no dce-terminal-timing-enable ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.3 tunnel mode mpls traffic-eng tunnel mpls traffic-eng autoroute announce tunnel mpls traffic-eng priority 1 1 tunnel mpls traffic-eng bandwidth 6667 tunnel mpls traffic-eng path-option 1 dynamic ! interface Tunnel1 ip unnumbered Loopback0 tunnel destination 150.1.0 area 0 ! Copyright © 2010 Internetwork Expert .0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.24.1.0.4 0.255 ! interface Ethernet0/1 ip address 10.1 point-to-point bandwidth 45000 ip address 150.com .255.0 area 0 network 150.1.45. 3.1.1.25.5 255.1.3.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 router bgp 1 neighbor 10.13.7.255.0 area 0 SW1# ip routing ! interface Loopback0 ip address 10.1.1.5 255.0 area 0 network 150.0.1.12.1.1.5.3 next-hop-self ! ip explicit-path name R5_R2_R1_R3 enable next-address 150.5 next-address 150.3 next-address 150.1.1.5.0.255.2 next-address 150.0.0.45.0.251 - www.0 ! interface FastEthernet0/1 switchport access vlan 24 ! interface FastEthernet0/2 switchport access vlan 24 Copyright © 2010 Internetwork Expert .25.255.255.7 255.1.1 next-address 150.2 point-to-point bandwidth 45000 ip address 150.3.0 mpls traffic-eng tunnels tag-switching ip frame-relay interface-dlci 502 ip rsvp bandwidth 45000 45000 ! interface Serial0/1 bandwidth 155000 ip address 150.0 area 0 network 150.3 update-source Loopback0 neighbor 150.1.25.1.1.5 0.5 0.45.45.5 0.255.3 R5# ip cef mpls traffic-eng tunnels ! interface Loopback0 ip address 150.com .5 255.3 remote-as 1 neighbor 150.3.1.INE.255.255.0.255.1.48.0 mpls traffic-eng tunnels tag-switching ip clockrate 64000 ip rsvp bandwidth 155000 155000 ! router ospf 1 mpls traffic-eng router-id Loopback0 mpls traffic-eng area 0 network 150.CCIE Service Provider Lab Workbook Volume I Version 1.8 remote-as 3 neighbor 150. 7.255.3.1.255.0 is directly connected.0 is directly connected.0.8.8 source 10.1.0.0 is directly connected.25.0 ! interface FastEthernet0/3 no switchport ip address 10. Sending 5. 00:00:29.37.1. Loopback0 B 10.1.7 Type escape sequence to abort.4.37.8 255.37. Loopback0 C 10.1.1.0 [20/0] via 10.0 [200/0] via 150.0/24 is subnetted.1.1.255.255.8 255.0 mask 255. Ethernet0/0 150.1.1.0/24 is subnetted.48.4. FastEthernet0/4 SW1#ping 10.37. 3 subnets B 10.7 255. round-trip min/avg/max = 88/88/88 ms R3#show ip route <output omitted> 10.48.0/24 is subnetted.1. FastEthernet0/3 SW2#show ip route <output omitted> 10.CCIE Service Provider Lab Workbook Volume I Version 1.1. 00:21:49 C 10.1.0.0 is directly connected. 3 subnets B 10.48.0 mask 255.8.1.0 [20/0] via 10.7.1.com .4 remote-as 1 Verification SW1#show ip route <output omitted> 10.8.0/24 [110/4] via 150.0 is directly connected.8.7.255.8. 10 subnets.1.0 ! interface FastEthernet0/4 no switchport ip address 10.1.0 ! router bgp 2 network 10.1.37.INE. 00:01:52 B 10. Serial1/2 Copyright © 2010 Internetwork Expert .48.3 remote-as 1 SW2# ip routing ! interface Loopback0 ip address 10.13.8.7.7.255.1.8.0 neighbor 10.0 ! router bgp 3 network 10.1.0 neighbor 10.0.1.255.0/16 is variably subnetted.7.7 !!!!! Success rate is 100 percent (5/5).8.1.255. 2 masks O 150.7. 00:21:40 C 10.255.255.1.1.1.0.0.37.1.0. 100-byte ICMP Echos to 10. 3 subnets C 10.0 [20/0] via 10. 01:57:07 C 10.252 - www. timeout is 2 seconds: Packet sent with a source address of 10.4.1.1. 5/32 [110/2] via 150.13.3/32 is directly connected.0/24 [110/2] via 150. 00:00:29. Serial0/0. 3 subnets B 10.1.24.1.3. Ethernet0/1 150.4.0/24 [110/4] via 150.1/32 [110/2] via 150.3.48.1.1 O 150. Serial1/2 150.1.1.48.1.5.3/32 Known via "ospf 1". 00:00:30.0.1.1.1.1.4.0/24 is directly connected.1.45.1.2.0.1.0.1.1. Tunnel0 [110/5] via 0.5.3. 10 subnets. Serial1/2 150. Serial0/0.5. 01:48:32 B 10.1.1. 00:00:30.1. 01:56:18 C 10.1. 00:00:22. distance 110. via Tunnel1 Route metric is 5.3.1/32 [110/4] via 150.1.0.13.1. Tunnel0 [110/5] via 0. Serial0/0. 00:00:29. 00:00:29.1.1. 00:00:21.1. distance 110. Tunnel0 [110/5] via 0.0.0/24 is directly connected.1.1. Serial0/1 C 150. Tunnel1 150.0/24 is directly connected.1. Loopback0 150.1.1.1.3 Routing entry for 150.0/24 [110/3] via 150. traffic share count is 1 R4#show ip route <output omitted> 10.0.0.3.24.2/32 [110/3] via 150.0/24 [110/5] via 150.0.3/32 [110/5] via 0. 2 masks O 150.1.0.0 150. Serial1/2 150.24.1 C 150.0. metric 5. via Tunnel0 Route metric is 5. type intra area Routing Descriptor Blocks: * directly connected. 00:00:30. Loopback0 O 150.7.0.2. traffic share count is 1 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I O O O C O O C O O Version 1.2.0 [20/0] via 10.8.1. Serial0/0.4/32 is directly connected.4/32 Known via "ospf 1".13. Serial0/0. Serial1/2 [110/5] via 0.12.4.13.45.4 Routing entry for 150.13. via Tunnel0 Route metric is 5.13.1.0.0 [200/0] via 150.2. 00:00:21.4/32 [110/5] via 0. Serial1/2 150. 00:00:30. Serial0/1 C 150.0.4.1.24.0/24 is subnetted.1.1.0.0. 00:00:30. traffic share count is 2 directly connected.1.0.5.0/24 [110/3] via 150. traffic share count is 2 directly connected.1.0/16 is variably subnetted.12.3.0.2.1. via Tunnel1 Route metric is 5.13. 00:00:22.24.1.1 O 150. Tunnel1 R3#show ip route 150.25.1.45. 00:00:22.1.2/32 [110/3] via 150.1.1.INE.1.5/32 [110/5] via 150.1.0. Tunnel1 O 150.0.1 O 150.0.13. metric 5. type intra area Routing Descriptor Blocks: * directly connected.253 - www. Serial1/2 150.0. Serial1/2 150. 00:00:30.2. 00:00:22.com . 00:00:22.24. Serial0/1 R4#show ip route 150.45.1 O 150.1.1.8.0 is directly connected.1. 00:00:22. 00:00:30.0/24 [110/4] via 150. 1 150.4.24.4 150.INE. Tun_Instance 5 RSVP Path Info: My Address: 150.3.4.4 Oper: up Path: valid Signalling: connected path option 1.1. 39 seconds Current LSP: Uptime: 25 minutes.1.1.12.4 Se1/2 up/up R4_t0 150. Tun_Id 0. type dynamic (Basis for Setup.1. peak rate=6667 kbits History: Tunnel: Time since created: 27 minutes.1.3.3 Explicit Route: 150.4.3. 39 seconds Name: R3_t1 Status: Admin: up (Tunnel1) Destination: 150.4 Record Route: NONE Tspec: ave rate=6667 kbits.1. 24 seconds Time since path change: 25 minutes. next in 1955 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R3_t0 150.4.1. peak rate=6667 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=6667 kbits.1.com .3 Se1/2 up/up R4_t1 150.4.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.1 150. 0 (of 0) midpoints.4 Se1/2 up/up R3_t1 150. type explicit R1_R2_R5_R4 (Basis for Setup.3 Se1/2 up/up Displayed 2 (of 2) heads.1.0 R3#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds.13.1.3.1.12.4.2 150. 2 (of 2) tails R3#show mpls traffic-eng tunnels Name: R3_t0 Status: Admin: up (Tunnel0) Destination: 150.254 - www. 20 RSVP Signalling Info: Src 150. path weight 5) Config Parameters: Bandwidth: 3333 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 3333 bw-based auto-bw: disabled Copyright © 2010 Internetwork Expert . burst=1000 bytes.3.1. Dst 150. path weight 4) Config Parameters: Bandwidth: 6667 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 6667 bw-based auto-bw: disabled InLabel : OutLabel : Serial1/2.4. burst=1000 bytes.4 Oper: up Path: valid Signalling: connected path option 1. 45.INE. connection is up InLabel : Serial1/2.4.4.4.3. Tun_Id 1.0 InLabel : OutLabel : Serial1/2.3 Explicit Route: NONE Record Route: NONE Tspec: ave rate=3333 kbits. next in 1978 seconds Periodic auto-bw collection: disabled TUNNEL NAME DESTINATION UP IF DOWN IF STATE/PROT R4_t0 150.1.1.1 up/up R4_t1 150.3. peak rate=3333 kbits R4#show mpls traffic-eng tunnels brief Signalling Summary: LSP Tunnels Process: running RSVP Process: running Forwarding: enabled Periodic reoptimization: every 3600 seconds.5 150. 3 seconds LSP Tunnel R4_t0 is signalled.3. 25 RSVP Signalling Info: Src 150.3.com .1.3.1. Tun_Id 0.1.3 Se0/1 up/up R3_t0 150. peak rate=3333 kbits History: Tunnel: Time since created: 27 minutes. Dst 150.1. Tun_Instance 13 RSVP Path Info: My Address: 150.4. peak rate=3333 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=3333 kbits. 2 (of 2) tails Copyright © 2010 Internetwork Expert . Dst 150.4 150.13.1 150.12.4 Record Route: NONE Tspec: ave rate=3333 kbits.12. implicit-null OutLabel : RSVP Signalling Info: Src 150.1.3 Explicit Route: 150.4.25. burst=1000 bytes. burst=1000 bytes.1.1.1.255 - www.3.1. peak rate=3333 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=3333 kbits.3 Explicit Route: NONE Record Route: NONE Tspec: ave rate=6667 kbits. peak rate=6667 kbits LSP Tunnel R4_t1 is signalled. 24 seconds Time since path change: 25 minutes.4. 0 (of 0) midpoints. Tun_Instance 16 RSVP Path Info: My Address: 150. connection is up InLabel : Serial1/2. Tun_Id 1. burst=1000 bytes.3.3. implicit-null OutLabel : RSVP Signalling Info: Src 150.4.1.1.1.1 up/up R3_t1 150.CCIE Service Provider Lab Workbook Volume I Version 1.1.4 Se0/0.3.3.2 150.4.1.3 Se0/0. Tun_Instance 10 RSVP Path Info: My Address: 150. burst=1000 bytes. Dst 150. burst=1000 bytes. burst=1000 bytes.4. 3 seconds Current LSP: Uptime: 25 minutes.1.1 150.3. peak rate=6667 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=6667 kbits.1.1.4 Se0/1 up/up Displayed 2 (of 2) heads. 2 150. path weight 4) Config Parameters: Bandwidth: 6667 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 6667 bw-based auto-bw: disabled InLabel : OutLabel : Serial0/0.1. Tun_Instance 10 RSVP Path Info: My Address: 150. peak rate=6667 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=6667 kbits.4. peak rate=3333 kbits History: Copyright © 2010 Internetwork Expert .13. Dst 150.12.3 Record Route: NONE Tspec: ave rate=3333 kbits.4.3.1.4 Explicit Route: 150.1.3.1 150.1.1.3.1.4.4.2 150.12.256 - www.4.5 150.4.3 150.1.25. burst=1000 bytes.1.3.1. Tun_Id 1.1. Dst 150.3.3 Oper: up Path: valid Signalling: connected path option 1. peak rate=3333 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=3333 kbits.1.INE. Tun_Instance 13 RSVP Path Info: My Address: 150. burst=1000 bytes.1.1.12.2 150.3. type dynamic (Basis for Setup.1. 21 seconds Prior LSP: ID: path option 1 [9] Removal Trigger: tunnel shutdown Name: R4_t1 Status: Admin: up (Tunnel1) Destination: 150. type explicit R5_R2_R1_R3 (Basis for Setup.3. burst=1000 bytes. peak rate=6667 kbits History: Tunnel: Time since created: 27 minutes Time since path change: 9 minutes.3.1.1. path weight 5) Config Parameters: Bandwidth: 3333 kbps (Global) Priority: 1 1 Affinity: 0x0/0xFFFF Metric Type: TE (default) AutoRoute: enabled LockDown: disabled Loadshare: 3333 bw-based auto-bw: disabled InLabel : OutLabel : Serial0/1. 24 RSVP Signalling Info: Src 150.1.13. burst=1000 bytes.1.1.12.2 150.1 150.4 Explicit Route: 150.CCIE Service Provider Lab Workbook Volume I Version 1.com .0 R4#show mpls traffic-eng tunnels Name: R4_t0 Status: Admin: up (Tunnel0) Destination: 150.45.3 Record Route: NONE Tspec: ave rate=6667 kbits. 16 RSVP Signalling Info: Src 150.3 Oper: up Path: valid Signalling: connected path option 1.1.3 150. 21 seconds Current LSP: Uptime: 9 minutes. Tun_Id 0.24. burst=1000 bytes. burst=1000 bytes.1.INE.4.1.0 Tunnel: Time since created: 27 minutes Time since path change: 9 minutes.4 Explicit Route: NONE Record Route: NONE Tspec: ave rate=3333 kbits.3.4. Tun_Id 1.4.1. Dst 150.4. peak rate=6667 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=6667 kbits.com .3.CCIE Service Provider Lab Workbook Volume I Version 1. connection is up InLabel : Serial0/0.1. peak rate=6667 kbits LSP Tunnel R3_t1 is signalled. peak rate=3333 kbits Copyright © 2010 Internetwork Expert . Tun_Id 0. Tun_Instance 16 RSVP Path Info: My Address: 150.4.257 - www. connection is up InLabel : Serial0/1.4.1. 18 seconds Current LSP: Uptime: 9 minutes. burst=1000 bytes.1. peak rate=3333 kbits RSVP Resv Info: Record Route: NONE Fspec: ave rate=3333 kbits.1.4 Explicit Route: NONE Record Route: NONE Tspec: ave rate=6667 kbits. 18 seconds Prior LSP: ID: path option 1 [12] Removal Trigger: tunnel shutdown LSP Tunnel R3_t0 is signalled. implicit-null OutLabel : RSVP Signalling Info: Src 150. Tun_Instance 5 RSVP Path Info: My Address: 150. Dst 150.3.3. implicit-null OutLabel : RSVP Signalling Info: Src 150. burst=1000 bytes. 2 OSPF Area 0 .4 .4 R4 BGP AS 1 E0/1 10.0/24 SW1 E0/0 R3 .24. Fa0/3 .2 S0/1 R5 S0/0.1 .2 R2 205 Frame Relay S0/0.8 Fa0/4 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1.1 .5 .1.4 S0/1 .45.5 S0/0.3 .0/24 S0/1 .48.1.0 MPLS QoS Objective: Configure the MPLS network so that all VoIP traffic between SW1 and SW2 is guaranteed 640Kbps of priority throughout the provider network even if the link between R2 and R4 is down.12.3 S1/2 150.1 R1 Fa0/0 .0/24 10.0/24 402 .1 150.1.INE.0/24 204 Frame Relay 502 150.37.7 RIPv2 BGP AS 1 10.2 Fa0/0 .3 .258 - SW2 www.1.0/24 RIPv2 .0/24 VLAN 12 S0/0.2 150.1.25.com .1.1.13. and R5 Create Loopbacks on R1.1.1.0 Directions • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1. R2. R2.1.259 - www.CCIE Service Provider Lab Workbook Volume I Version 1. R3. R3.7/24 on SW1 and advertise it into RIP Create the Loopback 10.com .INE.8. R4. R2. R4. R3.7.Y.Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1. and R5 R3 and R4 should peer via iBGP in AS 1 using their Loopback interfaces Configure SW1 and SW2 to be in VRF “SW1-SW2” This VRF should use the route distinguisher and target 1:100 Run RIPv2 as the PE-CE protocol between R3 & SW1 and R4 & SW4 Create the Loopback 10.8/24 on SW2 and advertise it into RIP Configure R3 and R4 so that all VoIP traffic received from SW1 and SW2 is marked with a qos-group of 5 Assume that VoIP traffic uses UDP destination ports in the range of 16384-32767 and has a DSCP value of EF All other traffic received from SW1 and SW2 should be marked with a qosgroup of 1 Traffic from qos-group 5 on R3 and R4 should be mapped to MPLS EXP 5 throughout the provider network This traffic should be guaranteed a maximum of 640Kbps of priority as it transits the provider network Traffic from qos-group 1 on R3 and R4 should be mapped to MPLS EXP 1 throughout the provider network This traffic should be guaranteed a minimum bandwidth of 1Mbps and should use WRED as a congestion avoidance mechanism throughout the provider network Assume that the Frame Relay links throughout the provider network are all DS3 (45Mbps) and the back to back Serial links are OC3 (155Mbps) Final Configuration R1# ip cef ! class-map match-all MPLS_EXP_5 match mpls experimental topmost 5 class-map match-all MPLS_EXP_1 match mpls experimental topmost 1 ! policy-map TO_P class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect Copyright © 2010 Internetwork Expert . R4. and R5 in the format 150. 255.1 255.12.0 service-policy output TO_P tag-switching ip ! interface Serial0/1 bandwidth 155000 ip address 150.1.13.1.2.2 255.1.255.0.0 area 0 network 150.255.1.INE.13.12.0 service-policy output TO_PE tag-switching ip ! router ospf 1 network 150.255 ! interface FastEthernet0/0 ip address 150.1 0.0 service-policy output TO_P tag-switching ip ! Copyright © 2010 Internetwork Expert .255.0.0 area 0 R2# ip cef ! class-map match-all MPLS_EXP_5 match mpls experimental topmost 5 class-map match-all MPLS_EXP_1 match mpls experimental topmost 1 ! policy-map TO_P class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect policy-map TO_PE class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect ! interface Loopback0 ip address 150.1.0.1.0.255.1 255.1 255.1.1.1 0.com .0.255.0.12.260 - www.1.CCIE Service Provider Lab Workbook Volume I Version 1.255.1.255.2 255.1 0.255 ! interface FastEthernet0/0 ip address 150.0 area 0 network 150.0 policy-map TO_PE class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect ! interface Loopback0 ip address 150.255.255. 0.25.0.0.1.1.com .1.0 area 0 network 150.2 0.2 0.0 interface Serial0/0 bandwidth 45000 service-policy output TO_PE encapsulation frame-relay ! interface Serial0/0.2.2 255.2 0.255.0 tag-switching ip frame-relay interface-dlci 205 ! router ospf 1 network 150.1.261 - www.24.0.INE.2 0.2 255.0.25.1.24.255.1.0 area 0 network 150.0.CCIE Service Provider Lab Workbook Volume I Version 1.1 point-to-point ip address 150.0.0.255.0 area 0 network 150.0 area 0 R3# ip cef ! ip vrf SW1-SW2 rd 1:100 route-target export 1:100 route-target import 1:100 ! class-map match-all VoIP match access-group name VoIP class-map match-all QOS_GROUP_1 match qos-group 1 class-map match-all QOS_GROUP_5 match qos-group 5 class-map match-all MPLS_EXP_5 match mpls experimental topmost 5 class-map match-all MPLS_EXP_1 match mpls experimental topmost 1 ! policy-map TO_P class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect policy-map FROM_P class MPLS_EXP_5 set qos-group 5 class MPLS_EXP_1 set qos-group 1 policy-map TO_CE class QOS_GROUP_5 priority 640 class QOS_GROUP_1 bandwidth 1000 random-detect Copyright © 2010 Internetwork Expert .12.2 point-to-point ip address 150.0 tag-switching ip frame-relay interface-dlci 204 ! interface Serial0/0.255. 255.1.255.0 service-policy input FROM_CE service-policy output TO_CE ! interface Serial1/2 bandwidth 155000 ip address 150.1.3.CCIE Service Provider Lab Workbook Volume I Version 1.13.255.com .INE.0 policy-map FROM_CE class VoIP set qos-group 5 set mpls experimental imposition 5 class class-default set qos-group 1 set mpls experimental imposition 1 ! interface Loopback0 ip address 150.3 255.255.0.0.3.1.4 update-source Loopback0 neighbor 150.1.0.0.0.0 area 0 ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 1 metric 1 network 10.4.1.255.3 255.1.1.1.3 0.3 0.262 - www.3 255.37.1.0.4.4.0 tag-switching ip clockrate 64000 service-policy input FROM_P service-policy output TO_P ! router ospf 1 network 150.13.4 remote-as 1 neighbor 150.4.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.4 activate neighbor 150.1.4 send-community both exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! ip access-list extended VoIP permit udp any any range 16384 32767 dscp ef Copyright © 2010 Internetwork Expert .0 area 0 network 150.255.4.255 ! interface Ethernet0/0 ip vrf forwarding SW1-SW2 ip address 10.4 next-hop-self ! address-family vpnv4 neighbor 150. 263 - www.255 ! interface Serial0/0 bandwidth 45000 encapsulation frame-relay frame-relay lmi-type cisco service-policy input FROM_P service-policy output TO_P ! Copyright © 2010 Internetwork Expert .0 R4# ip cef ! ip vrf SW1-SW2 rd 1:100 route-target export 1:100 route-target import 1:100 ! class-map match-all VoIP match access-group name VoIP class-map match-all QOS_GROUP_1 match qos-group 1 class-map match-all QOS_GROUP_5 match qos-group 5 class-map match-all MPLS_EXP_5 match mpls experimental topmost 5 class-map match-all MPLS_EXP_1 match mpls experimental topmost 1 ! ! policy-map TO_P class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect policy-map FROM_P class MPLS_EXP_5 set qos-group 5 class MPLS_EXP_1 set qos-group 1 policy-map TO_CE class QOS_GROUP_5 priority 640 class QOS_GROUP_1 bandwidth 1000 random-detect policy-map FROM_CE class VoIP set qos-group 5 set mpls experimental imposition 5 class class-default set qos-group 1 set mpls experimental imposition 1 ! interface Loopback0 ip address 150.com .4 255.255.INE.4.CCIE Service Provider Lab Workbook Volume I Version 1.1.255. 45.0.24.255.1 point-to-point ip address 150.1.0.0 area 0 ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 1 metric 1 network 10.INE.CCIE Service Provider Lab Workbook Volume I Version 1.3 activate neighbor 150.255.0.3.4 0.3.0.45.1.1.4 255.0.1.4 0.0 area 0 network 150.1.4 0.3 send-community both exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! ip access-list extended VoIP permit udp any any range 16384 32767 dscp ef R5# ip cef ! class-map match-all MPLS_EXP_5 match mpls experimental topmost 5 class-map match-all MPLS_EXP_1 match mpls experimental topmost 1 ! Copyright © 2010 Internetwork Expert .0 tag-switching ip service-policy input FROM_P service-policy output TO_P ! router ospf 1 network 150.0 no auto-summary version 2 exit-address-family ! router bgp 1 neighbor 150.3 next-hop-self ! address-family vpnv4 neighbor 150.3 remote-as 1 neighbor 150.0 tag-switching ip frame-relay interface-dlci 402 ! interface Ethernet0/1 ip vrf forwarding SW1-SW2 ip address 10.0.3.1.1.0 service-policy input FROM_CE service-policy output TO_CE ! interface Serial0/1 bandwidth 155000 ip address 150.4 255.4 255.com .48.1.255.1.0.3 update-source Loopback0 neighbor 150.1.255.0 interface Serial0/0.255.3.255.264 - www.1.24.4.3.0.0 area 0 network 150. 255.1.255.5 0.1.0.7 255.1.0 area 0 network 150.INE.0.255.255.7.0.5 0.37.1.0 ! Copyright © 2010 Internetwork Expert .1.2 point-to-point ip address 150.255 ! interface Serial0/0 bandwidth 45000 encapsulation frame-relay service-policy output TO_P ! interface Serial0/0.5 255.1.255.1.0 area 0 SW1# ip routing ! interface Loopback0 ip address 10.5 255.0 policy-map TO_P class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect policy-map TO_PE class MPLS_EXP_5 priority 640 class MPLS_EXP_1 bandwidth 1000 random-detect ! interface Loopback0 ip address 150.com .265 - www.45.255.0 ! interface FastEthernet0/1 switchport access vlan 12 switchport mode dynamic desirable ! interface FastEthernet0/2 switchport access vlan 12 switchport mode dynamic desirable ! interface FastEthernet0/3 no switchport ip address 10.255.5.255.255.45.5.0.0 area 0 network 150.5 0.0.25.0 tag-switching ip clockrate 64000 service-policy output TO_PE ! router ospf 1 network 150.CCIE Service Provider Lab Workbook Volume I Version 1.25.0 tag-switching ip frame-relay interface-dlci 502 ! interface Serial0/1 bandwidth 155000 ip address 150.255.5 255.0.1.7 255. 7 control disable SW1(config-rtr-udp)# tos 184 SW1(config-rtr-udp)# timeout 0 SW1(config-rtr-udp)# frequency 1 SW1(config-rtr-udp)#rtr schedule 1 life 10 start-time now SW1(config)#end SW1# Generate ICMP traffic to simulate other traffic on SW1: SW1#ping 10. SW1(config)#rtr 1 SW1(config-rtr)# type udpEcho dest-ipaddr 10.1.255.0.0 router rip version 2 network 10.255.1.1.8.8.com . 580 bytes 5 minute offered rate 0 bps.0 no auto-summary Verification Generate UDP traffic to simulate VoIP stream on SW1: SW1#conf t Enter configuration commands.255.8 source 10. Sending 20.1. timeout is 2 seconds: Packet sent with a source address of 10.CCIE Service Provider Lab Workbook Volume I Version 1. End with CNTL/Z.7.255.8 dest-port 20000 source-ipaddr 10.0 no auto-summary SW2# ip routing ! interface Loopback0 ip address 10.0.8. 100-byte ICMP Echos to 10.8.1.266 - www.8.INE.8 255.7 repeat 20 Type escape sequence to abort. one per line.1.48.1. round-trip min/avg/max = 88/91/92 ms R4#sh policy-map int e0/1 out Ethernet0/1 Service-policy output: TO_CE Class-map: QOS_GROUP_5 (match-all) 10 packets.8 255.7.7.1.0. drop rate 0 bps Match: qos-group 5 Queueing Strict Priority Copyright © 2010 Internetwork Expert .0.7 !!!!!!!!!!!!!!!!!!!! Success rate is 100 percent (20/20).0 ! interface FastEthernet0/4 no switchport ip address 10.0 ! router rip version 2 network 10. com .1. 100-byte ICMP Echos to 10.7.8 !!!!!!!!!!!!!!! Success rate is 100 percent (15/15).1.7 dest-port 20000 source-ipaddr 10. 2280 bytes 5 minute offered rate 0 bps.8.7.1.CCIE Service Provider Lab Workbook Volume I Version 1. 716 bytes 5 minute offered rate 0 bps.8.1. SW2(config)#rtr 1 SW2(config-rtr)# type udpEcho dest-ipaddr 10. one per line. timeout is 2 seconds: Packet sent with a source address of 10.1.8 control disable SW2(config-rtr-udp)# tos 184 SW2(config-rtr-udp)# timeout 0 SW2(config-rtr-udp)# frequency 1 SW2(config-rtr-udp)#rtr schedule 1 life 5 start-time now SW2(config)#end SW2# Generate ICMP traffic to simulate other traffic on SW2: SW2#ping 10.0 Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: QOS_GROUP_1 (match-all) 20 packets. round-trip min/avg/max = 92/92/92 ms Copyright © 2010 Internetwork Expert . End with CNTL/Z. drop rate 0 bps Match: qos-group 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 20/2280 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Class-map: class-default (match-any) 7 packets. Sending 15.7 source 10.1.7.8 repeat 15 Type escape sequence to abort.7.INE.267 - www.8. drop rate 0 bps Match: any Generate UDP traffic to simulate VoIP stream on SW2: SW2#conf t Enter configuration commands. 290 bytes 5 minute offered rate 0 bps. 1710 bytes 5 minute offered rate 0 bps. drop rate 0 bps Match: any R1#show policy-map interface FastEthernet0/0 Service-policy output: TO_P Class-map: MPLS_EXP_5 (match-all) 10 packets. drop rate 0 bps Match: qos-group 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 15/1710 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Class-map: class-default (match-any) 15 packets. drop rate 0 bps Match: qos-group 5 Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: QOS_GROUP_1 (match-all) 15 packets. 1518 bytes 5 minute offered rate 0 bps.CCIE Service Provider Lab Workbook Volume I Version 1. 660 bytes 5 minute offered rate 0 bps.com .INE. drop rate 0 bps Match: mpls experimental topmost 5 Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) Copyright © 2010 Internetwork Expert .0 R3#show policy-map int e0/0 out Ethernet0/0 Service-policy output: TO_CE Class-map: QOS_GROUP_5 (match-all) 5 packets.268 - www. 260 bytes 5 minute offered rate 0 bps.0 (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: MPLS_EXP_1 (match-all) 40 packets. 38615 bytes 5 minute offered rate 0 bps.com . 4660 bytes 5 minute offered rate 0 bps.INE. drop rate 0 bps Match: mpls experimental topmost 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 Copyright © 2010 Internetwork Expert .269 - www. drop rate 0 bps Match: mpls experimental topmost 5 Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: MPLS_EXP_1 (match-all) 15 packets. drop rate 0 bps Match: any Serial0/1 Service-policy output: TO_PE Class-map: MPLS_EXP_5 (match-all) 5 packets.CCIE Service Provider Lab Workbook Volume I Version 1. drop rate 0 bps Match: mpls experimental topmost 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 0/0 40/4660 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Class-map: class-default (match-any) 489 packets. 1620 bytes 5 minute offered rate 0 bps. 1830 bytes 5 minute offered rate 0 bps.270 - www. drop rate 0 bps Match: any R2#show policy-map interface FastEthernet0/0 Service-policy output: TO_P Class-map: MPLS_EXP_5 (match-all) 5 packets. 43019 bytes 5 minute offered rate 0 bps.INE.com . drop rate 0 bps Match: mpls experimental topmost 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 0/0 15/1830 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Class-map: class-default (match-any) 537 packets. drop rate 0 bps Match: any Serial0/0 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 0/0 15/1620 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Version 1.0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Class-map: class-default (match-any) 529 packets. drop rate 0 bps Match: mpls experimental topmost 5 Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: MPLS_EXP_1 (match-all) 15 packets. 34080 bytes 5 minute offered rate 0 bps. 330 bytes 5 minute offered rate 0 bps. INE. drop rate 0 bps Match: mpls experimental topmost 5 Queueing Strict Priority Output Queue: Conversation 264 Bandwidth 640 (kbps) Burst 16000 (Bytes) (pkts matched/bytes matched) 0/0 (total drops/bytes drops) 0/0 Class-map: MPLS_EXP_1 (match-all) 40 packets.com . drop rate 0 bps Match: mpls experimental topmost 1 Queueing Output Queue: Conversation 265 Bandwidth 1000 (kbps) (pkts matched/bytes matched) 0/0 (depth/total drops/no-buffer drops) 0/0/0 exponential weight: 9 mean queue depth: 0 class 0 1 2 3 4 5 6 7 rsvp Transmitted pkts/bytes 0/0 40/4100 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Random drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Tail drop pkts/bytes 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 0/0 Minimum Maximum thresh thresh 20 40 22 40 24 40 26 40 28 40 30 40 32 40 34 40 36 40 Mark prob 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 1/10 Class-map: class-default (match-any) 872 packets.CCIE Service Provider Lab Workbook Volume I Version 1. drop rate 0 bps Match: any Copyright © 2010 Internetwork Expert . 4100 bytes 5 minute offered rate 0 bps. 520 bytes 5 minute offered rate 0 bps.0 Service-policy output: TO_PE Class-map: MPLS_EXP_5 (match-all) 10 packets.271 - www. 57752 bytes 5 minute offered rate 0 bps. 0/24 R4 S0/0.6 G0/1 RIPv2 Fa0/6 SW2 10.5 150.0/24 VLAN 24 150.1.2 E0/0 .1.1 102 201 .3 S1/2 S0/1 150.13.1 S0/0.1. Fa0/3 RIPv2 E0/0 R3 10.0/24 .INE.272 - www.com .12.1 Frame Relay .1.0/24 .1.3 .5 S0/0.1.8 Copyright © 2010 Internetwork Expert .4 150.1 R5 E0/0 .68.0/24 .45.24.CCIE Service Provider Lab Workbook Volume I Version 1.0 Multicast over MPLS VPNs Objective: Configure multicast support for VRF “SW1-SW2” between R3 and R6 so multicast traffic sent from SW1 can be received by SW2.56.1.0/24 R1 Frame Relay .4 405 504 .37.2 S0/0.0/24 VLAN 56 G0/0 .6 R6 BGP AS 100 .1 150.7 BGP AS 100 SW1 .1 IS-IS Level 2 R2 Fa0/0 . 0 ip router isis ip pim sparse-mode tag-switching ip Copyright © 2010 Internetwork Expert .8/24 on SW2 and advertise it into RIPv2 R3 and R6 should peer via iBGP in AS 1 using their Loopback interfaces SW1 and SW2 should be in VRF “SW1-SW2” Use the route distinguisher and route target 100:1 for this VRF Run RIPv2 as the PE-CE protocol between R3 & SW1 and R6 & SW2 Redistribute where necessary to gain connectivity within the VPNs Enable multicast routing on all devices. R5. R3. R2. R4. and R6 Configure RIPv2 on the Ethernet interfaces of SW1 and SW2 Create the Loopback 10. R3.1.7/24 on SW1 and advertise it into RIPv2 Create the Loopback 10. R3.0. R2.273 - www.7.1.0.255 ip router isis ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.255.1 255.INE. R4.1 Configure PIM Sparse-Mode between R3 & SW1 and R6 & SW2 SW1 should be the RP for this multicast domain Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip cef ip multicast-routing mpls label protocol ldp ! interface Loopback0 ip address 150. R4. R2. and R6 in the format 150.1 255. R5.CCIE Service Provider Lab Workbook Volume I Version 1.1.255.0 Directions • • • • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure IS-IS Level-2 on the interfaces between R1.1. including for VRF “SW1-SW2” on R3 and R6 Configure PIM Sparse-Mode on the transit interfaces between R1. R5.1.8.255.1 point-to-point ip address 150.com . and R6 Create Loopbacks on R1. R4.1. R2.0.255.Y/Y/32 and advertise them into IS-IS Configure MPLS on the interfaces between R1. R5. and R6 Configure PIM Sparse-Mode on the Loopback interfaces of R3 and R6 Enable support for Source Specific Multicast on these devices in the 232.12.0/8 range Configure a default multicast distribution tree on R3 and R6 for VRF “SW1-SW2” using the group address 232. R3. 255.0000.255 ip router isis ! interface FastEthernet0/0 ip address 150.0 ip router isis ip pim sparse-mode tag-switching ip ! router isis net 00.com .0001.1 point-to-point ip address 150.00 is-type level-2-only ! ip pim ssm default R2# ip cef ip multicast-routing mpls label protocol ldp ! interface Loopback0 ip address 150.255.255.255.0000.0000.13.12.1.0 ip router isis ip pim sparse-mode tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0002.2 255.1.2.1.24.00 is-type level-2-only ! ip pim ssm default R3# ip cef ip multicast-routing ! ip multicast-routing ip multicast-routing vrf SW1-SW2 ! ip vrf SW1-SW2 rd 100:1 route-target export 100:1 route-target import 100:1 mdt default 232.CCIE Service Provider Lab Workbook Volume I Version 1.0000.0.255.0 ip router isis ip pim sparse-mode tag-switching ip frame-relay interface-dlci 201 ! router isis net 00.INE.0 frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.1.2 255.274 - www.255.255.1 Copyright © 2010 Internetwork Expert .1 255.2 255.0. 13.0 ip router isis ip pim sparse-mode tag-switching ip clockrate 64000 ! router isis net 00.255.4 255.255.255.0.255.1.3 255.INE.6.7 R4# ip cef ip multicast-routing mpls label protocol ldp ! interface Loopback0 ip address 150.255.4.6.1.6 send-community extended exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! ip pim ssm default ip pim vrf SW1-SW2 rp-address 10.6 activate neighbor 150.255.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.275 - www.com .CCIE Service Provider Lab Workbook Volume I Version 1.1.3 255.37.1.1.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.1.0 ! mpls label protocol ldp ! interface Loopback0 ip address 150.6.1.00 is-type level-2-only ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 100 metric 1 network 10.255 ip router isis ip pim sparse-mode ! interface Ethernet0/0 ip vrf forwarding SW1-SW2 ip address 10.0000.6 update-source Loopback0 ! address-family vpnv4 neighbor 150.3 255.1.255 ip router isis Copyright © 2010 Internetwork Expert .6 remote-as 100 neighbor 150.255.1.0003.0000.3.0.37.255.6. 45.255.1 point-to-point ip address 150.5 255.255.255.255.1.0005.0000.255.255.00 is-type level-2-only ! ip pim ssm default R5# ip cef ip multicast-routing mpls label protocol ldp ! interface Loopback0 ip address 150.0 ip router isis ip pim sparse-mode tag-switching ip frame-relay interface-dlci 405 ! router isis net 00.0004.255 ip router isis ! interface Ethernet0/0 ip address 150.255.4 255.0000.276 - www.1 point-to-point ip address 150.0 ip router isis ip pim sparse-mode tag-switching ip frame-relay interface-dlci 504 ! router isis net 00.1.45.5.INE.255.24.1.5 255.0000.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 ! interface Ethernet0/0 ip address 150.com .255.5 255.1.0 ip router isis ip pim sparse-mode tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0000.255.0 ip router isis ip pim sparse-mode tag-switching ip ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.4 255.00 is-type level-2-only ! ip pim ssm default Copyright © 2010 Internetwork Expert .56. 1.0000.1.0.3.6.0 R6# ip cef ! ip multicast-routing ip multicast-routing vrf SW1-SW2 ! ip vrf SW1-SW2 rd 100:1 route-target export 100:1 route-target import 100:1 mdt default 232.255.0 no auto-summary version 2 exit-address-family ! router bgp 100 neighbor 150.CCIE Service Provider Lab Workbook Volume I Version 1.1 ! mpls label protocol ldp ! interface Loopback0 ip address 150.3.1.00 is-type level-2-only ! router rip ! address-family ipv4 vrf SW1-SW2 redistribute bgp 100 metric 1 network 10.3 send-community extended exit-address-family ! address-family ipv4 vrf SW1-SW2 redistribute rip exit-address-family ! Copyright © 2010 Internetwork Expert .0006.com .255.1.255.1.3 update-source Loopback0 ! address-family vpnv4 neighbor 150.6 255.0000.0 ip router isis ip pim sparse-mode mpls ip ! interface GigabitEthernet0/1 ip vrf forwarding SW1-SW2 ip address 10.255.3 remote-as 100 neighbor 150.1.3.0 ip pim sparse-mode ! router isis net 00.255 ip router isis ip pim sparse-mode ! interface GigabitEthernet0/0 ip address 150.3.56.6 255.277 - www.0.INE.3 activate neighbor 150.6 255.0.68.1.255.0.255. 8 255.0 no auto-summary ! ip pim rp-address 10.INE.255.0.37.CCIE Service Provider Lab Workbook Volume I Version 1.1.com .68.37.7 SW2# ip routing ip multicast-routing ! interface Loopback0 ip address 10.1.255.1.7 Copyright © 2010 Internetwork Expert .0 ip pim ssm default ip pim vrf SW1-SW2 rp-address 10.0 no auto-summary ! ip pim rp-address 10.0 ip pim sparse-mode ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router rip version 2 network 10.7 SW1# ip routing ip multicast-routing ! interface Loopback0 ip address 10.8.1.0 ip ospf network point-to-point ! interface FastEthernet0/6 no switchport ip address 10.0.255.1.0 ip pim sparse-mode ! router rip version 2 network 10.255.37.1.7.255.7 255.1.7 255.0.8 255.0.37.255.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.255.278 - www.255. 5 Outgoing interface list: MVRF SW1-SW2.0.Assert winner Timers: Uptime/Expires Interface state: Interface.Proxy Join Timer Running.Pruned. z .1 Serial1/2 Uptime/Expires Ver DR Prio/Mode 1 / S 04:36:04/00:01:22 v2 R3#show ip pim vrf SW1-SW2 neighbor PIM Neighbor Table Neighbor Interface Address 10.7 Ethernet0/0 150.0.1. Y .0.RP-bit set.1. P . RPF nbr 150. Forward/Sparse.0.URD.1.40). 04:33:56/00:02:27 Copyright © 2010 Internetwork Expert .Candidate for MSDP Advertisement.0.5 GigabitEthernet0/0 04:36:57/00:01:33 v2 1 / S R6#show ip pim vrf SW1-SW2 neighbor PIM Neighbor Table Mode: B . Next-Hop or VCD. L . RP 0.Hardware switched. B . I . S .3.3.MSDP created entry. s .0. 232.SPT-bit set. N . N . DR .1. flags: sTIZ Incoming interface: GigabitEthernet0/0.1.Bidir Capable.Joined MDT-data group.com . Forward/Sparse.0 Outgoing interface list: GigabitEthernet0/0.0 Verification R3#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.37.3. 232.56.279 - www. flags: sT Incoming interface: Loopback0.Default DR Priority. 00:01:45/00:01:14 (150.MDT-data group sender. T .Local. A . M . 00:01:45/00:02:42 (*. DR .0.1.Designated Router.0. RPF nbr 0. flags: DCL Incoming interface: Null.Received Source Specific Host Report. RPF nbr 0.State Refresh Capable Neighbor Interface Uptime/Expires Ver DR Address Prio/Mode 150. State/Mode (150.Bidir Group.1).0. 00:01:45/00:02:53.Sparse. Forward/Sparse.CCIE Service Provider Lab Workbook Volume I Version 1.1.INE.13.68.Bidir Capable.Connected.1. S .Default S .8 GigabitEthernet0/1 04:38:17/00:01:25 150. 224. U .6.Sending to MDT-data group Outgoing interface flags: H . 04:35:46/00:03:23. Z . A .1.Dense.6. y .56. X .3 Tunnel0 00:04:58/00:01:40 DR Priority.1). 04:35:49/00:02:57. J .1.0. F . R .SSM Group.Join SPT.State Refresh Capable Neighbor Interface Uptime/Expires Address 10.Register flag.6 Tunnel0 Uptime/Expires Ver DR Prio/Mode 1 / DR S 1 / DR S 04:36:13/00:01:22 v2 00:04:00/00:01:40 v2 R6#show ip pim neighbor PIM Neighbor Table Mode: B .Designated Router.0. Ver DR Prio/Mode 1 / DR S 1 / S v2 v2 R6#show ip mroute IP Multicast Routing Table Flags: D .6.0 Outgoing interface list: GigabitEthernet0/0. C .Multicast Tunnel.0. len=124(124).3 to (*. to us PIM(0): Join-list: (*. prot=1. 224.1.1: R3#debug ip mpacket IP multicast packets debugging is on R3#conf t Enter configuration commands. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#do debug ip mpacket IP multicast packets debugging is on IP(1): s=10.7 (Ethernet0/0) d=224.1.1. len=100(100).8. Forward state.1. ttl=255.3 (Loopback0) d=232.1. 160 ms Reply to request 2 from 10.1 End with CNTL/Z.1.1.1: SW1#ping 224.1. ttl=253.1 (GigabitEthernet0/1) id=76.1) entry PIM(0): Add FastEthernet0/3/10.37.7 (Tunnel0) d=224. End with CNTL/Z.0.1.1.8.8. WC-bit set.68.0.1.INE.280 - www.37.1) RPT-bit set Reply to request 0 from 10.1.37. ttl=254. mforward R6 decapsulates tunneled mpacket and forwards it to VRF SW1-SW2: R6#conf t Enter configuration commands. Sending 100. timeout is 2 seconds: PIM(0): Received v2 Join/Prune on FastEthernet0/3 from 10.1.1. 160 ms <output omitted> R3 recieves multicast feed via VRF SW1-SW2 and tunnels it as 232. one per line.1.37. 224.1. one per line.3. End with CNTL/Z. 04:35:49/00:02:57 SW1#debug ip pim PIM debugging is on SW2 requests traffic for 224.1 (Tunnel0) id=40.1: SW2#conf t Enter configuration commands.1. 176 ms Reply to request 1 from 10. to us PIM(0): Prune-list: (10.1. Forward/Sparse. one per line.1. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. len=100(100).1.1 repeat 100 Type escape sequence to abort.1.1. 224.1. by PIM *G Join PIM(0): Building Periodic Join/Prune message for 224.0.1 SW1 generates traffic to 224.1). prot=1. mforward IP(0): s=150.3.37.68.1. SW1# PIM(0): Received v2 Join/Prune on FastEthernet0/3 from 10.1. 100-byte ICMP Echos to 224.37.3.0.1.7/32.1.1. S-bit set PIM(0): Check RP 10. mforward Copyright © 2010 Internetwork Expert .1.1 (Serial1/2) id=912.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.1).1.1.37.7 into the (*. prot=47.0 Loopback0.1. 224. R3(config)#int e0/0 R3(config-if)#no ip mroute-cache IP(1): s=10.68.1. RPT-bit set.com . 0 www.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .281 - Version 1.INE.com . 46.1.1 Frame Relay 301 OSPF Area 1 103 .com .1.35.0 L2 VPNs: AToM Objective: Configure L2 VPN between R1 and R2 so that R4 and R6 can reach each other as if they were directly connected.0/24 F1/0 S2/0.3 E0/1 R3 .6 E0/1 Copyright © 2010 Internetwork Expert . E0/0 OSPF Area 2 F1/0 150.1 Frame Relay .5 502 R2 .1.0/24 S2/0.2 10.1 R5 E0/0 .4 R4 205 S0/0.46.25.0/24 VLAN16 OSPF Area 0 .1.0/24 VLAN 35 .1 150.INE.3 S0/0.1.13.282 - R6 www.5 150.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 VLAN 24 .1 R1 10. R3.255.1 point-to-point frame-relay interface-dlci 103 ip address 150.1. Ensure R4 and R6 can ping each other successfully.1.com .0.0 area 1 R2# hostname R2 ! interface Loopback 0 ip address 150.2 255.2. and R5 in the format 150.1 406 encapsulation mpls Copyright © 2010 Internetwork Expert .255.1 255.0.1.0 0.255.255.INE. R2.1.0.255 ! mpls ip mpls label protocol ldp ! interface FastEthernet 1/0 no shut no ip address xconnect 150.255.283 - www.1.1. R3.1. Final Configuration R1# hostname R1 ! interface Loopback 0 ip address 150. R5 Configure AToM connection linking R1’s and R2’s connections to VLAN 16 and VLAN 24 respectively.255.0 mpls ip ! router ospf 1 network 0.2.1 255. Create Loopbacks on R1. R2.13.0.Y/Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.2 406 encapsulation mpls ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.0 Directions • • • • • • Build the logical topology per the diagram Configure OSPF in the network per the diagram supplied.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! mpls ip mpls label protocol ldp ! interface FastEthernet 1/0 no shut no ip address xconnect 150.1. 255 ! interface Ethernet 0/1 no shutdown ip address 150.0 0.255.255.0 area 0 network 150.255.25.2 255.0 area 1 network 150.1.255.3 255.0.35.3 0.255.255.0 mpls ip ! router ospf 1 network 150.0.3.0 area 2 R3# hostname R3 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.INE.0.0.CCIE Service Provider Lab Workbook Volume I Version 1.4 255.0.255.1.35.3 0.1 point-to-point frame-relay interface-dlci 301 ip address 150.1.0 ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.0.255.0.3 255.0.1.13.3 255.com .1.255.0 ! no ip routing R5# hostname R5 mpls label protocol ldp ! mpls ip Copyright © 2010 Internetwork Expert .1.0.1.0 mpls ip ! interface Serial 1/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 1/0.0 area 1 R4# hostname R4 ! interface Ethernet 0/0 no shutdown ip address 10.284 - www.3 0.0.1.3.13.0 mpls ip ! router ospf 1 network 0.255.46.1 point-to-point frame-relay interface-dlci 205 ip address 150. 1.INE.5 255.285 - www.25.16 ! interface FastEthernet 0/1 switchport host switchport access vlan 16 ! interface FastEthernet 0/2 switchport host switchport access vlan 24 ! interface FastEthernet 0/4 switchport host switchport access vlan 24 ! interface FastEthernet 0/5 switchport host switchport access vlan 35 Copyright © 2010 Internetwork Expert .5.5 0.25.255.35.0 ! no ip routing R7# hostname R7 ! vtp mode transparent vlan 24.0.0 area 0 network 150.1.0.1.255.255 ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.0 area 2 R6# hostname R6 ! interface Ethernet 0/1 no shutdown ip address 10.0 area 2 network 150.0.255.1.35.com .1 point-to-point frame-relay interface-dlci 502 ip address 150.35.1.0 mpls ip ! interface Ethernet 0/0 no shutdown ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1.46.0 mpls ip ! router ospf 1 network 150.5.6 255.1.0 ! interface Loopback 0 ip address 150.5 0.5 255.5 255.255.0.255.5 0.0.0.1.255.255.255. 1 R1#traceroute 150.INE.35.2 1 150.1.1/32 0 point2point Copyright © 2010 Internetwork Expert .2.2/32 0 point2point Outgoing Next interface Se2/0.com .1.1.1.13.2.2.3 [MPLS: Label 17 Exp 0] 152 msec 152 msec 148 msec 2 150.1.1.25.1 www.2 56 msec * 56 msec R2#show mpls forwarding-table 150.2. Tracing the route to 150.1.16 ! interface FastEthernet 0/3 switchport host switchport access vlan 35 ! interface FastEthernet 0/6 switchport host switchport access vlan 16 Verification Check for end-to-end LSPs between R1 and R2: R1#show mpls forwarding-table 150.5 [MPLS: Label 18 Exp 0] 152 msec 152 msec 152 msec 3 150.1.2 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 19 17 150.CCIE Service Provider Lab Workbook Volume I Version 1.0 R8# hostname R8 ! vtp mode transparent vlan 24.35.1.1 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 18 20 150.286 - Outgoing Next interface Se2/0.1.1.2 Type escape sequence to abort. 2.CCIE Service Provider Lab Workbook Volume I Version 1. Tracing the route to 150.1.1. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).1 1 150.1 60 msec * 56 msec Check the VC status. next hop point2point Create time: 00:13:38.46. remote 21 Group ID: local 0. Sending 5. Ethernet up Destination address: 150. You should see a label stack generated for this connection.287 - www. The interface type.1. and VC ID should match on both sides.2.1. remote 1500 Remote interface description: Sequencing: receive disabled.1. send disabled VC statistics: packet totals: receive 105.6 Type escape sequence to abort.6.3 [MPLS: Label 20 Exp 0] 152 msec 148 msec 156 msec 3 150.1.25. 100-byte ICMP Echos to 10. last status change time: 00:13:32 Signaling protocol: LDP.13. imposed label stack {21 17} Preferred path: not configured Default path: active Tunnel label: 17.com .1.INE. MTU size. round-trip min/avg/max = 140/143/148 ms Copyright © 2010 Internetwork Expert .1. send 507 byte totals: receive 10604.2.1.1. remote 0 MTU: local 1500.2:0 up MPLS VC labels: local 24.5 [MPLS: Label 20 Exp 0] 148 msec 152 msec 152 msec 2 150. R1#show mpls l2transport vc detail Local interface: Fa1/0 up.0 R2#traceroute 150.35. line protocol up. send 0 Verify connectivity: R4#ping 10.1. VC ID: 406. peer 150.46.1 Type escape sequence to abort.1. VC status: up Output interface: Se2/0. send 42799 packet drops: receive 0. 0/24 VLAN 35 E0/1 R3 .0 L2 VPNs: Inter-AS AToM Objective: Configure L2 VPN between R1 and R2 that below to different AS’s so that R4 and R6 can reach each other as if they were directly connected.13.6 E0/1 Copyright © 2010 Internetwork Expert .1.0/24 VLAN16 BGP AS 100 .5 BGP AS 200 R2 .0/24 F1/0 S2/0.46.5 150.4 R4 205 S0/0.288 - R6 www.1.CCIE Service Provider Lab Workbook Volume I Version 1.1 150.1.1.3 .1 Frame Relay 502 .1.1 R1 10.1 R5 E0/0 .0/24 VLAN 24 .35.0/24 S2/0. E0/0 OSPF Area 2 F1/0 150.2 10.46.25.3 S0/0.1 Frame Relay 301 OSPF Area 1 103 .INE.com . Create Loopbacks on R1.0 0.1 255.2.255. Redistribute BGP into OSPF on R3 and R5.255 ! Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1. Final Configuration R1# hostname R1 ! interface Loopback 0 ip address 150. R2.1 255.2 255. R3. Configure AToM connection linking R1’s and R2’s connections to VLAN 16 and VLAN 24 respectively.255 ! mpls ip mpls label protocol ldp ! interface FastEthernet 1/0 no shut no ip address xconnect 150. Peer R3 and R5 over the directly connected link.Y/Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.255.1 point-to-point frame-relay interface-dlci 103 ip address 150.0 Directions • • • • • • • • • Build the logical topology per the diagram Configure OSPF in the network per the diagram supplied. Do not enable MPLS on the interface connecting R3 and R5. R3.1.0 area 1 R2# hostname R2 ! interface Loopback 0 ip address 150.com .0.0.255. and R5. R2.1.1. Configure BGP AS 100 on R3 and BGP AS 200 on R5.0.2 406 encapsulation mpls ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.1. Enable MPLS label exchange between R3 and R5 over BGP and advertise R1’s and R2’s Loopback0 prefixes into BGP. Ensure R4 and R6 can ping each other successfully.13.289 - www.0.0 mpls ip ! router ospf 1 network 0. and R5 in the format 150.2.255.1.255.255.INE.1. 35.255.3.3 255.0 ! interface Serial 1/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 1/0.255.255.0 mpls ip ! router ospf 1 network 0.1.0.255 ! router ospf 1 network 150.25.com .1.35.2 255.5 remote-as 200 neighbor 150.255.290 - www.1.0 0.1.0.35.1 point-to-point frame-relay interface-dlci 205 ip address 150.3 255.255.255.1 mask 255.3 0.255 ! interface Ethernet 0/1 no shutdown ip address 150.255.0 area 1 redistribute bgp 100 subnets ! Copyright © 2010 Internetwork Expert .13.5 send-label network 150.1.0 area 1 network 150.1.3 255.0 mpls ip ! router bgp 100 neighbor 150.3 0.0 area 2 R3# hostname R3 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.13.0.1.1 406 encapsulation mpls ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.0.1.1 point-to-point frame-relay interface-dlci 301 ip address 150.0.255.255.1.0.3.1.1.0.INE.1.0 mpls ip mpls label protocol ldp ! interface FastEthernet 1/0 no shut no ip address xconnect 150. 5.0 mpls ip ! interface Ethernet 0/0 no shutdown ip address 150.25.0 R4# hostname R4 ! interface Ethernet 0/0 no shutdown ip address 10.35.35.255.INE.1.5.0.0 ! router bgp 200 neighbor 150.255.255.255.255.com .2 mask 255.1.1.0.1.255.0.255.0 R7# hostname R7 ! vtp mode transparent vlan 24.1 point-to-point frame-relay interface-dlci 502 ip address 150.0.6 255.255 ! router ospf 1 network 150.5 0.5 0.16 ! interface FastEthernet 0/1 Copyright © 2010 Internetwork Expert .46.0 ! no ip routing R5# hostname R5 mpls label protocol ldp ! mpls ip ! interface Loopback 0 ip address 150.2.255.1.46.35.1.4 255.0 area 2 network 150.255.35.CCIE Service Provider Lab Workbook Volume I Version 1.291 - www.5 255.3 remote-as 100 neighbor 150.5 255.1.3 send-label network 150.25.1.255.5 255.255.1.0 area 2 redistribute bgp 200 subnets R6# hostname R6 ! interface Ethernet 0/1 no shutdown ip address 10.255.255 ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.1. 1.2/32 150.35.16 ! interface FastEthernet 0/3 switchport host switchport access vlan 35 ! interface FastEthernet 0/6 switchport host switchport access vlan 16 Verification Check for end-to-end LSPs between R1 and R2: R3#show ip bgp labels Network Next Hop 150.1.25.1 www.2.2.CCIE Service Provider Lab Workbook Volume I Version 1.13.35.35.1.2.1/32 150.INE.1.1.1.com .2/32 0 point2point Copyright © 2010 Internetwork Expert .5 In Label/Out Label 20/nolabel 19/18 R5#show ip bgp labels Network Next Hop 150.1/32 150.1.2/32 150.0 switchport host switchport access vlan 16 ! interface FastEthernet 0/2 switchport host switchport access vlan 24 ! interface FastEthernet 0/4 switchport host switchport access vlan 24 ! interface FastEthernet 0/5 switchport host switchport access vlan 35 R8# hostname R8 ! vtp mode transparent vlan 24.3 150.1.2 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 19 19 150.2 In Label/Out Label 17/20 18/nolabel R1#show mpls forwarding-table 150.1 150.292 - Outgoing Next interface Se2/0.2.1.1.1.1. line protocol up. The interface type.1.1.1 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 18 17 150.2.1. MTU size.35.25.2:0 up MPLS VC labels: local 24.13.1.1/32 0 point2point Outgoing Next interface Se2/0.1 Numeric display [n]: Timeout in seconds [3]: Probe count [3]: Minimum Time to Live [1]: Maximum Time to Live [30]: Port Number [33434]: Loose.1.1.1.1.2.2. send 428 byte totals: receive 34913. imposed label stack {21 19} Preferred path: not configured Default path: active Tunnel label: 19. send 35944 packet drops: receive 0. You should see a label stack generated for this connection. Strict. and VC ID should match on both sides.293 - www.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.INE.1. send disabled VC statistics: packet totals: receive 340. remote 21 Group ID: local 0.2 1 150.1.3 [MPLS: Label 19 Exp 0] 148 msec 152 msec 152 msec 2 150.com . Verbose[none]: Type escape sequence to abort.0 R2#show mpls forwarding-table 150. next hop point2point Create time: 00:48:57. VC status: up Output interface: Se2/0. send 0 Copyright © 2010 Internetwork Expert .1 R1#traceroute Protocol [ip]: Target IP address: 150. VC ID: 406. Timestamp. peer 150. remote 0 MTU: local 1500.2 Source address: 150.5 [MPLS: Label 18 Exp 0] 148 msec 148 msec 152 msec 3 150. remote 1500 Remote interface description: Sequencing: receive disabled. last status change time: 00:11:36 Signaling protocol: LDP. Tracing the route to 150.2 60 msec * 56 msec Check the VC status. R1#show mpls l2transport vc detail Local interface: Fa1/0 up.1.2.2. Ethernet up Destination address: 150. Record. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).CCIE Service Provider Lab Workbook Volume I Version 1. round-trip min/avg/max = 140/143/148 ms Copyright © 2010 Internetwork Expert .com .0 Verify connectivity: R4#ping 10. 100-byte ICMP Echos to 10.6 Type escape sequence to abort.INE.46.294 - www.46.1. Sending 5.1.6. com .INE.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .295 - Version 1.0 www. 3 S1/3 203 203 Frame Relay S2/1 OSPF Area 2 150.0 L2 VPNs: IP Interworking Objective: Configure L2 VPN between R1 and R2 so that R4 and R6 can reach each other as if they were directly connected.4 S0/0.1 R5 E0/0 .5 502 R2 .INE.CCIE Service Provider Lab Workbook Volume I Version 1.14.25.1 150.1 Frame Relay .1 R1 10.36.1.0/24 F1/0 S2/0.1.0/24 .2 205 S0/0.36.0/24 VLAN 45 .0/24 VLAN16 OSPF Area 0 .5 150.1 Frame Relay 401 OSPF Area 1 104 .1.45.0/24 S2/0. R4 and R6 should use different L2 connection technologies.4 E0/1 R4 .296 - R6 www.1.com .6 E0/1 Copyright © 2010 Internetwork Expert . R3 10.1. 1.0.1 point-to-point frame-relay interface-dlci 104 ip address 150.1.297 - www.255.0 Directions • • • • • • • Build the logical topology per the diagram Configure a back-to-back Frame-Relay connection between R2 and R3 using FR switching in R2 and the DLCI value of 203 Configure OSPF in the network per the diagram supplied.com .0. and R5 in the format 150.14. R4.2 406 encapsulation mpls pw-class IP_INTERWORKING ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.2. Final Configuration R1# hostname R1 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150. R2.0 0.Y/Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.1.255 ! pseudowire-class IP_INTERWORKING encapsulation mpls interworking ip ! interface FastEthernet 1/0 no shut no ip address xconnect 150. R4.1. Create Loopbacks on R1.255.255.1 255.CCIE Service Provider Lab Workbook Volume I Version 1.1 255.0.0. and R5 Configure AToM connection linking R3 and R6 allowing for IP-based interworking Ensure R3 and R6 can ping each other successfully.0 mpls ip ! router ospf 1 network 0.INE.0 area 1 R2# hostname R2 ! mpls ip mpls label protocol ldp ! interface Loopback 0 Copyright © 2010 Internetwork Expert .1. R2.255. 1 406 encapsulation mpls pw-class IP_INTERWORKING R3# hostname R3 ! interface Serial 1/3 no shutdown encapsulation frame-relay no frame-relay inverse-arp clock rate 64000 ! interface Serial 1/3.255 Copyright © 2010 Internetwork Expert .0 R4# hostname R4 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.4 255.0.255 ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.1 point-to-point frame-relay interface-dlci 203 ip address 10.CCIE Service Provider Lab Workbook Volume I Version 1.255.1 point-to-point frame-relay interface-dlci 205 ip address 150.1.0.3 255.255.0 0.0 ip address 150.0 area 2 ! pseudowire-class IP_INTERWORKING encapsulation mpls interworking ip ! connect R4_TO_R6 Serial2/1 203 l2transport xconnect 150.1.1.0.2.4.INE.0.1.255.1.2 255.0 mpls ip ! pseudowire-class IP_INTERWORKING encapsulation mpls interworking ip ! frame-relay switching ! interface Serial 2/1 no shutdown encapsulation frame-relay no frame-relay inverse-arp frame-relay intf-type dce frame-relay interface-dlci 203 switched no ip address ! router ospf 1 network 0.2 255.36.255.1.25.255.255.255.com .298 - www.255. 255.5 0.4 0.4 0.4 0.1.255.5 255.1 point-to-point frame-relay interface-dlci 401 ip address 150.45.0.0 mpls ip ! router ospf 1 network 150.0 ! interface Ethernet 0/1 no shutdown ip address 150.1.0.255.5 0.5.0.45.1.0.255.0.5 255.255.255 ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.5 0.1.5 255.4.0.255.299 - www.1.1.0 mpls ip ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.1.0.1.255.0 area 2 network 150.INE.1.255.0 mpls ip ! interface Ethernet 0/0 no shutdown ip address 150.14.0.255.6 255.25.0 mpls ip ! router ospf 1 network 150.1.0 ! Copyright © 2010 Internetwork Expert .255.0.4 255.5.0.36.0 area 1 network 150.0 area 0 network 150.com .4 255.0 area 0 network 150.0.45.0 area 1 R5# hostname R5 ! mpls label protocol ldp mpls ip ! interface Loopback 0 ip address 150.14.255.0 area 2 R6# hostname R6 ! interface Ethernet 0/1 no shutdown ip address 10.255.1.1 point-to-point frame-relay interface-dlci 502 ip address 150.25.1.0.CCIE Service Provider Lab Workbook Volume I Version 1.45. 300 - www.16 ! interface FastEthernet 0/4 switchport host switchport access vlan 45 ! interface FastEthernet 0/6 switchport host switchport access vlan 16 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1.16 ! interface FastEthernet 0/1 switchport host switchport access vlan 16 ! interface FastEthernet 0/5 switchport host switchport access vlan 45 R8# hostname R8 ! vtp mode transparent vlan 45.0 no ip routing R7# hostname R7 ! vtp mode transparent vlan 45.com .INE. R3 should learn the DLCI vi LMI. The MTU size. Tracing the route to 150.4 [MPLS: Label 19 Exp 0] 152 msec 148 msec 152 msec 2 150.1.2 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 20 19 150. INTERFACE = Serial1/3.1.1 Type escape sequence to abort.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.com .2. DLCI USAGE = LOCAL.2 60 msec * 56 msec R2#show mpls forwarding-table 150.1 1 150.1 56 msec * 56 msec Check the connection status between R2 and R3.1.1.5 [MPLS: Label 16 Exp 0] 148 msec 164 msec 152 msec 2 150.1.14.1. You should see a label stack generated for this connection.1. PVC STATUS = ACTIVE.1.45.1.25.25.1.2 Type escape sequence to abort.2 1 150. Tracing the route to 150.1 R1#traceroute 150.2/32 0 point2point Outgoing Next interface Se2/0.INE.45.1 R2#show frame-relay pvc | inc 203 DLCI = 203. interworking type and VC ID should match on both sides.1. DLCI USAGE = SWITCHED.1.301 - www.1. PVC STATUS = ACTIVE.2.2.1 R2#traceroute 150.1 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 17 16 150. INTERFACE = Serial2/1 Check the L2 VPN VC status.4 [MPLS: Label 16 Exp 0] 148 msec 152 msec 148 msec 3 150.1.1. Since this is an FR link.0 Verification Check for end-to-end LSPs between R1 and R2: R1#show mpls forwarding-table 150.1/32 0 point2point Outgoing Next interface Se2/0. R3#show frame-relay pvc | inc 203 DLCI = 203. Copyright © 2010 Internetwork Expert .5 [MPLS: Label 19 Exp 0] 148 msec 152 msec 148 msec 3 150.2.14. VC ID: 406. imposed label stack {21 16} Preferred path: not configured Default path: active Tunnel label: 16.CCIE Service Provider Lab Workbook Volume I Version 1.1. Sending 5.302 - www.1:0 up MPLS VC labels: local 21.36.1. remote 21 Group ID: local 0.1. 100-byte ICMP Echos to 10.6 Type escape sequence to abort. peer 150. send 0 Verify connectivity: R3#ping 10. send 0 byte totals: receive 0.1. round-trip min/avg/max = 156/156/156 ms Copyright © 2010 Internetwork Expert .0 R2#show mpls l2transport vc detaile Local interface: Se2/1 up. send disabled VC statistics: packet totals: receive 0. remote 1500 Remote interface description: Sequencing: receive disabled.INE.36.1.com . VC status: up Output interface: Se2/0. line protocol up.6.1.1. send 0 packet drops: receive 0. remote 0 MTU: local 1500. interworking type is IP Destination address: 150. last status change time: 00:09:02 Signaling protocol: LDP. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).1. next hop point2point Create time: 00:15:19. FR DLCI 203 up MPLS VC type is IP. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .com .0 www.303 - Version 1.INE. 25.14.0 L2 VPNs: Ethernet Interworking Objective: Configure L2 VPN between R1 and R2 so that R4 and R6 can reach each other as if they were directly connected.5 502 R2 .INE. R4 and R6 should use different L2 connection technologies.0/24 S2/0.3 BVI1 203 203 Frame Relay S2/1 OSPF Area 2 150.1 Frame Relay 401 OSPF Area 1 104 .6 E0/1 Copyright © 2010 Internetwork Expert .1 Frame Relay .2 205 S0/0.1.45.com .304 - R6 www.1.1.36.5 150.4 S0/0.1 R5 E0/0 .1 150.0/24 VLAN16 OSPF Area 0 . R3 10.1.1.36.CCIE Service Provider Lab Workbook Volume I Version 1.0/24 F1/0 S2/0.0/24 .0/24 VLAN 45 .4 E0/1 R4 .1 R1 10. 255.305 - www. Create Loopbacks on R1.0.255. R4.CCIE Service Provider Lab Workbook Volume I Version 1.0.INE. Configure OSPF in the network per the diagram supplied.Y/Y/32 and advertise them into OSPF Configure MPLS on the interfaces between R1.1 255.1.0 Directions • • • • • • • • Build the logical topology per the diagram Configure a back-to-back Frame-Relay connection between R2 and R3 using FR switching in R2 and the DLCI value of 203 Enable bridging over Frame-Relay on R3 and choose the Integrated Routing and Briding mode. Final Configuration R1# hostname R1 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.1 point-to-point frame-relay interface-dlci 104 ip address 150.0 0.0 mpls ip ! router ospf 1 network 0. R2.1. R2.255.1.0.1. R4.14.1 255. and R5 Configure AToM connection linking R3 and R6 allowing for Bridged interworking Ensure R3 and R6 can ping each other successfully.2 406 encapsulation mpls pw-class ETHERNET_INTERWORKING ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.255 ! pseudowire-class ETHERNET_INTERWORKING encapsulation mpls interworking ethernet ! interface FastEthernet 1/0 no shut no ip address xconnect 150. and R5 in the format 150.1.255.2.0. Create a BVI interface in R3 and assign the IP address per the diagram.com .0 area 1 Copyright © 2010 Internetwork Expert . 255.0 area 2 ! pseudowire-class ETHERNET_INTERWORKING encapsulation mpls interworking ethernet ! ! connect R4_TO_R6 Serial2/1 203 l2transport xconnect 150.255.0.2.1 point-to-point frame-relay interface-dlci 205 ip address 150.0.1.1.255 ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.INE.0 0.1.0.1 406 encapsulation mpls pw-class ETHERNET_INTERWORKING R3# hostname R3 ! interface Serial 1/3 no shutdown encapsulation frame-relay no frame-relay inverse-arp clock rate 64000 ! bridge irb bridge 1 protocol ieee Copyright © 2010 Internetwork Expert .0.255.2 255.CCIE Service Provider Lab Workbook Volume I Version 1.com .0 R2# hostname R2 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.0 mpls ip ! pseudowire-class IP_INTERWORKING encapsulation mpls interworking ip ! frame-relay switching ! interface Serial 2/1 no shutdown encapsulation frame-relay no frame-relay inverse-arp frame-relay intf-type dce frame-relay interface-dlci 203 switched no ip address ! router ospf 1 network 0.25.2 255.255.306 - www.1. 1 point-to-point frame-relay interface-dlci 203 no ip address bridge-group 1 ! interface BVI1 no shutdown ip address 10.4 0.0.4 255.1.255.255.14.255.255 ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.1.INE.1 point-to-point frame-relay interface-dlci 502 ip address 150.14.5 255.0 R4# hostname R4 ! mpls ip mpls label protocol ldp ! interface Loopback 0 ip address 150.0.CCIE Service Provider Lab Workbook Volume I Version 1.4 255.5 255.4.36.4 0.4 255.0 bridge 1 route ip ! interface Serial 1/3.1.255.0 Copyright © 2010 Internetwork Expert .45.1.0.1.255.255.4.1.255.0 mpls ip ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.255.0.25.1.5.4 0.1.1 point-to-point frame-relay interface-dlci 401 ip address 150.0 area 1 network 150.0 area 0 network 150.307 - www.255.3 255.0 mpls ip ! router ospf 1 network 150.com .0 area 1 R5# hostname R5 ! mpls label protocol ldp mpls ip ! interface Loopback 0 ip address 150.1.255.255.0.255.255 ! interface Ethernet 0/1 no shutdown ip address 150.0.45. 1.0 area 2 R6# hostname R6 ! interface Ethernet 0/1 no shutdown ip address 10.1.INE.0.0.0 mpls ip ! interface Ethernet 0/0 no shutdown ip address 150.0 area 0 network 150.6 255.5 255.45.25.255.0 area 2 network 150.255.45.308 - www.0.0.0 ! no ip routing R7# hostname R7 ! vtp mode transparent vlan 45.0 mpls ip ! router ospf 1 network 150.5 0.0.36.com .0.255.CCIE Service Provider Lab Workbook Volume I Version 1.5.16 ! interface FastEthernet 0/4 switchport host switchport access vlan 45 ! interface FastEthernet 0/6 switchport host switchport access vlan 16 Copyright © 2010 Internetwork Expert .1.5 0.255.16 ! interface FastEthernet 0/1 switchport host switchport access vlan 16 ! interface FastEthernet 0/5 switchport host switchport access vlan 45 R8# hostname R8 ! vtp mode transparent vlan 45.5 0.1.1. 1. Tracing the route to 150.2.14.1.1.14.2 Type escape sequence to abort.2.1. PVC STATUS = ACTIVE.1.1.2.1/32 0 point2point Outgoing Next interface Se2/0. DLCI USAGE = LOCAL.1 56 msec * 56 msec Check the connection status between R2 and R3.1 1 150. Since this is an FR link. PVC STATUS = ACTIVE.1. interworking type and VC ID should match on both sides.1.2 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 20 19 150.4 [MPLS: Label 16 Exp 0] 148 msec 152 msec 148 msec 3 150.com .1. Copyright © 2010 Internetwork Expert .1 Local Outgoing Prefix Bytes Label Hop Label Label or VC or Tunnel Id Switched 17 16 150.45. INTERFACE = Serial2/1 Check the L2 VPN VC status.1 R2#traceroute 150.309 - www.1.1.1 R2#show frame-relay pvc | inc 203 DLCI = 203.INE.25.1.1 R1#traceroute 150.4 [MPLS: Label 19 Exp 0] 152 msec 148 msec 152 msec 2 150. R3#show frame-relay pvc | inc 203 DLCI = 203.2. R3 should learn the DLCI vi LMI.1 Type escape sequence to abort.1.2 60 msec * 56 msec R2#show mpls forwarding-table 150. Tracing the route to 150. You should see a label stack generated for this connection.2 1 150.0 Verification Check for end-to-end LSPs between R1 and R2: R1#show mpls forwarding-table 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.25.1.1. The MTU size. DLCI USAGE = SWITCHED.2/32 0 point2point Outgoing Next interface Se2/0.1. INTERFACE = Serial1/3.5 [MPLS: Label 16 Exp 0] 148 msec 164 msec 152 msec 2 150.45.5 [MPLS: Label 19 Exp 0] 148 msec 152 msec 148 msec 3 150.1. send 15556 packet drops: receive 0. remote 0 MTU: local 1500.1.1.INE. VC ID: 406. send 62 byte totals: receive 10656. line protocol up.1. interworking type is Ethernet Destination address: 150. send disabled VC statistics: packet totals: receive 68. imposed label stack {22 19} Preferred path: not configured Default path: active Tunnel label: 19. remote 22 Group ID: local 0. peer 150. remote 1500 Remote interface description: Sequencing: receive disabled. send 0 R2#show mpls l2transport vc detail Local interface: Se2/1 up.0 R1#show mpls l2transport vc detail Local interface: Fa1/0 up. VC status: up Output interface: Se2/0.310 - www. remote 1500 Remote interface description: Sequencing: receive disabled. Ethernet up Destination address: 150.1. next hop point2point Create time: 00:06:47.CCIE Service Provider Lab Workbook Volume I Version 1. VC ID: 406. send 0 Copyright © 2010 Internetwork Expert .1.1:0 up MPLS VC labels: local 22. FR DLCI 203 up MPLS VC type is Ethernet. remote 0 MTU: local 1500.2. send 6799 packet drops: receive 0. imposed label stack {22 16} Preferred path: not configured Default path: active Tunnel label: 16.2:0 up MPLS VC labels: local 22. line protocol up.2. next hop point2point Create time: 00:09:12.1. send 225 byte totals: receive 6476.1. send disabled VC statistics: packet totals: receive 200. VC status: up Output interface: Se2/0. peer 150. last status change time: 00:07:34 Signaling protocol: LDP.1. last status change time: 00:06:42 Signaling protocol: LDP. remote 22 Group ID: local 0.2.com .1. aging 15 Port 18 (Serial1/3.0c20. forward delay 15 We are the root of the spanning tree Topology change flag set. Sending 5.0c20.1 Times: hold 1.36. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).18. designated path cost 0 Timers: message age 0.1. 100-byte ICMP Echos to 10.6 Type escape sequence to abort. address 0000. detected flag set Number of topology changes 3 last change occurred 00:00:38 ago from Serial1/3.311 - www.CCIE Service Provider Lab Workbook Volume I Version 1.1) of Bridge group 1 is forwarding Port path cost 7812. received 2 SW1 sees the bridge in R3 to be directly connected by the virtue of L2 Verify connectivity end-to-end: R3#ping 10.6. topology change 35. Port Identifier 128.eb40 Configured hello time 2. round-trip min/avg/max = 156/156/156 ms Copyright © 2010 Internetwork Expert . Designated root has priority 32768. spanning tree in R3 should interwork with spanning tree in SW1 (where R1 connects to): R3#show spanning-tree 1 Bridge group 1 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 32768.36. address 0000.INE.0c20. topology change 27. max age 20. Port priority 128. address 0000.eb40 Designated port id is 128.eb40 Designated bridge has priority 32768. hold 0 Number of transitions to forwarding state: 2 BPDU: sent 48.com .1. notification 0.0 Check the spanning tree status in R3. notification 2 hello 2. forward delay 15 Timers: hello 0. max age 20. Since this is Ethernet interworking.18. forward delay 0. 0/24 VLAN 35 .1.0/24 VLAN16 OSPF Area 0 .6 E0/1 Copyright © 2010 Internetwork Expert .35.312 - R6 www.1 150.25.46.2 10. Do not use MPLS encapsulation to accomplish this.0/24 VLAN 24 .0/24 S2/0.CCIE Service Provider Lab Workbook Volume I Version 1.0 L2 VPNs: L2TPv3 Objective: Configure L2 VPN between R1 and R2 so that R4 and R6 can reach each other as if they were directly connected.1.3 S0/0.46.com .5 150.1. E0/0 OSPF Area 2 F1/0 150.INE.5 502 R2 .1 R5 E0/0 .1.3 E0/1 R3 .1 Frame Relay .13.1 R1 10.0/24 F1/0 S2/0.1.4 R4 205 S0/0.1 Frame Relay 301 OSPF Area 1 103 . R2.Y/Y/32 and advertise them into OSPF Configure L2TPv3 connection linking R1’s and R2’s connections to VLAN 16 and VLAN 24 respectively.255. R3.2 255.2.255.0 area 1 R2# hostname R2 ! interface Loopback 0 ip address 150.0.com . Configure a pseudowire-class for this connection to mark L2TPv3 packets with DSCP value of CS3 and disable packet fragmentation in transit. and R5 in the format 150.0 Directions • • • • • • Build the logical topology per the diagram Configure OSPF in the network per the diagram supplied.1.313 - www.CCIE Service Provider Lab Workbook Volume I Version 1. Final Configuration R1# hostname R1 ! interface Loopback 0 ip address 150.1.1 point-to-point frame-relay interface-dlci 103 ip address 150.1.0.255.255.0.1.2.INE.1 255.2 406 pw-class L2TPV3 ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.255 ! pseudowire-class L2TPV3 encapsulation l2tpv3 ip local interface Loopback0 Copyright © 2010 Internetwork Expert .1. Create Loopbacks on R1.255.0 0.1.13. Ensure R4 and R6 can ping each other successfully.0.255.0 ! router ospf 1 network 0.1 255.255 ! pseudowire-class L2TPV3 encapsulation l2tpv3 ip local interface Loopback0 ip dfbit set ip tos value 96 ! interface FastEthernet 1/0 no shut no ip address xconnect 150. 255.0.1.25.3 255.1 point-to-point frame-relay interface-dlci 205 ip address 150.4 255.35.0 ! ip routing R5# hostname R5 ! Copyright © 2010 Internetwork Expert .0.1.255 ! interface Ethernet 0/1 no shutdown ip address 150.255.1.3 255.0 area 0 network 150.13.0 area 1 network 150.255.255.35.3.0 0.1 406 pw-class L2TPV3 ! interface Serial 2/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 2/0.0 ! router ospf 1 network 150.1 point-to-point frame-relay interface-dlci 301 ip address 150.0.0.CCIE Service Provider Lab Workbook Volume I Version 1.1.2 255.0.INE.255.255.3 0.255.3 0.0.1.314 - www.0.3.0.46.0.1.0.1.3 255.1.com .0 ip dfbit set ip tos value 96 ! interface FastEthernet 1/0 no shut no ip address xconnect 150.0 area 1 R4# hostname R4 ! interface Ethernet 0/0 no shutdown ip address 10.255.0 ! interface Serial 1/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 1/0.255.255.1.3 0.13.1.0 ! router ospf 1 network 0.0 area 2 R3# hostname R3 ! interface Loopback 0 ip address 150. 1.35.0 ! router ospf 1 network 150.5 255.255.46.0 area 0 network 150.com .1.0 area 2 R6# hostname R6 ! interface Ethernet 0/1 no shutdown ip address 10.255.CCIE Service Provider Lab Workbook Volume I Version 1.5 0.0.1.0.255 ! interface Serial 0/0 no shutdown encapsulation frame-relay no frame-relay inverse-arp ! interface Serial 0/0.35.25.1.0 interface Loopback 0 ip address 150.0 ! interface Ethernet 0/0 no shutdown ip address 150.5.5.5 0.25.255.255.315 - www.5 0.0 ! ip routing R7# hostname R7 ! vtp mode transparent vlan 24.0.6 255.5 255.255.1 point-to-point frame-relay interface-dlci 502 ip address 150.INE.255.16 ! interface FastEthernet 0/1 switchport host switchport access vlan 16 ! interface FastEthernet 0/2 switchport host switchport access vlan 24 ! interface FastEthernet 0/4 switchport host switchport access vlan 24 ! interface FastEthernet 0/5 switchport host switchport access vlan 35 R8# hostname R8 ! vtp mode transparent Copyright © 2010 Internetwork Expert .0.1.0.5 255.0.1.0 area 2 network 150.255.1.255.35. 1 !!!!! Success rate is 100 percent (5/5). max 0 Resend queuesize 0.CCIE Service Provider Lab Workbook Volume I Version 1.2.1.2.16 ! interface FastEthernet 0/3 switchport host switchport access vlan 35 ! interface FastEthernet 0/6 switchport host switchport access vlan 16 Verification Make sure R1 can reach R2’s Loobpack0 interface: R1#ping 150. 100-byte ICMP Echos to 150.1.com . time since change 00:04:23 Tunnel transport is IP (115) Remote tunnel name is R2 Internet Address 150.2.1. Nr 6 Local RWS 10000 (default). port 0 Local tunnel name is R1 Internet Address 150.0 vlan 24. port 0 Tunnel domain is VPDN group for tunnel is L2TP class for tunnel is 181 packets sent.35. Remote RWS 10000 (max) Tunnel PMTU checking disabled Retransmission time 1. 44 received 13037 bytes sent. 1 active sessions Tunnel state is established.1. remote id is 56.2 source lo0 Type escape sequence to abort. round-trip min/avg/max = 112/114/116 ms Check for active L2TPv3 tunnels: R1#show l2tun tunnel all Tunnel Information Total tunnels 1 sessions 1 Tunnel id 39693 is up.1.2. Sending 5.1. ZLB ACKs sent 4 Current nosession queue check 0 of 5 Retransmit time distribution: 0 0 1 0 1 0 0 0 0 Sessions disconnected due to lack of resources 0 Copyright © 2010 Internetwork Expert . max 1 seconds Unsent queuesize 0. max 2 Total resends 2. 4169 received Control Ns 8.2.1.INE.316 - www.1. timeout is 2 seconds: Packet sent with a source address of 150. 2. type is Ethernet.INE. name is FastEthernet1/0 Circuit state is UP Remote session id is 50046. 4898 received Receive packets dropped: out-of-order: 0 total: 0 Send packets dropped: exceeded session MTU: 0 total: 0 Session vcid is 406 Session Layer 2 circuit.2 Session is L2TP signalled Session state is established. TTL value 255 No session cookie information available FS cached header information: encap size = 24 bytes 00000000 00000000 00000000 00000000 00000000 00000000 Sequencing is off Check the header prepended to the tunneled packets: R1#show sss circuits Current SSS Circuit Information: Total number of circuits 1 Common Circuit ID 0 Serial Num 1 Switch ID 1667482604 -------------------------------------------------------------------------Status Encapsulation UP flg len dump Y AES 0 Y AES 24 45600000 00004000 FF734C25 96010101 96010202 0000C37E Copyright © 2010 Internetwork Expert .com . ToS value 96.0 Check for active sessions within the tunnel: R1#show l2tun session all Session Information Total tunnels 1 sessions 1 Session id 65009 is up. remote tunnel id 56 DF bit on.317 - www.1.CCIE Service Provider Lab Workbook Volume I Version 1. 51 received 15746 Bytes sent. ToS reflect disabled. time since change 00:05:27 221 Packets sent. tunnel id 39693 Call serial number is 3387600000 Remote tunnel name is R2 Internet address is 150. 6.INE.1. timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5).CCIE Service Provider Lab Workbook Volume I Version 1.com .0 Test end-to-end connectivity: R4#ping 10. 100-byte ICMP Echos to 10.46.318 - www.46.6 Type escape sequence to abort. Sending 5. round-trip min/avg/max = 156/156/156 ms Copyright © 2010 Internetwork Expert .1. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .319 - Version 1.0 www.com .INE. 1.1.1.1.4 150.0/24 .5 S0/0.1.6 G0/1 Fa0/6 SW2 10.0/24 R1 Frame Relay .15.2 S0/0.CCIE Service Provider Lab Workbook Volume I Version 1.1 S0/0.0/24 .0/24 VLAN 15 R2 Fa0/0 .1 E0/1 R5 E0/0 .1 Frame Relay 405 504 .5 150.13.45.com .24.1.12.1 .7 E0/0 R3 OSPF Area 0 .5 OSPF Area 0 G0/0 .1 150.6 R6 .3 S1/2 S0/1 150. Fa0/3 SW1 10.8 Copyright © 2010 Internetwork Expert .1.2 OSPF Area 0 150.1 Fa0/0 150.0/24 VLAN 24 E0/0 .0/24 .4 .56.0/24 R4 S0/0.3 .37.0/24 VLAN 56 .INE.1.0 PIM Dense Mode Objective: Configure PIM Dense Mode throughout the OSPF domain so multicast traffic sent from SW1 can be received by SW2.1 102 201 .68.320 - www. 1.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 ip pim dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.2 255.255.1. R3.255.1 255. R5.255.24.0 Directions • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.255 area 0 R2# ip multicast-routing ! interface Loopback0 ip address 150.255.2 255.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1.12.1. R2. and on R3 & R6’s connections to SW1 and SW2 Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.13.2.1 point-to-point ip address 150.255.15.1.1.255.1.1. R4. and R6 Configure PIM Dense-Mode on all transit interfaces between R1.255.321 - www.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ! interface FastEthernet0/0 ip address 150.1.1 255. R2.255.INE.1. R5.0.CCIE Service Provider Lab Workbook Volume I Version 1. R4.2 255.255.0 ip pim dense-mode Copyright © 2010 Internetwork Expert .1 point-to-point ip address 150.255. R3.255.1 255. & R6.0.12.255.255.0 255.com .0 ip pim dense-mode ! router ospf 1 network 0.1 255.255 ! interface FastEthernet0/0 ip address 150.Y.255.255.255. 1.CCIE Service Provider Lab Workbook Volume I Version 1.255.1.255.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.13.255.255.3 255.255.56.0.255.5 255.1.1.com .3 255.0 255.0.255.0.3 255.255.0 frame-relay interface-dlci 201 ! router ospf 1 network 0.255 area 0 R5# ip multicast-routing ! interface Loopback0 ip address 150.INE.255.0.0.1.3.255 ! interface Ethernet0/0 ip address 150.5 255.1.255 area 0 R3# ip multicast-routing ! interface Loopback0 ip address 150.1.255.255.37.255.0 ip pim dense-mode ! interface Serial1/2 ip address 150.1.255.24.0 ip pim dense-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .255.255.0 255.255.0.255.45.4 255.4 255.255.255 ! interface Ethernet0/0 ip address 150.4.5.0 ip pim dense-mode clockrate 64000 ! router ospf 1 network 0.255 ! interface Ethernet0/0 ip address 10.255.0 255.255.4 255.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.1 point-to-point ip address 150.322 - www.255. 255.255.255.0.255 area 0 Copyright © 2010 Internetwork Expert .15.1.255.0.5 255.1.255.0 255.37.323 - www.255.68.7 255.0 ip pim dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.255.255.6 255.1.56.255.5 255.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.0 ip pim dense-mode ! router ospf 1 network 0.0.0 ip pim dense-mode ! interface GigabitEthernet0/1 ip address 10.255.1.255.com .0 ip pim dense-mode ! router ospf 1 network 0.1.0.6 255.255.0 255.255.45.0.7.0 interface Serial0/0.INE.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.255.255.255.1.1.255.1 point-to-point ip address 150.7 255.255.255.6 255.255.0.0 255.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! interface GigabitEthernet0/0 ip address 150.6.255 area 0 R6# ip multicast-routing ! interface Loopback0 ip address 150. 1 Serial1/2 R4#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.0 ! router ospf 1 network 0.45.0.13.255.1 Serial0/0.3 Serial0/1 R2#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.1.1. N .2 Ethernet0/0 150.4 Serial0/0.1.1.13.Bidir Capable.68.1 150.12.1.15.8 255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.24.State Refresh Capable Copyright © 2010 Internetwork Expert .1.255.Designated Router.1 Ethernet0/1 Uptime/Expires Ver 00:11:55/00:01:38 v2 00:24:00/00:01:21 v2 00:23:55/00:01:28 v2 Uptime/Expires Ver 00:24:20/00:01:20 v2 00:24:17/00:01:34 v2 Uptime/Expires Ver 00:24:28/00:01:30 v2 Uptime/Expires Ver 00:25:01/00:01:30 v2 00:24:40/00:01:43 v2 Uptime/Expires Ver 00:25:32/00:01:21 v2 00:25:20/00:01:32 v2 00:14:10/00:01:22 v2 DR Prio/Mode 1 / DR S 1 / S 1 / S DR Prio/Mode 1 / DR S 1 / S DR Prio/Mode 1 / S DR Prio/Mode 1 / S 1 / S DR Prio/Mode 1 / DR S 1 / S 1 / S R6#show ip pim neighbor PIM Neighbor Table Mode: B .1.8.com .1.24.255.1 150.0 SW2# ip routing ! interface Loopback0 ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1.0 255.8 255.324 - www.12.INE.255.1.45.1 R3#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150. DR .255.6 Ethernet0/0 150.Default DR Priority.1 R5#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.56.4 FastEthernet0/0 150.255 area 0 Verification R1#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.1.0.255.1.15.5 Serial0/0.5 FastEthernet0/0 150.1. S .1.2 Serial0/0. 00:00:52/stopped.1. RPF nbr 150.0 Interface Uptime/Expires Ver GigabitEthernet0/0 00:25:57/00:01:28 v2 DR Prio/Mode 1 / S SW1 generates multicast feed: SW1#conf t Enter configuration commands.1. RPF nbr 0.37. 00:00:52/00:00:00 (10.7. Prune/Dense.1 dest-port 12345 source-ipaddr 10. flags: D Incoming interface: Null.1.0. 00:00:59/stopped.37.1).7.1.0.1.56.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start now SW1(config)#end SW1# (10. Forward/Dense. Forward/Dense. 00:00:59/00:00:00 Serial0/0.1) Prune PIM(0): Send v2 join/prune to 150.37.1).1.1.1.0.1) PIM(0): Prune Serial1/2/224.0.1. 224.1.1.37. Prune/Dense.CCIE Service Provider Lab Workbook Volume I Neighbor Address 150.1. Forward/Dense.1 <output omitted> (*.1. 00:00:59/00:00:00 (10.7.1. flags: PT Incoming interface: Ethernet0/0.1. flags: D Incoming interface: Null.56.224.1. 00:00:59/00:00:00 Serial0/1. 00:00:56/00:02:03 Serial0/0.5 Version 1.37.1.1.1.325 - www.1.1.1) R3#show ip mroute 224.37. 00:00:48/00:02:11 R1#show ip mroute 224.1. 224.13.37.7/32. 00:00:56/00:02:03 Copyright © 2010 Internetwork Expert .1. RPF nbr 0. 00:00:52/00:02:08.5 PIM(0): Adding v2 (10.224.3 Outgoing interface list: FastEthernet0/0.1.56. flags: PT Incoming interface: Serial0/1.1.1) prune in nbr 150. Prune/Dense.1. RP 0. 224.1.1.0 Outgoing interface list: Serial1/2.0.0 Outgoing interface list: Serial1/2.1. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.5's queue PIM(0): Building Join/Prune packet for nbr 150.0.13.1.0.1.1).56.7/32.1.7. one per line.1 from (10. 224. Forward/Dense.5 (GigabitEthernet0/0) R3#debug ip pim PIM(0): Received v2 Join/Prune on Serial1/2 from 150. 224. 00:00:59/00:02:02. RP 0.1.1.com .0.7/32. 224.0.1 <output omitted> (*.0.37.1.1.1.1) is flooded throughout the network to R6 and pruned back to R3 as there are no receivers: R6#debug ip pim PIM(0): Insert (10.0.0.0 Outgoing interface list: FastEthernet0/0. 224.1.INE.1.1). RPF nbr 0. to us PIM(0): Prune-list: (10.1. End with CNTL/Z.1.1.1. RPF nbr 150.7. 00:01:20/00:00:00 (10.1.0 Outgoing interface list: FastEthernet0/0.0. 00:01:13/00:01:48. Prune/Dense.0.1. 00:01:18/00:01:41 R6#show ip mroute 224.1.1. 00:01:20/00:01:39.5 Outgoing interface list: Null Copyright © 2010 Internetwork Expert .1.1). 00:01:14/00:01:45 R5#show ip mroute 224.7. 224. 224.1. 00:01:17/00:00:00 (10. 00:01:17/stopped. RP 0. 00:01:13/stopped.0.0.1. 224.1.1.1 <output omitted> (*.0. Forward/Dense.INE. Forward/Dense.37.326 - www.0. Forward/Dense.1). 00:01:17/00:00:00 Serial0/0.1).0. 00:01:07/00:01:55.1 Outgoing interface list: Ethernet0/0.0. flags: D Incoming interface: Null. RPF nbr 0.0.0.1.56.1.0 Outgoing interface list: Ethernet0/0.0. flags: PT Incoming interface: Serial0/0.0. flags: D Incoming interface: Null. 00:01:18/00:01:41 Serial0/0. RP 0.0 Outgoing interface list: Ethernet0/0.com . 224. Prune/Dense. RPF nbr 150. RPF nbr 150.1.1. flags: PT Incoming interface: GigabitEthernet0/0.1.1.37.1. Prune/Dense.0. RPF nbr 0.7.37. Forward/Dense. 224.1. 00:01:17/00:00:00 Ethernet0/1.0.0. flags: D Incoming interface: Null.1. 00:01:07/00:00:00 (10.1 Outgoing interface list: FastEthernet0/0.0.1. flags: PT Incoming interface: Ethernet0/1. Forward/Dense.1.0 R2#show ip mroute 224.5 Outgoing interface list: Ethernet0/0.1.1).1 <output omitted> (*. 00:01:07/stopped.1). flags: PT Incoming interface: Serial0/0.1 <output omitted> (*.1. RPF nbr 0.15. 224.1 <output omitted> (*.1.1.7. Forward/Dense. 00:01:02/00:01:57 R4#show ip mroute 224.1).1.12.0.0 Outgoing interface list: GigabitEthernet0/0.1. RPF nbr 150. 00:01:17/00:01:51.1.1. 00:01:20/stopped. RP 0.1.1. 224.1. 00:01:13/00:00:00 Serial0/0.1.1).45. 00:01:07/00:00:00 Serial0/0.CCIE Service Provider Lab Workbook Volume I Version 1.1).0.37.1.1.0. Forward/Dense. 00:01:13/00:00:00 (10. RP 0.1. Prune/Dense. RPF nbr 0. flags: D Incoming interface: Null. Forward/Dense.1.1. 224.1.0. 0.0.1.com . Ethernet0/1: 10. Forward/Dense. Forward state.1.1: R6#debug ip pim PIM(0): Building Graft message for 224.0 Outgoing interface list: FastEthernet0/0.1.56. by PIM Graft PIM(0): Send v2 Graft-Ack on Ethernet0/0 to 150.1 Group 224.0.7/32.1. 00:01:59/00:00:00 Copyright © 2010 Internetwork Expert .0. 224.CCIE Service Provider Lab Workbook Volume I Version 1. 224.1.1: 10.37.1.1).1.1 <output omitted> (*.37.1.1.5 Group 224.1.1 (Ethernet0/1) PIM(0): Received v2 Graft-Ack on Ethernet0/1 from 150.1.1) PIM(0): Add Ethernet0/0/0.1.1.15.0.1.1.1.1).1.7.37.1).1: SW2#conf t Enter configuration commands.56. 00:01:59/stopped.37.1).1.1.1: no entries PIM(0): Building Graft message for 224.1.1.1.7/32 PIM(0): Send v2 Graft to 150. Forward/Dense.0.0. RPF nbr 0.1. 00:00:42/00:00:00 R1#show ip mroute 224.7/32 Dense tree is built back to the source and traffic begins to flow: R3#show ip mroute 224. RP 0.1.1.1. Forward/Dense. Serial0/0.1.0.0 Outgoing interface list: Serial1/2. GigabitEthernet0/1: no entries PIM(0): Received v2 Graft-Ack on GigabitEthernet0/0 from 150.1.1.0. Ethernet0/0: no entries PIM(0): Building Graft message for 224. flags: D Incoming interface: Null.37.1.1.1.37. RPF nbr 0.0.0.1 SW2(config-if)#end SW2# R6 sends PIM dense graft to add itself to the tree for 224.1.7/32 PIM(0): Send v2 Graft to 150.1.0. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. 00:02:19/stopped. GigabitEthernet0/0: 10.1.1. 00:02:19/00:02:51.0 Outgoing interface list: Serial1/2. RPF nbr 0. 00:01:59/00:00:00 Serial0/0. 224.6 PIM(0): Building Graft message for 224. 224.1.1: 10.1.1. flags: D Incoming interface: Null.1.1.0.1.0 SW2 requests to traffic for the group 224.56.1. flags: T Incoming interface: Ethernet0/0.1. 224.1.1.1. 00:01:59/00:00:00 Serial0/1.1 <output omitted> (*.INE.0 to (10.7/32 R5 receives graft request from R6 and continues forwarding request upstream toward source: PIM(0): Join-list: (10.37.0.15.7. one per line.1.327 - www. Forward/Dense.5 (GigabitEthernet0/0) PIM(0): Building Graft message for 224.1. 00:02:19/00:00:00 (10. RP 0. End with CNTL/Z. Forward/Dense.1.1.1. 0. flags: T Incoming interface: Ethernet0/1. Forward/Dense.0.15.1.1 Outgoing interface list: FastEthernet0/0.1 <output omitted> (*. Prune/Dense. 00:02:30/00:00:29 Copyright © 2010 Internetwork Expert .0. Prune/Dense.1). 00:02:09/00:00:50 R4#show ip mroute 224.37. 00:02:29/00:02:59.0.1.CCIE Service Provider Lab Workbook Volume I Version 1. flags: D Incoming interface: Null. 224.1.com . 00:00:53/00:00:00 Serial0/0. Forward/Dense. RPF nbr 150.328 - www.1 <output omitted> (*.0.0.1. 00:02:24/00:00:00 Serial0/0. RPF nbr 0.1. RPF nbr 0.1.7.1. 00:02:25/00:00:34 R5#show ip mroute 224. 00:02:13/00:00:00 (10.1).0.3 Outgoing interface list: FastEthernet0/0. 224. Forward/Dense.0.1. Forward/Dense.1.INE. flags: D Incoming interface: Null. 00:00:23/00:00:00 Serial0/0.1 (*.1 Outgoing interface list: Ethernet0/0. flags: PT Incoming interface: Serial0/0. 00:02:24/00:00:00 (10.1.1.1.7. 224.0 Outgoing interface list: Ethernet0/0. 224. 00:02:24/00:00:37. 00:02:29/00:00:00 Serial0/0. RPF nbr 0.0.1. 224. 00:02:13/00:00:00 Serial0/0.1.1.37.1.1.1).1.7.1.0.1.37. 00:02:24/stopped. Forward/Dense. 224. RP 0.37.0 Outgoing interface list: FastEthernet0/0.1.1). Prune/Dense. RPF nbr 150. 00:02:29/00:00:00 Ethernet0/1.1.1. 00:02:13/00:00:49.1.1.1. 224.1.45. 00:02:29/stopped.1. RPF nbr 150.1.12.1. flags: PT Incoming interface: Serial0/0. 00:01:59/00:02:52.1.0. 00:02:29/00:00:00 (10. 00:01:56/00:01:03 Traffic is still prunted through R2 and R4 as they are not in the SPT from SW1 to SW2: R2#show ip mroute 224.1.1).1.0. flags: T Incoming interface: Serial0/1. RPF nbr 150. Prune/Dense. Forward/Dense. 00:02:13/stopped.7.13.1).1. Forward/Dense.0 (10.0 Outgoing interface list: Ethernet0/0.1. Forward/Dense. flags: D Incoming interface: Null. RP 0. RP 0.0.0.1). Forward/Dense.0.5 Outgoing interface list: Ethernet0/0. 1 (GigabitEthernet0/1) id=0.CCIE Service Provider Lab Workbook Volume I Version 1. Forward/Dense.1. 00:02:39/stopped.0 Outgoing interface list: GigabitEthernet0/0.1.1.com .1.0.0. flags: T Incoming interface: GigabitEthernet0/0.329 - www.5 Outgoing interface list: GigabitEthernet0/1.1.0.1.1.0. ttl=251.37. Forward/Dense. RPF nbr 0.1. RPF nbr 150. Forward/Dense.7 (GigabitEthernet0/0) d=224.56. 00:02:39/00:02:54.37. 224. 00:01:03/00:00:00 Traffic flows end to end from SW1 to SW2: R6#debug ip mpacket IP(0): s=10.1 <output omitted> (*.0.1.INE.1). 224.1. prot=17. mforward Copyright © 2010 Internetwork Expert .7. len=44(44).1. flags: DC Incoming interface: Null. RP 0.0 R6#show ip mroute 224. 00:01:02/00:00:00 (10.1). 00:02:39/00:00:00 GigabitEthernet0/1. 13.68.1 S0/0.4 .1.1.1.1.45.1 Fa0/0 150.12.2 S0/0.1 .4 150.0/24 VLAN 24 E0/0 .0/24 .2 OSPF Area 0 150.0/24 .0 PIM Sparse Mode Objective: Configure PIM Sparse Mode throughout the OSPF domain with R2 as the Rendevous Point so multicast traffic sent from SW1 can be received by SW2.3 S1/2 S0/1 150.6 G0/1 Fa0/6 SW2 10.5 OSPF Area 0 G0/0 .1 102 201 .1.7 E0/0 R3 OSPF Area 0 .CCIE Service Provider Lab Workbook Volume I Version 1.0/24 VLAN 15 R2 Fa0/0 .com .0/24 VLAN 56 .0/24 .24.37.1.INE.330 - www. Fa0/3 SW1 10.1.1.5 150.1 150.8 Copyright © 2010 Internetwork Expert .56.1 Frame Relay 405 504 .1 E0/1 R5 E0/0 .0/24 R4 S0/0.3 .5 S0/0.6 R6 .15.0/24 R1 Frame Relay . 1.2 255.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.12.255.Y.0 ip pim sparse-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.13.255.255. R5.1.331 - www.255 ! interface FastEthernet0/0 ip address 150. & R6.1.0 255.255.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1.com .2.1.255.1.0 Directions • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.255.2 255. R4.1.CCIE Service Provider Lab Workbook Volume I Version 1.1 255.0.255. R3.0.255.255 ! interface FastEthernet0/0 ip address 150. R3.255.24.1.255. R5.255.1 point-to-point ip address 150.255.0 ip pim sparse-mode ! router ospf 1 network 0. and R6 Configure PIM Sparse-Mode on all transit interfaces between R1.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay Copyright © 2010 Internetwork Expert .1.15.255.2. and on R3 & R6’s connections to SW1 and SW2 Configure R2’s Loopback interface as the Rendezvous Point for the multicast network Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.2 R2# ip multicast-routing ! interface Loopback0 ip address 150. R4.1 255. R2.1.255 area 0 ! ip pim rp-address 150.1 255.255.1 255. R2.INE. 3 255.1.0 255.3 255.45.255 ! interface Ethernet0/0 ip address 10.255.255 area 0 ! ip pim rp-address 150.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 0.0 ip pim sparse-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.12.255 ! interface Ethernet0/0 ip address 150.255.255.1.255.255.1.255.2 R4# ip multicast-routing ! interface Loopback0 ip address 150.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.0.0.255.1.37.4.1 point-to-point ip address 150.255 area 0 ! ip pim rp-address 150.1.0.0 ip pim sparse-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.2.1.2 255.13.255.255.2.255.0.INE.2.255.4 255.4 255.255.255.255.0 255.255.0 ! interface Serial0/0.4 255.1.1 point-to-point ip address 150.2 R3# ip multicast-routing ! interface Loopback0 ip address 150.255.0 255.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.CCIE Service Provider Lab Workbook Volume I Version 1.255.24.3.332 - www.255.2 Copyright © 2010 Internetwork Expert .com .0.1.1.255 area 0 ! ip pim rp-address 150.3 255.255.255.0.1. 15.255.255.1.5.5 255.1.255.56.0 ip pim sparse-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.2 R6# ip multicast-routing ! interface Loopback0 ip address 150.255.0 255.1 point-to-point ip address 150.0 ip pim sparse-mode ! router ospf 1 network 0.1.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.333 - www.CCIE Service Provider Lab Workbook Volume I Version 1.0.255.com .255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 Copyright © 2010 Internetwork Expert .255.255.5 255.45.255 ! interface Ethernet0/0 ip address 150.255.255 area 0 ! ip pim rp-address 150.1.1.0 ip pim sparse-mode ! router ospf 1 network 0.INE.255.0.255.1.68.255.5 255.0.255.1.255.255 area 0 ! ip pim rp-address 150.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.56.255.7 255.7.0 R5# ip multicast-routing ! interface Loopback0 ip address 150.6 255.2.255.2.0 255.255.2 SW1# ip routing ! interface Loopback0 ip address 150.1.0.1.255 ! interface GigabitEthernet0/0 ip address 150.255.255.255.6 255.1.5 255.6 255.6.255. 0 255.255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.0 ! interface FastEthernet0/3 no switchport ip address 10.0 ! router ospf 1 network 0.5 FastEthernet0/0 150.255.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.com .255.37.15.1 R3#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.255.8 255.1.334 - DR Prio/Mode 1 / DR S 1 / S 1 / S DR Prio/Mode 1 / DR S 1 / S DR Prio/Mode 1 / S www.12.1 150.3 Serial0/1 R2#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.255.1.24.255.255.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.1.13.0 255.1.12.0.13.0.68.8.INE.1.7 255.1.0.255 area 0 Verification R1#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.255.8 255.255.1 Serial1/2 Uptime/Expires Ver 00:11:55/00:01:38 v2 00:24:00/00:01:21 v2 00:23:55/00:01:28 v2 Uptime/Expires Ver 00:24:20/00:01:20 v2 00:24:17/00:01:34 v2 Uptime/Expires Ver 00:24:28/00:01:30 v2 Copyright © 2010 Internetwork Expert .4 FastEthernet0/0 150.1 Serial0/0.255.2 Serial0/0.1.0. 1.1.1. RPF nbr 150.13.1) R3 and R2 have the (*.2 Ethernet0/0 150.1.INE.1.7.2.1 R5#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.1.2 PIM(0): for source 10.1. one per line.45.37.37.1.1.2.1.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start now SW1(config)#end SW1# R3.56.2.1. 224.1).2 for (10.1. DR . S .0 Uptime/Expires Ver 00:25:01/00:01:30 v2 00:24:40/00:01:43 v2 Uptime/Expires Ver 00:25:32/00:01:21 v2 00:25:20/00:01:32 v2 00:14:10/00:01:22 v2 DR Prio/Mode 1 / S 1 / S DR Prio/Mode 1 / DR S 1 / S 1 / S R6#show ip pim neighbor PIM Neighbor Table Mode: B .Default DR Priority. 224. flags: SPF Incoming interface: Serial1/2.335 - www.1.1.1 Ethernet0/1 Version 1.1 <output omitted> (*. 00:00:13/stopped. End with CNTL/Z.15.1. 00:00:13/00:02:52.State Refresh Capable Neighbor Interface Uptime/Expires Ver DR Address Prio/Mode 150.45. the PIM DR.G) entry for 224.1.7/32.2. RP 150.4 Serial0/0. RPF nbr 0.1.1 installed Other devices do not since there are no receivers: R3#show ip mroute 224.1 PIM(0): Received v2 Register-Stop on Serial1/2 from 150.24. the RP: R3#debug ip pim PIM debugging is on PIM(0): Send v2 Register to 150.1.com .0.1.1. N .7.1.56.2 for 10.1 dest-port 12345 source-ipaddr 10.5 Serial0/0.G) and (S.CCIE Service Provider Lab Workbook Volume I R4#show ip pim neighbor PIM Neighbor Table Neighbor Interface Address 150.37.1 Outgoing interface list: Null (10. group 224. sends unicast register message to R2. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.1.1.2.1.Designated Router. 224.1.1. group 224. flags: PFT Incoming interface: Ethernet0/0.37.Bidir Capable.1.0 Outgoing interface list: Null Copyright © 2010 Internetwork Expert .1 150.1.1).37.1.5 GigabitEthernet0/0 00:25:57/00:01:28 v2 1 / S SW1 generates multicast feed: SW1#conf t Enter configuration commands.1.1.1.1 PIM(0): Clear Registering flag to 150.7.6 Ethernet0/0 150.0. 7.7.1.1. 224.1.1 not found R4#show ip mroute 224. 00:09:27/stopped.5 (GigabitEthernet0/0) Shortest Path Tree is built from SW1 to R3.1 Group 224.37.1 Outgoing interface list: Null R1#show ip mroute 224.56.1.1 Group 224.1. RPT-bit.1.13.1.2.1.1.1) entry PIM(0): Building Triggered (*.2.56.1.1.5's queue PIM(0): Building Join/Prune packet for nbr 150.1.1.37.1.1 PIM(0): Insert (*.1. RPF nbr 0. 00:03:45/00:02:44 <output omitted> Copyright © 2010 Internetwork Expert .0. flags: SPF Incoming interface: Serial1/2.1.1. R6.1.1. R1.G) Join / (S. 00:09:27/00:03:28.1. one per line. 00:05:02/00:01:57.1) join in nbr 150.1).1.0 Outgoing interface list: Null (10.1.5 PIM(0): Adding v2 (150. flags: P Incoming interface: Serial0/0. End with CNTL/Z.1.224.1).1.1 Group 224. Forward/Sparse.1 <output omitted> (*. R5. 224. SW2: R3#show ip mroute <output omitted> (*.1. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. S-bit Join PIM(0): Send v2 join/prune to 150.1 Outgoing interface list: Null (10.2.1.com .G.1.1.1.2 into the (*.2. RPF nbr 150.2/32. RP 150.12.INE.1.1: SW2#conf t Enter configuration commands. 224.1 Group 224.1.1. RP 150.0 Outgoing interface list: Serial1/2.1 not found SW2 generates an IGMP join and requests delivery of 224.RP-bit) Prune message for 224.1.1.2.336 - www.2.1.1.1. WC-bit. 00:05:02/stopped.1 SW2(config-if)#end SW2# R6 forwards the PIM join message upstream towards the RP: R6#debug ip pim PIM(0): Check RP 150.1 not found R6#show ip mroute 224. 224.1. flags: FT Incoming interface: Ethernet0/0.1.1.0 R2#show ip mroute 224.1.CCIE Service Provider Lab Workbook Volume I Version 1.1. RPF nbr 150.56.1.1. 224.0.1.1). 224.0. RPF nbr 0.1.1.1.1.1.1).1).0. flags: SP Incoming interface: Null.1 not found R5#show ip mroute 224. RPF nbr 150.3 Outgoing interface list: Serial0/0.2.1.1).1.1. 224. 224. 00:05:21/00:02:55. Forward/Sparse.1.1.56.1.1.2 Outgoing interface list: Null (10.1.7.1. prot=17.1.15.45.1. RPF nbr 150.1. RP 150.1. Forward/Sparse. RPF nbr 150.2.2.37.1. 00:04:55/00:03:29 <output omitted> R6#show ip mroute <output omitted> (*.5 Outgoing interface list: GigabitEthernet0/1.INE. 224.1.1. RP 150.2 Outgoing interface list: R5#show ip mroute <output omitted> (*.40).12.5 Outgoing interface list: GigabitEthernet0/1.1). 00:05:21/00:02:51 <output omitted> R6 forwards multicast feed to SW2: R6#conf t Enter configuration commands. 00:05:24/stopped.337 - www. RP 150.1. Forward/Sparse. flags: SJC Incoming interface: GigabitEthernet0/0. 224.1.0.2.1).37. flags: T Incoming interface: Serial0/1.com .1.1).1.1.1.1). one per line. RP 150. End with CNTL/Z. Forward/Sparse. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#do debug ip mpacket IP multicast packets debugging is on IP(0): s=10. flags: T Incoming interface: Ethernet0/1.1). len=44(44). Forward/Sparse. flags: JT Incoming interface: GigabitEthernet0/0.12.4 Outgoing interface list: Ethernet0/0.1. 00:04:58/00:03:29 (10.1. flags: SP Incoming interface: Serial0/0. 224. flags: S Incoming interface: Serial0/0. 00:04:55/00:03:24. 224. mforward Copyright © 2010 Internetwork Expert .1.56.1.1.1. RPF nbr 150. Forward/Sparse. 00:10:38/00:02:44. 00:03:12/stopped.37.CCIE Service Provider Lab Workbook Volume I Version 1.7.1.1 (GigabitEthernet0/1) id=0.7 (GigabitEthernet0/0) d=224.1.13.0 R1#show ip mroute <output omitted> (*.37.2. 00:03:12/00:03:15 FastEthernet0/0. RPF nbr 150. ttl=251.1. flags: SJCL Incoming interface: Serial0/0. 00:05:24/00:02:51 (10. 00:03:12/00:03:24. RPF nbr 150. 224.2.2.7. RPF nbr 150.1. 00:03:09/00:03:18 (*. 00:04:58/00:03:29.2.1 Outgoing interface list: Ethernet0/0.1.1. 4 .1.1.5 150.1.1 S0/0.0/24 .1 .5 OSPF Area 0 G0/0 .CCIE Service Provider Lab Workbook Volume I Version 1.1.15.37.68.13.45.2 OSPF Area 0 150.0/24 .0/24 VLAN 56 . Configure static multicast routes so that multicast traffic sent from SW1 can be received by SW2.3 .5 S0/0.56.1.24.0/24 VLAN 24 E0/0 .0/24 R1 Frame Relay .338 - www.1 E0/1 R5 E0/0 .1 Frame Relay 405 504 .1 102 201 .7 E0/0 R3 OSPF Area 0 .com .12.0 Multicast RPF Failure Objective: Configure PIM Dense Mode throughout the OSPF domain except on the link between R1 and R5.3 S1/2 S0/1 150.0/24 R4 S0/0. Fa0/3 SW1 10.6 G0/1 Fa0/6 SW2 10.0/24 VLAN 15 R2 Fa0/0 .4 150.1 Fa0/0 150.1.0/24 .2 S0/0.1.6 R6 .8 Copyright © 2010 Internetwork Expert .1.1 150.INE. 2.255. & R6 except the link between R1 and R5 Enable PIM Dense-Mode on R3 & R6’s connections to SW1 and SW2 Configure a static multicast route on R4 so that traffic from 10. R4.255.0.13.0 ip pim dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.37.Y.255 area 0 R2# ip multicast-routing ! interface Loopback0 ip address 150.24.12.1 point-to-point ip address 150. R3.0/24 can be received via R2 Configure a static multicast route on R5 so that traffic from 10.255.255 ! interface FastEthernet0/0 ip address 150.255.255 ! interface FastEthernet0/0 ip address 150.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.255.1.255. R2.1 255.339 - www.0/24 can be received via R4 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.1. and R6 Configure PIM Dense-Mode on all transit interfaces between R1. R5.1.1.255.37.255.255.1 255.2 255.0 255.1.0 ip pim dense-mode ! router ospf 1 network 0.CCIE Service Provider Lab Workbook Volume I Version 1.1.0.15.255.255. R5.1 255.0 Directions • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150. R4.255.1.2 255.INE.255. R3.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay Copyright © 2010 Internetwork Expert .com .1. R2.1.255.1 255.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1. 255.255.255.4 255.3 255.255.com .255.0 255.255.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.0 255.1.0.0 ip pim dense-mode ! interface Serial1/2 ip address 150.3 255.255.37.0.INE.255.3 255.255.0 255.255.255 ! Copyright © 2010 Internetwork Expert .0.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.1 point-to-point ip address 150.255.255.1.255.0 ! interface Serial0/0.12.0 150.0.1.0 ip pim dense-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.255.255.37.0.1.1.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.340 - www.2 255.255.4 255.0 ip pim dense-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.1 point-to-point ip address 150.255.1.255.5.0 ip pim dense-mode clockrate 64000 ! router ospf 1 network 0.255.255 ! interface Ethernet0/0 ip address 150.255 area 0 ! ip mroute 10.255.4.0.24.4 255.13.255.255.0 255.45.255 area 0 R3# ip multicast-routing ! interface Loopback0 ip address 150.1.2 R5# ip multicast-routing ! interface Loopback0 ip address 150.3.255 ! interface Ethernet0/0 ip address 10.255.24.1.5 255. 1.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.0 255.255.4 R6# ip multicast-routing ! interface Loopback0 ip address 150.255.6 255.255.0.56.1.255.0 ip pim dense-mode ! interface GigabitEthernet0/1 ip address 10.255.255.0.7 255.255.255.255.255.45.255.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 Copyright © 2010 Internetwork Expert .0 255.0.255.6.255.0 150.255.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.6 255.255.255.7.INE.0 255.37.5 255.6 255.255 area 0 ! ip mroute 10.1.0 ip pim dense-mode ! router ospf 1 network 0.1.0 ip pim dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.1.1.0 ip pim dense-mode ! router ospf 1 network 0.341 - www.1.15.CCIE Service Provider Lab Workbook Volume I Version 1.com .0.45.5 255.1 point-to-point ip address 150.56.7 255.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.1.255.5 255.1.37.255 ! interface GigabitEthernet0/0 ip address 150.0 interface Ethernet0/0 ip address 150.255.255.255.255.255.68. 255.1.1 SW2(config-if)#end SW2# Copyright © 2010 Internetwork Expert .INE.1. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224.0.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.8.37. End with CNTL/Z.342 - www.1. one per line. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.0 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.255.0 255.0 ! router ospf 1 network 0.1. one per line.1.255 area 0 Verification SW1 generates multicast feed: SW1#conf t Enter configuration commands.255.255.255.68.1.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.0.0 255. End with CNTL/Z.1.255.1.8 255.0.CCIE Service Provider Lab Workbook Volume I Version 1.1: SW2#conf t Enter configuration commands.255.1.com .0.255.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start now SW1(config)#end SW1# SW2 requests to traffic for the group 224.8 255.1 dest-port 12345 source-ipaddr 10. 7 (Ethernet0/0) d=224.1.3.24. Packets forwarded: 0.1.INE.37.1.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.37.7 Routing entry for 10.1.5 Outgoing interface list: Ethernet0/0.1.0 Outgoing interface list: Ethernet0/0. R4(config)#int e0/0 R4(config-if)#no ip mroute-cache R4(config-if)#do debug ip mpacket IP multicast packets debugging is on End with CNTL/Z. 00:05:07/00:00:00 Serial0/0. ttl=251. rate-limit etc) Group: 224.1. not RPF interface R4(config-if)# R4#show ip mroute count IP Multicast Statistics 3 routes using 1988 bytes of memory 2 groups.1 id=0.1.1.1 <output omitted> (*.7/32. len=60(44).1.50 average sources per group Forwarding Counts: Pkt Count/Pkts per second/Avg Pkt Size/Kilobits per second Other counts: Total/RPF failed/Other drops(OIF-null.1. via Serial0/0.1. 02:06:45 ago. RP 0.7. 0. flags: Incoming interface: Serial0/0.1: (10.0. Packets received: 32 Source: 10.1. 00:05:07/stopped.37. flags: D Incoming interface: Null. Source count: 1.1.1. 00:02:03/00:00:00 Incoming unicast interface is Ethernet0/0: R4#show ip route 10.1.0/24 Known via "ospf 1".5. RPF nbr 0.0 Before static mroute R4 drops traffic due to RPF failure: R4#show ip mroute 224. Forward/Dense.0. Forward/Dense.0.2 on Ethernet0/0. 224. prot=17. 00:02:02/00:00:57.1.1.3. 02:06:45 ago. traffic share count is 1 R4#conf t Enter configuration commands. traffic share count is 1 150.com . via Ethernet0/0 Route metric is 148. from 150.45. 00:05:07/00:00:00 Incoming multicast interface is Serial0/0.1.1 Route metric is 148.3.37.2. Other: 32/32/0 Copyright © 2010 Internetwork Expert .1.24.1. RPF nbr 150.0. type intra area Last update from 150. Packets are dropped due to RPF failure: IP(0): s=10.37.1.1). distance 110.45.1). one per line.0. Forward/Dense.343 - www. 224.1. 02:06:45 ago Routing Descriptor Blocks: * 150. from 150. metric 148.3. Forwarding: 0/0/0/0. 1.0 Outgoing interface list: GigabitEthernet0/0. mforward Traffic is now delivered to SW2: R6#debug ip mpacket IP multicast packets debugging is on IP(0): s=10. len=44(44).37. flags: DC Incoming interface: Null.1. from 150.1.com . distance 110.1.1.37.1.255. 00:07:37/00:00:00 (10.37.37.1).1.7 (Serial0/0.1 id=0.37. RP 0. len=44(44). prot=17.255. Forward/Dense.1.24.4 R5(config)#end IP(0): s=10.1.5 Outgoing interface list: GigabitEthernet0/1.1.37. RPF nbr 0.1. len=44(44).0/24 Known via "ospf 1".1) id=0. mforward R5 expects multicast packet in E0/1 from R1 but receives it from R4: R5#debug ip mpacket IP(0): s=10. via Ethernet0/1 Route metric is 84.2 R4(config)#end R4# IP(0): s=10. 00:00:23/00:00:00 Copyright © 2010 Internetwork Expert .1. ttl=249.7 (Ethernet0/0) d=224.1. prot=17. 02:07:45 ago.1.0.1. traffic share count is 1 Static mroute overrides RPF check: R5#conf t Enter configuration commands.0 150.1.37.1.3. 00:00:22/00:02:58. not RPF interface R5#show ip route 10.1. ttl=250.1) d=224. mforward R6#show ip mroute 224.1 <output omitted> (*.0 Static mroute is configured to bypass RPF check: R4(config)#ip mroute 10.1) d=224. Forward/Dense.7 (Serial0/0.1. R5(config)#ip mroute 10. 224. ttl=250. Forward/Dense.15.0 255.1. ttl=251. metric 84. RPF nbr 150. prot=17. flags: T Incoming interface: GigabitEthernet0/0.255.1).3.1.1. one per line. type intra area Last update from 150. 224.7 (GigabitEthernet0/0) d=224.1. prot=17.7 Routing entry for 10.37.344 - www.0.0.1.1.1. 00:07:37/stopped. End with CNTL/Z.CCIE Service Provider Lab Workbook Volume I Version 1. len=48(44).37.1 (GigabitEthernet0/1) id=0.7.1.1 on Ethernet0/1.255.1 (Ethernet0/0) id=0. 00:07:37/00:00:00 GigabitEthernet0/1.0 150.45.1 (Serial0/0.1.INE.15. 02:07:45 ago Routing Descriptor Blocks: * 150.1.0.56.1.0 255.0. 0 www.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .com .INE.345 - Version 1. CCIE Service Provider Lab Workbook Volume I Version 1.2 S0/0.3 .3 S1/2 S0/1 150.4 150.13.1 E0/1 R5 E0/0 .0/24 .1.0/24 .8 Copyright © 2010 Internetwork Expert .0/24 .1 102 201 .0/24 VLAN 56 .1.5 150.15.com .6 G0/1 Fa0/6 SW2 10.INE.0/24 VLAN 24 E0/0 .7 E0/0 R3 OSPF Area 0 .4 .5 S0/0.1.1 150.1 Frame Relay 405 504 .1.1 S0/0.1 Fa0/0 150.1.1.37.2 OSPF Area 0 150.0/24 R4 S0/0.0/24 R1 Frame Relay .56.346 - www.6 R6 . Fa0/3 SW1 10.12.68.0/24 VLAN 15 R2 Fa0/0 .5 OSPF Area 0 G0/0 .1.24.1 .1. R1 should be the RP and R5 should be the mapping agent.0 Auto-RP Objective: Configure PIM Sparse-Dense Mode and Auto-RP throughout the OSPF domain so multicast traffic sent from SW1 can be received by SW2.45. 255.1 255.2.15.255.255.255.255 ! interface FastEthernet0/0 ip address 150.INE. R2.1. and R6 Configure PIM Sparse-Dense Mode on all transit interfaces between R1.255 area 0 ! ip pim send-rp-announce Loopback0 scope 16 R2# ip multicast-routing ! interface Loopback0 ip address 150.255.1 255.1.1.1. R4.24.2 255. R3.255.com .1.2 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.255.0.1 255.0 Directions • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.255.13.255.12.1. R4. and on R3 & R6’s connections to SW1 and SW2 Configure R1 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP Configure R5 to originate Auto-RP Mapping Agent messages from its Loopback interface Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.1 255. & R6. R3. R5.255 ip pim sparse-dense-mode ! interface FastEthernet0/0 ip address 150.347 - www.0 ip pim sparse-dense-mode ! router ospf 1 network 0.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1.255.0 255.0 ip pim sparse-dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.Y.1 point-to-point ip address 150.255. R5.1.1.255.0 Copyright © 2010 Internetwork Expert . R2.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0. 1.255.13.3.255.1 point-to-point ip address 150.1.3 255.0.0 255.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! interface Ethernet0/0 ip address 150.255 area 0 R3# ip multicast-routing ! interface Loopback0 ip address 150.1.348 - www.0 ip pim sparse-dense-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.255 Copyright © 2010 Internetwork Expert .255.255.37.255 ! interface Ethernet0/0 ip address 10.1.255.5 255.0 ip pim sparse-dense-mode ! interface Serial1/2 ip address 150.4 255.5.4 255.255.0 255.0.0.45.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.2 255.255.1 point-to-point ip address 150.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.24.3 255.1.4.255.255.4 255.255.0.255.0.0.255.255.INE.1.12.255.0 ip pim sparse-dense-mode clockrate 64000 ! router ospf 1 network 0.255.255.255.com .255.3 255.255.255.1.255 area 0 R5# ip multicast-routing ! interface Loopback0 ip address 150.255.0 255.1.255.0 ip pim sparse-dense-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0. 255.5 255.6.255.56.7 255.255 ! interface GigabitEthernet0/0 ip address 150.5 255.255.255.255.255 area 0 ! ip pim send-rp-discovery Loopback0 scope 16 R6# ip multicast-routing ! interface Loopback0 ip address 150.7.0.255.6 255.15.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.349 - www.INE.68.0 255.45.255.255.0 ! interface FastEthernet0/4 switchport access vlan 24 Copyright © 2010 Internetwork Expert .255.1.0.255.255.255.255.0 ip pim sparse-dense-mode ! interface GigabitEthernet0/1 ip address 10.255.1.0 ! interface Ethernet0/0 ip address 150.0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.com .1 point-to-point ip address 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.1.7 255.6 255.5 255.0.1.255.56.6 255.0 ip pim sparse-dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.0 255.255.255.255.37.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.255.1.0.1.0 ip pim sparse-dense-mode ! router ospf 1 network 0.1. 8.1 Outgoing interface list: Serial0/0.CCIE Service Provider Lab Workbook Volume I Version 1.0.1.0.255. flags: DCL Incoming interface: Null. Forward/Sparse-Dense.0.1.1.0.1.1.255. 00:11:01/00:02:59.255.255. Forward/Sparse-Dense.0.8 255. 00:11:24/00:00:00 Serial0/0. 00:11:24/00:00:00 (150.39). 00:09:45/00:00:00 Loopback0.255. 224. RP 0. Forward/Sparse-Dense.0. 00:07:58/00:00:00 Copyright © 2010 Internetwork Expert .15. Forward/Sparse-Dense.39: R5#show ip mroute 224.0.1.1.1.0 Outgoing interface list: Ethernet0/0.255. RPF nbr 150. 00:11:01/00:00:00 Ethernet0/0.0. 00:11:24/00:00:00 Ethernet0/1. flags: LT Incoming interface: Ethernet0/1.0 255.0.255.1. Forward/Sparse-Dense.1.39 <output omitted> (*.0. 224.1.0.8 255.0 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0. 00:11:24/stopped. Forward/Sparse-Dense. Forward/Sparse-Dense.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.255 area 0 Verification R1 advertises itself to the mapping agent via 224.0.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.0 255.0.68.255.INE.39).350 - www. 00:11:24/00:00:00 Loopback0.1.0 ! router ospf 1 network 0.com . RPF nbr 0. 37. 00:05:39/00:02:19.40). one per line.1.1 PIM(0): Received v2 Register-Stop on Serial1/2 from 150.7.56.1.com .1 PIM(0): for source 10.13. expires: 00:02:00 SW1 originates multicast feed and R3 registers the source with the RP: SW1#conf t Enter configuration commands.0. End with CNTL/Z.1.0.40).INE.1.0.1.1 R6#debug ip pim PIM debugging is on PIM(0): Insert (10.7.1. flags: DCL Incoming interface: Null.1.5.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.1.0. RP 0.1) entry PIM(0): Send v2 Register to 150.37.1). 00:06:48/stopped.1 PIM(0): Clear Registering flag to 150. flags: PLTX Incoming interface: Serial1/2.7/32.1.1.0. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.1.37.1.1.1.56.0.40 <output omitted> (*.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 SW1(config)#end SW1# R3#debug ip pim PIM(0): Check RP 150.1.0 Outgoing interface list: Serial1/2.0 R5 advertises R1 as the RP to all other routers via 224.1) SW2 joins group and R6 sends PIM Join upstream towards RP: SW2#conf t Enter configuration commands.1 (?).37. 224.1.1. v2v1 Info source: 150. group 224.37.1.1 Outgoing interface list: Null R1 is assigned as the RP via Auto-RP: R3#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.5's queue PIM(0): Building Join/Prune packet for nbr 150.1.0.0.1. End with CNTL/Z. 224.1. 224.5.1.37.1. elected via Auto-RP Uptime: 00:04:55.5 PIM(0): Adding v2 (10.56.5.1.1 for 10. S-bit Join PIM(0): Send v2 join/prune to 150. RPF nbr 0.1. 224.1.5 (GigabitEthernet0/0) Copyright © 2010 Internetwork Expert .1.1. RPF nbr 150.1) join in nbr 150.1 into the (*.1.5 (?).0.1.0/4 RP 150.1 for (10. 00:06:34/00:00:00 (150.1.40: R3#show ip mroute 224.0.7/32.351 - www.224. Forward/Sparse-Dense.1.1.1.1.1. one per line.1.0.7.1. group 224.1.1 dest-port 12345 source-ipaddr 10. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. 224.1. A .com . one per line. I . End with CNTL/Z.Dense. flags: JT Incoming interface: GigabitEthernet0/0.Candidate for MSDP Advertisement.1.Joined MDT-data group.CCIE Service Provider Lab Workbook Volume I Version 1.INE.56.RP-bit set. 00:00:20/00:02:39.1 (GigabitEthernet0/1) id=0.Pruned.1.1.SSM Group.SPT-bit set.Hardware switched. 224.40). RPF nbr 0. State/Mode (*.1.1.1.Multicast Tunnel.5 Outgoing interface list: GigabitEthernet0/1.1.1.MDT-data group sender. 00:02:49/00:02:49 (10. flags: PLTX Incoming interface: GigabitEthernet0/0.1.0.5 Outgoing interface list: Null (*.0.5 Outgoing interface list: GigabitEthernet0/1.0. mforward 224. RPF nbr 150. 224.40 are in PIM Dense mode All other groups are Sparse: R6#show ip mroute IP Multicast Routing Table Flags: D .0. 00:02:44/00:02:49 (*.URD. len=44(44). X .0 Multicast traffic flows from SW1 to SW2: R6#conf t Enter configuration commands. P .0. C . 00:11:18/00:02:35.1.37. Y .56. Forward/Sparse-Dense. S . RP 150. prot=17. R .1. Z . 00:11:20/stopped. 00:02:49/stopped. T .1. RPF nbr 0.1.0 Outgoing interface list: GigabitEthernet0/0. flags: DC Incoming interface: Null.0. 00:02:44/00:02:51.1.0. RPF nbr 150.Proxy Join Timer Running. RP 0. L .Connected.7.Bidir Group.1. 224. ttl=251.5. 00:11:19/stopped.0. B . Forward/Sparse-Dense.1. Forward/Sparse-Dense.1.1).1. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#do debug ip mpacket IP multicast packets debugging is on IP(0): s=10.5 Outgoing interface list: Null Copyright © 2010 Internetwork Expert . RP 0.0.1.Local. flags: DCL Incoming interface: Null.Sparse. U .0. s .Sending to MDT-data group Outgoing interface flags: H .7 (GigabitEthernet0/0) d=224.0.56.40). 00:11:19/00:00:00 (150. Forward/Sparse-Dense.5.0.37. flags: SJC Incoming interface: GigabitEthernet0/0.1.1.1). F .56.0. 224.39).0. J . 224.39 and 224. Next-Hop or VCD.0.1.1.Join SPT. z . M .352 - www.Register flag. A . RPF nbr 150.Assert winner Timers: Uptime/Expires Interface state: Interface. y .0 Outgoing interface list: GigabitEthernet0/0. flags: PTX Incoming interface: GigabitEthernet0/0.39). 00:11:20/00:00:00 (150.MSDP created entry.0. 224.Received Source Specific Host Report.1. RPF nbr 150.1. 353 - Version 1.com .0 www.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE. 1.1 150.4 150.3 .0/24 R1 Frame Relay .0 Auto-RP – Multiple Candidate RPs Objective: Configure PIM Sparse-Dense Mode and Auto-RP throughout the OSPF domain with R2 as the RP for groups 224.0/24 VLAN 56 .0/24 .5 S0/0.1 E0/1 R5 E0/0 .1.0/24 .8 Copyright © 2010 Internetwork Expert .0.1.7 E0/0 R3 OSPF Area 0 .0.2 S0/0. Fa0/3 SW1 10.4 .CCIE Service Provider Lab Workbook Volume I Version 1.1 .68.3 S1/2 S0/1 150.1.1.56.0/24 R4 S0/0.1 Fa0/0 150.6 G0/1 Fa0/6 SW2 10. R5 should be the Mapping Agent.5 150.0.1 102 201 .2 OSPF Area 0 150.0/24 VLAN 24 E0/0 .0/24 .INE.0/5 and R4 as the RP for groups 232.45.354 - www.1.12.15.1 S0/0.1 Frame Relay 405 504 .1.com .5 OSPF Area 0 G0/0 .6 R6 .0.1.0/5.24.37.0/24 VLAN 15 R2 Fa0/0 .13. 255.255.com .1 point-to-point ip address 150. R5. & R6.Y.255. R4.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1.INE.CCIE Service Provider Lab Workbook Volume I Version 1.1.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ! interface FastEthernet0/0 ip address 150.1.1.255.1. and R6 Configure PIM Sparse-Dense Mode on all transit interfaces between R1.255 area 0 R2# ip multicast-routing ! interface Loopback0 ip address 150.2 255.2 255.355 - www. and on R3 & R6’s connections to SW1 and SW2 Configure R2 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP for groups 224.1.255.0 ip pim sparse-dense-mode ! router ospf 1 network 0. R4.0 ip pim sparse-dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.0.1.0.15.1 255.0/4 Configure R4 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP for groups 232.1 255.255 ip pim sparse-dense-mode ! interface FastEthernet0/0 ip address 150.255.255. R5.0.2. R3.255.255.13.1 255.24. R2.0.0.0 255.1.1 255.1.255.12.0/4 Configure R5 to originate Auto-RP Mapping Agent messages from its Loopback interface Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.0 Copyright © 2010 Internetwork Expert .255.0 Directions • • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.255. R3.0. R2.255. 255 area 0 ! Copyright © 2010 Internetwork Expert .0.37.1.255.255.255.255.13.255.0.0 ip pim sparse-dense-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.255 area 0 ! ip pim send-rp-announce Loopback0 scope 16 group-list 1 ! access-list 1 permit 224.255 R3# ip multicast-routing ! interface Loopback0 ip address 150.255.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3.255.0 255.0 ip pim sparse-dense-mode ! interface Serial1/2 ip address 150.255.4 255.255 ! interface Ethernet0/0 ip address 10.45.0 ip pim sparse-dense-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.1.255.0.24.3 255.255.1 point-to-point ip address 150.255.255.0.1.4 255.INE.255.1.1 point-to-point ip address 150.3 255.0 255.1.255.255.255.0 255.1.255 ip pim sparse-dense-mode ! interface Ethernet0/0 ip address 150.2 255.com .255.255.255.1.12.CCIE Service Provider Lab Workbook Volume I Version 1.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3 255.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.0.0.0.255.0 7.356 - www.255.4.255.4 255.0 ip pim sparse-dense-mode clockrate 64000 ! router ospf 1 network 0.0. 5 255.255.255.0.357 - www.0 ip pim sparse-dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.6 255.255 ! interface GigabitEthernet0/0 ip address 150.INE.0.1.255.0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.45.255 ! interface FastEthernet0/1 switchport access vlan 15 ! Copyright © 2010 Internetwork Expert .5 255.1 point-to-point ip address 150.255.56.0 ip pim send-rp-announce Loopback0 scope 16 group-list 1 ! access-list 1 permit 232.com .CCIE Service Provider Lab Workbook Volume I Version 1.1.255 area 0 ! ip pim send-rp-discovery Loopback0 scope 16 R6# ip multicast-routing ! interface Loopback0 ip address 150.255.255.5 255.255.7 255.7.1.1.255 ! interface Ethernet0/0 ip address 150.6 255.1.68.255.255.0.0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.255.1.0.255.255.255.5.255.6 255.255.0 7.255.56.0.255.1.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.0 255.0 255.255.0 ip pim sparse-dense-mode ! interface GigabitEthernet0/1 ip address 10.15.255 R5# ip multicast-routing ! interface Loopback0 ip address 150.5 255.255.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.6.0.255. 0.0.255.8 255. 00:09:23/00:00:00 Ethernet0/1.255.0. 00:00:01/00:00:00 Ethernet0/0.com .255.255.8 255.0 Outgoing interface list: Ethernet0/0.0.39 <output omitted> (*. Forward/Sparse-Dense.0.1. 00:09:03/00:00:00 Ethernet0/1.INE.255.39: R5#show ip mroute 224.255.1. 00:09:23/00:00:00 Serial0/0.0 interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.0.255.2. 00:09:23/00:00:00 (150.2.CCIE Service Provider Lab Workbook Volume I Version 1.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10. RPF nbr 150.68.358 - www.1.1. 224.0. Forward/Sparse-Dense.39). Forward/Sparse-Dense. Forward/Sparse-Dense. flags: LT Incoming interface: Serial0/0.0 255.37. Forward/Sparse-Dense.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.0.1.39). 00:09:03/00:00:00 Copyright © 2010 Internetwork Expert .1. Forward/Sparse-Dense.8. RP 0.0. 00:09:23/stopped. RPF nbr 0.0.45.255.0. 00:09:03/00:02:57.1.255.255.0. Forward/Sparse-Dense.1. 224.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150. flags: DCL Incoming interface: Null. 00:09:23/00:00:00 Loopback0.1.4 Outgoing interface list: Loopback0.0 ! router ospf 1 network 0.1.7 255.0 255.255 area 0 Verification R2 and R4 advertise themselves to the mapping agent via 224.1.0. RPF nbr 150.0. v2v1 Info source: 150.1. v2v1 Info source: 150.0.1.0.13. elected via Auto-RP expires: 00:02:01 (?).0. 00:06:48/stopped.0.40 <output omitted> (*.1.0.0/5 RP 150.359 - www.45. Group(s) 232. RP 0.1 dest-port 12345 source-ipaddr 10.1. elected via Auto-RP expires: 00:02:03 SW1 originates multicast feeds: SW1#conf t Enter configuration commands.5. 00:08:27/00:02:36. flags: PLTX Incoming interface: Serial1/2.0. 224.0.1 Outgoing interface list: Null Both R2 and R4 are assigned as RPs via Auto-RP: R3#show ip pim rp mapping R3#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.0/5 RP 150.1.1.1.5.5.5. flags: LT Incoming interface: Serial0/0.40).1.0.1.0 Outgoing interface list: Serial1/2.CCIE Service Provider Lab Workbook Volume I Version 1.2.1.37.4.40: R3#show ip mroute 224.2 (?).39).0.1. (?).1.0. Forward/Sparse-Dense.INE.0.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#rtr 2 SW1(config-rtr)#type udpEcho dest-ipaddr 232.0. 00:08:27/00:00:00 <output omitted> R5 advertises R1 as the RP to all other routers via 224.1. flags: DCL Incoming interface: Null. 224. RPF nbr 150.1. Forward/Sparse-Dense.com .0 (150.1. one per line.4. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.40).1.1. 00:06:34/00:00:00 (150. 00:05:39/00:02:19. Forward/Sparse-Dense.1.1. 00:08:27/00:00:00 Ethernet0/1.0. End with CNTL/Z.37.5 Uptime: 00:08:25.1 dest-port 12345 source-ipaddr 10. RPF nbr 0. Forward/Sparse-Dense.1.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 SW1(config)#rtr schedule 2 start after 00:00:05 SW1(config)#end SW1# Copyright © 2010 Internetwork Expert .5 Uptime: 00:07:49.4 Outgoing interface list: Loopback0. 00:08:27/00:00:00 Ethernet0/0.4 (?).4. 224. 1.37.1.1.7.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.4 for (10.4 for 10.37.56.1.1.1.1.1. one per line. 232.INE. S-bit Join PIM(0): Send v2 join/prune to 150.1. group 232.1 PIM(0): Received v2 Register-Stop on Serial1/2 from 150.1) PIM(0): Received v2 Register-Stop on Serial1/2 from 150. 224.1.4 PIM(0): for source 10.1.1. len=44(44).1 PIM(0): Clear Registering flag to 150.232.com .56.7. 224.37.5 (GigabitEthernet0/0) PIM(0): Insert (10.2 for (10.7.1.1.1.37.1.2 for 10. mforward Copyright © 2010 Internetwork Expert .1.1 with R4: R3#debug ip pim PIM(0): Check RP 150.4.0 R3 registers 224.37.37.2 PIM(0): for source 10.4.1. 224.1 PIM(0): Check RP 150.37.1. group 232.4. len=44(44). S-bit Join PIM(0): Send v2 join/prune to 150.1.1 (GigabitEthernet0/1) id=0.1 232.1.1.1.1.7/32.1.360 - www.1.1.7. ttl=251.1. ttl=251. prot=17.1.1.1. 224.1.1.1 (GigabitEthernet0/1) id=0.1.1. End with CNTL/Z.1.1.1.1). group 224.1 R6#debug ip pim PIM(0): Adding v2 (10.37. 232.1). one SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group SW2(config-if)#ip igmp join-group Joins upstream towards RP: per line.7 (GigabitEthernet0/0) d=224.1.7/32.1.1.4.1 with R2 and 232.2.37.37.1.1.5 (GigabitEthernet0/0) R6# Multicast traffic flows from SW1 to SW2: R6#conf t Enter configuration commands.1.56.7 (GigabitEthernet0/0) d=232.2.4 into the (*.1) entry PIM(0): Send v2 Register to 150.2. mforward IP(0): s=10.2.1.1.56.2 into the (*.1) entry PIM(0): Send v2 Register to 150.7.5 PIM(0): Adding v2 (10. 232. group 224.1.37.1.1.1.1) join in nbr 150.1.1) SW2 joins groups and R6 sends PIM SW2#conf t Enter configuration commands.1 PIM(0): Clear Registering flag to 150.5's queue PIM(0): Building Join/Prune packet for nbr 150.7/32. prot=17.1.7/32.1. End with CNTL/Z.1. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#do debug ip mpacket IP(0): s=10. MSDP created entry.1.1. X . 224.40).1.1. I .1. 00:04:13/00:02:23 (10.Hardware switched. RPF nbr 150.Join SPT. 00:04:12/00:02:30 (*. A . Forward/Sparse-Dense.SPT-bit set.1.5.1. 224.0. B . flags: DCL Incoming interface: Null.1.1.56. C .1.0.1). 00:02:46/00:00:13.0.7.40). Forward/Sparse-Dense. State/Mode (*. Z .CCIE Service Provider Lab Workbook Volume I Version 1.0.7. RPF nbr 0. flags: PTX Incoming interface: GigabitEthernet0/0. flags: SJC Incoming interface: GigabitEthernet0/0.SSM Group. RP 150. RPF nbr 150.Proxy Join Timer Running.0.1.1. flags: SJC Incoming interface: GigabitEthernet0/0. Next-Hop or VCD.0. R . RPF nbr 150.5.0.1. RPF nbr 0.361 - www. RPF nbr 150. F .56.Sending to MDT-data group Outgoing interface flags: H .1. 232. 00:09:23/00:02:07.1. y .2.Multicast Tunnel.1).Local. T .RP-bit set.56.1.1. flags: PLTX Incoming interface: GigabitEthernet0/0.Sparse.56.0 224. flags: DC Incoming interface: Null.5 Outgoing interface list: Null (150.56.37.40 are in PIM Dense mode All other groups are Sparse: R6#show ip mroute IP Multicast Routing Table Flags: D . 00:09:42/00:00:00 (150.1.1. L .5 Outgoing interface list: GigabitEthernet0/1. U .39).5 Outgoing interface list: GigabitEthernet0/1. 224.4. 00:09:42/stopped.0 Outgoing interface list: GigabitEthernet0/0.56. flags: PTX Incoming interface: GigabitEthernet0/0. 00:04:13/stopped.1.com .Assert winner Timers: Uptime/Expires Interface state: Interface. 00:04:12/00:02:23 (*.1. J . 232. 224. A .1).37. 00:09:42/stopped. 224.1.39 and 224. Forward/Sparse-Dense.0. Forward/Sparse-Dense.39). Forward/Sparse-Dense. RP 0. s . 00:00:22/00:02:38.INE.Pruned.0.2.2.1. P . 00:04:13/stopped.0. RPF nbr 150. 00:04:13/00:02:30 (10.URD.Candidate for MSDP Advertisement.1).Bidir Group.5 Outgoing interface list: GigabitEthernet0/1.1. S . 224.0.Dense.5 Outgoing interface list: Null (*. Forward/Sparse-Dense.2. 224. z .1.0.4.4. RPF nbr 150. RP 0. Y .Connected.0.Joined MDT-data group.Register flag. 00:09:42/00:00:00 (150.Received Source Specific Host Report. RP 150. 00:04:12/00:02:52. flags: JT Incoming interface: GigabitEthernet0/0.0.1.0 Outgoing interface list: GigabitEthernet0/0.4.1.56.0.0. M .39). 00:04:12/00:02:52. flags: JT Incoming interface: GigabitEthernet0/0.1.5 Outgoing interface list: Null Copyright © 2010 Internetwork Expert .1.MDT-data group sender.5 Outgoing interface list: GigabitEthernet0/1.0. RPF nbr 150. 0/24 VLAN 24 E0/0 .1.0/5.6 R6 .CCIE Service Provider Lab Workbook Volume I Version 1. Fa0/3 SW1 10.3 S1/2 S0/1 150.1 150.INE.45.0.0/24 R4 S0/0.5 OSPF Area 0 G0/0 .24.15.1.1 Frame Relay 405 504 .7 E0/0 R3 OSPF Area 0 .0/24 VLAN 15 R2 Fa0/0 .37.56.1 102 201 .com .4 150.0.1.4 .0/24 .1 .0.1.0/24 .5 S0/0.3 . R5 should be the Mapping Agent and should prevent any additional devices from being elected RPs.68.0/24 .5 150.1 S0/0.0 Auto-RP – Filtering Candidate RPs Objective: Configure PIM Sparse-Dense Mode and Auto-RP throughout the OSPF domain with R2 as the RP for groups 224.0/24 R1 Frame Relay .0.1.1 E0/1 R5 E0/0 .2 OSPF Area 0 150.1.0/24 VLAN 56 .13.0/5 and R4 as the RP for groups 232.1 Fa0/0 150.362 - www.2 S0/0.6 G0/1 Fa0/6 SW2 10.12.1.8 Copyright © 2010 Internetwork Expert .1. CCIE Service Provider Lab Workbook Volume I Version 1.0 Copyright © 2010 Internetwork Expert .0 255.INE.2 255.1 255. & R6.1.0.12.0/4 Configure R5 to originate Auto-RP Mapping Agent messages from its Loopback interface Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1. R4.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1. R4.255.15.0 Directions • • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.255.com .0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.363 - www.255. R3.255. R5.1 255.1.255.255.0.255.255.255.Y.255 ! interface FastEthernet0/0 ip address 150.255.0.2 255.0. R2.13.24.255.1. R5.0. R2. and R6 Configure PIM Sparse-Dense Mode on all transit interfaces between R1.1 point-to-point ip address 150.255.2.1.0.1 255.0 ip pim sparse-dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1.1.1. R3.255 area 0 R2# ip multicast-routing ! interface Loopback0 ip address 150. and on R3 & R6’s connections to SW1 and SW2 Configure R2 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP for groups 224.255.1 255.255 ip pim sparse-dense-mode ! interface FastEthernet0/0 ip address 150.0/4 Configure R4 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP for groups 232. 0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.1.255 ip pim sparse-dense-mode ! interface Ethernet0/0 ip address 150.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.1.CCIE Service Provider Lab Workbook Volume I Version 1.4.37.0.3.0.364 - www.0.255.255.2 255.255.255.255.INE.255.3 255.255 R3# ip multicast-routing ! interface Loopback0 ip address 150.255.255.0 ip pim sparse-dense-mode ! interface Serial1/2 ip address 150.13.4 255.255 ! interface Ethernet0/0 ip address 10.255.255.255.com .255 area 0 ! Copyright © 2010 Internetwork Expert .255.255.1.12.0 7.1 point-to-point ip address 150.0.24.0.255.0 ip pim sparse-dense-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.255.255.4 255.255.4 255.255.255 area 0 ! ip pim send-rp-announce Loopback0 scope 16 group-list 1 ! access-list 1 permit 224.1.1.3 255.255.0 255.255.3 255.0 255.1.0 255.0.0.45.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.1 point-to-point ip address 150.255.0 ip pim sparse-dense-mode clockrate 64000 ! router ospf 1 network 0.0 ip pim sparse-dense-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.1. CCIE Service Provider Lab Workbook Volume I Version 1.255.0 7.15.255 ! interface Ethernet0/0 ip address 150.1.255 area 0 ! ip pim send-rp-discovery Loopback0 scope 16 ip pim rp-announce-filter rp-list R2_LOOPBACK group-list R2_GROUPS ip pim rp-announce-filter rp-list R4_LOOPBACK group-list R4_GROUPS ip pim rp-announce-filter rp-list ALL_OTHER_RPS group-list NO_GROUPS ! ip access-list standard ALL_OTHER_RPS deny 150.5 255.0.45.255.255.4 Copyright © 2010 Internetwork Expert .255.1.0.0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.0.0.255 ! ip access-list standard R2_GROUPS permit 224.5 255.4 permit any ! ip access-list standard NO_GROUPS deny 224.1.255.255.0 ip pim send-rp-announce Loopback0 scope 16 group-list 1 ! access-list 1 permit 232.255.0 255.com .56.0 7.5 255.0.0.255.1.1.1.255.255.0.255.365 - www.255.255.1 point-to-point ip address 150.0 ip pim sparse-dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.2.5.0 3.0.255 ! ip access-list standard R2_LOOPBACK permit 150.255 R5# ip multicast-routing ! interface Loopback0 ip address 150.255.255.2.INE.2 ! ip access-list standard R4_GROUPS permit 232.2 deny 150.4.0 ip pim sparse-dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.5 255.0.255.1.255.0.4.255 ! ip access-list standard R4_LOOPBACK permit 150.0 7.1. 255.255.37.255.255.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.8.68.68.1.8 255.0 255.1.1.6 255.0.255.6 255.0 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1.1.255.0 ip pim sparse-dense-mode ! router ospf 1 network 0.255.255.0 R6# ip multicast-routing ! interface Loopback0 ip address 150.0.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.56.255.INE.255.366 - www.6 255.0 ip pim sparse-dense-mode ! interface GigabitEthernet0/1 ip address 10.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.7 255.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.255.1.0 255.com .255.0.255.6.255.7 255.255.255 ! interface GigabitEthernet0/0 ip address 150.7.1.8 255.1.255.255.255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.0. from 150.3 R2 and R4 are accepted by the filter on R5: R5#debug ip PIM Auto-RP Auto-RP(0): Auto-RP(0): Auto-RP(0): Auto-RP(0): pim auto-rp debugging is on Received RP-announce.2).4 (?).0.CCIE Service Provider Lab Workbook Volume I Version 1.367 - www.4.3.1.1.1.0. RP_cnt 1.2 Uptime: 00:00:04.0 ! router ospf 1 network 0.2.0/5.2.0.0. RP_cnt 1.255.0/5 RP 150. RP_cnt 1. from 150. ht 181 Added with (224.0. v2v1 Info source: 150.INE.0/5 RP 150.1.1.1.0.4.0/4 for RP 150. elected via Auto-RP expires: 00:02:27 Copyright © 2010 Internetwork Expert .1.1.0/4 for RP 150.0.1 Received RP-announce.1. (?). PIMv2 v1 R5#show ip pim rp mapping PIM Group-to-RP Mappings This system is an RP-mapping agent (Loopback0) Group(s) 224.0.3. from 150.1.2. from 150.0/5. RP:150. ht 181 Filtered 224.255 area 0 Verification R1 and R3 advertise themselves as “rogue” RPs but are filtered by R5: R1(config)#int lo0 R1(config-if)#ip pim sparse-dense-mode R1(config-if)#ip pim send-rp-announce loopback0 scope 16 R3(config)#int lo0 R3(config-if)#ip pim sparse-dense-mode R3(config-if)#ip pim send-rp-announce loopback0 scope 16 R5#debug ip PIM Auto-RP Auto-RP(0): Auto-RP(0): Auto-RP(0): Auto-RP(0): pim auto-rp debugging is on Received RP-announce.0. RP_cnt 1.4 Uptime: 00:00:28.1.3. Group(s) 232.1. ht 181 Filtered 224.0.1. elected via Auto-RP expires: 00:02:51 (?).0.2 (?).0.0.2.com .4. PIMv2 v1 Received RP-announce.2. RP:150. ht 181 Update (232.0 255.4.1.4). v2v1 Info source: 150.255.1.0.4. 56.0/24 VLAN 24 E0/0 .1.24.1. Fa0/3 SW1 10.1 Frame Relay 405 504 .1 102 201 .15.0.368 - www.0 Auto-RP Listener Objective: Configure PIM Sparse Mode and Auto-RP throughout the OSPF domain with R2 as the RP for groups 224.3 .0.5 OSPF Area 0 G0/0 .1.12.1 Fa0/0 150.6 R6 .1.45.1.5 S0/0. R5 should be the Mapping Agent.com .13.6 G0/1 Fa0/6 SW2 10.37.0/24 R1 Frame Relay .2 OSPF Area 0 150.4 .INE.0/24 R4 S0/0.1.0/24 .8 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1.1 150.1 S0/0.5 150.0/24 .0/24 .68. Groups outside of 224.4 150.0.1.2 S0/0.0/5.0/24 VLAN 56 .1 .0.0/24 VLAN 15 R2 Fa0/0 .7 E0/0 R3 OSPF Area 0 .3 S1/2 S0/1 150.1.0/5 should not fall back to dense mode.1 E0/1 R5 E0/0 . 1.1 255.1. R2. and R6 Configure PIM Sparse Mode on all transit interfaces between R1.255.255.15.CCIE Service Provider Lab Workbook Volume I Version 1.255 area 0 ! ip pim autorp listener R2# ip multicast-routing ! interface Loopback0 ip address 150.12.0. R2.com .1.255.0 Directions • • • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.0.0.1 point-to-point ip address 150.255.255.13.255.255 ip pim sparse-mode Copyright © 2010 Internetwork Expert . R5.0. R4.1.255.1.255. R5.0.0 ip pim sparse-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1.2.INE.1 255.0.0 255.0/4 Configure R5 to originate Auto-RP Mapping Agent messages from its Loopback interface Enable Auto-RP Listener on all multicast routing devices Ensure that multicast traffic originated by SW1 in the 224.1 255.1 255.255.255. R3.Y.369 - www.255. R3.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 ip pim sparse-mode ! router ospf 1 network 0.255.0/4 range can be received by SW2 Traffic outside of this range should be dropped Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150. and on R3 & R6’s connections to SW1 and SW2 Configure R2 to advertise its Loopback interface as candidate Rendezvous Point via Auto-RP for groups 224.255 ! interface FastEthernet0/0 ip address 150. & R6.2 255.1. R4.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1. 255.1.255.0.255 area 0 ! ip pim send-rp-announce Loopback0 scope 16 group-list 1 ! access-list 1 permit 224.255.255.255.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.2 255.2 255.13.1.255 ! interface Ethernet0/0 ip address 150.370 - www.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 0.255.255.0 255.255.0 ! interface FastEthernet0/0 ip address 150.0.255 area 0 ! ip pim autorp listener R4# ip multicast-routing ! interface Loopback0 ip address 150.37.4 255.0.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! Copyright © 2010 Internetwork Expert .0.255.0.24.1.4 255.12.CCIE Service Provider Lab Workbook Volume I Version 1.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.255.3 255.3 255.1.255.255.255.0 ip pim sparse-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.255.1 point-to-point ip address 150.com .255 ! ip pim autorp listener R3# ip multicast-routing ! interface Loopback0 ip address 150.255.255.1.0 255.0.255 ! interface Ethernet0/0 ip address 10.3.24.0 7.1.255.4.INE.255.1.3 255.255. 255.255.6.CCIE Service Provider Lab Workbook Volume I Version 1.0 ip pim sparse-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.1 point-to-point ip address 150.1.45.0.0 255.0 ip pim sparse-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.1 point-to-point ip address 150.255.255 ! interface GigabitEthernet0/0 ip address 150.255.255.45.255.255.56.255.6 255.371 - www.255.255.1.255.0 255.255 area 0 ! ip pim autorp listener R5# ip multicast-routing ! interface Loopback0 ip address 150.255.0 ip pim sparse-mode ! router ospf 1 network 0.255.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ! interface Ethernet0/0 ip address 150.255.15.1.0 255.1.4 255.0.1.5 255.0 interface Serial0/0.0.0.6 255.1.0.255.255.1.255.255.1.255.INE.5 255.255.68.255.6 255.255.5 255.0.5.com .56.0 ip pim sparse-mode ! router ospf 1 network 0.255 area 0 ! ip pim send-rp-discovery Loopback0 scope 16 ! ip pim autorp listener R6# ip multicast-routing ! interface Loopback0 ip address 150.5 255.255 area 0 ! ip pim autorp listener Copyright © 2010 Internetwork Expert . CCIE Service Provider Lab Workbook Volume I Version 1.372 - www.255.0/5: R3#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.0.1.255.0.1.1.5 (?).INE.2 (?).0 SW1# ip routing ! interface Loopback0 ip address 150.0 ! router ospf 1 network 0.68.0.37.com .0 255.7 255.0.0/5 RP 150.0.255.5.255 area 0 Verification Multicast routers only have an RP for 224.255.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.8 255.255.0.0. expires: 00:02:03 Copyright © 2010 Internetwork Expert .1.2.8.0 255.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.8 255.255.255.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.7 255.255. elected via Auto-RP Uptime: 00:00:57.7.255. v2v1 Info source: 150.1.255.255.0.1. 1.7.1.1) entry PIM(0): Send v2 Register to 150.1.37. 232.37.2 into the (*.0 Outgoing interface list: Null (*. 232. RP 150. ttl=254.7 (Ethernet0/0) d=224.1 and 232.1.37.1.1.1.1. group 224.0. Only 224. one per line.1. mforward IP(0): s=10. 00:04:00/stopped.1.37.232.1) but (10.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.1).0.1. id=0. RP 0.1 dest-port 12345 source-ipaddr 10. 224.1. flags: DP Incoming interface: Null.1.2.1.1.2.1 len=60(44).0.1.1.13.37.7. RPF nbr 0.7.1.0.1.1.224. flags: PT Incoming interface: Ethernet0/0. 00:04:00/00:02:53.0 SW1 generates traffic to 224.7.37. 224.1).1 is R3#conf t Enter configuration commands.1.7.1 dest-port 12345 source-ipaddr 10. group 224. 224.2 for (10.2 PIM(0): for source 10.1.0.1.1.1. prot=17.1.1.com .2.1.1.0.1. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.1 PIM(0): Received v2 Register-Stop on Serial1/2 from 150.1 prot=17.7 (Ethernet0/0) d=232.37.1.1.1 flows but 232.1. len=44(44).1.1.1.INE.1.37. R3(config)#int e0/0 R3(config-if)#no ip mroute-cache R3(config-if)#do debug ip mpacket IP multicast packets debugging is on R3(config-if)# IP(0): s=10. (Serial1/2) id=0.37.2.1.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 SW1(config)#rtr schedule 2 start after 00:00:05 SW1(config)#end SW1# R3 registers (10. ttl=254.2. flags: SPF Incoming interface: Serial1/2.2.1).1) is dropped R3#debug ip pim PIM(0): Check RP 150.1.0 Outgoing interface list: Null (10. End with CNTL/Z.373 - www.1.1: SW1#conf t Enter configuration commands.0.7/32. one per line.1.1.40 are allow to run in dense mode: R3#show ip mroute <output omitted> (*.1.2 for 10.1.1.1. RPF nbr 150.1 PIM(0): Clear Registering flag to 150.39 and 224.0. 00:04:00/stopped.1) Traffic for 224.1.0.1.37.1 Outgoing interface list: Null Copyright © 2010 Internetwork Expert . RPF nbr 0. mroute olist null dropped: End with CNTL/Z.1.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#rtr 2 SW1(config-rtr)#type udpEcho dest-ipaddr 232.1. 1.1.37.0.5. flags: D Incoming interface: Null. Forward/Sparse.1.0.0.374 - www.0 Outgoing interface list: Serial1/2. 00:01:16/00:01:45. 224.0.0. RP 0.1 Outgoing interface list: Null Copyright © 2010 Internetwork Expert .13.40). 00:06:16/00:00:00 (150. RP 0.1.1.com . 224. 224.1. flags: PLTX Incoming interface: Serial1/2.0. 00:05:16/00:02:43.0. RPF nbr 0. 224. RPF nbr 150. flags: PT Incoming interface: Serial1/2.2.0.CCIE Service Provider Lab Workbook Volume I Version 1.0.0 Outgoing interface list: Serial1/2. flags: FT Incoming interface: Ethernet0/0.1 Outgoing interface list: Null (*. Forward/Sparse.1.0 (10.1. RPF nbr 0. 00:03:12/00:03:20 (*. 00:04:00/00:03:23.1.INE. 00:06:16/stopped. RPF nbr 150.0 Outgoing interface list: Serial1/2.5.7.1.0.39).40).39).0. RPF nbr 0. 00:05:16/00:00:00 (150.1. flags: DCL Incoming interface: Null. 224.0.1).0. 00:05:16/stopped.0.13.2.0.0. Forward/Sparse. com .0 www.INE.375 - Version 1.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert . 0/24 VLAN 24 E0/0 Frame Relay .13.68.125.1.1.1.INE.1 R5 E0/0 .1.5 OSPF Area 0 G0/0 150.1.2 150.3 S1/2 S0/1 150.0/24 .6 R6 .6 G0/1 Fa0/6 SW2 10.com .3 .4 501 R4 . Multicast traffic from SW1 going to R4 should not be received by R5.376 - www.24.8 Copyright © 2010 Internetwork Expert .CCIE Service Provider Lab Workbook Volume I Version 1. Fa0/3 SW1 10.2 S0/0.5 S0/0.0/24 .0/24 .0/24 150.1 S0/0 OSPF Area 0 .56.1.37.1 R1 .7 E0/0 R3 OSPF Area 0 . Multicast traffic from SW1 going to SW2 should not be received by R2.0 PIM NBMA Mode Objective: Configure PIM Sparse Mode with R1 as the RP.0/24 VLAN 56 .1 102 105 R2 Fa0/0 201 . 125.CCIE Service Provider Lab Workbook Volume I Version 1.255.1.255 ! Copyright © 2010 Internetwork Expert .1.255. R2.com . R2.1.1 255. R5.255.2 102 broadcast frame-relay map ip 150.1.2 255.1.255 area 0 ! ip pim rp-address 150. and on R3 & R6’s connections to SW1 and SW2 and R2’s connection to R4 Configure R1 as the Rendezvous Point Enable PIM NBMA mode on R1’s connection to the Frame Relay cloud Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150. R3.0 Directions • • • • • • • • • • Configure the logical topology per the diagram R1’s connection to the Frame Relay cloud should use the physical interface with static layer 3 to layer 2 resolution R2 and R5’s connections to the Frame Relay cloud should use point-topoint subinterfaces Configure Loopback interfaces on all devices in the format 150.0 255.0 encapsulation frame-relay no frame-relay inverse-arp frame-relay map ip 150.255. and R6 Configure PIM Sparse Mode on all transit interfaces between R1.255.0.13.255 ! interface Serial0/0 ip address 150.1.255.INE.125.Y/32 Configure OSPF area 0 on all interfaces throughout the network The Frame Relay segment between R1.1.255.Y. and R5 should use OSPF network point-to-multipoint Enable IP Multicast-Routing on R1.255.5 105 broadcast ip ospf network point-to-multipoint ip pim sparse-mode ip pim nbma-mode ! interface Serial0/1 ip address 150.2.1.125.1 255.1.1 R2# ip multicast-routing ! interface Loopback0 ip address 150.255.1. & R6. R2. R3.255.0 ip pim sparse-mode ! router ospf 1 network 0.0.1 255. R5.377 - www. 255.24.0.255.0.0 255.0 interface FastEthernet0/0 ip address 150.255.1.com .0.1.255.255.0 ip pim sparse-mode frame-relay interface-dlci 201 ip ospf network point-to-multipoint ! router ospf 1 network 0.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.255.255.1.255.255.255 ! interface Ethernet0/0 ip address 150.INE.5.125.37.4.3 255.1.1 R3# ip multicast-routing ! interface Loopback0 ip address 150.0.4 255.1.255.1.2 255.1.255 area 0 ! ip pim rp-address 150.3 255.255.255.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.1.24.3 255.1.255.1.255 ! interface Ethernet0/0 ip address 150.5 255.5 255.2 255.378 - www.255.255 area 0 R5# ip multicast-routing ! interface Loopback0 ip address 150.1.255.255.255 area 0 ! ip pim rp-address 150.3.255 ! interface Ethernet0/0 ip address 10.1.255.0.0 ! router ospf 1 network 0.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 0.255.0.0 255.56.255.255.255.13.255.4 255.1 R4# interface Loopback0 ip address 150.0 ip pim sparse-mode Copyright © 2010 Internetwork Expert .1.0 255.1 point-to-point ip address 150.CCIE Service Provider Lab Workbook Volume I Version 1.255. 0.68.1.INE.255.1.56.1.6 255.6 255.1.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.CCIE Service Provider Lab Workbook Volume I Version 1.255.125.1 point-to-point ip address 150.1.1.0 ip pim sparse-mode ! router ospf 1 network 0.255.255.255.255 ! interface GigabitEthernet0/0 ip address 150.0 255.1.0 255.6.1.7 255.7.6 255.1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 Copyright © 2010 Internetwork Expert .0.255 area 0 ! ip pim rp-address 150.255.1.255 area 0 ! ip pim rp-address 150.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.255.0.255.255.1 SW1# ip routing ! interface Loopback0 ip address 150.1 R6# ip multicast-routing ! interface Loopback0 ip address 150.0 ip pim sparse-mode frame-relay interface-dlci 501 ip ospf network point-to-multipoint ! router ospf 1 network 0.7 255.255.255.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.255.255.37.5 255.255.com .255.379 - www.0.255. 1. one per line.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 SW1(config)#rtr schedule 2 start after 00:00:05 SW1(config)#end Copyright © 2010 Internetwork Expert .1.0.1. one per line.255.68.INE.1.37.255. SW1 generates traffic to 224.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#rtr 2 SW1(config-rtr)#type udpEcho dest-ipaddr 232.0 switchport access vlan 56 ! router ospf 1 network 0.255.1.1.1.1.1.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.255.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150. End with CNTL/Z.37.1 SW2(config-if)#end End with CNTL/Z.255 area 0 Verification Before PIM NBMA Mode on R1’s Frame Relay interface: R4 joins 224. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.1: SW2#conf t Enter configuration commands.1.1.0.1 dest-port 12345 source-ipaddr 10.1: SW1#conf t Enter configuration commands.1.0 255.1.8 255. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 232.0 ! router ospf 1 network 0.1 dest-port 12345 source-ipaddr 10.1.380 - www.1 R4(config-if)#end SW2 joins 232.1.255.1.com .0.1: R4(config)#int e0/0 R4(config-if)#ip igmp join R4(config-if)#ip igmp join-group 224.255.1.1 and 232.8.1.255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.0.255.8 255.0 255. 0 Outgoing interface list: Serial0/0. Forward/Sparse. flags: Incoming interface: Serial0/1. 00:00:11/00:03:18 Copyright © 2010 Internetwork Expert .1) d=232.1.1.1.com .7 (Serial0/0. 150. 00:01:15/00:03:18.7 (Serial0/0.3 Outgoing interface list: Serial0/0.1. 00:02:03/stopped.INE.1 (FastEthernet0/0) id=0.1.1).CCIE Service Provider Lab Workbook Volume I Version 1.0 Outgoing interface list: Serial0/0.1). 00:01:15/00:03:20.1.1.1 and 232. R1(config)#int s0/0 R1(config-if)#ip pim nbma-mode R1(config-if)#end End with CNTL/Z.1.1.1. Forward/Sparse.1.1. 00:00:01/00:03:28 (*. 224.1.37. ttl=252. len=44(44). 232. one per line. 00:01:50/stopped.3 Outgoing interface list: Serial0/0.1.1).1.1. RP 150.13.1.0.1. RPF nbr 150.37.37.0 Outgoing interface list: Serial0/0. prot=17.7. len=48(44).1. RPF nbr 0. mforward With NBMA mode on R1’s Frame Relay link: R1#conf t Enter configuration commands.1. 00:00:11/00:03:18 (10. flags: S Incoming interface: Null. flags: T Incoming interface: Serial0/1. 00:02:04/00:03:23 (10. prot=17.13.37. mroute olist null IP(0): s=10.13.5.0.125.1 (Ethernet0/0) id=0. 232.1.1 out to the Frame Relay cloud: R1#show ip mroute <output omitted> (*.1).1. RP 150. Forward/Sparse. Forward/Sparse. 150.1 id=0.1). 00:00:02/00:02:57.1.5.7 (Serial0/0.1) d=224. prot=17.0.1. flags: Incoming interface: Serial0/1. mforward IP(0): s=10.1.1.1. len=44(44).1. prot=17.0. 00:00:02/00:03:27 <output omitted> R2 and R5 receive both feeds: R2#debug ip mpacket IP(0): s=10. len=48(44). 232.125.1.1.1.0.37. RPF nbr 0. RPF nbr 150.0 R1 forwards 224.1.1.1.1.1. RP 150. flags: S Incoming interface: Null.0. mroute olist null R5#debug ip mpacket IP(0): s=10.1.1. 232. flags: S Incoming interface: Null. Forward/Sparse.1. Forward/Sparse. R1#show ip mroute <output omitted> (*.1 id=0.7 (Serial0/0. ttl=252.1) d=224.37.7.37. 224.1.3 Outgoing interface list: Serial0/0.1). RPF nbr 150.7.1) d=232.1.1. 00:00:01/00:02:58.1.1. RPF nbr 0.1. 00:01:50/00:02:39 (10.381 - www. 1.1.1. 224. 00:01:16/00:03:29.0.37.1) d=232.125. Forward/Sparse. 00:00:05/00:03:24 <output omitted> R2 only receives the feed that R4 joined: R2#debug ip mpacket IP(0): s=10.1.13. mforward Copyright © 2010 Internetwork Expert . 224.2.7 (Serial0/0. prot=17. len=44(44).1.7.1.1).1.7 (Serial0/0.1.125.1.37.382 - www.0 Outgoing interface list: Serial0/0.1). mforward R5 only receives the feed that SW2 joined: R5#debug ip mpacket IP(0): s=10.0 (*.1) d=224. len=44(44).3 Outgoing interface list: Serial0/0.1.INE. RPF nbr 150.0.1.1. 150. 00:00:05/00:03:24 (10.1 (Ethernet0/0) id=0.1.37. 00:01:16/00:03:24. ttl=252. 150.1. flags: S Incoming interface: Null. RPF nbr 0.1. Forward/Sparse.CCIE Service Provider Lab Workbook Volume I Version 1.1. RP 150.com .2.1 (FastEthernet0/0) id=0.1. flags: T Incoming interface: Serial0/1. prot=17. INE.383 - Version 1.com .CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .0 www. Ensure that multicast traffic originated by R4 can reach both SW1 and SW2.1.125.0.INE. Fa0/3 SW1 10.5 OSPF Area 0 G0/0 150.37.384 - www.1.24.2 150.0/24 .0/24 VLAN 56 .1.2 S0/0.39 and 224.1 102 105 R2 Fa0/0 201 .68.1.5 S0/0.0/24 150.0/24 .1 R1 .1.3 S1/2 S0/1 150.com .4 501 R4 .7 E0/0 R3 OSPF Area 0 .0/24 .1 R5 E0/0 .1.1.3 .0.40.6 R6 .0 Auto-RP and Default RP Placement Objective: Configure PIM Sparse Mode throughout the OSPF domain with R2 as an Auto-RP C-RP and MA.CCIE Service Provider Lab Workbook Volume I Version 1.56.1 S0/0 OSPF Area 0 .13. and as the default RP for groups 224.0/24 VLAN 24 E0/0 Frame Relay .8 Copyright © 2010 Internetwork Expert .1.6 G0/1 Fa0/6 SW2 10. Y.13.255 area 0 ! ip pim rp-address 150.0.0 255.0.1 255.125.1.255.1.2 102 broadcast frame-relay map ip 150.1.0 ip pim sparse-mode ! router ospf 1 network 0. R2.1.40 to R2 Enable PIM NBMA mode on R1’s connection to the Frame Relay cloud Ensure that multicast traffic originated by R4 can be received by both SW1 and SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.1. and R5 should use OSPF network point-to-multipoint Enable IP Multicast-Routing on R1.385 - www.1.255. R3.com . and on R3 & R6’s connections to SW1 and SW2 and R2’s connection to R4 Configure R2 as a candidate RP and mapping agent for all groups via Auto-RP Configure all multicast enabled routers to send PIM join messages for groups 224. R2.1.2 1 ! Copyright © 2010 Internetwork Expert . & R6.0.INE.5 105 broadcast ip ospf network point-to-multipoint ip pim sparse-mode ip pim nbma-mode ! interface Serial0/1 ip address 150.1. R3.125.39 and 224. R2.255.255 ! interface Serial0/0 ip address 150.1 255.255. and R6 Configure PIM Sparse Mode on all transit interfaces between R1.255.1.0 encapsulation frame-relay no frame-relay inverse-arp frame-relay map ip 150.0.2.255. R5.0 Directions • • • • • • • • • • • • Configure the logical topology per the diagram R1’s connection to the Frame Relay cloud should use the physical interface with static layer 3 to layer 2 resolution R2 and R5’s connections to the Frame Relay cloud should use point-topoint subinterfaces Configure Loopback interfaces on all devices in the format 150.1 255.CCIE Service Provider Lab Workbook Volume I Version 1.125.1.Y/32 Configure OSPF area 0 on all interfaces throughout the network The Frame Relay segment between R1.255.255. R5. 1.255.255.2 1 ! access-list 1 permit 224.3 255.255 ! interface FastEthernet0/0 ip address 150.40 Copyright © 2010 Internetwork Expert .125.0.3.com .39 access-list 1 permit 224.1 point-to-point ip address 150.3 255.1.2.386 - www.0 255.1.255.255 area 0 ! ip pim rp-address 150.24.39 access-list 1 permit 224.CCIE Service Provider Lab Workbook Volume I Version 1.1.0.1.255.2 255.1.2 255.0 ip pim sparse-mode frame-relay interface-dlci 201 ip ospf network point-to-multipoint ! router ospf 1 network 0.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 0.255.1.0.255.40 ! ip pim send-rp-announce Loopback0 scope 16 ip pim send-rp-discovery Loopback0 scope 16 R3# ip multicast-routing ! interface Loopback0 ip address 150.INE.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.255.1.255 ! interface Ethernet0/0 ip address 10.0.3 255.255.1.0.37.2 255.255.255.255.255 area 0 ! ip pim rp-address 150.255.0.255.2 1 ! access-list 1 permit 224.0.1.0.2.255.0 255.40 R2# ip multicast-routing ! interface Loopback0 ip address 150.255.13.1.39 access-list 1 permit 224.1.0.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.255.0 access-list 1 permit 224.1.2.1. 0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.24.0.0 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.68.255 area 0 R5# ip multicast-routing ! interface Loopback0 ip address 150.56.1.1 point-to-point ip address 150.1.255.255 area 0 ! ip pim rp-address 150.2.1.255.255.4 255.1.1.0 ip pim sparse-mode ! router ospf 1 network 0.5 255.6 255.255.1.2.6 255.1.255.255 area 0 ! ip pim rp-address 150.39 access-list 1 permit 224.387 - www.255.0.5 255.1.255.125.0.1.com .255 ! interface Ethernet0/0 ip address 150.1.255.0.2 1 ! Copyright © 2010 Internetwork Expert .5.4.0 ! router ospf 1 network 0.0.1.0 R4# interface Loopback0 ip address 150.1.255.255.255.6 255.255 ! interface Ethernet0/0 ip address 150.4 255.255.0.6.255.255.0.255.0 255.0 ip pim sparse-mode frame-relay interface-dlci 501 ip ospf network point-to-multipoint ! router ospf 1 network 0.255.255.5 255.0 255.255.0.40 R6# ip multicast-routing ! interface Loopback0 ip address 150.255.255 ! interface GigabitEthernet0/0 ip address 150.255.56.2 1 ! access-list 1 permit 224.INE. 255.39 access-list 1 permit 224.40 SW1# ip routing ! interface Loopback0 ip address 150.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.1.255.7 255.0.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.255.255.388 - www.1.com .0 ! router ospf 1 network 0.1.255.0.255.0 access-list 1 permit 224.8 255.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.37.255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.7.255.0 255.0 255.CCIE Service Provider Lab Workbook Volume I Version 1.255.255 area 0 Copyright © 2010 Internetwork Expert .1.255.1.0.255.8 255.0.0.INE.68.1.255.255.8.0.7 255. A .2.389 - www.2.2 (?).URD. B .Sparse.2 (?).Dense.2. 224. y .1. U .2 (?). elected via Auto-RP Uptime: 00:55:04. 150. 00:55:05/stopped. R .5.125. L . 00:48:13/00:02:32 (150.2.1. S . C .2 Outgoing interface list: Serial0/1. RPF nbr 150. elected via Auto-RP Uptime: 00:56:05. v2v1 Info source: 150. P .Join SPT.Multicast Tunnel Y .2 (?). flags: LT Incoming interface: Serial0/0.Proxy Join Timer Running.SPT-bit set.1. Z . Forward/Sparse.0/4 RP 150.1. T . 224.1.INE.0. RPF nbr 150.5.40 is sparse and NBMA mode is enabled: R1#show ip mroute 224. Static RP: 150. 150.Sending to MDT-data group Outgoing interface flags: H .2.0. M . J .com .125.2.2. State/Mode (*.0.1.0 Verification R1 forwards R2’s MA messages out to R5 because 224.125.2 (?) R3#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.Hardware switched Timers: Uptime/Expires Interface state: Interface. 00:46:14/00:03:22 All multicast routers now learn R2 as the RP via Auto-RP: R6#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.Connected. RP 150.Pruned.1. Forward/Sparse.40).0/4 RP 150. Static RP: 150.1. 00:48:13/00:03:13 Serial0/0.Received Source Specific Host Report.2 Outgoing interface list: Serial0/0.Local.1. expires: 00:02:20 Acl: 1.Bidir Group.RP-bit set.2. Next-Hop or VCD. 00:46:13/00:02:39 Serial0/1.1.2.0.0.0.125. expires: 00:02:24 Acl: 1.2 (?) Copyright © 2010 Internetwork Expert .1.Joined MDT-data group.1. F . flags: SJCL Incoming interface: Serial0/0.0.1.2. Forward/Sparse. X . Forward/Sparse.SSM Group.Register flag.40 IP Multicast Routing Table Flags: D .1.40).0. 00:48:32/00:02:38.1.MSDP created entry. I . v2v1 Info source: 150. s .CCIE Service Provider Lab Workbook Volume I Version 1.1.Candidate for MSDP Advertisement. R3(config)#int s1/2 R3(config-if)#no ip mroute-cache R3(config-if)#do debug ip mpacket IP multicast packets debugging is on IP(0): s=150. ttl=251. End with CNTL/Z. ttl=252.4 (Serial1/2) d=224. one per line.1.1.com . R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#do debug ip mpacket IP multicast packets debugging is on IP(0): s=150.1.1.1 dest-port 12345 source-ipaddr 150. one per line. len=44(44).1.1.1 SW2: interface FastEthernet0/6 ip igmp join-group 224.1.24. prot=17.24.390 - www. mforward R6#conf t Enter configuration commands.1.1 (GigabitEthernet0/1) id=0.1.1 (Ethernet0/0) id=0.4 (GigabitEthernet0/0) d=224.24. End with CNTL/Z. prot=17.1. len=44(44).1 Configure R4 to generate multicast traffic: R4(config)#ip sla monitor 1 R4(config-sla-monitor)# type udpEcho dest-ipaddr 224.1. mforward Copyright © 2010 Internetwork Expert .0 Configure SW1 and SW2 to request multicast traffic: SW1: interface FastEthernet0/3 ip igmp join-group 224.CCIE Service Provider Lab Workbook Volume I Version 1.1.4 control disable R4(config-sla-monitor-udp)# frequency 5 R4(config-sla-monitor-udp)#ip sla monitor schedule 1 start-time now R3 and R6 forward traffic to SW1 and SW2: R3#conf t Enter configuration commands.1.INE. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .com .391 - Version 1.0 www.INE. 0 Bootstrap Router Objective: Configure PIM Sparse Mode and BSR throughout the OSPF domain so multicast traffic sent from SW1 can be received by SW2.0/24 VLAN 56 .7 E0/0 R3 OSPF Area 0 .0/24 .1 150.3 S1/2 S0/1 150.4 .5 S0/0.37.24.5 150. R1 should be the RP and R5 should be the BSR.1.0/24 VLAN 15 R2 Fa0/0 .13.1 S0/0.5 OSPF Area 0 G0/0 .1.6 R6 .45.1 102 201 .2 S0/0.1.0/24 VLAN 24 E0/0 .1.12.INE.3 .1 Fa0/0 150.CCIE Service Provider Lab Workbook Volume I Version 1.4 150.6 G0/1 Fa0/6 SW2 10. Fa0/3 SW1 10.56.392 - www.1 Frame Relay 405 504 .8 Copyright © 2010 Internetwork Expert .68.0/24 .1.15.2 OSPF Area 0 150.1 E0/1 R5 E0/0 .0/24 R1 Frame Relay .com .1 .1.0/24 R4 S0/0.1.1.0/24 . 255.255 area 0 ! ip pim rp-candidate Loopback0 R2# ip multicast-routing ! interface Loopback0 ip address 150.1.Y.255 ! interface FastEthernet0/0 ip address 150.255. Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.0.255.2 255.0 255.1 255.393 - www.1.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1. R3. Configure R5 to advertise its Loopback interface as a BSR candidate.255.com . R5. R3.1 255.0 ip pim sparse-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255.1 255.1 point-to-point ip address 150.1.255.255.12.0 ip pim sparse-mode ! Copyright © 2010 Internetwork Expert .255. R4.INE. and R6 Configure PIM Sparse Mode on all transit interfaces between R1. and on R3 & R6’s connections to SW1 and SW2 Configure R1 to advertise its Loopback interface as an RP candidate.1.1.0 ip pim sparse-mode ! router ospf 1 network 0.255.2 255. R2.255 ip pim sparse-mode ! interface FastEthernet0/0 ip address 150.255. R2. & R6.1.255.2.15.255. R4.1 255.CCIE Service Provider Lab Workbook Volume I Version 1. R5.255.0 Directions • • • • • • • • Configure the logical topology per the diagram Configure Loopback interfaces on all devices in the format 150.24.0.Y/32 Configure OSPF area 0 on all interfaces throughout the network Enable IP Multicast-Routing on R1.13.1.255. 45.255 ! interface Ethernet0/0 ip address 10.4 255.0 255.0.1.1 point-to-point ip address 150.255.255.0 255.4 255.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.3.1.255.13.3 255.255.0.0.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 0.255.394 - www.255.255.255 ! interface Ethernet0/0 ip address 150.255.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.5.255.0 ip pim sparse-mode frame-relay interface-dlci 201 ! router ospf 1 network 0.0 ip pim sparse-mode frame-relay interface-dlci 405 ! router ospf 1 network 0.255 area 0 R4# ip multicast-routing ! interface Loopback0 ip address 150.255.255.5 255.3 255.1 point-to-point ip address 150.1.4.0.0.INE.0.12.255 area 0 R3# ip multicast-routing ! interface Loopback0 ip address 150.255.1.255.255.255.1.4 255.24.0 interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.255.255.1.255 area 0 R5# ip multicast-routing ! interface Loopback0 ip address 150.37.255.1.1.255.255 ! Copyright © 2010 Internetwork Expert .2 255.255.3 255.255.0 255.CCIE Service Provider Lab Workbook Volume I Version 1.com . 0 ip pim sparse-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.7 255.255.395 - www.0.0 255.CCIE Service Provider Lab Workbook Volume I Version 1.45.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.255.255.255.255.255 ! interface GigabitEthernet0/0 ip address 150.255 ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.0.1.6 255.7.INE.1.68.255.255.1.0 interface Ethernet0/0 ip address 150.0 ip pim sparse-mode ! router ospf 1 network 0.5 255.255.6.0 255.6 255.1.255 area 0 ! ip pim bsr-candidate Loopback0 R6# ip multicast-routing ! interface Loopback0 ip address 150.1 point-to-point ip address 150.0 ! interface FastEthernet0/4 switchport access vlan 24 ! Copyright © 2010 Internetwork Expert .0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.255.56.15.com .1.255.56.5 255.255.255.255 area 0 SW1# ip routing ! interface Loopback0 ip address 150.255.37.255.6 255.255.255.255.0.5 255.1.7 255.255.1.255.0.255.0 ip pim sparse-mode ! router ospf 1 network 0. v2 Info source: 150.INE.5.255.5.8 255. priority 0.1. Hash mask length: 0 Next bootstrap message in 00:00:56 R5#show ip pim rp mapping PIM Group-to-RP Mappings This system is the Bootstrap Router (v2) Group(s) 224.1 (?).1.8. v2 Info source: 150.1.255.15.0. BSR Priority: 0.0/4 RP 150. holdtime 210 Uptime: 00:12:19. expires: 00:03:10 R6#show ip pim rp mapping PIM Group-to-RP Mappings Group(s) 224.255.255.0/4 RP 150.1 (?).0.255.255. priority 0.0 ! router ospf 1 network 0.255. via bootstrap.CCIE Service Provider Lab Workbook Volume I Version 1.1.0. expires: 00:02:36 Copyright © 2010 Internetwork Expert .255 area 0 SW2# ip routing ! interface Loopback0 ip address 150.1.1 (?).0 interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 0.1.5 (?).1.8 255. via bootstrap. holdtime 210 Uptime: 00:06:00.0 255.0 255.1.255 area 0 Verification R1 advertises itself to the BSR as an RP Candidate: R5#show ip pim bsr-router PIMv2 Bootstrap information This system is the Bootstrap Router (BSR) BSR address: 150.0.1.68.255.com .0.0.0.0.396 - www.255 ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.5 (?) Uptime: 00:13:05. com .0 www.397 - Version 1.CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .INE. 3 S1/2 BGP AS 1 S0/1 150.56.398 - www.0/24 VLAN 24 150.0/24 R4 S0/0.0/24 .5 150.1 Frame Relay 405 504 .5 S0/0.13.1.INE.4 150.3 .2 S0/0.8 Copyright © 2010 Internetwork Expert .0 Multicast Source Distribution Protocol (MSDP) Objective: Configure MSDP between R2 and R4 so that multicast traffic originated by SW1 in AS 1 can be received by SW2 in AS 2.24.1.4 BGP AS 2 .1.12.com .0/24 .6 10.37.1 OSPF 150.1 S0/0.6 G0/1 Fa0/6 SW2 .0/24 OSPF Area 0 R6 .7 E0/0 R3 SW1 .CCIE Service Provider Lab Workbook Volume I Version 1.1.68.2 E0/0 .1.0/24 VLAN 56 G0/0 .1 R2 Fa0/0 . Fa0/3 OSPF Area 0 10.1 102 201 .1 OSPF Area 0 R5 E0/0 .45.0/24 Area 0 Frame Relay R1 .1.1. R3.7/24 on SW1 and advertise it into OSPF Configure R2 to originate a default route into the OSPF domain Configure PIM Sparse-Mode on the interfaces between R1. R5.1 255.0 Directions • • • • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 on the interfaces between R1. and SW2 Configure Loopbacks in the format 150.255.0.1. and R6’s connection to SW2 Configure R4’s IP address 150.7.255.1.1 point-to-point ip address 150.24.1.1.1. & R3. & R6.255.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1 255.1.1. R2.2 as the RP for AS 1 Configure OSPF area 0 on the interfaces between R4.1.0 area 0 network 150.0 area 0 Copyright © 2010 Internetwork Expert . R6.12.1.com .Y.1.8.0.399 - www.24.12. and R3’s connection to SW1 Configure R2’s IP address 150.0.1. and R6 and advertise them into OSPF Configure the Loopback 10.13.Y/32 on R1.CCIE Service Provider Lab Workbook Volume I Version 1.0 ip pim sparse-mode ! router ospf 1 network 150.255.0.Y. and R3 and advertise them into OSPF Configure the Loopback 10.1 255.0 ip pim sparse-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1. R5.255.1. R2.1 0. R5. R2.1 0.Y/32 on R4.8/24 on SW2 and advertise it into OSPF Configure R4 to originate a default route into the OSPF domain Configure PIM Sparse-Mode on the interfaces between R4. and SW1 Configure Loopbacks in the format 150.4 as the RP for AS 2 Configure an EBGP peering between R2 and R4 using their connected interface Redistribute OSPF learned routes into BGP on both R2 and R4 Configure an MSDP peering between R2 and R4 using their connected interface Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.INE.255. 24.24.1.CCIE Service Provider Lab Workbook Volume I Version 1.3 0.1.3 0.0 area 0 default-information originate always ! router bgp 1 redistribute ospf 1 neighbor 150.12.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 10.2 ip msdp peer 150.1.37.1.0 area 0 network 150.2 R2# ip multicast-routing ! interface Loopback0 ip address 150.255.24.1 0.1.2 255.37.0 area 0 network 150.2 Copyright © 2010 Internetwork Expert .0.1.0.3.1.13.4 remote-as 2 R3# ip multicast-routing ! interface Loopback0 ip address 150.0 network 150.0.0.4 remote-as 2 ! ip pim rp-address 150.255.2 0.255.24.400 - www.0.1.3 0.13.0 area 0 ! ip pim rp-address 150.2.255.255.0.24.13.2 255.2 255.255.0 area 0 network 150.1.3.0.12.24.1.3 255.255 ! interface Ethernet0/0 ip address 10.com .0.1.0.0.1.255.255.255.0.1.255.1.0.2 0.INE.2.3 255.1.1.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.255 ! interface FastEthernet0/0 ip address 150.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0 ip pim sparse-mode frame-relay interface-dlci 201 ! router ospf 1 network 150.1.1 point-to-point ip address 150.0 area 0 ! ip pim rp-address 150.255.255.3 255. 0.1.0 ip pim sparse-mode frame-relay interface-dlci 504 ! router ospf 1 network 150.0 area 0 network 150.255.255.1.0 ip pim sparse-mode frame-relay interface-dlci 405 ! router ospf 1 network 150.45.255.4 0.0.1 point-to-point ip address 150.401 - www.0.255.56.2 remote-as 1 ! ip pim rp-address 150.5.255 ! interface Ethernet0/0 ip address 150.4 0.24.56.INE.5 255.0.1.0.4 255.255.1.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.1.4.1.4 255.1.0 area 0 default-information originate always ! router bgp 2 redistribute ospf 1 neighbor 150.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.45.255.1.255.1 point-to-point ip address 150.255 ! interface Ethernet0/0 ip address 150.com .1.4 Copyright © 2010 Internetwork Expert .5.1.45.0 area 0 network 150.CCIE Service Provider Lab Workbook Volume I Version 1.4 255.1.0.2 R5# ip multicast-routing ! interface Loopback0 ip address 150.4 ip msdp peer 150.0 area 0 network 150.0 area 0 ! ip pim rp-address 150.45.0.0 R4#show run ip multicast-routing ! interface Loopback0 ip address 150.5 0.5 255.5 255.1.1.0.5 0.24.255.5 0.24.255.0.1.1.4.255.24.24.255.0. 0 area 0 ! ip pim rp-address 150.56.0.INE.7 0.1.255.1.255.6.7.0.6 255.0 R6# ip multicast-routing ! interface Loopback0 ip address 150.7 255.0.1.1.402 - www.6 0.0.0 area 0 network 150.24.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.1.0 ! interface FastEthernet0/6 no switchport ip address 10.37.56.1.255.255.255.com .255.1.1.0.8.8 255.4 SW1# ip routing ! interface Loopback0 ip address 10.0 area 0 network 150.6 0.6 255.255 ! interface GigabitEthernet0/0 ip address 150.68.255.1.37.255.1.1.1.0.0.0 area 0 SW2# ip routing ! interface Loopback0 ip address 10.255.0.255.CCIE Service Provider Lab Workbook Volume I Version 1.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 10.1.255.255.68.255.8 255.0.7 0.68.6 255.0.0 ip pim sparse-mode ! router ospf 1 network 10.255.7 255.7.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.6.0 ! Copyright © 2010 Internetwork Expert .0 area 0 network 10.6 0. 0 area 0 Verification Enable multicast debugging on R2 and R4: R2#debug ip pim PIM debugging is on R2#debug ip msdp peer MSDP Peer debugging is on R2#debug ip msdp routes MSDP Routes debugging is on R2#debug ip msdp detail MSDP Detail debugging is on R4#debug ip pim PIM debugging is on R4#debug ip msdp peer MSDP Peer debugging is on R4#debug ip msdp routes MSDP Routes debugging is on R4#debug ip msdp detail MSDP Detail debugging is on Generate multicast traffic from SW1: SW1#conf t Enter configuration commands.1.0 area 0 network 10. End with CNTL/Z.8 0.7/32. RP: 150.24.1.1).1.1.24.37.0.2.37. qs 1 MSDP(0): 150. 224.2 into the (*.1.1.8.INE. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224. ec: 1.1.1.4: Send 44-byte SA encapsulated data for (10.1.1.24.1. one per line.1). group 224.2 R4 recieves SA message from R2: R4# MSDP(0): Received 64-byte TCP segment from 150. 224.1.1.0.1.13. group 224.1 PIM(0): Check RP 150.1.7.1. len: 64.1.1 MSDP(0): 150.8 0.1.24.0.0.1.2: Received 64-byte msg 169 from peer MSDP(0): 150.24. 224.24.403 - www.1 dest-port 12345 source-ipaddr 10.0 router ospf 1 network 10.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 life forever SW1(config)# R3 registers source with R2 and R2 generates MSDP SA message to R4: R2# PIM(0): Received v2 Register on Serial0/0.24.1.7.1. accepted Copyright © 2010 Internetwork Expert .com .1.3 for 10.1.1.1.37.7. RP 150.1.13. with data MSDP(0): 150.2: SA TLV.37.1.2: Peer RPF check passed for single peer MSDP(0): (10.CCIE Service Provider Lab Workbook Volume I Version 1.24.2.1.2 MSDP(0): Append 64 bytes to 0-byte msg 169 from 150.1 from 150.37.1.24.68.1.3 for 10.1) entry PIM(0): Send v2 Register-Stop to 150. 224. len=44(44).24. to us PIM(0): Join-list: (*.1 R4 receives PIM Join from R5 for 224.224.37.7.1. to us R4# PIM(0): Join-list: (10.1. 224.1 (GigabitEthernet0/1) id=0.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.37.INE.1.1. S-bit Join PIM(0): Send v2 join/prune to 150.7 (GigabitEthernet0/0) d=224.1.2 PIM(0): Adding v2 (10.1.45. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. 224.1. Forward state.1.5.1 from 150.1.1.45.404 - www. 224.1/150. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6#debug ip mpacket IP multicast packets debugging is on IP(0): s=10. WC-bit set.7.1).1 from 150.24.1/150.1.1. 224. 224.45.1. End with CNTL/Z. ttl=249. End with CNTL/Z.1. Forward state. by PIM *G Join PIM(0): Insert (10.1. Forward state.1).7/32.37.1.5.1.1).7/32. prot=17.1/150.24.1.5 to (10.com . 224.4 into the (*. RPT-bit set. S-bit set PIM(0): Update Serial0/0.45.1) entry PIM(0): Add Serial0/0.1. S-bit set PIM(0): Check RP 150.2's queue PIM(0): Update Serial0/0.1.1. by PIM SG Join R6 forwards multicast feed to SW2: R6#conf t Enter configuration commands.1 and builds the RPF tree R4# PIM(0): Received v2 Join/Prune on Serial0/0.1. by PIM *G Join PIM(0): Building Join/Prune packet for nbr 150.5 to (*.1.1.1.1.1) join in nbr 150.1.1.2 (Ethernet0/0) PIM(0): Received v2 Join/Prune on Serial0/0.7.37.37.1.45.0 Configure SW2 to receive traffic for the multicast group: SW2#conf t Enter configuration commands.1).1.1.37.1).1.5 to (10. mforward Copyright © 2010 Internetwork Expert . one per line.1.1.1).1.24. one per line. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .0 www.com .405 - Version 1.INE. 1.255.7 E0/0 R3 SW1 .1.6 G0/1 Fa0/6 SW2 .com .1.0/24 .0/24 .45.4 OSPF Area 0 150. Fa0/3 OSPF Area 0 10.24.1 OSPF 150.1.3 S1/2 S0/1 150.1.4 405 504 .406 - www.1.2 E0/0 .8 Copyright © 2010 Internetwork Expert .68.1 Frame Relay .1 102 201 .INE.5 150.0/24 OSPF Area 0 R6 .1.0 Anycast RP Objective: Configure R1 and R5 with the duplicate addresses 150.CCIE Service Provider Lab Workbook Volume I Version 1.3 .0/24 Area 0 Frame Relay R1 .0/24 R4 S0/0.5 S0/0.1 OSPF Area 0 R5 E0/0 .0/24 VLAN 24 150.2 S0/0.12.37.1 R2 Fa0/0 .255/32 for Anycast RP within the PIM Sparse-Mode domain.1.13.0/24 VLAN 56 G0/0 .1 S0/0.56.6 10. 1 0.255.255.1 0.Y.255 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.0.0 area 0 ! ip pim rp-address 150. R2.1. R5.1.1 point-to-point ip address 150.1.0. R2.0 area 0 network 150.CCIE Service Provider Lab Workbook Volume I Version 1. R3.255.1.255.Y/32 on R1.1.1.407 - www.0.1 255. and R6 Configure Loopbacks in the format 10.1.5 connect-source Loopback0 Copyright © 2010 Internetwork Expert .255.1. R4.255.1.13.255.255.0 ip pim sparse-mode ! router ospf 1 network 150.Y/24 on SW1 and SW2 Configure an additional Loopback 150. R5.255 255.255/32 on R1 and R5 Configure OSPF area 0 on all interfaces in the network Configure PIM Sparse-Mode on the interfaces between R1.255 as the RP for all multicast enabled routers Configure an MSDP peering between R1 and R5 using their unique loopback address Ensure that multicast traffic originated by SW1 can be received by SW2 Final Configuration R1# ip multicast-routing ! interface Loopback0 ip address 150.1 255.0 ip pim sparse-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.255 ! interface Loopback1 ip address 150.0 area 0 network 150.INE.Y.255. and R6 Configure PIM Sparse-Mode on R3 and R6’s connections to SW1 and SW2 Configure the anycast address 150.255.255 0.1.1 255.0 Directions • • • • • • • • • • Build the logical topology per the diagram Configure Loopbacks in the format 150.1.com .5.1 0.1.0.13.12.1.0 area 0 network 150.255.0.255.1.12.255 ip msdp peer 150. R4.0.1. R3.0.1.0. 255.1.1.3 255.0.1.2 0.408 - www.1.255.0.0.255.0 ip pim sparse-mode clockrate 64000 ! router ospf 1 network 10.CCIE Service Provider Lab Workbook Volume I Version 1.2 0.12.255.0.255.4 255.INE.24.255.255.1.1.0 area 0 network 150.0 area 0 network 150.0 ip pim sparse-mode ! Copyright © 2010 Internetwork Expert .0 R2# ip multicast-routing ! interface Loopback0 ip address 150.3 0.37.4.3.2.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255 ! interface Ethernet0/0 ip address 150.255.24.1.255.1.3 255.1 point-to-point ip address 150.0 area 0 network 150.2 255.1.0 ip pim sparse-mode frame-relay interface-dlci 201 ! router ospf 1 network 150.com .0.0.3 0.255.2 0.255.2 255.4 255.255 R3# ip multicast-routing ! interface Loopback0 ip address 150.2.255 ! interface FastEthernet0/0 ip address 150.24.0 ip pim sparse-mode ! interface Serial1/2 ip address 150.1.255 ! interface Ethernet0/0 ip address 10.1.3 255.0.0.255.1.1.12.37.255 R4# ip multicast-routing ! interface Loopback0 ip address 150.1.1.13.255.255.0.255.3.0.0 area 0 ! ip pim rp-address 150.13.255.2 255.3 0.0.0.255.0 area 0 network 150.1.255.0 area 0 ! ip pim rp-address 150. 1.255 R5# ip multicast-routing ! interface Loopback0 ip address 150.255.5 255.1.CCIE Service Provider Lab Workbook Volume I Version 1.0.5 255.0.4 0.255.0.5 0.255.255 255.0 area 0 ! ip pim rp-address 150.255.0 Copyright © 2010 Internetwork Expert .255.255 ! interface Loopback1 ip address 150.0 area 0 network 150.6.1.5 255.0.255.0.6 255.4 0.1.255.1.1 connect-source Loopback0 R6# ip multicast-routing ! interface Loopback0 ip address 150.255 ip msdp peer 150.1.0.0.1.1.0 area 0 network 150.255.255.1.6 255.45.0 area 0 network 150.409 - www.255.4 255.1.1 point-to-point ip address 150.255.0 interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.4 0.255 0.255 ! interface Ethernet0/0 ip address 150.5.56.1.0 ip pim sparse-mode frame-relay interface-dlci 405 ! router ospf 1 network 150.0.56.68.255.0 area 0 network 150.45.1.0.1.45.0.255.255.1.255.0.255.255.0 area 0 network 150.0.255 ! interface GigabitEthernet0/0 ip address 150.1.6 255.45.0 ip pim sparse-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.4.255.255.0 ip pim sparse-mode frame-relay interface-dlci 504 ! router ospf 1 network 150.255.1.5 0.1.1.com .5.1 point-to-point ip address 150.24.0 area 0 ! ip pim rp-address 150.0.INE.5 0.0 ip pim sparse-mode ! interface GigabitEthernet0/1 ip address 10.56.1. 1.7 255.1.0.0.8.CCIE Service Provider Lab Workbook Volume I Version 1.1.255 SW1# ip routing ! interface Loopback0 ip address 10.0.6 0.255.7.6.7 0.0.0.0.0 area 0 network 10.0.68.0 area 0 SW2# ip routing ! interface Loopback0 ip address 10.1.255.0 ! interface FastEthernet0/6 no switchport ip address 10.8 255.410 - www.255.7.255.1.1.6 0.0 area 0 Copyright © 2010 Internetwork Expert .8 0.0.56.0.0.255.1.37.1.0.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 10.255.6 0.8 0.0.255.37.255.INE.68.0 ! router ospf 1 network 10.0 area 0 ! ip pim rp-address 150.0 ip pim sparse-mode ! router ospf 1 network 10.7 0.1.0 area 0 network 10.255.1.8.0.com .68.7 255.1.8 255.0.0 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.0 area 0 network 150.0 area 0 network 150.1. one per line.7.1.37.1.1.37.1.7.255.13.7/32.1.1. 224.1.255.1.1. qs 1 MSDP(0): 150.1. RP 150.0 Verification Enable multicast debugging on R1 and R5: R1#debug ip pim PIM debugging is on R1#debug ip msdp peer MSDP Peer debugging is on R1#debug ip msdp routes MSDP Routes debugging is on R1#debug ip msdp detail MSDP Detail debugging is on R5#debug ip pim PIM debugging is on R5#debug ip msdp peer MSDP Peer debugging is on R5#debug ip msdp routes MSDP Routes debugging is on R5#debug ip msdp detail MSDP Detail debugging is on Generate multicast traffic from SW1: SW1#conf t Enter configuration commands.1.3 for 10.1: Received 20-byte msg 40 from peer MSDP(0): 150.1.255 MSDP(0): 150.1.1.INE.1. RP: 150.1. SW1(config)#rtr 1 SW1(config-rtr)#type udpEcho dest-ipaddr 224.1.1.255 into the (*.1 PIM(0): Check RP 150.1. 224.1.5: Send 44-byte SA encapsulated data for (10.1).1.1.1). 224.1. group 224.255.1 MSDP(0): 150.1.7 control disable SW1(config-rtr-udp)#frequency 5 SW1(config-rtr-udp)#timeout 0 SW1(config-rtr-udp)#exit SW1(config)#rtr schedule 1 start after 00:00:05 life forever SW1(config)# R3 registers source with R1 and R1 generates MSDP SA message to R5: R1# PIM(0): Received v2 Register on Serial0/1 from 150.1.37.1.com .1.1: Peer RPF check passed for single peer MSDP(0): (10.1.1 dest-port 12345 source-ipaddr 10.7.1.1) entry PIM(0): Send v2 Register-Stop to 150.3 for 10. group 224.255 R5 recieves SA message from R1: R5# MSDP(0): Received 20-byte TCP segment from 150.CCIE Service Provider Lab Workbook Volume I Version 1.5.13.37. ec: 1.1 MSDP(0): Append 20 bytes to 0-byte msg 40 from 150.1.37.1.1: SA TLV.1.1. accepted Copyright © 2010 Internetwork Expert . len: 20. End with CNTL/Z.411 - www.1. mforward Copyright © 2010 Internetwork Expert .1. ttl=249.1. Forward state. 224.224.6 to (*. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224. 224.1.1.6.37.7/32.1. Forward state.1) join in nbr 150.412 - www.1. WC-bit set. len=44(44).45.1.1.1. End with CNTL/Z.1).1.255.37.1. 224.1.37.1.INE.1 R5 receives PIM Join from R6 for 224.1.56.255 into the (*.0 Configure SW2 to receive traffic for the multicast group: SW2#conf t Enter configuration commands.1.1. 224. S-bit Join PIM(0): Send v2 join/prune to 150. one per line.56.1.com .45. to us PIM(0): Join-list: (*. prot=17.1.1.7.1.1.1).1.1 and builds the RPF tree R5# PIM(0): Received v2 Join/Prune on Ethernet0/0 from 150.1). RPT-bit set.1. by PIM *G Join PIM(0): Insert (10. S-bit set PIM(0): Check RP 150. by PIM *G Join PIM(0): Building Join/Prune packet for nbr 150.1.CCIE Service Provider Lab Workbook Volume I Version 1.45.1.4 PIM(0): Adding v2 (10.1) R6 forwards multicast feed to SW2: R6#conf t Enter configuration commands. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6#debug ip mpacket IP multicast packets debugging is on IP(0): s=10. one per line.6 to (10.1) entry PIM(0): Add Ethernet0/0/150.7 (GigabitEthernet0/0) d=224.7.1.1.37.4 (Serial0/0.56.1).1 (GigabitEthernet0/1) id=0.1. End with CNTL/Z. 224.4's queue PIM(0): Update Ethernet0/0/150.1. CCIE Service Provider Lab Workbook Volume I Copyright © 2010 Internetwork Expert .0 www.INE.413 - Version 1.com . 13.0/24 VLAN 15 R2 BGP AS 2 150. Fa0/3 SW1 10.45.0/24 .1.1.1 Fa0/0 150.1 Fa0/0 .2 E0/0 .INE.1.1.0/24 R1 Frame Relay .0/24 .1 .1.0/24 VLAN 56 . and AS 3 so that R5 will accept multicast traffic from SW1 through AS 2.12.4 150.68.414 - www.1 102 201 .3 .5 R6 .5 OSPF Area 0 G0/0 BGP AS 3 150.1 E0/1 R5 E0/0 .2 S0/0.6 Fa0/6 SW2 .5 S0/0.56.37.1.6 G0/1 10.4 .0 Multicast BGP Objective: Configure Multicast BGP between AS 1.15.0/24 R4 S0/0.24.0/24 VLAN 24 150. AS 2.0/24 .com .3 S1/2 S0/1 150.8 Copyright © 2010 Internetwork Expert .1.CCIE Service Provider Lab Workbook Volume I Version 1.1 S0/0.1.1 Frame Relay 405 504 .7 E0/0 R3 BGP AS 1 OSPF Area 0 . 15. and SW2 Configure Loopbacks on SW1 and SW2 in the format 10.1.0 exit-address-family Copyright © 2010 Internetwork Expert .2 activate network 10.255.415 - www.1.0 ip pim dense-mode ! router ospf 1 network 150.1 255.13.1 0. R3.255.1.1.0 mask 255.12.1.Y.1 255. and R6 except VLAN 15 between R1 and R5 Configure BGP AS 1 on R1 Configure BGP AS 2 on R2 and R4 Configure BGP AS 3 on R5 R1 should exchange IPv4 unicast prefixes with R5 via BGP R1 should exchange IPv4 unicast and multicast prefixes with R2 via BGP R4 should exchange IPv4 unicast and multicast prefixes with R5 via BGP Advertise the Loopback of SW1 into unicast and multicast BGP on R1 Advertise the Loopback of SW2 into unicast BGP on R5 Final Configuration R1# ip multicast-routing ! interface FastEthernet0/0 ip address 150.7.INE. and SW1 Configure OSPF area 0 between R5.255. R5.255.12.0. R6.0 ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.1.255.0 ip pim dense-mode frame-relay interface-dlci 102 ! interface Serial0/1 ip address 150.1.0 Directions • • • • • • • • • • • • • • Build the logical topology per the diagram Configure OSPF area 0 between R1.1.Y/24 and advertise them into OSPF with a mask of /24 Configure R1 and R5 to advertise default routes into OSPF Configure PIM dense-mode on all interfaces of R1.CCIE Service Provider Lab Workbook Volume I Version 1.255.1 255.1 point-to-point ip address 150.0 area 0 default-information originate always ! router bgp 1 neighbor 150.0.12.2 remote-as 2 neighbor 150. R2. R4. R3.15.1.5 remote-as 3 ! address-family ipv4 multicast neighbor 150.com .255.13.255. 0 area 0 Copyright © 2010 Internetwork Expert .0 exit-address-family R2# ip multicast-routing ! interface FastEthernet0/0 ip address 150.12.1.255.0 area 0 network 150.12.0.0.1.0 ip pim dense-mode ! interface Serial1/2 ip address 150.416 - www.255.24.4 remote-as 2 ! address-family ipv4 multicast neighbor 150.1.1.24.1 point-to-point ip address 150.24.5 activate network 10.255.1.1.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.0.1.255.com .INE.2 255.1.4 next-hop-self exit-address-family ! address-family ipv4 neighbor 150.0 ip pim dense-mode clockrate 64000 ! router ospf 1 network 10.15.4 activate neighbor 150.1.1.0.255.1.37.255.1.1.1 activate neighbor 150.255.3 255.24.255.0 ! address-family ipv4 neighbor 150.12.7.1.2 activate neighbor 150.12.255.0 ip pim dense-mode frame-relay interface-dlci 201 ! router bgp 2 neighbor 150.3 255.3 0.37.4 next-hop-self exit-address-family R3# ip multicast-routing ! interface Ethernet0/0 ip address 10.13.1.13.0 mask 255.4 activate neighbor 150.2 255.CCIE Service Provider Lab Workbook Volume I Version 1.1.1.24.24.255.3 0.12.1 remote-as 1 neighbor 150.1 activate neighbor 150. 5 255.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.255.1.56.1 point-to-point ip address 150.255.1.CCIE Service Provider Lab Workbook Volume I Version 1.255.0.1.1.1.0 ! router ospf 1 network 150.0 R4# ip multicast-routing ! interface Ethernet0/0 ip address 150.1.1 remote-as 1 neighbor 150.45.5 0.15.5 activate exit-address-family ! address-family ipv4 multicast neighbor 150.45.1.0 area 0 default-information originate always ! router bgp 3 neighbor 150.0 ip pim dense-mode frame-relay interface-dlci 504 ! interface Ethernet0/1 ip address 150.417 - www.56.2 activate neighbor 150.5 255.1.255.45.255.15.24.com .2 remote-as 2 neighbor 150.1.255.45.255.1.1.24.45.1.5 remote-as 3 ! address-family ipv4 neighbor 150.INE.1 point-to-point ip address 150.255.4 255.4 remote-as 2 ! Copyright © 2010 Internetwork Expert .1.2 next-hop-self neighbor 150.255.0 ip pim dense-mode ! interface Serial0/0 encapsulation frame-relay ! interface Serial0/0.45.0 ip pim dense-mode frame-relay interface-dlci 405 ! router bgp 2 neighbor 150.5 activate exit-address-family R5# ip multicast-routing ! interface Ethernet0/0 ip address 150.2 activate neighbor 150.1.5 255.24.4 255.0.255.24.1.24. 0 area 0 network 10.0.255.1.37.45.1.com .1.CCIE Service Provider Lab Workbook Volume I Version 1.0.0 address-family ipv4 neighbor 150.255.7 255.6 0.0 ip pim dense-mode ! interface GigabitEthernet0/1 ip address 10.56.255.6 255.0.255.1.1.56.1.15.1.255.0 exit-address-family ! address-family ipv4 multicast neighbor 150.8.255.0.0 ip pim dense-mode ! router ospf 1 network 10.1 activate neighbor 150.0 ip ospf network point-to-point ! interface FastEthernet0/1 switchport access vlan 15 ! interface FastEthernet0/2 switchport access vlan 24 ! interface FastEthernet0/3 no switchport ip address 10.68.418 - www.0 area 0 SW1# ip routing ! interface Loopback0 ip address 10.0.0 mask 255.1.1.68.7 0.255.45.1.7.0 area 0 network 150.4 activate exit-address-family R6# ip multicast-routing ! interface GigabitEthernet0/0 ip address 150.1.0.255.0 ! interface FastEthernet0/4 switchport access vlan 24 ! interface FastEthernet0/5 switchport access vlan 56 ! interface FastEthernet0/6 switchport access vlan 56 ! router ospf 1 network 10.7 0.37.6 255.255.INE.0.6 0.7.255.4 activate network 10.1.7 255.0.0 area 0 Copyright © 2010 Internetwork Expert . 1 SW2(config-if)#end SW2# Configure SW1 to generate traffic SW1#ping Protocol [ip]: Target IP address: 224.1.1..1.0.INE..0 ip ospf network point-to-point ! interface FastEthernet0/5 switchport access vlan 15 ! interface FastEthernet0/6 no switchport ip address 10.8 255.7.1.1: Verbose[none]: to 224. Strict.7.419 - www. Timestamp.255.1. one per line. Sweep range of sizes [n]: Type escape sequence to abort. Sending 1000.1.1: SW2#conf t Enter configuration commands.8.255.8 255. SW2(config)#int fa0/6 SW2(config-if)#ip igmp join-group 224.CCIE Service Provider Lab Workbook Volume I Version 1. <output omitted> to 224.1.0 area 0 network 10. End with CNTL/Z.1.1.0 SW2# ip routing ! interface Loopback0 ip address 10.8.1. 100-byte ICMP Echos Packet sent with a source address .1 Repeat count [1]: 1000 Datagram size [100]: Timeout in seconds [2]: Extended commands [n]: y Interface [All]: FastEthernet0/3 Time to live [255]: Source address: 10.com .255.1.1.1.1.68.0.0 ! router ospf 1 network 10.1..1.8 0.0. timeout is 2 seconds: of 10.8 0.. Record.7 Copyright © 2010 Internetwork Expert .7 Type of service [0]: Set DF bit in IP header? [no]: Validate reply data? [no]: Data pattern [0xABCD]: Loose.68.0.255.1.0 area 0 Verification Configure SW2 to request traffic for 224. ttl=250.0 Before 10. prot=1.7. R6(config)#int g0/0 R6(config-if)#no ip mroute-cache R6(config-if)#end R6#debug ip mpacket IP multicast packets debugging is on IP(0): s=10. h history. d damped.1.7.1) d=224.1.1.1 R5(config-subif)#no ip route-cache R5(config-subif)#end R5#debug ip mpacket IP multicast packets debugging is on IP(0): s=10. * valid. e .1.0/24 Next Hop 150.7.0 RPF information for ? (10. no route exists After 10. len=104(100). ttl=249.1. End with CNTL/Z.1.7 (Serial0/0. one per line. ttl=250.1. prot=1.45.1.4) RPF route/mask: 10.1.56.7. R5(config)#int s0/0. i internal. len=100(100).0/24 RPF type: mbgp RPF recursion count: 0 Doing distance-preferred lookups across tables R5#debug ip mpacket IP multicast packets debugging is on IP(0): s=10.5 Status codes: s suppressed.EGP. mforward R6#conf t Enter configuration commands. r RIB-failure.420 - www.7.1.1 id=63.IGP.1 (GigabitEthernet0/1) id=129. End with CNTL/Z.7 (GigabitEthernet0/0) d=224.1.1.1 (Ethernet0/0) id=122.0/24 is learned via Multicast BGP: R5#conf t Enter configuration commands. prot=1.0 RPF information for ? (10.1.0/24 is learned via Multicast BGP: R5#show ip bgp ipv4 multicast BGP table version is 2.1.7.4 Metric LocPrf Weight Path 0 2 1 i R5#show ip rpf 10. ? .com .1) d=224.1. local router ID is 150.CCIE Service Provider Lab Workbook Volume I Version 1.INE.7 (Serial0/0.1.45.0) RPF interface: Serial0/0.incomplete Network *> 10. mforward Copyright © 2010 Internetwork Expert . S Stale Origin codes: i .7.1. > best.7.0) failed.7.1 RPF neighbor: ? (150.7.1. one per line. len=100(100).1.7.1. not RPF interface R5#show ip rpf 10.
Copyright © 2024 DOKUMEN.SITE Inc.