3. R4
interface FastEthernet0/0.34
ip router isis 1
router isis 1
net 49.0001.0000.0000.0004.00
is-type level-2-only
metric-style wide
passive-interface Loopback0
R5
interface FastEthernet0/0.35
ip router isis 1
router isis 1
net 49.0001.0000.0000.0005.00
is-type level-2-only
metric-style wide
passive-interface Loopback0
Enable MPLS on all transit links in AS 100, make sure the loopback 0
interface for each router is the router ID
XR1
mpls ldp
router-id 1.1.1.1
interface GigabitEthernet0/1/0/0.13
interface GigabitEthernet0/1/0/0.14
interface POS0/6/0/0
XR2
mpls ldp
router-id 2.2.2.2
interface GigabitEthernet0/4/0/0.23
interface GigabitEthernet0/4/0/0.25
interface POS0/7/0/0
4. R3
mpls label protocol ldp
mpls ldp router-id Loopback0 force
interface FastEthernet0/0.13
mpls ip
interface FastEthernet0/0.23
mpls ip
interface FastEthernet0/0.34
mpls ip
interface FastEthernet0/0.35
mpls ip
R4
mpls label protocol ldp
mpls ldp router-id Loopback0 force
interface FastEthernet0/0.34
mpls ip
R5
mpls label protocol ldp
mpls ldp router-id Loopback0 force
interface FastEthernet0/0.35
mpls ip
Configure VRF MSSK with rd value of 100:1 and import/export RT of
100:1 and assign the CE connected interfaces to that VRF
XR1
vrf MSSK
address-family ipv4 unicast
import route-target
100:1
export route-target
100:1
interface GigabitEthernet0/1/0/0.12
8. neighbor 2.2.2.2 route-reflector-client
neighbor 4.4.4.4 activate
neighbor 4.4.4.4 send-community both
neighbor 4.4.4.4 route-reflector-client
neighbor 5.5.5.5 activate
neighbor 5.5.5.5 send-community both
neighbor 5.5.5.5 route-reflector-client
R4
router bgp 100
no bgp default ipv4-unicast
bgp log-neighbor-changes
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
R5
router bgp 100
no bgp default ipv4-unicast
neighbor 3.3.3.3 remote-as 100
neighbor 3.3.3.3 update-source Loopback0
address-family vpnv4
neighbor 3.3.3.3 activate
neighbor 3.3.3.3 send-community both
Complete the MPLS L3VPN configuration in order to achieve
connectivity between R1 , R2 and R6
R5
router ospf 100 vrf MSSK
redistribute bgp 100 subnets
router bgp 100
address-family ipv4 vrf MSSK
redistribute ospf 100 vrf MSSK
R4
router ospf 100 vrf MSSK
9. redistribute bgp 100 subnets
router bgp 100
address-family ipv4 vrf MSSK
redistribute ospf 100 vrf MSSK
XR1
router ospf 100
vrf MSSK
redistribute bgp 100
router bgp 100
vrf MSSK
rd 100:1
address-family ipv4 unicast
redistribute ospf 100
XR2
router ospf 100
vrf MSSK
redistribute bgp 100
router bgp 100
vrf MSSK
rd 100:1
address-family ipv4 unicast
redistribute ospf 100
Configure a new VRF ABC on the CEs with RD value of 200:1 and
import/export RT of the same value and assign the interface
connecting to customers CEs in that VRF , configure RIPv2 as the CE-
CE routing protocol and do the necessary to achieve connectivity
between R7 and R10
R1
vrf definition ABC
rd 200:1
route-target export 200:1
route-target import 200:1
address-family ipv4
exit-address-family
12. interface FastEthernet0/0.46
mpls ip
R6
interface FastEthernet0/0.46
mpls ip
Configure BGP peering between XR2 and R9 and advertise loopback 1
and 2 interfaces on each router
R9 is located in AS9
XR2
interface GigabitEthernet0/4/0/0.29
ipv4 address 212.118.0.2 255.255.255.0
dot1q vlan 29
interface Loopback1
ipv4 address 109.107.128.1 255.255.255.255
interface Loopback2
ipv4 address 109.107.129.1 255.255.255.255
route-policy PASS
pass
end-policy
router bgp 100
address-family ipv4 unicast
network 109.107.128.1/32
network 109.107.129.1/32
neighbor 212.118.0.9
remote-as 9
address-family ipv4 unicast
route-policy PASS in
route-policy PASS out
R9
interface FastEthernet0/1
ip address 212.118.0.9 255.255.255.0
speed auto
full-duplex
13. interface Loopback1
ip address 92.62.113.1 255.255.255.255
interface Loopback2
ip address 92.62.114.1 255.255.255.255
router bgp 9
no bgp default ipv4-unicast
neighbor 212.118.0.2 remote-as 100
address-family ipv4
neighbor 212.118.0.2 activate
network 92.62.113.1 mask 255.255.255.255
network 92.62.114.1 mask 255.255.255.255
Initial Configuration Files
R1
hostname R1
interface Loopback0
ip address 11.11.11.11 255.255.255.255
interface FastEthernet0/0
no ip address
duplex full
no shutdown
interface FastEthernet0/0.12
encapsulation dot1Q 111
ip address 192.1.111.11 255.255.255.0
interface FastEthernet0/0.117
encapsulation dot1Q 117
ip address 192.1.117.11 255.255.255.0
R2
hostname R2
interface Loopback0
ip address 22.22.22.22 255.255.255.255
14. interface FastEthernet0/0
no ip address
duplex full
no shutdown
interface FastEthernet0/0.12
encapsulation dot1Q 222
ip address 192.1.222.22 255.255.255.0
R3
hostname R3
interface Loopback0
ip address 3.3.3.3 255.255.255.255
interface FastEthernet0/0
no ip address
duplex full
no shutdown
interface FastEthernet0/0.13
encapsulation dot1Q 13
ip address 192.1.13.3 255.255.255.0
interface FastEthernet0/0.23
encapsulation dot1Q 23
ip address 192.1.23.3 255.255.255.0
interface FastEthernet0/0.34
encapsulation dot1Q 34
ip address 192.1.34.3 255.255.255.0
interface FastEthernet0/0.35
encapsulation dot1Q 35
ip address 192.1.35.3 255.255.255.0
R4
hostname R4
interface Loopback0
ip address 4.4.4.4 255.255.255.255
15. interface FastEthernet0/0
no ip address
duplex full
no shutdown
interface FastEthernet0/0.34
encapsulation dot1Q 34
ip address 192.1.34.4 255.255.255.0
interface FastEthernet0/0.46
encapsulation dot1Q 46
ip address 192.1.46.4 255.255.255.0
R5
hostname R5
interface Loopback0
ip address 5.5.5.5 255.255.255.255
interface FastEthernet0/0
no ip address
duplex full
no shutdown
interface FastEthernet0/0.35
encapsulation dot1Q 35
ip address 192.1.35.5 255.255.255.0
interface FastEthernet0/0.59
encapsulation dot1Q 59
ip address 192.1.59.5 255.255.255.0
R6
hostname R6
interface Loopback0
ip address 6.6.6.6 255.255.255.255
!
interface FastEthernet0/0
no ip address
duplex full
no shutdown
16. interface FastEthernet0/0.46
encapsulation dot1Q 46
ip address 192.1.46.6 255.255.255.0
interface FastEthernet0/0.60
encapsulation dot1Q 610
ip address 192.1.60.6 255.255.255.0
R7
hostname R7
interface Loopback0
ip address 7.7.7.7 255.255.255.255
interface FastEthernet0/0
ip address 192.1.117.7 255.255.255.0
speed auto
full-duplex
R9
hostname R9
interface Loopback0
ip address 9.9.9.9 255.255.255.255
interface Loopback1
ip address 92.62.113.1 255.255.255.255
interface Loopback2
ip address 92.62.114.1 255.255.255.255
interface FastEthernet0/1
ip address 212.118.0.9 255.255.255.0
speed auto
full-duplex
R10
hostname R10
interface Loopback0
ip address 10.10.10.10 255.255.255.255