Practice Lab CSC
-
Upload
salachudin-emir -
Category
Technology
-
view
173 -
download
3
description
Transcript of Practice Lab CSC
![Page 1: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/1.jpg)
Network Diagram
XR1 XR2
R3
R4
R6R10
R1R7 R2
R9AS9
R5
AS100ISIS L2
VRF MSSK
VRF MSSK
VRF MSSK
VRF ABC
VRF ABC
Configure ISIS level-2 in AS 100 on all transit links and loopback
interfaces
XR1
router isis 1
is-type level-2-only
net 49.0001.0000.0000.0001.00
address-family ipv4 unicast
metric-style wide
interface Loopback0
address-family ipv4 unicast
interface GigabitEthernet0/1/0/0.13
address-family ipv4 unicast
interface GigabitEthernet0/1/0/0.14
![Page 2: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/2.jpg)
address-family ipv4 unicast
interface POS0/6/0/0
address-family ipv4 unicast
XR2
router isis 1
is-type level-2-only
net 49.0001.0000.0000.0002.00
address-family ipv4 unicast
metric-style wide
interface Loopback0
address-family ipv4 unicast
interface GigabitEthernet0/4/0/0.23
address-family ipv4 unicast
interface GigabitEthernet0/4/0/0.25
address-family ipv4 unicast
interface POS0/7/0/0
address-family ipv4 unicast
R3
router isis 1
net 49.0001.0000.0000.0003.00
is-type level-2-only
metric-style wide
passive-interface Loopback0
interface FastEthernet0/0.13
ip router isis 1
interface FastEthernet0/0.23
ip router isis 1
interface FastEthernet0/0.34
ip router isis 1
interface FastEthernet0/0.35
ip router isis 1
![Page 3: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/3.jpg)
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
![Page 4: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/4.jpg)
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
![Page 5: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/5.jpg)
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
![Page 6: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/6.jpg)
Configure OSPF PID 100 as the PE-CE routing protocol in area 0
XR1
router ospf 100
vrf MSSK
router-id 1.1.1.1
address-family ipv4 unicast
area 0
interface GigabitEthernet0/1/0/0.12
R1
router ospf 100
router-id 11.11.11.11
network 11.11.11.11 0.0.0.0 area 0
network 192.1.111.11 0.0.0.0 area 0
XR2
router ospf 100
vrf MSSK
router-id 2.2.2.2
address-family ipv4 unicast
area 0
interface GigabitEthernet0/4/0/0.12
R2
router ospf 100
router-id 22.22.22.22
network 22.22.22.22 0.0.0.0 area 0
network 192.1.222.22 0.0.0.0 area 0
R4
router ospf 100 vrf MSSK
router-id 4.4.4.4
network 192.1.46.4 0.0.0.0 area 0
R6
router ospf 100
router-id 6.6.6.6
network 6.6.6.6 0.0.0.0 area 0
network 192.1.46.6 0.0.0.0 area 0
![Page 7: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/7.jpg)
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
![Page 8: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/8.jpg)
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
![Page 9: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/9.jpg)
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
![Page 10: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/10.jpg)
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
![Page 11: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/11.jpg)
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
![Page 12: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/12.jpg)
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
![Page 13: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/13.jpg)
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
![Page 14: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/14.jpg)
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
![Page 15: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/15.jpg)
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
![Page 16: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/16.jpg)
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
![Page 17: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/17.jpg)
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
![Page 18: Practice Lab CSC](https://reader031.fdocuments.us/reader031/viewer/2022020217/55559418d8b42a8e1f8b4c6b/html5/thumbnails/18.jpg)
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