Académique Documents
Professionnel Documents
Culture Documents
R7
VRF
ABC
R1
VRF
MSSK
R2
XR1
XR2
AS100
ISIS L2
R3
R5
R4
R10
VRF
ABC
R6
VRF
MSSK
VRF
MSSK
R9
AS9
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
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
vrf MSSK
ipv4 address 192.1.111.1 255.255.255.0
dot1q vlan 111
XR2
vrf MSSK
address-family ipv4 unicast
import route-target
100:1
export route-target
100:1
interface GigabitEthernet0/4/0/0.12
vrf MSSK
ipv4 address 192.1.222.2 255.255.255.0
dot1q vlan 222
R4
vrf definition MSSK
rd 100:1
route-target export 100:1
route-target import 100:1
address-family ipv4
exit-address-family
interface FastEthernet0/0.46
vrf forwarding MSSK
ip address 192.1.46.4 255.255.255.0
R5
vrf definition MSSK
rd 100:1
route-target export 100:1
route-target import 100:1
address-family ipv4
exit-address-family
interface FastEthernet0/0.59
vrf forwarding MSSK
ip address 192.1.59.5 255.255.255.0
All routers in AS 100 should have only one BGP VPNv4 peering with
R3
XR1
router bgp 100
address-family vpnv4 unicast
neighbor 3.3.3.3
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
XR2
router bgp 100
address-family ipv4 unicast
network 109.107.128.1/32
network 109.107.129.1/32
address-family vpnv4 unicast
neighbor 3.3.3.3
remote-as 100
update-source Loopback0
address-family vpnv4 unicast
R3
router bgp 100
no bgp default ipv4-unicast
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 update-source Loopback0
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 update-source Loopback0
neighbor 4.4.4.4 remote-as 100
neighbor 4.4.4.4 update-source Loopback0
neighbor 5.5.5.5 remote-as 100
neighbor 5.5.5.5 update-source Loopback0
address-family vpnv4
neighbor 1.1.1.1 activate
neighbor 1.1.1.1 send-community both
neighbor 1.1.1.1 route-reflector-client
neighbor 2.2.2.2 activate
neighbor 2.2.2.2 send-community both
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
neighbor
2.2.2.2
4.4.4.4
4.4.4.4
4.4.4.4
5.5.5.5
5.5.5.5
5.5.5.5
route-reflector-client
activate
send-community both
route-reflector-client
activate
send-community both
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
interface FastEthernet0/0.117
vrf forwarding ABC
ip address 192.1.117.11 255.255.255.0
router rip
address-family ipv4 vrf ABC
redistribute bgp 117 metric transparent
network 192.1.117.0
no auto-summary
version 2
exit-address-family
router bgp 117
no bgp default ipv4-unicast
neighbor 6.6.6.6 remote-as 610
neighbor 6.6.6.6 ebgp-multihop 255
neighbor 6.6.6.6 update-source Loopback0
address-family vpnv4
neighbor 6.6.6.6 activate
neighbor 6.6.6.6 send-community both
neighbor 6.6.6.6 next-hop-unchanged
address-family ipv4 vrf ABC
redistribute connected
redistribute rip
exit-address-family
R7
router rip
version 2
network 7.0.0.0
network 192.1.117.0
no auto-summary
R6
vrf definition ABC
rd 200:1
route-target export 200:1
route-target import 200:1
address-family ipv4
exit-address-family
interface FastEthernet0/0.60
vrf forwarding ABC
ip address 192.1.60.6 255.255.255.0
router rip
address-family ipv4 vrf ABC
redistribute bgp 610 metric transparent
network 192.1.60.0
no auto-summary
version 2
exit-address-family
router bgp 610
no bgp default ipv4-unicast
neighbor 11.11.11.11 remote-as 117
neighbor 11.11.11.11 ebgp-multihop 255
neighbor 11.11.11.11 update-source Loopback0
address-family vpnv4
neighbor 11.11.11.11 activate
neighbor 11.11.11.11 send-community both
neighbor 11.11.11.11 next-hop-unchanged
exit-address-family
address-family ipv4 vrf ABC
redistribute connected
redistribute rip
exit-address-family
XR1
mpls ldp
router-id 1.1.1.1
interface GigabitEthernet0/1/0/0.12
R1
interface FastEthernet0/0.12
mpls ip
R4
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
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
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
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
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
interface FastEthernet0/0
ip address 192.1.60.10 255.255.255.0
speed auto
full-duplex
XR1
hostname XR1
interface Loopback0
ipv4 address 1.1.1.1 255.255.255.255
interface GigabitEthernet0/1/0/0.12
ipv4 address 192.1.111.1 255.255.255.0
dot1q vlan 111
interface GigabitEthernet0/1/0/0.13
ipv4 address 192.1.13.1 255.255.255.0
dot1q vlan 13
interface GigabitEthernet0/1/0/0.14
ipv4 address 192.1.14.1 255.255.255.0
dot1q vlan 14
interface POS0/6/0/0
ipv4 address 192.1.12.1 255.255.255.0
encapsulation ppp
XR2
hostname XR2
interface Loopback0
ipv4 address 2.2.2.2 255.255.255.255
interface Loopback1
ipv4 address 109.107.128.1 255.255.255.255
interface Loopback2
ipv4 address 109.107.129.1 255.255.255.255
interface GigabitEthernet0/4/0/0.12
ipv4 address 192.1.222.2 255.255.255.0
dot1q vlan 222
interface GigabitEthernet0/4/0/0.23
ipv4 address 192.1.23.2 255.255.255.0
dot1q vlan 23
interface GigabitEthernet0/4/0/0.25
ipv4 address 192.1.25.2 255.255.255.0
dot1q vlan 25
interface GigabitEthernet0/4/0/0.29
ipv4 address 212.118.0.2 255.255.255.0
dot1q vlan 29
interface POS0/7/0/0
ipv4 address 192.1.12.2 255.255.255.0
encapsulation ppp