******************************************************** Lab 1 - Configuring an Intra-AS MPLS VPN on IOS-XR ******************************************************** ====================================================== 1. Configure IP Address on the SP Routers ====================================================== ------- XR1 ------- hostname XR1 ! interface GigabitEthernet0/0/0/0 ip address 192.1.12.1 255.255.255.0 no shut ! interface loopback10 ip address 10.1.1.1 255.255.255.255 ! commit ------- XR2 ------- hostname XR2 ! interface GigabitEthernet0/0/0/0 ip address 192.1.12.2 255.255.255.0 no shut ! interface GigabitEthernet0/0/0/1 ip address 192.1.23.2 255.255.255.0 no shut ! interface loopback10 ip address 10.1.1.2 255.255.255.255 ! commit ------- XR3 ------- hostname XR3 ! interface GigabitEthernet0/0/0/0 ip address 192.1.23.3 255.255.255.0 no shut ! interface GigabitEthernet0/0/0/1 ip address 192.1.34.3 255.255.255.0 no shut ! interface loopback10 ip address 10.1.1.3 255.255.255.255 ! commit ------- XR4 ------- hostname XR4 ! interface GigabitEthernet0/0/0/0 ip address 192.1.34.4 255.255.255.0 no shut ! interface GigabitEthernet0/0/0/1 ip address 192.1.45.4 255.255.255.0 no shut ! interface loopback10 ip address 10.1.1.4 255.255.255.255 ! commit ------- XR5 ------- hostname XR5 ! interface GigabitEthernet0/0/0/0 ip address 192.1.45.5 255.255.255.0 no shut ! interface loopback10 ip address 10.1.1.5 255.255.255.255 ! commit ====================================================== 2. Configure the SP Core IGP - OSPF ====================================================== ------- XR1 ------- router ospf 1 router-id 0.0.0.1 area 0 interface Loopback10 exit ! interface GigabitEthernet0/0/0/0 exit exit exit ! commit ------- XR2 ------- router ospf 1 router-id 0.0.0.2 area 0 interface Loopback10 exit ! interface GigabitEthernet0/0/0/0 exit ! interface GigabitEthernet0/0/0/1 exit exit exit ! commit ------- XR3 ------- router ospf 1 router-id 0.0.0.3 area 0 interface Loopback10 exit ! interface GigabitEthernet0/0/0/0 exit ! interface GigabitEthernet0/0/0/1 exit exit exit ! commit ------- XR4 ------- router ospf 1 router-id 0.0.0.4 area 0 interface Loopback10 exit ! interface GigabitEthernet0/0/0/0 exit ! interface GigabitEthernet0/0/0/1 exit exit exit ! commit ------- XR5 ------- router ospf 1 router-id 0.0.0.5 area 0 interface Loopback10 exit ! interface GigabitEthernet0/0/0/0 exit exit exit ! commit ====================================================== 3. Configure the LDP for MPLS Unicast Routing ====================================================== ------- XR1 ------- mpls ldp router-id 10.1.1.1 interface GigabitEthernet0/0/0/0 exit exit commit ------- XR2 ------- mpls ldp router-id 10.1.1.2 interface GigabitEthernet0/0/0/0 exit interface GigabitEthernet0/0/0/1 exit exit commit ------- XR3 ------- mpls ldp router-id 10.1.1.3 interface GigabitEthernet0/0/0/0 exit interface GigabitEthernet0/0/0/1 exit exit commit ------- XR4 ------- mpls ldp router-id 10.1.1.4 interface GigabitEthernet0/0/0/0 exit interface GigabitEthernet0/0/0/1 exit exit commit ------- XR5 ------- mpls ldp router-id 10.1.1.5 interface GigabitEthernet0/0/0/0 exit exit commit ====================================================== 4. Configure MP-iBGP between the PE Routers ====================================================== ------- XR1 ------- router bgp 100 address-family vpnv4 unicast exit neighbor 10.1.1.5 remote-as 100 update-source loopback10 address-family vpnv4 unicast exit exit exit ! commit ------- XR5 ------- router bgp 100 address-family vpnv4 unicast exit neighbor 10.1.1.1 remote-as 100 update-source loopback10 address-family vpnv4 unicast exit exit exit ! commit ====================================================== 5. Configure the PE Routers ====================================================== ------- XR1 ------- vrf KBITS address-family ipv4 unicast import route-target 100:1 exit ! export route-target 100:1 exit exit exit ! commit ! Interface GigabitEthernet0/0/0/1 vrf KBITS ip address 192.168.10.1 255.255.255.0 no shut exit ! commit ! route-policy ABC pass exit ! commit ! router bgp 100 address-family ipv4 unicast exit vrf KBITS address-family ipv4 unicast exit rd 100:1 neighbor 192.168.10.11 remote-as 65011 address-family ipv4 unicast route-policy ABC out route-policy ABC in exit exit exit exit ! commit ------- XR5 ------- vrf KBITS address-family ipv4 unicast import route-target 100:1 exit ! export route-target 100:1 exit exit exit ! commit ! Interface GigabitEthernet0/0/0/1 vrf KBITS ip address 192.168.20.5 255.255.255.0 no shut exit ! commit ! route-policy ABC pass exit ! commit ! router bgp 100 address-family ipv4 unicast exit vrf KBITS address-family ipv4 unicast exit rd 100:1 neighbor 192.168.20.22 remote-as 65022 address-family ipv4 unicast route-policy ABC out route-policy ABC in exit exit exit exit ! commit ====================================================== 6. Configure the CE Routers ====================================================== ------- R1 ------- interface loopback0 ip address 10.11.11.11 255.255.255.0 ! interface E 0/0 ip address 192.168.10.11 255.255.255.0 no shut ! router bgp 65011 neighbor 192.168.10.1 remote-as 100 network 10.11.11.0 mask 255.255.255.0 ------- R2 ------- interface loopback0 ip address 10.22.22.22 255.255.255.0 ! interface E 0/0 ip address 192.168.20.22 255.255.255.0 no shut ! router bgp 65022 neighbor 192.168.20.5 remote-as 100 network 10.22.22.0 mask 255.255.255.0 ************************************************************** Lab 2 - Configuring Segment Routing for MPLS Unicast - OSPF ************************************************************** ====================================================== 1. Configure a Global Block of Labels for SR ====================================================== ------- XR1 ------- segment-routing global 16000 23999 ! commit ------- XR2 ------- segment-routing global 16000 23999 ! commit ------- XR3 ------- segment-routing global 16000 23999 ! commit ------- XR4 ------- segment-routing global 16000 23999 ! commit ------- XR5 ------- segment-routing global 16000 23999 ! commit ====================================================== 2. Configure SR using OSPF ====================================================== ------- XR1 ------- router ospf 1 segment-routing mpls area 0 interface loopback10 prefix-sid index 1 exit exit exit ! commit ------- XR2 ------- router ospf 1 segment-routing mpls area 0 interface loopback10 prefix-sid index 2 exit exit exit ! commit ------- XR3 ------- router ospf 1 segment-routing mpls area 0 interface loopback10 prefix-sid index 3 exit exit exit ! commit ------- XR4 ------- router ospf 1 segment-routing mpls area 0 interface loopback10 prefix-sid index 4 exit exit exit ! commit ------- XR5 ------- router ospf 1 segment-routing mpls area 0 interface loopback10 prefix-sid index 5 exit exit exit ! commit ====================================================== 3. Configuring the routers for preferring SR Labels ====================================================== ------- XR1 ------- router ospf 1 segment-routing sr-prefer exit ! commit ------- XR2 ------- router ospf 1 segment-routing sr-prefer exit ! commit ------- XR3 ------- router ospf 1 segment-routing sr-prefer exit ! commit ------- XR4 ------- router ospf 1 segment-routing sr-prefer exit ! commit ------- XR5 ------- router ospf 1 segment-routing sr-prefer exit ! commit ====================================================== 4. De-configure LDP ====================================================== ------- XR1 ------- no mpls ldp ! commit ------- XR2 ------- no mpls ldp ! commit ------- XR3 ------- no mpls ldp ! commit ------- XR4 ------- no mpls ldp ! commit ------- XR5 ------- no mpls ldp ! commit ************************************************************** Lab 3 - Configuring Segment Routing for MPLS Unicast - IS-IS ************************************************************** ====================================================== 1. De-configure OSPF ====================================================== ------- XR1 ------- no router ospf 1 ! commit ------- XR2 ------- no router ospf 1 ! commit ------- XR3 ------- no router ospf 1 ! commit ------- XR4 ------- no router ospf 1 ! commit ------- XR5 ------- no router ospf 1 ! commit ====================================================== 2. Configure IS-IS & enable it for Segment Routing ====================================================== ------- XR1 ------- router isis 1 net 49.0000.0000.0000.0001.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit ! interface loopback10 address-family ipv4 unicast prefix-sid index 1 exit ! interface Gig0/0/0/0 address-family ipv4 unicast exit exit exit ! commit ------- XR2 ------- router isis 1 net 49.0000.0000.0000.0002.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit ! interface loopback10 address-family ipv4 unicast prefix-sid index 2 exit ! interface Gig0/0/0/0 address-family ipv4 unicast exit ! interface Gig0/0/0/1 address-family ipv4 unicast exit exit exit ! commit ------- XR3 ------- router isis 1 net 49.0000.0000.0000.0003.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit ! interface loopback10 address-family ipv4 unicast prefix-sid index 3 exit ! interface Gig0/0/0/0 address-family ipv4 unicast exit ! interface Gig0/0/0/1 address-family ipv4 unicast exit exit exit ! commit ------- XR4 ------- router isis 1 net 49.0000.0000.0000.0004.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit ! interface loopback10 address-family ipv4 unicast prefix-sid index 4 exit ! interface Gig0/0/0/0 address-family ipv4 unicast exit ! interface Gig0/0/0/1 address-family ipv4 unicast exit exit exit ! commit ------- XR5 ------- router isis 1 net 49.0000.0000.0000.0005.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit ! interface loopback10 address-family ipv4 unicast prefix-sid index 5 exit ! interface Gig0/0/0/0 address-family ipv4 unicast exit exit exit ! commit ************************************************************** Lab 4 - Configuring SR-LDP Mapping ************************************************************** ====================================================== 1. De-configure IS-IS ====================================================== ------- XR1 ------- no router isis 1 ! commit ------- XR2 ------- no router isis 1 ! commit ------- XR3 ------- no router isis 1 ! commit ------- XR4 ------- no router isis 1 ! commit ------- XR5 ------- no router isis 1 ! commit ====================================================== 2. Configure OSPF & LDP on R1, R2 & R3 ====================================================== ------- XR1 ------- router ospf 1 router-id 0.0.0.1 area 0 interface Gig0/0/0/0 exit interface loopback10 exit exit exit ! commit ! mpls ldp router-id 10.1.1.1 interface Gig0/0/0/0 exit exit ! commit ------- XR2 ------- router ospf 1 router-id 0.0.0.2 area 0 interface Gig0/0/0/0 exit interface Gig0/0/0/1 exit interface loopback10 exit exit exit ! commit ! mpls ldp router-id 10.1.1.2 interface Gig0/0/0/0 exit interface Gig0/0/0/1 exit exit ! commit ------- XR3 ------- router ospf 1 router-id 0.0.0.3 area 0 interface Gig0/0/0/0 exit interface loopback10 exit exit exit ! commit ! mpls ldp router-id 10.1.1.3 interface Gig0/0/0/0 exit exit ! commit ====================================================== 3. Configure OSPF & SR on R3, R4 & R5 ====================================================== ------- XR3 ------- router ospf 1 segment-routing mpls segment-routing sr-prefer area 0 interface Gig0/0/0/1 exit interface loopback10 prefix-sid index 3 exit exit exit ! commit ------- XR4 ------- router ospf 1 router-id 0.0.0.4 segment-routing mpls segment-routing sr-prefer area 0 interface Gig0/0/0/0 exit interface Gig0/0/0/1 exit interface loopback10 prefix-sid index 4 exit exit exit ! commit ------- XR5 ------- router ospf 1 router-id 0.0.0.5 segment-routing mpls segment-routing sr-prefer area 0 interface Gig0/0/0/0 exit interface loopback10 prefix-sid index 5 exit exit exit ! commit ====================================================== 4. Configure R3 as a SR-LDP Mapping Server ====================================================== ------- XR3 ------- segment-routing mapping-server prefix-sid-map address-family ipv4 10.1.1.1/32 100 range 200 exit exit exit exit ! commit ! router ospf 1 segment-routing prefix-sid-map advertise-local exit ! commit ************************************************************************ Lab 5 - Configuring SR OSPF & IS-IS within the AS & BGP between the AS ************************************************************************ ====================================================== 1. De-configure protocols ====================================================== ------- XR1 ------- no router ospf 1 no router bgp 100 no route-policy ABC no vrf KBITS no mpls ldp ! commit ------- XR2 ------- no router ospf 1 no mpls ldp ! commit ------- XR3 ------- no router ospf 1 no mpls ldp no segment-routing ! commit ------- XR4 ------- no router ospf 1 no segment-routing ! commit ------- XR5 ------- no router ospf 1 no router bgp 100 no route-policy ABC no vrf KBITS ! commit ====================================================== 2. Configure AS 100 with OSPF and SR ====================================================== ------- XR1 ------- segment-routing global 16000 23999 ! router ospf 1 router-id 0.0.0.1 segment-routing mpls segment-routing sr-prefer area 0 interface Gig0/0/0/0 exit interface loopback10 prefix-sid index 1 exit exit exit ! commit ------- XR2 ------- segment-routing global 16000 23999 ! router ospf 1 router-id 0.0.0.2 segment-routing mpls segment-routing sr-prefer area 0 interface Gig0/0/0/0 exit interface loopback10 prefix-sid index 2 exit exit exit ! commit ====================================================== 3. Configure AS 200 with IS-IS and SR ====================================================== ------- XR3 ------- segment-routing global 16000 23999 ! router isis 1 net 49.0000.0000.0000.0003.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit interface Gig0/0/0/1 address-family ipv4 unicast exit interface loopback10 address-family ipv4 unicast prefix-sid index 3 exit exit exit ! commit ------- XR4 ------- segment-routing global 16000 23999 ! router isis 1 net 49.0000.0000.0000.0004.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit interface Gig0/0/0/0 address-family ipv4 unicast exit interface Gig0/0/0/1 address-family ipv4 unicast exit interface loopback10 address-family ipv4 unicast prefix-sid index 4 exit exit exit ! commit ------- XR5 ------- segment-routing global 16000 23999 ! router isis 1 net 49.0000.0000.0000.0005.00 is-type level-2 address-family ipv4 unicast metric-style wide segment-routing mpls sr-prefer exit interface Gig0/0/0/0 address-family ipv4 unicast exit interface loopback10 address-family ipv4 unicast prefix-sid index 5 exit exit exit ! commit ====================================================== 4. Configure the pre-requisites for BGP with SR ====================================================== ------- XR2 ------- +++++++++++++++++++ Interface Config +++++++++++++++++++ Interface Gig0/0/0/1 ip address 192.1.23.2 255.255.255.0 no shut +++++++++++++++++++ eBGP Route-Policy +++++++++++++++++++ route-policy ABC pass exit ! commit +++++++++++++++++++ SR Route-Policy +++++++++++++++++++ route-policy SR-SID($SID) set label-index $SID pass exit ! commit +++++++++++++++++++ Static Routing +++++++++++++++++++ router static address-family ipv4 unicast 192.1.23.3/32 Gig0/0/0/1 exit exit ! commit ------- XR3 ------- +++++++++++++++++++ Interface Config +++++++++++++++++++ Interface Gig0/0/0/1 ip address 192.1.23.3 255.255.255.0 no shut +++++++++++++++++++ eBGP Route-Policy +++++++++++++++++++ route-policy ABC pass exit ! commit +++++++++++++++++++ SR Route-Policy +++++++++++++++++++ route-policy SR-SID($SID) set label-index $SID pass exit ! commit +++++++++++++++++++ Static Routing +++++++++++++++++++ router static address-family ipv4 unicast 192.1.23.2/32 Gig0/0/0/0 exit exit ! commit ====================================================== 5. Configure BGP between AS 100 & AS 200 using SR ====================================================== ------- XR2 ------- router bgp 100 address-family ipv4 unicast network 10.1.1.1/32 route-policy SR-SID(1) network 10.1.1.2/32 route-policy SR-SID(2) allocate-label all exit neighbor 192.1.23.3 remote-as 200 address-family ipv4 labeled-unicast route-policy ABC out route-policy ABC in exit exit exit ! commit ------- XR3 ------- router bgp 200 address-family ipv4 unicast network 10.1.1.3/32 route-policy SR-SID(3) network 10.1.1.4/32 route-policy SR-SID(4) network 10.1.1.5/32 route-policy SR-SID(5) allocate-label all exit neighbor 192.1.23.2 remote-as 100 address-family ipv4 labeled-unicast route-policy ABC out route-policy ABC in exit exit exit ! commit ========================================================== 6. Configure Route Redistribution from BGP into the IGP ========================================================== ------- XR2 ------- router ospf 1 redistribute bgp 100 ! commit ------- XR3 ------- router isis 1 address-family ipv4 unicast redistribute bgp 200 exit exit ! commit ++++++++++++++++++++++++++++++++++++++++++++++++++++++ Unified MPLS ++++++++++++++++++++++++++++++++++++++++++++++++++++++ ************************************************************************ Lab 1 - Configuring Domain 1 ************************************************************************ ====================================================== 1. Configure OSPF & LDP in Domain 1 ====================================================== ---------- R1 - PE1 ---------- en config t ! hostname R1-PE1 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback10 ip address 10.1.1.1 255.255.255.255 ! mpls ldp router-id loopback10 ! Interface E0/1 ip address 192.168.10.1 255.255.255.0 mpls ip no shut ! router ospf 1 router-id 0.0.0.1 network 192.168.10.0 0.0.0.255 area 0 network 10.0.0.0 0.255.255.255 area 0 ---------- R2 - P1 ---------- en config t ! hostname R2-P1 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback10 ip address 10.1.1.2 255.255.255.255 ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.10.2 255.255.255.0 mpls ip no shut ! Interface E0/1 ip address 192.168.20.2 255.255.255.0 mpls ip no shut ! router ospf 1 router-id 0.0.0.2 network 192.168.10.0 0.0.0.255 area 0 network 192.168.20.0 0.0.0.255 area 0 network 10.0.0.0 0.255.255.255 area 0 ---------- R3 - RR1 ---------- en config t ! hostname R3-RR1 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback10 ip address 10.1.1.3 255.255.255.255 ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.20.3 255.255.255.0 mpls ip no shut ! router ospf 1 router-id 0.0.0.3 network 192.168.20.0 0.0.0.255 area 0 network 10.0.0.0 0.255.255.255 area 0 ************************************************************************ Lab 2 - Configuring Domain 2 ************************************************************************ ====================================================== 1. Configure IS-IS & LDP in Domain 2 ====================================================== ---------- R3 - RR1 ---------- router isis net 49.0000.0000.0000.0003.00 is-type level-2 metric-style wide ! Interface loopback10 ip router isis ! mpls ldp router-id loopback10 ! Interface E0/1 ip address 192.168.30.3 255.255.255.0 ip router isis mpls ip no shut ---------- R4 - P2 ---------- en config t ! hostname R4-P2 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! router isis net 49.0000.0000.0000.0004.00 is-type level-2 metric-style wide ! Interface loopback10 ip address 10.1.1.4 255.255.255.255 ip router isis ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.30.4 255.255.255.0 ip router isis mpls ip no shut ! Interface E0/1 ip address 192.168.40.4 255.255.255.0 ip router isis mpls ip no shut ---------- R5 - RR2 ---------- en config t ! hostname R5-RR2 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout router isis net 49.0000.0000.0000.0005.00 is-type level-2 metric-style wide ! Interface loopback10 ip address 10.1.1.5 255.255.255.255 ip router isis ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.40.5 255.255.255.0 ip router isis mpls ip no shut ************************************************************************ Lab 3 - Configuring Domain 3 ************************************************************************ ====================================================== 1. Configure EIGRP & LDP in Domain 3 ====================================================== ---------- R5 - RR2 ---------- Interface E0/1 ip address 192.168.50.5 255.255.255.0 mpls ip no shut ! router eigrp 123 network 192.168.50.0 network 10.0.0.0 ---------- R6 - P3 ---------- en config t ! hostname R6-P3 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback10 ip address 10.1.1.6 255.255.255.255 ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.50.6 255.255.255.0 mpls ip no shut ! Interface E0/1 ip address 192.168.60.6 255.255.255.0 mpls ip no shut ! router eigrp 123 network 192.168.50.0 network 192.168.60.0 network 10.0.0.0 ---------- R7 - PE2 ---------- en config t ! hostname R7-PE2 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback10 ip address 10.1.1.7 255.255.255.255 ! mpls ldp router-id loopback10 ! Interface E0/0 ip address 192.168.60.7 255.255.255.0 mpls ip no shut ! router eigrp 123 network 192.168.60.0 network 10.0.0.0 ***************************************************************************** Lab 4 - Configuring iBGP to propagate PE Loopback Reachability using Labels ***************************************************************************** ---------- R1 - PE1 ---------- router bgp 100 network 10.1.1.1 mask 255.255.255.255 neighbor 10.1.1.3 remote-as 100 neighbor 10.1.1.3 update-source loopback10 neighbor 10.1.1.3 send-label ---------- R3 - RR1 ---------- router bgp 100 neighbor 10.1.1.1 remote-as 100 neighbor 10.1.1.1 update-source loopback10 neighbor 10.1.1.1 send-label neighbor 10.1.1.1 route-reflector-client neighbor 10.1.1.1 next-hop-self all neighbor 10.1.1.5 remote-as 100 neighbor 10.1.1.5 update-source loopback10 neighbor 10.1.1.5 send-label neighbor 10.1.1.5 route-reflector-client neighbor 10.1.1.5 next-hop-self all ---------- R5 - RR2 ---------- router bgp 100 neighbor 10.1.1.3 remote-as 100 neighbor 10.1.1.3 update-source loopback10 neighbor 10.1.1.3 send-label neighbor 10.1.1.3 route-reflector-client neighbor 10.1.1.3 next-hop-self all neighbor 10.1.1.7 remote-as 100 neighbor 10.1.1.7 update-source loopback10 neighbor 10.1.1.7 send-label neighbor 10.1.1.7 route-reflector-client neighbor 10.1.1.7 next-hop-self all ---------- R7 - PE2 ---------- router bgp 100 network 10.1.1.7 mask 255.255.255.255 neighbor 10.1.1.5 remote-as 100 neighbor 10.1.1.5 update-source loopback10 neighbor 10.1.1.5 send-label ***************************************************************************** Lab 5 - Configuring MP-iBGP between the PE Routers. ***************************************************************************** ---------- R1 - PE1 ---------- ip prefix-list DENY-IPV4 deny 0.0.0.0/0 le 32 ! router bgp 100 neighbor 10.1.1.7 remote-as 100 neighbor 10.1.1.7 update-source Loopback10 neighbor 10.1.1.7 prefix-list DENY-IPV4 out ! address-family vpnv4 neighbor 10.1.1.7 activate ---------- R7 - PE2 ---------- ip prefix-list DENY-IPV4 deny 0.0.0.0/0 le 32 ! router bgp 100 neighbor 10.1.1.1 remote-as 100 neighbor 10.1.1.1 update-source Loopback10 neighbor 10.1.1.1 prefix-list DENY-IPV4 out ! address-family vpnv4 neighbor 10.1.1.1 activate ***************************************************************************** Lab 6 - Configuring PE-CE ***************************************************************************** ---------- R1 - PE1 ---------- vrf definition KBITS rd 100:1 address-family ipv4 route-target both 100:1 ! Interface E0/0 vrf forwarding KBITS ip address 192.168.1.1 255.255.255.0 no shut ! router bgp 100 address-family ipv4 vrf KBITS neighbor 192.168.1.11 remote-as 65011 ---------- CE-1 ---------- en config t ! hostname CE-1 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback0 ip address 10.11.11.11 255.255.255.0 ! Interface E0/0 ip address 192.168.1.11 255.255.255.0 no shut ! router bgp 65011 network 10.11.11.0 mask 255.255.255.0 neighbor 192.168.1.1 remote-as 100 ---------- R7 - PE2 ---------- vrf definition KBITS rd 100:1 address-family ipv4 route-target both 100:1 ! Interface E0/1 vrf forwarding KBITS ip address 192.168.2.7 255.255.255.0 no shut ! router bgp 100 address-family ipv4 vrf KBITS neighbor 192.168.2.22 remote-as 65022 ---------- CE-2 ---------- en config t ! hostname CE-2 ! no ip domain-lookup ! line con 0 logg sync no exec-timeout ! Interface loopback0 ip address 10.22.22.22 255.255.255.0 ! Interface E0/0 ip address 192.168.2.22 255.255.255.0 no shut ! router bgp 65022 network 10.22.22.0 mask 255.255.255.0 neighbor 192.168.2.7 remote-as 100