*********************************** Forwarding Information Base (FIB) *********************************** ---- R1 ---- C 1 X 2 NH R2 [MAC-R1 - MAC-R2] X 3 NH R2 [MAC-R1 - MAC-R2] X 4 NH R2 [MAC-R1 - MAC-R2] ---- R2 ---- X 1 NH R1 [MAC-R2 - MAC-R1] C 2 X 3 NH R3 [MAC-R2 - MAC-R3] X 4 NH R3 [MAC-R2 - MAC-R3] ---- R3 ---- X 1 NH R2 [MAC-R3 - MAC-R2] X 2 NH R2 [MAC-R3 - MAC-R2] C 3 X 4 NH R4 [MAC-R3 - MAC-R4] ---- R4 ---- X 1 NH R3 [MAC-R4 - MAC-R3] X 2 NH R3 [MAC-R4 - MAC-R3] X 3 NH R3 [MAC-R4 - MAC-R3] C 4 *********************************** Label Information Base (LIB) *********************************** ---- R1 ---- C 1 Local Label: IMPLICIT_NULL (POP Label) Remote Label: 16 - R2 X 2 Local Label: 22 Remote Label: IMPLICIT_NULL - R2 X 3 Local Label: 23 Remote Label: 18 - R2 X 4 Local Label: 24 Remote Label: 19 - R2 ---- R2 ---- X 1 Local Label: 16 Remote Label: IMPLICIT_NULL - R1 Remote Label: 18 - R3 C 2 Local Label: IMPLICIT_NULL Remote Label: 22 - R1 Remote Label: 19 - R3 X 3 Local Label: 18 Remote Label: 23 - R1 Remote Label: IMPLICIT_NULL - R3 X 4 Local Label: 19 Remote Label: 24 - R1 Remote Label: 21 - R3 ---- R3 ---- X 1 Local Label: 18 Remote Label: 16 - R2 Remote Label: 20 - R4 X 2 Local Label: 19 Remote Label: IMPLICIT_NULL - R2 Remote Label: 21 - R4 C 3 Local Label: IMPLICIT_NULL Remote Label: 18 - R2 Remote Label: 22 - R4 X 4 Local Label: 21 Remote Label: 19 - R2 Remote Label: IMPLICIT_NULL - R4 ---- R4 ---- X 1 Local Label: 20 Remote Label: 18 - R3 X 2 Local Label: 21 Remote Label: 19 - R3 X 3 Local Label: 22 Remote Label: IMPLICIT_NULL - R3 C 4 Local Label: IMPLICIT_NULL Remote Label: 21 - R3 ***************************************** Label Forwarding Information Base (LIB) ***************************************** ---- R1 ---- Network Local Label/Outgoing Label NH 2 22 / POP R2 [MAC-R1 - MAC-R2] 3 23 / 18 R2 [MAC-R1 - MAC-R2] 4 24 / 19 R2 [MAC-R1 - MAC-R2] ---- R2 ---- Network Local Label/Outgoing Label NH 1 16 / POP R1 [MAC-R2 - MAC-R1] 3 18 / POP R3 [MAC-R2 - MAC-R3] 4 19 / 21 R3 [MAC-R2 - MAC-R3] ---- R3 ---- Network Local Label/Outgoing Label NH 1 18 / 16 R2 [MAC-R3 - MAC-R2] 2 19 / POP R2 [MAC-R3 - MAC-R2] 4 21 / POP R4 [MAC-R3 - MAC-R4] ---- R4 ---- Network Local Label/Outgoing Label NH 1 20 / 18 R3 [MAC-R4 - MAC-R3] 2 21 / 19 R3 [MAC-R4 - MAC-R3] 3 22 / POP R3 [MAC-R4 - MAC-R3] ***************************************** Lab 1 - Configuring MPLS Unicast Routing ***************************************** ---- R1 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ---- R2 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ! Interface E0/1 mpls ip ---- R3 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ! Interface E0/1 mpls ip ---- R4 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip Verification: ------------------ show ip cef - Displays the FIB show mpls ldp binding - Displays the LIB show mpls forwarding - Displays the LFIB ***************************************** Lab 2 - Configuring a BGP Free Core ***************************************** =============================================== 1. Configure eBGP between R5 & R1 =============================================== ---- R1 ---- Interface E0/1 ip address 192.1.15.1 255.255.255.0 no shut ! router bgp 1000 neighbor 192.1.15.5 remote-as 500 ---- R5 ---- Interface E0/0 ip address 192.1.15.5 255.255.255.0 no shut ! Interface loopback0 ip address 5.5.5.5 255.0.0.0 ! router bgp 500 neighbor 192.1.15.1 remote-as 1000 network 5.0.0.0 =============================================== 2. Configure eBGP between R4 & R8 =============================================== ---- R4 ---- Interface E0/2 ip address 192.1.48.4 255.255.255.0 no shut ! router bgp 1000 neighbor 192.1.48.8 remote-as 800 ---- R8 ---- Interface E0/0 ip address 192.1.48.8 255.255.255.0 no shut ! Interface loopback0 ip address 8.8.8.8 255.0.0.0 ! router bgp 800 neighbor 192.1.48.4 remote-as 1000 network 8.0.0.0 =============================================== 3. Configure iBGP between R1 & R4 =============================================== ---- R1 ---- router bgp 1000 neighbor 4.4.4.4 remote-as 1000 neighbor 4.4.4.4 update-source loopback0 neighbor 4.4.4.4 next-hop-self ---- R4 ---- router bgp 1000 neighbor 1.1.1.1 remote-as 1000 neighbor 1.1.1.1 update-source loopback0 neighbor 1.1.1.1 next-hop-self ***************************************** Lab 3 - Configuring LDP Authentication ***************************************** ---- R1 ---- mpls ldp neighbor 2.2.2.2 password Cisco@123 mpls ldp password required ---- R2 ---- mpls ldp neighbor 1.1.1.1 password Cisco@123 mpls ldp neighbor 3.3.3.3 password Cisco@123 mpls ldp password required ---- R3 ---- mpls ldp neighbor 2.2.2.2 password Cisco@123 mpls ldp neighbor 4.4.4.4 password Cisco@123 mpls ldp password required ---- R4 ---- mpls ldp neighbor 3.3.3.3 password Cisco@123 mpls ldp password required +++++++++++++++++++++++++++++++++ Core SP 1. IGP for Underlay Routing 2. LDP for MPLS Unicast Routing 3. MP-BGP for VPNv4 Routes Provider Edge 4. Configure the PE Router Customer Edge 5. Configure the CE Router ******************************************* Lab 4 - Configuring the Core for MPLS VPN ******************************************* ================================== 1. Configure the SP Core IGP ================================== ---- R1 ---- router eigrp 123 network 192.1.12.0 network 1.0.0.0 ---- R2 ---- router eigrp 123 network 192.1.12.0 network 192.1.23.0 network 2.0.0.0 ---- R3 ---- router eigrp 123 network 192.1.23.0 network 192.1.34.0 network 3.0.0.0 ---- R4 ---- router eigrp 123 network 192.1.34.0 network 4.0.0.0 ========================================= 2. Configure LDP to MPLS Unicast Routing ========================================= ---- R1 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ---- R2 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ! Interface E0/1 mpls ip ---- R3 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ! Interface E0/1 mpls ip ---- R4 ---- mpls ldp router-id loopback0 ! Interface E0/0 mpls ip ============================================ 3. Configure MP-BGP between the PE Routers ============================================ ---- R1 ---- router bgp 1000 neighbor 4.4.4.4 remote-as 1000 neighbor 4.4.4.4 update-source Loopback0 ! address-family vpnv4 neighbor 4.4.4.4 activate ---- R4 ---- router bgp 1000 neighbor 1.1.1.1 remote-as 1000 neighbor 1.1.1.1 update-source Loopback0 ! address-family vpnv4 neighbor 1.1.1.1 activate ********************************************* Lab 5 - Configure the PE Routers for CUST-A ********************************************* ================================== 1. Create the VRF ================================== ---- R1 ---- vrf definition CUST-A rd 1000:1 route-target export 1:1 route-target import 1:2 address-family ipv4 exit ---- R4 ---- vrf definition CUST-A rd 1000:1 route-target export 1:2 route-target import 1:1 address-family ipv4 exit =========================================================== 2. Configure the PE-CE Interface and assign it to the VRF =========================================================== ---- R1 ---- Interface E0/1 vrf forwarding CUST-A ip address 192.1.15.1 255.255.255.0 no shut ---- R4 ---- Interface E0/2 vrf forwarding CUST-A ip address 192.1.48.4 255.255.255.0 no shut =========================================================== 3. Configure the PE-CE Routing Protocol =========================================================== ---- R1 ---- router eigrp 1 address-family ipv4 vrf CUST-A autonomous-system 123 network 192.1.15.0 redistribute bgp 1000 metric 10 10 10 10 10 ! router bgp 1000 address-family ipv4 vrf CUST-A redistribute eigrp 123 ---- R4 ---- router eigrp 1 address-family ipv4 vrf CUST-A autonomous-system 123 network 192.1.48.0 redistribute bgp 1000 metric 10 10 10 10 10 ! router bgp 1000 address-family ipv4 vrf CUST-A redistribute eigrp 123 ********************************************* Lab 6 - Configure the CE Routers for CUST-A ********************************************* ---- R5 ---- router eigrp 123 network 192.1.15.0 network 10.0.0.0 ---- R8 ---- router eigrp 123 network 192.1.48.0 network 10.0.0.0 Verification: --------------- sh bgp vpnv4 unicast all sh bgp vpnv4 unicast vrf CUST-A sh bgp vpnv4 unicast vrf CUST-A 10.5.5.0 ********************************************* Lab 7 - Configure the PE Routers for CUST-B ********************************************* ================================== 1. Create the VRF ================================== ---- R1 ---- vrf definition CUST-B rd 1000:2 route-target both 1000:2 address-family ipv4 exit ---- R4 ---- vrf definition CUST-B rd 1000:2 route-target both 1000:2 address-family ipv4 exit =========================================================== 2. Configure the PE-CE Interface and assign it to the VRF =========================================================== ---- R1 ---- Interface E0/2 vrf forwarding CUST-B ip address 192.1.16.1 255.255.255.0 no shut ---- R4 ---- Interface E0/1 vrf forwarding CUST-B ip address 192.1.47.4 255.255.255.0 no shut =========================================================== 3. Configure the PE-CE Routing Protocol =========================================================== ---- R1 ---- router eigrp 1 address-family ipv4 vrf CUST-B autonomous-system 100 network 192.1.16.0 redistribute bgp 1000 metric 10 10 10 10 10 ! router bgp 1000 address-family ipv4 vrf CUST-B redistribute eigrp 100 ---- R4 ---- router eigrp 1 address-family ipv4 vrf CUST-B autonomous-system 200 network 192.1.47.0 redistribute bgp 1000 metric 10 10 10 10 10 ! router bgp 1000 address-family ipv4 vrf CUST-B redistribute eigrp 200 ********************************************* Lab 8 - Configure the CE Routers for CUST-B ********************************************* ---- R6 ---- router eigrp 100 network 192.1.16.0 network 10.0.0.0 ---- R7 ---- router eigrp 200 network 192.1.47.0 network 10.0.0.0 Verification: --------------- sh bgp vpnv4 unicast all sh bgp vpnv4 unicast vrf CUST-A sh bgp vpnv4 unicast vrf CUST-A 10.5.5.0