In this lab, I use Juniper M7i Router(JUNOS 12.3R6.6) to finish the JNCIE Service Provider Bootcamp 10.b Detailed Lab Guide Lab6 BGP.
Before we start lab, we need to load pre-configuration for this Lab.
JNCIE@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set logical-systems C1 interfaces fe-0/0/1 unit 40 description To_R3-Fe-0/0/0.40
set logical-systems C1 interfaces fe-0/0/1 unit 40 vlan-id 40
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet address 172.27.0.58/30
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet6 address 2008:4498:0:0::2/64
set logical-systems C1 interfaces lo0 unit 40 family inet6 address 2015::c1/128
set logical-systems C1 protocols bgp group R3 type external
set logical-systems C1 protocols bgp group R3 local-address 2008:4498:0:0::2
set logical-systems C1 protocols bgp group R3 family inet6 unicast
set logical-systems C1 protocols bgp group R3 export LO0
set logical-systems C1 protocols bgp group R3 peer-as 3895077211
set logical-systems C1 protocols bgp group R3 neighbor 2008:4498::1
set logical-systems C1 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C1 policy-options policy-statement LO0 term 1 from route-filter 2015::c1/128 exact
set logical-systems C1 policy-options policy-statement LO0 term 1 then accept
set logical-systems C1 routing-options autonomous-system 65432
#
set logical-systems C2 interfaces fe-0/0/1 unit 50 description To_R5-Fe-0/0/1.50
set logical-systems C2 interfaces fe-0/0/1 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/1 unit 50 family inet address 172.27.0.50/30
set logical-systems C2 interfaces fe-0/0/3 unit 50 description To_R5-Fe-0/0/2.50
set logical-systems C2 interfaces fe-0/0/3 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/3 unit 50 family inet address 172.27.0.74/30
set logical-systems C2 interfaces lo0 unit 50 family inet address 202.202.0.1/32
set logical-systems C2 protocols bgp group R5 type external
set logical-systems C2 protocols bgp group R5 multihop
set logical-systems C2 protocols bgp group R5 local-address 202.202.0.1
set logical-systems C2 protocols bgp group R5 export To_R5
set logical-systems C2 protocols bgp group R5 peer-as 3895077211
set logical-systems C2 protocols bgp group R5 neighbor 172.27.255.5
set logical-systems C2 policy-options policy-statement To_R5 term 1 from protocol static
set logical-systems C2 policy-options policy-statement To_R5 term 1 from route-filter 202.202.0.0/16 orlonger
set logical-systems C2 policy-options policy-statement To_R5 term 1 then accept
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.49
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.73
set logical-systems C2 routing-options static route 202.202.0.0/24 receive
set logical-systems C2 routing-options static route 202.202.1.0/24 receive
set logical-systems C2 routing-options static route 202.202.2.0/24 receive
set logical-systems C2 routing-options static route 202.202.3.0/24 receive
set logical-systems C2 routing-options static route 202.202.4.0/24 receive
set logical-systems C2 routing-options static route 202.202.5.0/24 receive
set logical-systems C2 routing-options static route 202.202.7.0/24 receive
set logical-systems C2 routing-options static route 202.202.6.0/24 receive
set logical-systems C2 routing-options static route 202.202.8.0/24 receive
set logical-systems C2 routing-options static route 202.202.9.0/24 receive
set logical-systems C2 routing-options static route 202.202.10.0/24 receive
set logical-systems C2 routing-options autonomous-system 65512
#
set logical-systems C3 interfaces fe-0/0/1 unit 60 description To_R4-Fe-0/0/1.60
set logical-systems C3 interfaces fe-0/0/1 unit 60 vlan-id 60
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet address 172.27.0.70/30
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet6 address 2008:4498:0:1::2/64
set logical-systems C3 interfaces lo0 unit 60 family inet6 address 2015::c3/128
set logical-systems C3 protocols bgp group R4 type external
set logical-systems C3 protocols bgp group R4 local-address 2008:4498:0:1::2
set logical-systems C3 protocols bgp group R4 family inet6 unicast
set logical-systems C3 protocols bgp group R4 export LO0
set logical-systems C3 protocols bgp group R4 peer-as 3895077211
set logical-systems C3 protocols bgp group R4 neighbor 2008:4498:0:1::1
set logical-systems C3 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C3 policy-options policy-statement LO0 term 1 from route-filter 2015::c3/128 exact
set logical-systems C3 policy-options policy-statement LO0 term 1 then accept
set logical-systems C3 routing-options autonomous-system 65432
#
set logical-systems P interfaces fe-0/0/1 unit 30 description To_R1-Fe-0/0/0.30
set logical-systems P interfaces fe-0/0/1 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/1 unit 30 family inet address 172.27.0.30/30
set logical-systems P interfaces fe-0/0/3 unit 30 description To_R3-Fe-0/0/2.30
set logical-systems P interfaces fe-0/0/3 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/3 unit 30 family inet address 172.27.0.62/30
set logical-systems P protocols bgp group R1-R3 type external
set logical-systems P protocols bgp group R1-R3 export To_R1-R3
set logical-systems P protocols bgp group R1-R3 peer-as 3895077211
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.29
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.61
set logical-systems P policy-options policy-statement To_R1-R3 from protocol static
set logical-systems P policy-options policy-statement To_R1-R3 from route-filter 200.200.0.0/16 orlonger
set logical-systems P policy-options policy-statement To_R1-R3 then accept
set logical-systems P routing-options static route 200.200.0.0/24 receive
set logical-systems P routing-options static route 200.200.1.0/24 receive
set logical-systems P routing-options static route 200.200.2.0/24 receive
set logical-systems P routing-options static route 200.200.3.0/24 receive
set logical-systems P routing-options static route 200.200.4.0/24 receive
set logical-systems P routing-options static route 200.200.5.0/24 receive
set logical-systems P routing-options static route 200.200.6.0/24 receive
set logical-systems P routing-options static route 200.200.7.0/24 receive
set logical-systems P routing-options static route 200.200.8.0/24 receive
set logical-systems P routing-options static route 200.200.9.0/24 receive
set logical-systems P routing-options static route 200.200.10.0/24 receive
set logical-systems P routing-options autonomous-system 2087403078
#
set logical-systems R1 interfaces fe-0/0/0 unit 10 description To_T1-Fe-0/0/1.10
set logical-systems R1 interfaces fe-0/0/0 unit 10 vlan-id 10
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet address 172.27.0.33/30
set logical-systems R1 interfaces fe-0/0/0 unit 12 description To_R2-Fe-0/0/1.12
set logical-systems R1 interfaces fe-0/0/0 unit 12 vlan-id 12
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet address 172.27.0.1/30
set logical-systems R1 interfaces fe-0/0/0 unit 13 description To_R3-Fe-0/0/1.13
set logical-systems R1 interfaces fe-0/0/0 unit 13 vlan-id 13
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet address 172.27.0.14/30
set logical-systems R1 interfaces fe-0/0/0 unit 14 description To_R4-Fe-0/0/1.14
set logical-systems R1 interfaces fe-0/0/0 unit 14 vlan-id 14
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet address 172.27.0.10/30
set logical-systems R1 interfaces fe-0/0/0 unit 30 description To_P-Fe-0/0/1.30
set logical-systems R1 interfaces fe-0/0/0 unit 30 vlan-id 30
set logical-systems R1 interfaces fe-0/0/0 unit 30 family inet address 172.27.0.29/30
set logical-systems R1 interfaces lo0 unit 1 family inet address 172.27.255.1/32
set logical-systems R1 protocols ospf reference-bandwidth 50g
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.13 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.14 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface lo0.1 passive
set logical-systems R1 protocols ospf area 0.0.0.1 interface fe-0/0/0.12 interface-type p2p
#
set logical-systems R2 interfaces fe-0/0/0 unit 20 description To_T2-Fe-0/0/1.20
set logical-systems R2 interfaces fe-0/0/0 unit 20 vlan-id 20
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet address 172.27.0.37/30
set logical-systems R2 interfaces fe-0/0/0 unit 24 description To_R4-Fe-0/0/1.24
set logical-systems R2 interfaces fe-0/0/0 unit 24 vlan-id 24
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet address 172.27.0.5/30
set logical-systems R2 interfaces fe-0/0/1 unit 12 description To_R1-Fe-0/0/0.12
set logical-systems R2 interfaces fe-0/0/1 unit 12 vlan-id 12
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet address 172.27.0.2/30
set logical-systems R2 interfaces fe-0/0/2 unit 10 description To_T1-Fe-0/0/3.10
set logical-systems R2 interfaces fe-0/0/2 unit 10 vlan-id 10
set logical-systems R2 interfaces fe-0/0/2 unit 10 family inet address 172.27.0.65/30
set logical-systems R2 interfaces lo0 unit 2 family inet address 172.27.255.2/32
set logical-systems R2 protocols ospf reference-bandwidth 50g
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/0.24 interface-type p2p
set logical-systems R2 protocols ospf area 0.0.0.1 interface lo0.2 passive
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/1.12 interface-type p2p
#
set logical-systems R3 interfaces fe-0/0/0 unit 34 description To_R4-Fe-0/0/1.34
set logical-systems R3 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet address 172.27.0.17/30
set logical-systems R3 interfaces fe-0/0/0 unit 35 description To_R5-Fe-0/0/1.35
set logical-systems R3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet address 172.27.0.26/30
set logical-systems R3 interfaces fe-0/0/0 unit 40 description To_C1-Fe-0/0/1.40
set logical-systems R3 interfaces fe-0/0/0 unit 40 vlan-id 40
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet address 172.27.0.57/28
set logical-systems R3 interfaces fe-0/0/1 unit 13 description To_R1-Fe-0/0/0.13
set logical-systems R3 interfaces fe-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet address 172.27.0.13/30
set logical-systems R3 interfaces fe-0/0/2 unit 30 description To_P-Fe-0/0/3.30
set logical-systems R3 interfaces fe-0/0/2 unit 30 vlan-id 30
set logical-systems R3 interfaces fe-0/0/2 unit 30 family inet address 172.27.0.61/30
set logical-systems R3 interfaces lo0 unit 3 family inet address 172.27.255.3/32
set logical-systems R3 protocols ospf reference-bandwidth 50g
set logical-systems R3 protocols ospf area 0.0.0.2 interface fe-0/0/0.35 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/1.13 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/0.34 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface lo0.3 passive
#
set logical-systems R4 interfaces fe-0/0/0 unit 45 description To_R5-Fe-0/0/1.45
set logical-systems R4 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet address 172.27.0.21/30
set logical-systems R4 interfaces fe-0/0/0 unit 60 description To_C3-Fe-0/0/1.60
set logical-systems R4 interfaces fe-0/0/0 unit 60 vlan-id 60
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet address 172.27.0.69/30
set logical-systems R4 interfaces fe-0/0/1 unit 14 description To_R1-Fe-0/0/0.14
set logical-systems R4 interfaces fe-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet address 172.27.0.9/30
set logical-systems R4 interfaces fe-0/0/1 unit 24 description To_R2-Fe-0/0/0.24
set logical-systems R4 interfaces fe-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet address 172.27.0.6/30
set logical-systems R4 interfaces fe-0/0/1 unit 34 description To_R3-Fe-0/0/0.34
set logical-systems R4 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet address 172.27.0.18/30
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.27.255.4/32
set logical-systems R4 protocols ospf reference-bandwidth 50g
set logical-systems R4 protocols ospf area 0.0.0.1 interface fe-0/0/1.24 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.14 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.34 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface lo0.4 passive
set logical-systems R4 protocols ospf area 0.0.0.2 interface fe-0/0/0.45 interface-type p2p
#
set logical-systems R5 interfaces fe-0/0/0 unit 50 description To_C2-Fe-0/0/1.50
set logical-systems R5 interfaces fe-0/0/0 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/0 unit 50 family inet address 172.27.0.49/30
set logical-systems R5 interfaces fe-0/0/1 unit 35 description To_R3-Fe-0/0/0.35
set logical-systems R5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet address 172.27.0.25/30
set logical-systems R5 interfaces fe-0/0/1 unit 45 description To_R4-Fe-0/0/0.45
set logical-systems R5 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet address 172.27.0.22/30
set logical-systems R5 interfaces fe-0/0/2 unit 50 description To_C2-Fe-0/0/3.50
set logical-systems R5 interfaces fe-0/0/2 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/2 unit 50 family inet address 172.27.0.73/30
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.27.255.5/32
set logical-systems R5 protocols ospf reference-bandwidth 50g
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.45 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.35 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface lo0.5 passive
#
set logical-systems T1 interfaces fe-0/0/1 unit 10 description To_R1-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/1 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet address 172.27.0.34/30
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet6 address ::172.27.0.34/126
set logical-systems T1 interfaces fe-0/0/3 unit 10 description To_R2-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/3 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet address 172.27.0.66/30
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet6 address ::172.27.0.66/126
set logical-systems T1 protocols bgp group R1-R2 type external
set logical-systems T1 protocols bgp group R1-R2 family inet unicast
set logical-systems T1 protocols bgp group R1-R2 family inet6 unicast
set logical-systems T1 protocols bgp group R1-R2 export To_R1-R2
set logical-systems T1 protocols bgp group R1-R2 peer-as 3895077211
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.33
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.65
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from route-filter 101.101.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 then accept
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 then accept
set logical-systems T1 routing-options static route 101.101.0.0/24 receive
set logical-systems T1 routing-options static route 101.101.1.0/24 receive
set logical-systems T1 routing-options static route 101.101.2.0/24 receive
set logical-systems T1 routing-options static route 101.101.3.0/24 receive
set logical-systems T1 routing-options static route 101.101.4.0/24 receive
set logical-systems T1 routing-options static route 101.101.5.0/24 receive
set logical-systems T1 routing-options static route 101.101.6.0/24 receive
set logical-systems T1 routing-options static route 101.101.7.0/24 receive
set logical-systems T1 routing-options static route 101.101.8.0/24 receive
set logical-systems T1 routing-options static route 101.101.9.0/24 receive
set logical-systems T1 routing-options static route 101.101.10.0/24 receive
set logical-systems T1 routing-options static route 103.103.0.0/24 receive
set logical-systems T1 routing-options static route 103.103.1.0/24 receive
set logical-systems T1 routing-options static route 103.103.2.0/24 receive
set logical-systems T1 routing-options static route 103.103.3.0/24 receive
set logical-systems T1 routing-options static route 103.103.4.0/24 receive
set logical-systems T1 routing-options static route 103.103.5.0/24 receive
set logical-systems T1 routing-options static route 103.103.6.0/24 receive
set logical-systems T1 routing-options static route 103.103.7.0/24 receive
set logical-systems T1 routing-options static route 103.103.8.0/24 receive
set logical-systems T1 routing-options static route 103.103.9.0/24 receive
set logical-systems T1 routing-options static route 103.103.10.0/24 receive
set logical-systems T1 routing-options autonomous-system 1342930876
#
set logical-systems T2 interfaces fe-0/0/1 unit 20 description To_R2-Fe-0/0/0.20
set logical-systems T2 interfaces fe-0/0/1 unit 20 vlan-id 20
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet address 172.27.0.38/30
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet6 address ::172.27.0.38/126
set logical-systems T2 protocols bgp group R2 type external
set logical-systems T2 protocols bgp group R2 family inet unicast
set logical-systems T2 protocols bgp group R2 family inet6 unicast
set logical-systems T2 protocols bgp group R2 export To_R2
set logical-systems T2 protocols bgp group R2 peer-as 3895077211
set logical-systems T2 protocols bgp group R2 neighbor 172.27.0.37
set logical-systems T2 policy-options policy-statement To_R2 term 1 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 1 from route-filter 102.102.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 1 then accept
set logical-systems T2 policy-options policy-statement To_R2 term 2 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 2 then accept
set logical-systems T2 routing-options static route 102.102.0.0/24 receive
set logical-systems T2 routing-options static route 102.102.1.0/24 receive
set logical-systems T2 routing-options static route 102.102.2.0/24 receive
set logical-systems T2 routing-options static route 102.102.3.0/24 receive
set logical-systems T2 routing-options static route 102.102.4.0/24 receive
set logical-systems T2 routing-options static route 102.102.5.0/24 receive
set logical-systems T2 routing-options static route 102.102.6.0/24 receive
set logical-systems T2 routing-options static route 102.102.7.0/24 receive
set logical-systems T2 routing-options static route 102.102.8.0/24 receive
set logical-systems T2 routing-options static route 102.102.9.0/24 receive
set logical-systems T2 routing-options static route 102.102.10.0/24 receive
set logical-systems T2 routing-options static route 103.103.0.0/24 receive
set logical-systems T2 routing-options static route 103.103.1.0/24 receive
set logical-systems T2 routing-options static route 103.103.2.0/24 receive
set logical-systems T2 routing-options static route 103.103.3.0/24 receive
set logical-systems T2 routing-options static route 103.103.4.0/24 receive
set logical-systems T2 routing-options static route 103.103.5.0/24 receive
set logical-systems T2 routing-options static route 103.103.6.0/24 receive
set logical-systems T2 routing-options static route 103.103.7.0/24 receive
set logical-systems T2 routing-options static route 103.103.8.0/24 receive
set logical-systems T2 routing-options static route 103.103.9.0/24 receive
set logical-systems T2 routing-options static route 103.103.10.0/24 receive
set logical-systems T2 routing-options autonomous-system 1342930876
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set interfaces fe-0/0/2 vlan-tagging
set interfaces fe-0/0/3 vlan-tagging
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200
[edit]
JNCIE@M7i#
By completing this lab, you will perform the following tasks:
Task 1: Configure the IBGP network. Your IBGP network must be designed using route reflection and must contain one route reflection cluster. All IBGP sessions must use the lo0.0 interface IP address. The failure of a link or router in the network must not result in any connectivity issues or isolation of clients.
Task 2: All IBGP sessions in your autonomous system (AS) must be authenticated using MD5 authentication.
Task 3: Configure a BGP session to the customer 2 (C2), peer (P), and transit (T) neighbors. Configure the EBGP session to C2 to load-balance over the two links that connect R5 and C2. Only one BGP session should be used. A static route is permissible to complete this task.
Task 4: Configure the R2 router to use load balancing over the two peering sessions with T1 and T2 routers.
Task 5: All peer (P), transit provider (T1, T2), and C2 IPv4 prefixes should be active and reachable on all routers in your AS.
Task 6: Routers C1 and C3 belong to the same customer, which uses IPv6 routing. Configure a BGP session to C1 and C3 routers. Both C1 and C3 routers should be able to communicate with each other as well as with the transit routers T1 and T2 using IPv6. IPv6 packet forwarding in your AS is not permitted.
Task 7: The direct IPv6 routes on C1-R3 and C3-R4 links must be reachable from the customer remote routers C3 and C1, respectively.
Task 8: Ensure that no more than 12 prefixes are accepted from customer routers C1 and C3. If this limit is exceeded the router should generate the syslog message but the session should remain active.
Task 9: All BGP sessions state changes should be logged to syslog.
Task 10: Implement an inbound policy for the transit routers that prefer the inbound IPv4 traffic to come from the T1 router.
Task 11: Implement an outbound policy for the transit routers that ensures outbound IPv4 traffic exits your AS at the R2 router.
Task 12: Ensure that traffic going to the destinations advertised by the P router prefers R3 as the exit point.
Task 13: Routes received from the P router should not be advertised to T1 or T2 or vice versa.
Task 14: Using BGP standard communities, ensure that it is possible to differentiate between the EBGP neighbors from which the external IPv4 prefixes were received.
Task 15: Advertise a summary route representing local AS IPv4 network range to the P, T1, T2, and C2 devices.
Task 16: Advertise a summary route representing local AS IPv6 range to the transit provider, no other IPv6 routes may be advertised to the T1 and T2 routers.
Task 17: Do not accept IPv4 routes that have a mask shorter than /8 or longer than /24 from the peer or transit providers.
Task 18: If the same route is learned directly from the C2 customer, it should always be preferred to the same prefix learned from either a peer or a transit router.
Task 19: After performing all previous tasks, migrate the existing IBGP network to a confederation. route reflection is not permitted. No router in your AS can have more than two IBGP and CBGP neighbors. The failure of a link or router in the network must not result in any connectivity issues or isolation of routers.
OK, Buy a cup of tea, Let's start.
Task 1: Configure the IBGP network. Your IBGP network must be designed using route reflection and must contain one route reflection cluster. All IBGP sessions must use the lo0.0 interface IP address. The failure of a link or router in the network must not result in any connectivity issues or isolation of clients.
Note:
R1:
set logical-systems R1 routing-options autonomous-system 3895077211
#
set logical-systems R1 protocols bgp group cluster-1 type internal
set logical-systems R1 protocols bgp group cluster-1 local-address 172.27.255.1
set logical-systems R1 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R1 protocols bgp group cluster-1 neighbor 172.27.255.4
R2:
set logical-systems R2 routing-options autonomous-system 3895077211
#
set logical-systems R2 protocols bgp group cluster-1 type internal
set logical-systems R2 protocols bgp group cluster-1 local-address 172.27.255.2
set logical-systems R2 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R2 protocols bgp group cluster-1 neighbor 172.27.255.4
R3:
set logical-systems R3 routing-options autonomous-system 3895077211
#
set logical-systems R3 protocols bgp group cluster-1 type internal
set logical-systems R3 protocols bgp group cluster-1 local-address 172.27.255.3
set logical-systems R3 protocols bgp group cluster-1 cluster 0.0.0.1
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.1
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.2
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.5
#
set logical-systems R3 protocols bgp group internal type internal
set logical-systems R3 protocols bgp group internal local-address 172.27.255.3
set logical-systems R3 protocols bgp group internal neighbor 172.27.255.4
R4:
set logical-systems R4 routing-options autonomous-system 3895077211
#
set logical-systems R4 protocols bgp group cluster-1 type internal
set logical-systems R4 protocols bgp group cluster-1 local-address 172.27.255.4
set logical-systems R4 protocols bgp group cluster-1 cluster 0.0.0.1
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.1
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.2
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.5
#
set logical-systems R4 protocols bgp group internal type internal
set logical-systems R4 protocols bgp group internal local-address 172.27.255.4
set logical-systems R4 protocols bgp group internal neighbor 172.27.255.3
R5:
set logical-systems R5 routing-options autonomous-system 3895077211
#
set logical-systems R5 protocols bgp group cluster-1 type internal
set logical-systems R5 protocols bgp group cluster-1 local-address 172.27.255.5
set logical-systems R5 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R5 protocols bgp group cluster-1 neighbor 172.27.255.4
Verification:
JNCIE@M7i:R1# run show bgp summary
JNCIE@M7i:R2# run show bgp summary
JNCIE@M7i:R3# run show bgp summary
JNCIE@M7i:R4# run show bgp summary
JNCIE@M7i:R5# run show bgp summary
Task 2: All IBGP sessions in your autonomous system (AS) must be authenticated using MD5 authentication.
R1:
set logical-systems R1 protocols bgp group cluster-1 authentication-key juniper
R2:
set logical-systems R2 protocols bgp group cluster-1 authentication-key juniper
R3:
set logical-systems R3 protocols bgp group cluster-1 authentication-key juniper
set logical-systems R3 protocols bgp group internal authentication-key juniper
R4:
set logical-systems R4 protocols bgp group cluster-1 authentication-key juniper
set logical-systems R4 protocols bgp group internal authentication-key juniper
R5:
set logical-systems R5 protocols bgp group cluster-1 authentication-key juniper
Verification:
JNCIE@M7i:R1# run show bgp summary
JNCIE@M7i:R2# run show bgp summary
JNCIE@M7i:R3# run show bgp summary
JNCIE@M7i:R4# run show bgp summary
JNCIE@M7i:R5# run show bgp summary
Task 3: Configure a BGP session to the customer 2 (C2), peer (P), and transit (T) neighbors. Configure the EBGP session to C2 to load-balance over the two links that connect R5 and C2. Only one BGP session should be used. A static route is permissible to complete this task.
R1:
set logical-systems R1 protocols bgp group T1 type external
set logical-systems R1 protocols bgp group T1 peer-as 1342930876
set logical-systems R1 protocols bgp group T1 neighbor 172.27.0.34
#
set logical-systems R1 protocols bgp group P type external
set logical-systems R1 protocols bgp group P peer-as 2087403078
set logical-systems R1 protocols bgp group P neighbor 172.27.0.30
R2:
set logical-systems R2 protocols bgp group T1-T2 type external
set logical-systems R2 protocols bgp group T1-T2 peer-as 1342930876
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.66
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.38
R3:
set logical-systems R3 protocols bgp group P type external
set logical-systems R3 protocols bgp group P peer-as 2087403078
set logical-systems R3 protocols bgp group P neighbor 172.27.0.62
R5:
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.50
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.74
#
set logical-systems R5 protocols bgp group C2 type external
set logical-systems R5 protocols bgp group C2 multihop
set logical-systems R5 protocols bgp group C2 local-address 172.27.255.5
set logical-systems R5 protocols bgp group C2 peer-as 65512
set logical-systems R5 protocols bgp group C2 neighbor 202.202.0.1
Verification:
JNCIE@M7i:R1# run show bgp summary
JNCIE@M7i:R2# run show bgp summary
JNCIE@M7i:R3# run show bgp summary
JNCIE@M7i:R4# run show bgp summary
JNCIE@M7i:R5# run show bgp summary
Task 4: Configure the R2 router to use load balancing over the two peering sessions with T1 and T2 routers.
R2:
set logical-systems R2 protocols bgp group T1-T2 multipath
Verification:
JNCIE@M7i:R2# run show route protocol bgp 103.103.0.0
inet.0: 75 destinations, 86 routes (75 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
103.103.0.0/24 *[BGP/170] 00:17:56, localpref 200, from 172.27.0.38
AS path: 1342930876 I, validation-state: unverified
to 172.27.0.38 via fe-0/0/0.20
> to 172.27.0.66 via fe-0/0/2.10
[BGP/170] 00:17:49, localpref 200
AS path: 1342930876 I, validation-state: unverified
> to 172.27.0.66 via fe-0/0/2.10
[edit]
JNCIE@M7i:R2#
Task 5: All peer (P), transit provider (T1, T2), and C2 IPv4 prefixes should be active and reachable on all routers in your AS.
R1:
set logical-systems R1 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R1 policy-options policy-statement nhs term 1 then next-hop self
#
set logical-systems R1 protocols bgp group cluster-1 export nhs
R2:
set logical-systems R2 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R2 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R2 policy-options policy-statement nhs term 1 then next-hop self
#
set logical-systems R2 protocols bgp group cluster-1 export nhs
R3:
set logical-systems R3 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R3 policy-options policy-statement nhs term 1 then next-hop self
#
set logical-systems R3 protocols bgp group cluster-1 export nhs
set logical-systems R3 protocols bgp group internal export nhs
R5:
set logical-systems R5 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R5 policy-options policy-statement nhs term 1 then next-hop self
#
set logical-systems R5 protocols bgp group cluster-1 export nhs
Verification:
JNCIE@M7i:R1# run show route 202.202.0.0/24
inet.0: 76 destinations, 109 routes (76 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
202.202.0.0/24 *[BGP/170] 00:18:54, localpref 300, from 172.27.255.3
AS path: (65002) 65512 I, validation-state: unverified
> to 172.27.0.13 via fe-0/0/0.13, Push 299776
to 172.27.0.9 via fe-0/0/0.14, Push 299776
[edit]
JNCIE@M7i:R1#
JNCIE@M7i:R2# run show route 202.202.0.0/24
inet.0: 75 destinations, 86 routes (75 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
202.202.0.0/24 *[BGP/170] 00:19:18, localpref 300, from 172.27.255.1
AS path: (65000 65002) 65512 I, validation-state: unverified
> to 172.27.0.6 via fe-0/0/0.24, Push 299776
[edit]
JNCIE@M7i:R2#
JNCIE@M7i:R3# run show route 101.101.0.0/24
inet.0: 76 destinations, 76 routes (76 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
101.101.0.0/24 *[BGP/170] 00:19:42, localpref 200, from 172.27.255.1
AS path: (65001) 1342930876 I, validation-state: unverified
> to 172.27.0.18 via fe-0/0/0.34, Push 299808
to 172.27.0.14 via fe-0/0/1.13, Push 299824
[edit]
JNCIE@M7i:R3#
JNCIE@M7i:R4# run show route 102.102.0.0/24
inet.0: 74 destinations, 96 routes (74 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
102.102.0.0/24 *[BGP/170] 00:21:09, localpref 200, from 172.27.255.2
AS path: 1342930876 I, validation-state: unverified
> to 172.27.0.5 via fe-0/0/1.24
[edit]
JNCIE@M7i:R4#
JNCIE@M7i:R5# run show route 200.200.0.0/24
inet.0: 76 destinations, 120 routes (76 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
200.200.0.0/24 *[BGP/170] 00:21:29, localpref 200, from 172.27.255.3
AS path: (65000) 2087403078 I, validation-state: unverified
> to 172.27.0.26 via fe-0/0/1.35
[BGP/170] 00:20:22, localpref 200, from 172.27.255.4
AS path: (65001 65000) 2087403078 I, validation-state: unverified
> to 172.27.0.26 via fe-0/0/1.35
[edit]
JNCIE@M7i:R5#
Task 6: Routers C1 and C3 belong to the same customer, which uses IPv6 routing. Configure a BGP session to C1 and C3 routers. Both C1 and C3 routers should be able to communicate with each other as well as with the transit routers T1 and T2 using IPv6. IPv6 packet forwarding in your AS is not permitted.
R1:
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet6 address ::172.27.0.33/126
#
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 12 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 13 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 14 family mpls
#
set logical-systems R1 protocols mpls ipv6-tunneling
set logical-systems R1 protocols mpls interface fe-0/0/0.12
set logical-systems R1 protocols mpls interface fe-0/0/0.13
set logical-systems R1 protocols mpls interface fe-0/0/0.14
#
set logical-systems R1 protocols ldp interface fe-0/0/0.12
set logical-systems R1 protocols ldp interface fe-0/0/0.13
set logical-systems R1 protocols ldp interface fe-0/0/0.14
#
set logical-systems R1 protocols bgp group T1 family inet unicast
set logical-systems R1 protocols bgp group T1 family inet6 unicast
set logical-systems R1 protocols bgp group cluster-1 family inet unicast
set logical-systems R1 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
R2:
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet6 address ::172.27.0.37/126
#
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet6
set logical-systems R2 interfaces fe-0/0/0 unit 24 family mpls
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet6
set logical-systems R2 interfaces fe-0/0/1 unit 12 family mpls
#
set logical-systems R2 protocols mpls ipv6-tunneling
set logical-systems R2 protocols mpls interface fe-0/0/1.12
set logical-systems R2 protocols mpls interface fe-0/0/0.24
#
set logical-systems R2 protocols ldp interface fe-0/0/0.24
set logical-systems R2 protocols ldp interface fe-0/0/1.12
#
set logical-systems R2 protocols bgp group T1-T2 family inet unicast
set logical-systems R2 protocols bgp group T1-T2 family inet6 unicast
set logical-systems R2 protocols bgp group cluster-1 family inet unicast
set logical-systems R2 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
R3:
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet6 address 2008:4498::1/64
#
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet6
set logical-systems R3 interfaces fe-0/0/1 unit 13 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 34 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 35 family mpls
#
set logical-systems R3 protocols mpls ipv6-tunneling
set logical-systems R3 protocols mpls interface fe-0/0/0.35
set logical-systems R3 protocols mpls interface fe-0/0/0.34
set logical-systems R3 protocols mpls interface fe-0/0/1.13
#
set logical-systems R3 protocols ldp interface fe-0/0/0.34
set logical-systems R3 protocols ldp interface fe-0/0/0.35
set logical-systems R3 protocols ldp interface fe-0/0/1.13
#
set logical-systems R3 protocols bgp group cluster-1 family inet unicast
set logical-systems R3 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group internal family inet unicast
set logical-systems R3 protocols bgp group internal family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group C1 type external
set logical-systems R3 protocols bgp group C1 peer-as 65432
set logical-systems R3 protocols bgp group C1 as-override
set logical-systems R3 protocols bgp group C1 neighbor 2008:4498::2
R4:
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet6 address 2008:4498:0:1::1/64
#
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 14 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 24 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 34 family mpls
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet6
set logical-systems R4 interfaces fe-0/0/0 unit 45 family mpls
#
set logical-systems R4 protocols mpls ipv6-tunneling
set logical-systems R4 protocols mpls interface fe-0/0/1.14
set logical-systems R4 protocols mpls interface fe-0/0/1.34
set logical-systems R4 protocols mpls interface fe-0/0/1.24
set logical-systems R4 protocols mpls interface fe-0/0/0.45
#
set logical-systems R4 protocols ldp interface fe-0/0/0.45
set logical-systems R4 protocols ldp interface fe-0/0/1.14
set logical-systems R4 protocols ldp interface fe-0/0/1.24
set logical-systems R4 protocols ldp interface fe-0/0/1.34
#
set logical-systems R4 protocols bgp group cluster-1 family inet unicast
set logical-systems R4 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group internal family inet unicast
set logical-systems R4 protocols bgp group internal family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group C3 type external
set logical-systems R4 protocols bgp group C3 family inet6 unicast prefix-limit maximum 12
set logical-systems R4 protocols bgp group C3 peer-as 65432
set logical-systems R4 protocols bgp group C3 as-override
set logical-systems R4 protocols bgp group C3 neighbor 2008:4498:0:1::2
Verification:
JNCIE@M7i:R1-5# run show bgp summary
JNCIE@M7i:R1-2# run show route table inet6.0
JNCIE@M7i:R1-5# run show route table inet6.3
Task 7: The direct IPv6 routes on C1-R3 and C3-R4 links must be reachable from the customer remote routers C3 and C1, respectively.
R3:
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498::/64 exact
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 then accept
#
set logical-systems R3 protocols bgp group internal export IPV6-DIRECT
R4:
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498:0:1::/64 exact
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 then accept
#
set logical-systems R4 protocols bgp group internal export IPV6-DIRECT
Verification:
JNCIE@M7i:R3# run ping 2008:4498:0:1::2 source 2008:4498::1 rapid
PING6(56=40+8+8 bytes) 2008:4498::1 --> 2008:4498:0:1::2
!!!!!
--- 2008:4498:0:1::2 ping6 statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 1.514/2.884/8.152/2.634 ms
[edit]
JNCIE@M7i:R3#
JNCIE@M7i:R4# run ping 2008:4498::2 source 2008:4498:0:1::1 rapid
PING6(56=40+8+8 bytes) 2008:4498:0:1::1 --> 2008:4498::2
!!!!!
--- 2008:4498::2 ping6 statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max/std-dev = 1.531/1.679/2.027/0.183 ms
[edit]
JNCIE@M7i:R4#
Task 8: Ensure that no more than 12 prefixes are accepted from customer routers C1 and C3. If this limit is exceeded the router should generate the syslog message but the session should remain active.
R3:
set logical-systems R3 protocols bgp group C1 family inet6 unicast prefix-limit maximum 12
R4:
set logical-systems R4 protocols bgp group C3 family inet6 unicast prefix-limit maximum 12
Task 9: All BGP sessions state changes should be logged to syslog.
R1:
set logical-systems R1 protocols bgp log-updown
R2:
set logical-systems R2 protocols bgp log-updown
R3:
set logical-systems R3 protocols bgp log-updown
R4:
set logical-systems R4 protocols bgp log-updown
R5:
set logical-systems R5 protocols bgp log-updown
Task 10: Implement an inbound policy for the transit routers that prefer the inbound IPv4 traffic to come from the T1 router.
Note: I think this question is wrong. Inbound policy will impact outbound traffic, so this question should be change to "Implement an inbound policy for the transit routers that prefer the (outbound) IPv4 traffic to come from the T1 router."
R2:
set logical-systems R2 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T1 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement From_T2 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T2 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T2 term 1 then accept
#
set logical-systems R2 protocols bgp group T1-T2 import From_T1
set logical-systems R2 protocols bgp group T1-T2 import From_T2
Task 11: Implement an outbound policy for the transit routers that ensures outbound IPv4 traffic exits your AS at the R2 router.
Note: I think this question is also wrong. Outbound policy will impact inbound traffic, so this question should be change to "Implement an outbound policy for the transit routers that ensures (inbound) IPv4 traffic exits your AS at the R2 router."
R1:
set logical-systems R1 routing-options aggregate route 172.27.0.0/16
#
set logical-systems R1 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_T1 term 1 then as-path-prepend "3895077211 3895077211"
set logical-systems R1 policy-options policy-statement To_T1 term 1 then accept
#
set logical-systems R1 protocols bgp group T1 export To_T1
Task 12: Ensure that traffic going to the destinations advertised by the P router prefers R3 as the exit point.
R3:
set logical-systems R3 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R3 policy-options policy-statement From_P term 1 then local-preference 200
set logical-systems R3 policy-options policy-statement From_P term 1 then accept
#
set logical-systems R3 protocols bgp group P import From_P
Task 13: Routes received from the P router should not be advertised to T1 or T2 or vice versa.
Task 14: Using BGP standard communities, ensure that it is possible to differentiate between the EBGP neighbors from which the external IPv4 prefixes were received.
R1:
set logical-systems R1 policy-options community C2-routes members 7211:65512
set logical-systems R1 policy-options community P-routes members 7211:1111
set logical-systems R1 policy-options community T1-routes members 7211:2222
set logical-systems R1 policy-options community T2-routes members 7211:3333
#
set logical-systems R1 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R1 policy-options policy-statement From_P term 1 then accept
set logical-systems R1 protocols bgp group P import From_P
#
set logical-systems R1 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R1 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R1 protocols bgp group T1 import From_T1
#
set logical-systems R1 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R1 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R1 policy-options policy-statement To_P term 1 then reject
set logical-systems R1 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_P term 2 then accept
set logical-systems R1 protocols bgp group P export To_P
#
set logical-systems R1 routing-options aggregate route 172.27.0.0/16
R2:
set logical-systems R2 policy-options community C2-routes members 7211:65512
set logical-systems R2 policy-options community P-routes members 7211:1111
set logical-systems R2 policy-options community T1-routes members 7211:2222
set logical-systems R2 policy-options community T2-routes members 7211:3333
#
set logical-systems R2 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R2 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement From_T2 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T2 term 1 then community add T2-routes
set logical-systems R2 policy-options policy-statement From_T2 term 1 then accept
set logical-systems R2 protocols bgp group T1-T2 import From_T1
set logical-systems R2 protocols bgp group T1-T2 import From_T2
#
set logical-systems R2 policy-options policy-statement To_T1 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T1 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T1 term 2 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T2 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T2 term 2 then reject
set logical-systems R2 protocols bgp group T1-T2 export To_T1
set logical-systems R2 protocols bgp group T1-T2 export To_T2
R3:
set logical-systems R3 policy-options community C2-routes members 7211:65512
set logical-systems R3 policy-options community P-routes members 7211:1111
set logical-systems R3 policy-options community T1-routes members 7211:2222
set logical-systems R3 policy-options community T2-routes members 7211:3333
#
set logical-systems R3 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R3 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R3 policy-options policy-statement From_P term 1 then accept
set logical-systems R3 protocols bgp group P import From_P
#
set logical-systems R3 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R3 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R3 policy-options policy-statement To_P term 1 then reject
set logical-systems R3 protocols bgp group P export To_P
R5:
set logical-systems R5 policy-options community C2-routes members 7211:65512
set logical-systems R5 policy-options community P-routes members 7211:1111
set logical-systems R5 policy-options community T1-routes members 7211:2222
set logical-systems R5 policy-options community T2-routes members 7211:3333
#
set logical-systems R5 policy-options policy-statement From_C2 term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement From_C2 term 1 then community add C2-routes
set logical-systems R5 policy-options policy-statement From_C2 term 1 then accept
set logical-systems R5 protocols bgp group C2 import From_C2
Task 15: Advertise a summary route representing local AS IPv4 network range to the P, T1, T2, and C2 devices.
R1:
set logical-systems R1 routing-options aggregate route 172.27.0.0/16
#
set logical-systems R1 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_P term 2 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_T1 term 1 then accept
#
set logical-systems R1 protocols bgp group T1 export To_T1
set logical-systems R1 protocols bgp group P export To_P
R2:
set logical-systems R2 routing-options aggregate route 172.27.0.0/16
#
set logical-systems R2 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T2 term 1 then accept
#
set logical-systems R2 protocols bgp group T1-T2 export To_T1
set logical-systems R2 protocols bgp group T1-T2 export To_T2
R3:
set logical-systems R3 routing-options aggregate route 172.27.0.0/16
#
set logical-systems R3 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R3 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R3 policy-options policy-statement To_P term 2 then accept
#
set logical-systems R3 protocols bgp group P export To_P
R5:
set logical-systems R5 routing-options aggregate route 172.27.0.0/16
#
set logical-systems R5 policy-options policy-statement To_C2 term 1 from protocol aggregate
set logical-systems R5 policy-options policy-statement To_C2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R5 policy-options policy-statement To_C2 term 1 then accept
#
set logical-systems R5 protocols bgp group C2 export To_C2
Task 16: Advertise a summary route representing local AS IPv6 range to the transit provider, no other IPv6 routes may be advertised to the T1 and T2 routers.
R1:
set logical-systems R1 routing-options rib inet6.0 aggregate route 2008:4498::/32
#
set logical-systems R1 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R1 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R1 policy-options policy-statement To_T1 term 4 then reject
#
set logical-systems R1 protocols bgp group T1 export To_T1
R2:
set logical-systems R2 routing-options rib inet6.0 aggregate route 2008:4498::/32
#
set logical-systems R2 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T1 term 4 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T2 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T2 term 4 then reject
#
set logical-systems R2 protocols bgp group T1-T2 export To_T1
set logical-systems R2 protocols bgp group T1-T2 export To_T2
Task 17: Do not accept IPv4 routes that have a mask shorter than /8 or longer than /24 from the peer or transit providers.
R1:
set logical-systems R1 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_P term 1 then accept
set logical-systems R1 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_T1 term 1 then accept
#
set logical-systems R1 protocols bgp group T1 import From_T1
set logical-systems R1 protocols bgp group P import From_P
R2:
set logical-systems R2 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement From_T2 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T2 term 1 then accept
#
set logical-systems R2 protocols bgp group T1-T2 import From_T1
set logical-systems R2 protocols bgp group T1-T2 import From_T2
R3:
set logical-systems R3 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R3 policy-options policy-statement From_P term 1 then accept
#
set logical-systems R3 protocols bgp group P import From_P
Task 18: If the same route is learned directly from the C2 customer, it should always be preferred to the same prefix learned from either a peer or a transit router.
R5:
set logical-systems R5 policy-options policy-statement From_C2 term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement From_C2 term 1 then local-preference 300
set logical-systems R5 policy-options policy-statement From_C2 term 1 then accept
#
set logical-systems R5 protocols bgp group C2 import From_C2
Task 19: After performing all previous tasks, migrate the existing IBGP network to a confederation. route reflection is not permitted. No router in your AS can have more than two IBGP and CBGP neighbors. The failure of a link or router in the network must not result in any connectivity issues or isolation of routers.
Note: In this Step, We need to remove RR configuration. So I do a backup configuration for RR.
R1:
delete logical-systems R1 routing-options autonomous-system
delete logical-systems R1 protocols bgp group cluster-1
#
set logical-systems R1 routing-options autonomous-system 65000
set logical-systems R1 routing-options confederation 3895077211
set logical-systems R1 routing-options confederation members 65000
set logical-systems R1 routing-options confederation members 65001
set logical-systems R1 routing-options confederation members 65002
#
set logical-systems R1 protocols bgp group IBGP type internal
set logical-systems R1 protocols bgp group IBGP local-address 172.27.255.1
set logical-systems R1 protocols bgp group IBGP family inet unicast
set logical-systems R1 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R1 protocols bgp group IBGP authentication-key jniper
set logical-systems R1 protocols bgp group IBGP export nhs
set logical-systems R1 protocols bgp group IBGP neighbor 172.27.255.3
#
set logical-systems R1 protocols bgp group CBGP type external
set logical-systems R1 protocols bgp group CBGP multihop
set logical-systems R1 protocols bgp group CBGP local-address 172.27.255.1
set logical-systems R1 protocols bgp group CBGP family inet unicast
set logical-systems R1 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R1 protocols bgp group CBGP authentication-key jniper
set logical-systems R1 protocols bgp group CBGP export nhs
set logical-systems R1 protocols bgp group CBGP peer-as 65001
set logical-systems R1 protocols bgp group CBGP neighbor 172.27.255.2
R2:
delete logical-systems R2 routing-options autonomous-system
delete logical-systems R2 protocols bgp group cluster-1
#
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R2 routing-options confederation 3895077211
set logical-systems R2 routing-options confederation members 65000
set logical-systems R2 routing-options confederation members 65001
set logical-systems R2 routing-options confederation members 65002
#
set logical-systems R2 protocols bgp group IBGP type internal
set logical-systems R2 protocols bgp group IBGP local-address 172.27.255.2
set logical-systems R2 protocols bgp group IBGP family inet unicast
set logical-systems R2 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R2 protocols bgp group IBGP authentication-key juniper
set logical-systems R2 protocols bgp group IBGP export nhs
set logical-systems R2 protocols bgp group IBGP neighbor 172.27.255.4
#
set logical-systems R2 protocols bgp group CBGP type external
set logical-systems R2 protocols bgp group CBGP multihop
set logical-systems R2 protocols bgp group CBGP local-address 172.27.255.2
set logical-systems R2 protocols bgp group CBGP family inet unicast
set logical-systems R2 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R2 protocols bgp group CBGP authentication-key juniper
set logical-systems R2 protocols bgp group CBGP export nhs
set logical-systems R2 protocols bgp group CBGP peer-as 65000
set logical-systems R2 protocols bgp group CBGP neighbor 172.27.255.1
R3:
delete logical-systems R3 routing-options autonomous-system
delete logical-systems R3 protocols bgp group cluster-1
delete logical-systems R3 protocols bgp group internal
#
set logical-systems R3 routing-options autonomous-system 65000
set logical-systems R3 routing-options confederation 3895077211
set logical-systems R3 routing-options confederation members 65000
set logical-systems R3 routing-options confederation members 65001
set logical-systems R3 routing-options confederation members 65002
#
set logical-systems R3 protocols bgp group IBGP type internal
set logical-systems R3 protocols bgp group IBGP local-address 172.27.255.3
set logical-systems R3 protocols bgp group IBGP family inet unicast
set logical-systems R3 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group IBGP authentication-key juniper
set logical-systems R3 protocols bgp group IBGP export nhs
set logical-systems R3 protocols bgp group IBGP export IPV6-DIRECT
set logical-systems R3 protocols bgp group IBGP neighbor 172.27.255.1
#
set logical-systems R3 protocols bgp group CBGP type external
set logical-systems R3 protocols bgp group CBGP multihop
set logical-systems R3 protocols bgp group CBGP local-address 172.27.255.3
set logical-systems R3 protocols bgp group CBGP family inet unicast
set logical-systems R3 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group CBGP authentication-key juniper
set logical-systems R3 protocols bgp group CBGP export nhs
set logical-systems R3 protocols bgp group CBGP export IPV6-DIRECT
set logical-systems R3 protocols bgp group CBGP peer-as 65002
set logical-systems R3 protocols bgp group CBGP neighbor 172.27.255.5
R4:
delete logical-systems R4 routing-options autonomous-system
delete logical-systems R4 protocols bgp group cluster-1
delete logical-systems R4 protocols bgp group internal
#
set logical-systems R4 routing-options autonomous-system 65001
set logical-systems R4 routing-options confederation 3895077211
set logical-systems R4 routing-options confederation members 65000
set logical-systems R4 routing-options confederation members 65001
set logical-systems R4 routing-options confederation members 65002
#
set logical-systems R4 protocols bgp group IBGP type internal
set logical-systems R4 protocols bgp group IBGP local-address 172.27.255.4
set logical-systems R4 protocols bgp group IBGP family inet unicast
set logical-systems R4 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group IBGP authentication-key juniper
set logical-systems R4 protocols bgp group IBGP export IPV6-DIRECT
set logical-systems R4 protocols bgp group IBGP neighbor 172.27.255.2
#
set logical-systems R4 protocols bgp group CBGP type external
set logical-systems R4 protocols bgp group CBGP multihop
set logical-systems R4 protocols bgp group CBGP local-address 172.27.255.4
set logical-systems R4 protocols bgp group CBGP family inet unicast
set logical-systems R4 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group CBGP authentication-key juniper
set logical-systems R4 protocols bgp group CBGP peer-as 65002
set logical-systems R4 protocols bgp group CBGP neighbor 172.27.255.5
R5:
delete logical-systems R5 routing-options autonomous-system
delete logical-systems R5 protocols bgp group cluster-1
#
set logical-systems R5 routing-options autonomous-system 65002
set logical-systems R5 routing-options confederation 3895077211
set logical-systems R5 routing-options confederation members 65000
set logical-systems R5 routing-options confederation members 65001
set logical-systems R5 routing-options confederation members 65002
#
set logical-systems R5 protocols bgp group CBGP type external
set logical-systems R5 protocols bgp group CBGP multihop
set logical-systems R5 protocols bgp group CBGP local-address 172.27.255.5
set logical-systems R5 protocols bgp group CBGP family inet unicast
set logical-systems R5 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R5 protocols bgp group CBGP authentication-key juniper
set logical-systems R5 protocols bgp group CBGP export nhs
set logical-systems R5 protocols bgp group CBGP neighbor 172.27.255.3 peer-as 65000
set logical-systems R5 protocols bgp group CBGP neighbor 172.27.255.4 peer-as 65001
Final configuration (Before Task19):
JNCIE@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set logical-systems C1 interfaces fe-0/0/1 unit 40 description To_R3-Fe-0/0/0.40
set logical-systems C1 interfaces fe-0/0/1 unit 40 vlan-id 40
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet address 172.27.0.58/30
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet6 address 2008:4498:0:0::2/64
set logical-systems C1 interfaces lo0 unit 40 family inet6 address 2015::c1/128
set logical-systems C1 protocols bgp group R3 type external
set logical-systems C1 protocols bgp group R3 local-address 2008:4498:0:0::2
set logical-systems C1 protocols bgp group R3 family inet6 unicast
set logical-systems C1 protocols bgp group R3 export LO0
set logical-systems C1 protocols bgp group R3 peer-as 3895077211
set logical-systems C1 protocols bgp group R3 neighbor 2008:4498::1
set logical-systems C1 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C1 policy-options policy-statement LO0 term 1 from route-filter 2015::c1/128 exact
set logical-systems C1 policy-options policy-statement LO0 term 1 then accept
set logical-systems C1 routing-options autonomous-system 65432
set logical-systems C2 interfaces fe-0/0/1 unit 50 description To_R5-Fe-0/0/1.50
set logical-systems C2 interfaces fe-0/0/1 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/1 unit 50 family inet address 172.27.0.50/30
set logical-systems C2 interfaces fe-0/0/3 unit 50 description To_R5-Fe-0/0/2.50
set logical-systems C2 interfaces fe-0/0/3 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/3 unit 50 family inet address 172.27.0.74/30
set logical-systems C2 interfaces lo0 unit 50 family inet address 202.202.0.1/32
set logical-systems C2 protocols bgp group R5 type external
set logical-systems C2 protocols bgp group R5 multihop
set logical-systems C2 protocols bgp group R5 local-address 202.202.0.1
set logical-systems C2 protocols bgp group R5 export To_R5
set logical-systems C2 protocols bgp group R5 peer-as 3895077211
set logical-systems C2 protocols bgp group R5 neighbor 172.27.255.5
set logical-systems C2 policy-options policy-statement To_R5 term 1 from protocol static
set logical-systems C2 policy-options policy-statement To_R5 term 1 from route-filter 202.202.0.0/16 orlonger
set logical-systems C2 policy-options policy-statement To_R5 term 1 then accept
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.49
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.73
set logical-systems C2 routing-options static route 202.202.0.0/24 receive
set logical-systems C2 routing-options static route 202.202.1.0/24 receive
set logical-systems C2 routing-options static route 202.202.2.0/24 receive
set logical-systems C2 routing-options static route 202.202.3.0/24 receive
set logical-systems C2 routing-options static route 202.202.4.0/24 receive
set logical-systems C2 routing-options static route 202.202.5.0/24 receive
set logical-systems C2 routing-options static route 202.202.7.0/24 receive
set logical-systems C2 routing-options static route 202.202.6.0/24 receive
set logical-systems C2 routing-options static route 202.202.8.0/24 receive
set logical-systems C2 routing-options static route 202.202.9.0/24 receive
set logical-systems C2 routing-options static route 202.202.10.0/24 receive
set logical-systems C2 routing-options autonomous-system 65512
set logical-systems C3 interfaces fe-0/0/1 unit 60 description To_R4-Fe-0/0/1.60
set logical-systems C3 interfaces fe-0/0/1 unit 60 vlan-id 60
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet address 172.27.0.70/30
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet6 address 2008:4498:0:1::2/64
set logical-systems C3 interfaces lo0 unit 60 family inet6 address 2015::c3/128
set logical-systems C3 protocols bgp group R4 type external
set logical-systems C3 protocols bgp group R4 local-address 2008:4498:0:1::2
set logical-systems C3 protocols bgp group R4 family inet6 unicast
set logical-systems C3 protocols bgp group R4 export LO0
set logical-systems C3 protocols bgp group R4 peer-as 3895077211
set logical-systems C3 protocols bgp group R4 neighbor 2008:4498:0:1::1
set logical-systems C3 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C3 policy-options policy-statement LO0 term 1 from route-filter 2015::c3/128 exact
set logical-systems C3 policy-options policy-statement LO0 term 1 then accept
set logical-systems C3 routing-options autonomous-system 65432
set logical-systems P interfaces fe-0/0/1 unit 30 description To_R1-Fe-0/0/0.30
set logical-systems P interfaces fe-0/0/1 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/1 unit 30 family inet address 172.27.0.30/30
set logical-systems P interfaces fe-0/0/3 unit 30 description To_R3-Fe-0/0/2.30
set logical-systems P interfaces fe-0/0/3 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/3 unit 30 family inet address 172.27.0.62/30
set logical-systems P protocols bgp group R1-R3 type external
set logical-systems P protocols bgp group R1-R3 export To_R1-R3
set logical-systems P protocols bgp group R1-R3 peer-as 3895077211
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.29
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.61
set logical-systems P policy-options policy-statement To_R1-R3 from protocol static
set logical-systems P policy-options policy-statement To_R1-R3 from route-filter 200.200.0.0/16 orlonger
set logical-systems P policy-options policy-statement To_R1-R3 then accept
set logical-systems P routing-options static route 200.200.0.0/24 receive
set logical-systems P routing-options static route 200.200.1.0/24 receive
set logical-systems P routing-options static route 200.200.2.0/24 receive
set logical-systems P routing-options static route 200.200.3.0/24 receive
set logical-systems P routing-options static route 200.200.4.0/24 receive
set logical-systems P routing-options static route 200.200.5.0/24 receive
set logical-systems P routing-options static route 200.200.6.0/24 receive
set logical-systems P routing-options static route 200.200.7.0/24 receive
set logical-systems P routing-options static route 200.200.8.0/24 receive
set logical-systems P routing-options static route 200.200.9.0/24 receive
set logical-systems P routing-options static route 200.200.10.0/24 receive
set logical-systems P routing-options autonomous-system 2087403078
set logical-systems R1 interfaces fe-0/0/0 unit 10 description To_T1-Fe-0/0/1.10
set logical-systems R1 interfaces fe-0/0/0 unit 10 vlan-id 10
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet address 172.27.0.33/30
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet6 address ::172.27.0.33/126
set logical-systems R1 interfaces fe-0/0/0 unit 12 description To_R2-Fe-0/0/1.12
set logical-systems R1 interfaces fe-0/0/0 unit 12 vlan-id 12
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet address 172.27.0.1/30
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 12 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 13 description To_R3-Fe-0/0/1.13
set logical-systems R1 interfaces fe-0/0/0 unit 13 vlan-id 13
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet address 172.27.0.14/30
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 13 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 14 description To_R4-Fe-0/0/1.14
set logical-systems R1 interfaces fe-0/0/0 unit 14 vlan-id 14
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet address 172.27.0.10/30
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 14 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 30 description To_P-Fe-0/0/1.30
set logical-systems R1 interfaces fe-0/0/0 unit 30 vlan-id 30
set logical-systems R1 interfaces fe-0/0/0 unit 30 family inet address 172.27.0.29/30
set logical-systems R1 interfaces lo0 unit 1 family inet address 172.27.255.1/32
set logical-systems R1 protocols mpls ipv6-tunneling
set logical-systems R1 protocols mpls interface fe-0/0/0.12
set logical-systems R1 protocols mpls interface fe-0/0/0.13
set logical-systems R1 protocols mpls interface fe-0/0/0.14
set logical-systems R1 protocols bgp log-updown
set logical-systems R1 protocols bgp group cluster-1 type internal
set logical-systems R1 protocols bgp group cluster-1 local-address 172.27.255.1
set logical-systems R1 protocols bgp group cluster-1 family inet unicast
set logical-systems R1 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R1 protocols bgp group cluster-1 authentication-key "$9$B8zRcl8X-24ZKM4ZUjPf1Rh"
set logical-systems R1 protocols bgp group cluster-1 export nhs
set logical-systems R1 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R1 protocols bgp group cluster-1 neighbor 172.27.255.4
set logical-systems R1 protocols bgp group T1 type external
set logical-systems R1 protocols bgp group T1 import From_T1
set logical-systems R1 protocols bgp group T1 family inet unicast
set logical-systems R1 protocols bgp group T1 family inet6 unicast
set logical-systems R1 protocols bgp group T1 export To_T1
set logical-systems R1 protocols bgp group T1 peer-as 1342930876
set logical-systems R1 protocols bgp group T1 neighbor 172.27.0.34
set logical-systems R1 protocols bgp group P type external
set logical-systems R1 protocols bgp group P import From_P
set logical-systems R1 protocols bgp group P export To_P
set logical-systems R1 protocols bgp group P peer-as 2087403078
set logical-systems R1 protocols bgp group P neighbor 172.27.0.30
set logical-systems R1 protocols ospf reference-bandwidth 50g
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.13 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.14 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface lo0.1 passive
set logical-systems R1 protocols ospf area 0.0.0.1 interface fe-0/0/0.12 interface-type p2p
set logical-systems R1 protocols ldp interface fe-0/0/0.12
set logical-systems R1 protocols ldp interface fe-0/0/0.13
set logical-systems R1 protocols ldp interface fe-0/0/0.14
set logical-systems R1 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R1 policy-options policy-statement From_P term 1 then accept
set logical-systems R1 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R1 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R1 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R1 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R1 policy-options policy-statement To_P term 1 then reject
set logical-systems R1 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_P term 2 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_T1 term 1 then as-path-prepend "3895077211 3895077211"
set logical-systems R1 policy-options policy-statement To_T1 term 1 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 2 from protocol bgp
set logical-systems R1 policy-options policy-statement To_T1 term 2 from community P-routes
set logical-systems R1 policy-options policy-statement To_T1 term 2 then reject
set logical-systems R1 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R1 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R1 policy-options policy-statement To_T1 term 4 then reject
set logical-systems R1 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R1 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R1 policy-options community C2-routes members 7211:65512
set logical-systems R1 policy-options community P-routes members 7211:1111
set logical-systems R1 policy-options community T1-routes members 7211:2222
set logical-systems R1 policy-options community T2-routes members 7211:3333
set logical-systems R1 routing-options rib inet6.0 aggregate route 2008:4498::/32
set logical-systems R1 routing-options aggregate route 172.27.0.0/16
set logical-systems R1 routing-options router-id 172.27.255.1
set logical-systems R1 routing-options autonomous-system 3895077211
set logical-systems R2 interfaces fe-0/0/0 unit 20 description To_T2-Fe-0/0/1.20
set logical-systems R2 interfaces fe-0/0/0 unit 20 vlan-id 20
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet address 172.27.0.37/30
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet6 address ::172.27.0.37/126
set logical-systems R2 interfaces fe-0/0/0 unit 24 description To_R4-Fe-0/0/1.24
set logical-systems R2 interfaces fe-0/0/0 unit 24 vlan-id 24
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet address 172.27.0.5/30
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet6
set logical-systems R2 interfaces fe-0/0/0 unit 24 family mpls
set logical-systems R2 interfaces fe-0/0/1 unit 12 description To_R1-Fe-0/0/0.12
set logical-systems R2 interfaces fe-0/0/1 unit 12 vlan-id 12
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet address 172.27.0.2/30
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet6
set logical-systems R2 interfaces fe-0/0/1 unit 12 family mpls
set logical-systems R2 interfaces fe-0/0/2 unit 10 description To_T1-Fe-0/0/3.10
set logical-systems R2 interfaces fe-0/0/2 unit 10 vlan-id 10
set logical-systems R2 interfaces fe-0/0/2 unit 10 family inet address 172.27.0.65/30
set logical-systems R2 interfaces fe-0/0/2 unit 10 family inet6 address ::172.27.0.65/126
set logical-systems R2 interfaces lo0 unit 2 family inet address 172.27.255.2/32
set logical-systems R2 protocols mpls ipv6-tunneling
set logical-systems R2 protocols mpls interface fe-0/0/1.12
set logical-systems R2 protocols mpls interface fe-0/0/0.24
set logical-systems R2 protocols bgp log-updown
set logical-systems R2 protocols bgp group cluster-1 type internal
set logical-systems R2 protocols bgp group cluster-1 local-address 172.27.255.2
set logical-systems R2 protocols bgp group cluster-1 family inet unicast
set logical-systems R2 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R2 protocols bgp group cluster-1 authentication-key "$9$B8zRcl8X-24ZKM4ZUjPf1Rh"
set logical-systems R2 protocols bgp group cluster-1 export nhs
set logical-systems R2 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R2 protocols bgp group cluster-1 neighbor 172.27.255.4
set logical-systems R2 protocols bgp group T1-T2 type external
set logical-systems R2 protocols bgp group T1-T2 import From_T1
set logical-systems R2 protocols bgp group T1-T2 import From_T2
set logical-systems R2 protocols bgp group T1-T2 family inet unicast
set logical-systems R2 protocols bgp group T1-T2 family inet6 unicast
set logical-systems R2 protocols bgp group T1-T2 export To_T1
set logical-systems R2 protocols bgp group T1-T2 export To_T2
set logical-systems R2 protocols bgp group T1-T2 peer-as 1342930876
set logical-systems R2 protocols bgp group T1-T2 multipath
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.66
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.38
set logical-systems R2 protocols ospf reference-bandwidth 50g
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/0.24 interface-type p2p
set logical-systems R2 protocols ospf area 0.0.0.1 interface lo0.2 passive
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/1.12 interface-type p2p
set logical-systems R2 protocols ldp interface fe-0/0/0.24
set logical-systems R2 protocols ldp interface fe-0/0/1.12
set logical-systems R2 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T1 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R2 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement From_T2 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T2 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T2 term 1 then community add T2-routes
set logical-systems R2 policy-options policy-statement From_T2 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T1 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T1 term 2 then reject
set logical-systems R2 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T1 term 4 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T2 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T2 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T2 term 2 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T2 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T2 term 4 then reject
set logical-systems R2 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R2 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R2 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R2 policy-options community C2-routes members 7211:65512
set logical-systems R2 policy-options community P-routes members 7211:1111
set logical-systems R2 policy-options community T1-routes members 7211:2222
set logical-systems R2 policy-options community T2-routes members 7211:3333
set logical-systems R2 routing-options rib inet6.0 aggregate route 2008:4498::/32
set logical-systems R2 routing-options aggregate route 172.27.0.0/16
set logical-systems R2 routing-options router-id 172.27.255.2
set logical-systems R2 routing-options autonomous-system 3895077211
set logical-systems R3 interfaces fe-0/0/0 unit 34 description To_R4-Fe-0/0/1.34
set logical-systems R3 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet address 172.27.0.17/30
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 34 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 35 description To_R5-Fe-0/0/1.35
set logical-systems R3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet address 172.27.0.26/30
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 35 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 40 description To_C1-Fe-0/0/1.40
set logical-systems R3 interfaces fe-0/0/0 unit 40 vlan-id 40
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet address 172.27.0.57/28
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet6 address 2008:4498::1/64
set logical-systems R3 interfaces fe-0/0/1 unit 13 description To_R1-Fe-0/0/0.13
set logical-systems R3 interfaces fe-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet address 172.27.0.13/30
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet6
set logical-systems R3 interfaces fe-0/0/1 unit 13 family mpls
set logical-systems R3 interfaces fe-0/0/2 unit 30 description To_P-Fe-0/0/3.30
set logical-systems R3 interfaces fe-0/0/2 unit 30 vlan-id 30
set logical-systems R3 interfaces fe-0/0/2 unit 30 family inet address 172.27.0.61/30
set logical-systems R3 interfaces lo0 unit 3 family inet address 172.27.255.3/32
set logical-systems R3 protocols mpls ipv6-tunneling
set logical-systems R3 protocols mpls interface fe-0/0/0.35
set logical-systems R3 protocols mpls interface fe-0/0/0.34
set logical-systems R3 protocols mpls interface fe-0/0/1.13
set logical-systems R3 protocols bgp log-updown
set logical-systems R3 protocols bgp group cluster-1 type internal
set logical-systems R3 protocols bgp group cluster-1 local-address 172.27.255.3
set logical-systems R3 protocols bgp group cluster-1 family inet unicast
set logical-systems R3 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group cluster-1 authentication-key "$9$gAaGiP5FApBk.pBIEeK4aZ"
set logical-systems R3 protocols bgp group cluster-1 export nhs
set logical-systems R3 protocols bgp group cluster-1 cluster 0.0.0.1
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.1
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.2
set logical-systems R3 protocols bgp group cluster-1 neighbor 172.27.255.5
set logical-systems R3 protocols bgp group internal type internal
set logical-systems R3 protocols bgp group internal local-address 172.27.255.3
set logical-systems R3 protocols bgp group internal family inet unicast
set logical-systems R3 protocols bgp group internal family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group internal authentication-key "$9$0spm1EyM87s2alK2aZU.mO1R"
set logical-systems R3 protocols bgp group internal export nhs
set logical-systems R3 protocols bgp group internal export IPV6-DIRECT
set logical-systems R3 protocols bgp group internal neighbor 172.27.255.4
set logical-systems R3 protocols bgp group P type external
set logical-systems R3 protocols bgp group P import From_P
set logical-systems R3 protocols bgp group P export To_P
set logical-systems R3 protocols bgp group P peer-as 2087403078
set logical-systems R3 protocols bgp group P neighbor 172.27.0.62
set logical-systems R3 protocols bgp group C1 type external
set logical-systems R3 protocols bgp group C1 family inet6 unicast prefix-limit maximum 12
set logical-systems R3 protocols bgp group C1 peer-as 65432
set logical-systems R3 protocols bgp group C1 as-override
set logical-systems R3 protocols bgp group C1 neighbor 2008:4498::2
set logical-systems R3 protocols ospf reference-bandwidth 50g
set logical-systems R3 protocols ospf area 0.0.0.2 interface fe-0/0/0.35 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/1.13 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/0.34 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface lo0.3 passive
set logical-systems R3 protocols ldp interface fe-0/0/0.34
set logical-systems R3 protocols ldp interface fe-0/0/0.35
set logical-systems R3 protocols ldp interface fe-0/0/1.13
set logical-systems R3 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R3 policy-options policy-statement From_P term 1 then local-preference 200
set logical-systems R3 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R3 policy-options policy-statement From_P term 1 then accept
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498::/64 exact
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 then accept
set logical-systems R3 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R3 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R3 policy-options policy-statement To_P term 1 then reject
set logical-systems R3 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R3 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R3 policy-options policy-statement To_P term 2 then accept
set logical-systems R3 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R3 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R3 policy-options community C2-routes members 7211:65512
set logical-systems R3 policy-options community P-routes members 7211:1111
set logical-systems R3 policy-options community T1-routes members 7211:2222
set logical-systems R3 policy-options community T2-routes members 7211:3333
set logical-systems R3 routing-options aggregate route 172.27.0.0/16
set logical-systems R3 routing-options router-id 172.27.255.3
set logical-systems R3 routing-options autonomous-system 3895077211
set logical-systems R4 interfaces fe-0/0/0 unit 45 description To_R5-Fe-0/0/1.45
set logical-systems R4 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet address 172.27.0.21/30
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet6
set logical-systems R4 interfaces fe-0/0/0 unit 45 family mpls
set logical-systems R4 interfaces fe-0/0/0 unit 60 description To_C3-Fe-0/0/1.60
set logical-systems R4 interfaces fe-0/0/0 unit 60 vlan-id 60
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet address 172.27.0.69/30
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet6 address 2008:4498:0:1::1/64
set logical-systems R4 interfaces fe-0/0/1 unit 14 description To_R1-Fe-0/0/0.14
set logical-systems R4 interfaces fe-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet address 172.27.0.9/30
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 14 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 24 description To_R2-Fe-0/0/0.24
set logical-systems R4 interfaces fe-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet address 172.27.0.6/30
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 24 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 34 description To_R3-Fe-0/0/0.34
set logical-systems R4 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet address 172.27.0.18/30
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 34 family mpls
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.27.255.4/32
set logical-systems R4 protocols mpls ipv6-tunneling
set logical-systems R4 protocols mpls interface fe-0/0/1.14
set logical-systems R4 protocols mpls interface fe-0/0/1.34
set logical-systems R4 protocols mpls interface fe-0/0/1.24
set logical-systems R4 protocols mpls interface fe-0/0/0.45
set logical-systems R4 protocols bgp log-updown
set logical-systems R4 protocols bgp group cluster-1 type internal
set logical-systems R4 protocols bgp group cluster-1 local-address 172.27.255.4
set logical-systems R4 protocols bgp group cluster-1 family inet unicast
set logical-systems R4 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group cluster-1 authentication-key "$9$LFH7dsaZjP5F245Fn/0OX7-"
set logical-systems R4 protocols bgp group cluster-1 cluster 0.0.0.1
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.1
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.2
set logical-systems R4 protocols bgp group cluster-1 neighbor 172.27.255.5
set logical-systems R4 protocols bgp group internal type internal
set logical-systems R4 protocols bgp group internal local-address 172.27.255.4
set logical-systems R4 protocols bgp group internal family inet unicast
set logical-systems R4 protocols bgp group internal family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group internal authentication-key "$9$tpNO01hevLVwgSrwgoJHkp0B"
set logical-systems R4 protocols bgp group internal export IPV6-DIRECT
set logical-systems R4 protocols bgp group internal neighbor 172.27.255.3
set logical-systems R4 protocols bgp group C3 type external
set logical-systems R4 protocols bgp group C3 family inet6 unicast prefix-limit maximum 12
set logical-systems R4 protocols bgp group C3 peer-as 65432
set logical-systems R4 protocols bgp group C3 as-override
set logical-systems R4 protocols bgp group C3 neighbor 2008:4498:0:1::2
set logical-systems R4 protocols ospf reference-bandwidth 50g
set logical-systems R4 protocols ospf area 0.0.0.1 interface fe-0/0/1.24 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.14 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.34 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface lo0.4 passive
set logical-systems R4 protocols ospf area 0.0.0.2 interface fe-0/0/0.45 interface-type p2p
set logical-systems R4 protocols ldp interface fe-0/0/0.45
set logical-systems R4 protocols ldp interface fe-0/0/1.14
set logical-systems R4 protocols ldp interface fe-0/0/1.24
set logical-systems R4 protocols ldp interface fe-0/0/1.34
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498:0:1::/64 exact
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 then accept
set logical-systems R4 routing-options router-id 172.27.255.4
set logical-systems R4 routing-options autonomous-system 3895077211
set logical-systems R5 interfaces fe-0/0/0 unit 50 description To_C2-Fe-0/0/1.50
set logical-systems R5 interfaces fe-0/0/0 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/0 unit 50 family inet address 172.27.0.49/30
set logical-systems R5 interfaces fe-0/0/1 unit 35 description To_R3-Fe-0/0/0.35
set logical-systems R5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet address 172.27.0.25/30
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet6
set logical-systems R5 interfaces fe-0/0/1 unit 35 family mpls
set logical-systems R5 interfaces fe-0/0/1 unit 45 description To_R4-Fe-0/0/0.45
set logical-systems R5 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet address 172.27.0.22/30
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet6
set logical-systems R5 interfaces fe-0/0/1 unit 45 family mpls
set logical-systems R5 interfaces fe-0/0/2 unit 50 description To_C2-Fe-0/0/3.50
set logical-systems R5 interfaces fe-0/0/2 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/2 unit 50 family inet address 172.27.0.73/30
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.27.255.5/32
set logical-systems R5 protocols mpls ipv6-tunneling
set logical-systems R5 protocols mpls interface fe-0/0/1.35
set logical-systems R5 protocols mpls interface fe-0/0/1.45
set logical-systems R5 protocols bgp log-updown
set logical-systems R5 protocols bgp group cluster-1 type internal
set logical-systems R5 protocols bgp group cluster-1 local-address 172.27.255.5
set logical-systems R5 protocols bgp group cluster-1 family inet unicast
set logical-systems R5 protocols bgp group cluster-1 family inet6 labeled-unicast explicit-null
set logical-systems R5 protocols bgp group cluster-1 authentication-key "$9$gAaGiP5FApBk.pBIEeK4aZ"
set logical-systems R5 protocols bgp group cluster-1 export nhs
set logical-systems R5 protocols bgp group cluster-1 neighbor 172.27.255.3
set logical-systems R5 protocols bgp group cluster-1 neighbor 172.27.255.4
set logical-systems R5 protocols bgp group C2 type external
set logical-systems R5 protocols bgp group C2 multihop
set logical-systems R5 protocols bgp group C2 local-address 172.27.255.5
set logical-systems R5 protocols bgp group C2 import From_C2
set logical-systems R5 protocols bgp group C2 export To_C2
set logical-systems R5 protocols bgp group C2 peer-as 65512
set logical-systems R5 protocols bgp group C2 neighbor 202.202.0.1
set logical-systems R5 protocols ospf reference-bandwidth 50g
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.45 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.35 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface lo0.5 passive
set logical-systems R5 protocols ldp interface fe-0/0/1.35
set logical-systems R5 protocols ldp interface fe-0/0/1.45
set logical-systems R5 policy-options policy-statement From_C2 term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement From_C2 term 1 then local-preference 300
set logical-systems R5 policy-options policy-statement From_C2 term 1 then community add C2-routes
set logical-systems R5 policy-options policy-statement From_C2 term 1 then accept
set logical-systems R5 policy-options policy-statement To_C2 term 1 from protocol aggregate
set logical-systems R5 policy-options policy-statement To_C2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R5 policy-options policy-statement To_C2 term 1 then accept
set logical-systems R5 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R5 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R5 policy-options community C2-routes members 7211:65512
set logical-systems R5 policy-options community P-routes members 7211:1111
set logical-systems R5 policy-options community T1-routes members 7211:2222
set logical-systems R5 policy-options community T2-routes members 7211:3333
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.50
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.74
set logical-systems R5 routing-options aggregate route 172.27.0.0/16
set logical-systems R5 routing-options router-id 172.27.255.5
set logical-systems R5 routing-options autonomous-system 3895077211
set logical-systems T1 interfaces fe-0/0/1 unit 10 description To_R1-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/1 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet address 172.27.0.34/30
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet6 address ::172.27.0.34/126
set logical-systems T1 interfaces fe-0/0/3 unit 10 description To_R2-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/3 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet address 172.27.0.66/30
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet6 address ::172.27.0.66/126
set logical-systems T1 protocols bgp group R1-R2 type external
set logical-systems T1 protocols bgp group R1-R2 family inet unicast
set logical-systems T1 protocols bgp group R1-R2 family inet6 unicast
set logical-systems T1 protocols bgp group R1-R2 export To_R1-R2
set logical-systems T1 protocols bgp group R1-R2 peer-as 3895077211
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.33
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.65
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from route-filter 101.101.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 then accept
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 then accept
set logical-systems T1 routing-options static route 101.101.0.0/24 receive
set logical-systems T1 routing-options static route 101.101.1.0/24 receive
set logical-systems T1 routing-options static route 101.101.2.0/24 receive
set logical-systems T1 routing-options static route 101.101.3.0/24 receive
set logical-systems T1 routing-options static route 101.101.4.0/24 receive
set logical-systems T1 routing-options static route 101.101.5.0/24 receive
set logical-systems T1 routing-options static route 101.101.6.0/24 receive
set logical-systems T1 routing-options static route 101.101.7.0/24 receive
set logical-systems T1 routing-options static route 101.101.8.0/24 receive
set logical-systems T1 routing-options static route 101.101.9.0/24 receive
set logical-systems T1 routing-options static route 101.101.10.0/24 receive
set logical-systems T1 routing-options static route 103.103.0.0/24 receive
set logical-systems T1 routing-options static route 103.103.1.0/24 receive
set logical-systems T1 routing-options static route 103.103.2.0/24 receive
set logical-systems T1 routing-options static route 103.103.3.0/24 receive
set logical-systems T1 routing-options static route 103.103.4.0/24 receive
set logical-systems T1 routing-options static route 103.103.5.0/24 receive
set logical-systems T1 routing-options static route 103.103.6.0/24 receive
set logical-systems T1 routing-options static route 103.103.7.0/24 receive
set logical-systems T1 routing-options static route 103.103.8.0/24 receive
set logical-systems T1 routing-options static route 103.103.9.0/24 receive
set logical-systems T1 routing-options static route 103.103.10.0/24 receive
set logical-systems T1 routing-options autonomous-system 1342930876
set logical-systems T2 interfaces fe-0/0/1 unit 20 description To_R2-Fe-0/0/0.20
set logical-systems T2 interfaces fe-0/0/1 unit 20 vlan-id 20
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet address 172.27.0.38/30
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet6 address ::172.27.0.38/126
set logical-systems T2 protocols bgp group R2 type external
set logical-systems T2 protocols bgp group R2 family inet unicast
set logical-systems T2 protocols bgp group R2 family inet6 unicast
set logical-systems T2 protocols bgp group R2 export To_R2
set logical-systems T2 protocols bgp group R2 peer-as 3895077211
set logical-systems T2 protocols bgp group R2 neighbor 172.27.0.37
set logical-systems T2 policy-options policy-statement To_R2 term 1 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 1 from route-filter 102.102.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 1 then accept
set logical-systems T2 policy-options policy-statement To_R2 term 2 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 2 then accept
set logical-systems T2 routing-options static route 102.102.0.0/24 receive
set logical-systems T2 routing-options static route 102.102.1.0/24 receive
set logical-systems T2 routing-options static route 102.102.2.0/24 receive
set logical-systems T2 routing-options static route 102.102.3.0/24 receive
set logical-systems T2 routing-options static route 102.102.4.0/24 receive
set logical-systems T2 routing-options static route 102.102.5.0/24 receive
set logical-systems T2 routing-options static route 102.102.6.0/24 receive
set logical-systems T2 routing-options static route 102.102.7.0/24 receive
set logical-systems T2 routing-options static route 102.102.8.0/24 receive
set logical-systems T2 routing-options static route 102.102.9.0/24 receive
set logical-systems T2 routing-options static route 102.102.10.0/24 receive
set logical-systems T2 routing-options static route 103.103.0.0/24 receive
set logical-systems T2 routing-options static route 103.103.1.0/24 receive
set logical-systems T2 routing-options static route 103.103.2.0/24 receive
set logical-systems T2 routing-options static route 103.103.3.0/24 receive
set logical-systems T2 routing-options static route 103.103.4.0/24 receive
set logical-systems T2 routing-options static route 103.103.5.0/24 receive
set logical-systems T2 routing-options static route 103.103.6.0/24 receive
set logical-systems T2 routing-options static route 103.103.7.0/24 receive
set logical-systems T2 routing-options static route 103.103.8.0/24 receive
set logical-systems T2 routing-options static route 103.103.9.0/24 receive
set logical-systems T2 routing-options static route 103.103.10.0/24 receive
set logical-systems T2 routing-options autonomous-system 1342930876
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set interfaces fe-0/0/2 vlan-tagging
set interfaces fe-0/0/3 vlan-tagging
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200
[edit]
JNCIE@M7i#
Final configuration (after Task19):
JNCIE@M7i# show | display set
set version 12.3R6.6
set system host-name M7i
set system time-zone Asia/Taipei
set system root-authentication encrypted-password "$1$xHrLYWb1$t7zaprV7gI28TCVhVXknd0"
set system name-server 168.95.1.1
set system name-server 8.8.8.8
set system login user JNCIE uid 2001
set system login user JNCIE class super-user
set system login user JNCIE authentication encrypted-password "$1$CFRZNtzp$xpn4xLgXQrBom0tstx93H/"
set system services telnet
set system ntp boot-server 211.22.103.158
set system ntp server 211.22.103.158 prefer
set system ntp server 140.112.2.189
set logical-systems C1 interfaces fe-0/0/1 unit 40 description To_R3-Fe-0/0/0.40
set logical-systems C1 interfaces fe-0/0/1 unit 40 vlan-id 40
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet address 172.27.0.58/30
set logical-systems C1 interfaces fe-0/0/1 unit 40 family inet6 address 2008:4498:0:0::2/64
set logical-systems C1 interfaces lo0 unit 40 family inet6 address 2015::c1/128
set logical-systems C1 protocols bgp group R3 type external
set logical-systems C1 protocols bgp group R3 local-address 2008:4498:0:0::2
set logical-systems C1 protocols bgp group R3 family inet6 unicast
set logical-systems C1 protocols bgp group R3 export LO0
set logical-systems C1 protocols bgp group R3 peer-as 3895077211
set logical-systems C1 protocols bgp group R3 neighbor 2008:4498::1
set logical-systems C1 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C1 policy-options policy-statement LO0 term 1 from route-filter 2015::c1/128 exact
set logical-systems C1 policy-options policy-statement LO0 term 1 then accept
set logical-systems C1 routing-options autonomous-system 65432
set logical-systems C2 interfaces fe-0/0/1 unit 50 description To_R5-Fe-0/0/1.50
set logical-systems C2 interfaces fe-0/0/1 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/1 unit 50 family inet address 172.27.0.50/30
set logical-systems C2 interfaces fe-0/0/3 unit 50 description To_R5-Fe-0/0/2.50
set logical-systems C2 interfaces fe-0/0/3 unit 50 vlan-id 50
set logical-systems C2 interfaces fe-0/0/3 unit 50 family inet address 172.27.0.74/30
set logical-systems C2 interfaces lo0 unit 50 family inet address 202.202.0.1/32
set logical-systems C2 protocols bgp group R5 type external
set logical-systems C2 protocols bgp group R5 multihop
set logical-systems C2 protocols bgp group R5 local-address 202.202.0.1
set logical-systems C2 protocols bgp group R5 export To_R5
set logical-systems C2 protocols bgp group R5 peer-as 3895077211
set logical-systems C2 protocols bgp group R5 neighbor 172.27.255.5
set logical-systems C2 policy-options policy-statement To_R5 term 1 from protocol static
set logical-systems C2 policy-options policy-statement To_R5 term 1 from route-filter 202.202.0.0/16 orlonger
set logical-systems C2 policy-options policy-statement To_R5 term 1 then accept
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.49
set logical-systems C2 routing-options static route 172.27.255.5/32 next-hop 172.27.0.73
set logical-systems C2 routing-options static route 202.202.0.0/24 receive
set logical-systems C2 routing-options static route 202.202.1.0/24 receive
set logical-systems C2 routing-options static route 202.202.2.0/24 receive
set logical-systems C2 routing-options static route 202.202.3.0/24 receive
set logical-systems C2 routing-options static route 202.202.4.0/24 receive
set logical-systems C2 routing-options static route 202.202.5.0/24 receive
set logical-systems C2 routing-options static route 202.202.7.0/24 receive
set logical-systems C2 routing-options static route 202.202.6.0/24 receive
set logical-systems C2 routing-options static route 202.202.8.0/24 receive
set logical-systems C2 routing-options static route 202.202.9.0/24 receive
set logical-systems C2 routing-options static route 202.202.10.0/24 receive
set logical-systems C2 routing-options autonomous-system 65512
set logical-systems C3 interfaces fe-0/0/1 unit 60 description To_R4-Fe-0/0/1.60
set logical-systems C3 interfaces fe-0/0/1 unit 60 vlan-id 60
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet address 172.27.0.70/30
set logical-systems C3 interfaces fe-0/0/1 unit 60 family inet6 address 2008:4498:0:1::2/64
set logical-systems C3 interfaces lo0 unit 60 family inet6 address 2015::c3/128
set logical-systems C3 protocols bgp group R4 type external
set logical-systems C3 protocols bgp group R4 local-address 2008:4498:0:1::2
set logical-systems C3 protocols bgp group R4 family inet6 unicast
set logical-systems C3 protocols bgp group R4 export LO0
set logical-systems C3 protocols bgp group R4 peer-as 3895077211
set logical-systems C3 protocols bgp group R4 neighbor 2008:4498:0:1::1
set logical-systems C3 policy-options policy-statement LO0 term 1 from protocol direct
set logical-systems C3 policy-options policy-statement LO0 term 1 from route-filter 2015::c3/128 exact
set logical-systems C3 policy-options policy-statement LO0 term 1 then accept
set logical-systems C3 routing-options autonomous-system 65432
set logical-systems P interfaces fe-0/0/1 unit 30 description To_R1-Fe-0/0/0.30
set logical-systems P interfaces fe-0/0/1 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/1 unit 30 family inet address 172.27.0.30/30
set logical-systems P interfaces fe-0/0/3 unit 30 description To_R3-Fe-0/0/2.30
set logical-systems P interfaces fe-0/0/3 unit 30 vlan-id 30
set logical-systems P interfaces fe-0/0/3 unit 30 family inet address 172.27.0.62/30
set logical-systems P protocols bgp group R1-R3 type external
set logical-systems P protocols bgp group R1-R3 export To_R1-R3
set logical-systems P protocols bgp group R1-R3 peer-as 3895077211
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.29
set logical-systems P protocols bgp group R1-R3 neighbor 172.27.0.61
set logical-systems P policy-options policy-statement To_R1-R3 from protocol static
set logical-systems P policy-options policy-statement To_R1-R3 from route-filter 200.200.0.0/16 orlonger
set logical-systems P policy-options policy-statement To_R1-R3 then accept
set logical-systems P routing-options static route 200.200.0.0/24 receive
set logical-systems P routing-options static route 200.200.1.0/24 receive
set logical-systems P routing-options static route 200.200.2.0/24 receive
set logical-systems P routing-options static route 200.200.3.0/24 receive
set logical-systems P routing-options static route 200.200.4.0/24 receive
set logical-systems P routing-options static route 200.200.5.0/24 receive
set logical-systems P routing-options static route 200.200.6.0/24 receive
set logical-systems P routing-options static route 200.200.7.0/24 receive
set logical-systems P routing-options static route 200.200.8.0/24 receive
set logical-systems P routing-options static route 200.200.9.0/24 receive
set logical-systems P routing-options static route 200.200.10.0/24 receive
set logical-systems P routing-options autonomous-system 2087403078
set logical-systems R1 interfaces fe-0/0/0 unit 10 description To_T1-Fe-0/0/1.10
set logical-systems R1 interfaces fe-0/0/0 unit 10 vlan-id 10
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet address 172.27.0.33/30
set logical-systems R1 interfaces fe-0/0/0 unit 10 family inet6 address ::172.27.0.33/126
set logical-systems R1 interfaces fe-0/0/0 unit 12 description To_R2-Fe-0/0/1.12
set logical-systems R1 interfaces fe-0/0/0 unit 12 vlan-id 12
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet address 172.27.0.1/30
set logical-systems R1 interfaces fe-0/0/0 unit 12 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 12 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 13 description To_R3-Fe-0/0/1.13
set logical-systems R1 interfaces fe-0/0/0 unit 13 vlan-id 13
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet address 172.27.0.14/30
set logical-systems R1 interfaces fe-0/0/0 unit 13 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 13 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 14 description To_R4-Fe-0/0/1.14
set logical-systems R1 interfaces fe-0/0/0 unit 14 vlan-id 14
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet address 172.27.0.10/30
set logical-systems R1 interfaces fe-0/0/0 unit 14 family inet6
set logical-systems R1 interfaces fe-0/0/0 unit 14 family mpls
set logical-systems R1 interfaces fe-0/0/0 unit 30 description To_P-Fe-0/0/1.30
set logical-systems R1 interfaces fe-0/0/0 unit 30 vlan-id 30
set logical-systems R1 interfaces fe-0/0/0 unit 30 family inet address 172.27.0.29/30
set logical-systems R1 interfaces lo0 unit 1 family inet address 172.27.255.1/32
set logical-systems R1 protocols mpls ipv6-tunneling
set logical-systems R1 protocols mpls interface fe-0/0/0.12
set logical-systems R1 protocols mpls interface fe-0/0/0.13
set logical-systems R1 protocols mpls interface fe-0/0/0.14
set logical-systems R1 protocols bgp log-updown
set logical-systems R1 protocols bgp group T1 type external
set logical-systems R1 protocols bgp group T1 import From_T1
set logical-systems R1 protocols bgp group T1 family inet unicast
set logical-systems R1 protocols bgp group T1 family inet6 unicast
set logical-systems R1 protocols bgp group T1 export To_T1
set logical-systems R1 protocols bgp group T1 peer-as 1342930876
set logical-systems R1 protocols bgp group T1 neighbor 172.27.0.34
set logical-systems R1 protocols bgp group P type external
set logical-systems R1 protocols bgp group P import From_P
set logical-systems R1 protocols bgp group P export To_P
set logical-systems R1 protocols bgp group P peer-as 2087403078
set logical-systems R1 protocols bgp group P neighbor 172.27.0.30
set logical-systems R1 protocols bgp group IBGP type internal
set logical-systems R1 protocols bgp group IBGP local-address 172.27.255.1
set logical-systems R1 protocols bgp group IBGP family inet unicast
set logical-systems R1 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R1 protocols bgp group IBGP authentication-key "$9$0-mV1EyM87s2alK2aZU.mO1R"
set logical-systems R1 protocols bgp group IBGP export nhs
set logical-systems R1 protocols bgp group IBGP neighbor 172.27.255.3
set logical-systems R1 protocols bgp group CBGP type external
set logical-systems R1 protocols bgp group CBGP multihop
set logical-systems R1 protocols bgp group CBGP local-address 172.27.255.1
set logical-systems R1 protocols bgp group CBGP family inet unicast
set logical-systems R1 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R1 protocols bgp group CBGP authentication-key "$9$0W.c1EyM87s2alK2aZU.mO1R"
set logical-systems R1 protocols bgp group CBGP export nhs
set logical-systems R1 protocols bgp group CBGP peer-as 65001
set logical-systems R1 protocols bgp group CBGP neighbor 172.27.255.2
set logical-systems R1 protocols ospf reference-bandwidth 50g
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.13 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface fe-0/0/0.14 interface-type p2p
set logical-systems R1 protocols ospf area 0.0.0.0 interface lo0.1 passive
set logical-systems R1 protocols ospf area 0.0.0.1 interface fe-0/0/0.12 interface-type p2p
set logical-systems R1 protocols ldp interface fe-0/0/0.12
set logical-systems R1 protocols ldp interface fe-0/0/0.13
set logical-systems R1 protocols ldp interface fe-0/0/0.14
set logical-systems R1 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R1 policy-options policy-statement From_P term 1 then accept
set logical-systems R1 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R1 policy-options policy-statement From_T1 term 1 to rib inet.0
set logical-systems R1 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R1 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R1 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R1 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R1 policy-options policy-statement To_P term 1 then reject
set logical-systems R1 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_P term 2 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R1 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R1 policy-options policy-statement To_T1 term 1 then as-path-prepend "3895077211 3895077211"
set logical-systems R1 policy-options policy-statement To_T1 term 1 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 2 from protocol bgp
set logical-systems R1 policy-options policy-statement To_T1 term 2 from community P-routes
set logical-systems R1 policy-options policy-statement To_T1 term 2 then reject
set logical-systems R1 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R1 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R1 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R1 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R1 policy-options policy-statement To_T1 term 4 then reject
set logical-systems R1 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R1 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R1 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R1 policy-options community C2-routes members 7211:65512
set logical-systems R1 policy-options community P-routes members 7211:1111
set logical-systems R1 policy-options community T1-routes members 7211:2222
set logical-systems R1 policy-options community T2-routes members 7211:3333
set logical-systems R1 routing-options rib inet6.0 aggregate route 2008:4498::/32
set logical-systems R1 routing-options aggregate route 172.27.0.0/16
set logical-systems R1 routing-options router-id 172.27.255.1
set logical-systems R1 routing-options autonomous-system 65000
set logical-systems R1 routing-options confederation 3895077211
set logical-systems R1 routing-options confederation members 65000
set logical-systems R1 routing-options confederation members 65001
set logical-systems R1 routing-options confederation members 65002
set logical-systems R2 interfaces fe-0/0/0 unit 20 description To_T2-Fe-0/0/1.20
set logical-systems R2 interfaces fe-0/0/0 unit 20 vlan-id 20
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet address 172.27.0.37/30
set logical-systems R2 interfaces fe-0/0/0 unit 20 family inet6 address ::172.27.0.37/126
set logical-systems R2 interfaces fe-0/0/0 unit 24 description To_R4-Fe-0/0/1.24
set logical-systems R2 interfaces fe-0/0/0 unit 24 vlan-id 24
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet address 172.27.0.5/30
set logical-systems R2 interfaces fe-0/0/0 unit 24 family inet6
set logical-systems R2 interfaces fe-0/0/0 unit 24 family mpls
set logical-systems R2 interfaces fe-0/0/1 unit 12 description To_R1-Fe-0/0/0.12
set logical-systems R2 interfaces fe-0/0/1 unit 12 vlan-id 12
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet address 172.27.0.2/30
set logical-systems R2 interfaces fe-0/0/1 unit 12 family inet6
set logical-systems R2 interfaces fe-0/0/1 unit 12 family mpls
set logical-systems R2 interfaces fe-0/0/2 unit 10 description To_T1-Fe-0/0/3.10
set logical-systems R2 interfaces fe-0/0/2 unit 10 vlan-id 10
set logical-systems R2 interfaces fe-0/0/2 unit 10 family inet address 172.27.0.65/30
set logical-systems R2 interfaces fe-0/0/2 unit 10 family inet6 address ::172.27.0.65/126
set logical-systems R2 interfaces lo0 unit 2 family inet address 172.27.255.2/32
set logical-systems R2 protocols mpls ipv6-tunneling
set logical-systems R2 protocols mpls interface fe-0/0/1.12
set logical-systems R2 protocols mpls interface fe-0/0/0.24
set logical-systems R2 protocols bgp log-updown
set logical-systems R2 protocols bgp group T1-T2 type external
set logical-systems R2 protocols bgp group T1-T2 import From_T1
set logical-systems R2 protocols bgp group T1-T2 import From_T2
set logical-systems R2 protocols bgp group T1-T2 family inet unicast
set logical-systems R2 protocols bgp group T1-T2 family inet6 unicast
set logical-systems R2 protocols bgp group T1-T2 export To_T1
set logical-systems R2 protocols bgp group T1-T2 export To_T2
set logical-systems R2 protocols bgp group T1-T2 peer-as 1342930876
set logical-systems R2 protocols bgp group T1-T2 multipath
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.66
set logical-systems R2 protocols bgp group T1-T2 neighbor 172.27.0.38
set logical-systems R2 protocols bgp group IBGP type internal
set logical-systems R2 protocols bgp group IBGP local-address 172.27.255.2
set logical-systems R2 protocols bgp group IBGP family inet unicast
set logical-systems R2 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R2 protocols bgp group IBGP authentication-key "$9$8qFx-woJDmfzYgfz36u0LxN"
set logical-systems R2 protocols bgp group IBGP export nhs
set logical-systems R2 protocols bgp group IBGP neighbor 172.27.255.4
set logical-systems R2 protocols bgp group CBGP type external
set logical-systems R2 protocols bgp group CBGP multihop
set logical-systems R2 protocols bgp group CBGP local-address 172.27.255.2
set logical-systems R2 protocols bgp group CBGP family inet unicast
set logical-systems R2 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R2 protocols bgp group CBGP authentication-key "$9$uLp8BRSvWxwYoreYoJGq.0BI"
set logical-systems R2 protocols bgp group CBGP export nhs
set logical-systems R2 protocols bgp group CBGP peer-as 65000
set logical-systems R2 protocols bgp group CBGP neighbor 172.27.255.1
set logical-systems R2 protocols ospf reference-bandwidth 50g
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/0.24 interface-type p2p
set logical-systems R2 protocols ospf area 0.0.0.1 interface lo0.2 passive
set logical-systems R2 protocols ospf area 0.0.0.1 interface fe-0/0/1.12 interface-type p2p
set logical-systems R2 protocols ldp interface fe-0/0/0.24
set logical-systems R2 protocols ldp interface fe-0/0/1.12
set logical-systems R2 policy-options policy-statement From_T1 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T1 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T1 term 1 then community add T1-routes
set logical-systems R2 policy-options policy-statement From_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement From_T2 term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R2 policy-options policy-statement From_T2 term 1 then local-preference 200
set logical-systems R2 policy-options policy-statement From_T2 term 1 then community add T2-routes
set logical-systems R2 policy-options policy-statement From_T2 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T1 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T1 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T1 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T1 term 2 then reject
set logical-systems R2 policy-options policy-statement To_T1 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T1 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T1 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T1 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T1 term 4 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 1 from protocol aggregate
set logical-systems R2 policy-options policy-statement To_T2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R2 policy-options policy-statement To_T2 term 1 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 2 from protocol bgp
set logical-systems R2 policy-options policy-statement To_T2 term 2 from community P-routes
set logical-systems R2 policy-options policy-statement To_T2 term 2 then reject
set logical-systems R2 policy-options policy-statement To_T2 term 3 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 3 from route-filter 2008:4498::/32 exact
set logical-systems R2 policy-options policy-statement To_T2 term 3 then accept
set logical-systems R2 policy-options policy-statement To_T2 term 4 from rib inet6.0
set logical-systems R2 policy-options policy-statement To_T2 term 4 from route-filter 2008:4498::/32 longer
set logical-systems R2 policy-options policy-statement To_T2 term 4 then reject
set logical-systems R2 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R2 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R2 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R2 policy-options community C2-routes members 7211:65512
set logical-systems R2 policy-options community P-routes members 7211:1111
set logical-systems R2 policy-options community T1-routes members 7211:2222
set logical-systems R2 policy-options community T2-routes members 7211:3333
set logical-systems R2 routing-options rib inet6.0 aggregate route 2008:4498::/32
set logical-systems R2 routing-options aggregate route 172.27.0.0/16
set logical-systems R2 routing-options router-id 172.27.255.2
set logical-systems R2 routing-options autonomous-system 65001
set logical-systems R2 routing-options confederation 3895077211
set logical-systems R2 routing-options confederation members 65000
set logical-systems R2 routing-options confederation members 65001
set logical-systems R2 routing-options confederation members 65002
set logical-systems R3 interfaces fe-0/0/0 unit 34 description To_R4-Fe-0/0/1.34
set logical-systems R3 interfaces fe-0/0/0 unit 34 vlan-id 34
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet address 172.27.0.17/30
set logical-systems R3 interfaces fe-0/0/0 unit 34 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 34 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 35 description To_R5-Fe-0/0/1.35
set logical-systems R3 interfaces fe-0/0/0 unit 35 vlan-id 35
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet address 172.27.0.26/30
set logical-systems R3 interfaces fe-0/0/0 unit 35 family inet6
set logical-systems R3 interfaces fe-0/0/0 unit 35 family mpls
set logical-systems R3 interfaces fe-0/0/0 unit 40 description To_C1-Fe-0/0/1.40
set logical-systems R3 interfaces fe-0/0/0 unit 40 vlan-id 40
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet address 172.27.0.57/28
set logical-systems R3 interfaces fe-0/0/0 unit 40 family inet6 address 2008:4498::1/64
set logical-systems R3 interfaces fe-0/0/1 unit 13 description To_R1-Fe-0/0/0.13
set logical-systems R3 interfaces fe-0/0/1 unit 13 vlan-id 13
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet address 172.27.0.13/30
set logical-systems R3 interfaces fe-0/0/1 unit 13 family inet6
set logical-systems R3 interfaces fe-0/0/1 unit 13 family mpls
set logical-systems R3 interfaces fe-0/0/2 unit 30 description To_P-Fe-0/0/3.30
set logical-systems R3 interfaces fe-0/0/2 unit 30 vlan-id 30
set logical-systems R3 interfaces fe-0/0/2 unit 30 family inet address 172.27.0.61/30
set logical-systems R3 interfaces lo0 unit 3 family inet address 172.27.255.3/32
set logical-systems R3 protocols mpls ipv6-tunneling
set logical-systems R3 protocols mpls interface fe-0/0/0.35
set logical-systems R3 protocols mpls interface fe-0/0/0.34
set logical-systems R3 protocols mpls interface fe-0/0/1.13
set logical-systems R3 protocols bgp log-updown
set logical-systems R3 protocols bgp group P type external
set logical-systems R3 protocols bgp group P import From_P
set logical-systems R3 protocols bgp group P export To_P
set logical-systems R3 protocols bgp group P peer-as 2087403078
set logical-systems R3 protocols bgp group P neighbor 172.27.0.62
set logical-systems R3 protocols bgp group C1 type external
set logical-systems R3 protocols bgp group C1 family inet6 unicast prefix-limit maximum 12
set logical-systems R3 protocols bgp group C1 peer-as 65432
set logical-systems R3 protocols bgp group C1 as-override
set logical-systems R3 protocols bgp group C1 neighbor 2008:4498::2
set logical-systems R3 protocols bgp group IBGP type internal
set logical-systems R3 protocols bgp group IBGP local-address 172.27.255.3
set logical-systems R3 protocols bgp group IBGP family inet unicast
set logical-systems R3 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group IBGP authentication-key "$9$bsY4ZHqfn/tUj/tuOcSwYg"
set logical-systems R3 protocols bgp group IBGP export nhs
set logical-systems R3 protocols bgp group IBGP export IPV6-DIRECT
set logical-systems R3 protocols bgp group IBGP neighbor 172.27.255.1
set logical-systems R3 protocols bgp group CBGP type external
set logical-systems R3 protocols bgp group CBGP multihop
set logical-systems R3 protocols bgp group CBGP local-address 172.27.255.3
set logical-systems R3 protocols bgp group CBGP family inet unicast
set logical-systems R3 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R3 protocols bgp group CBGP authentication-key "$9$TF6ABIcvWxp0WxNdg4QFn"
set logical-systems R3 protocols bgp group CBGP export nhs
set logical-systems R3 protocols bgp group CBGP export IPV6-DIRECT
set logical-systems R3 protocols bgp group CBGP peer-as 65002
set logical-systems R3 protocols bgp group CBGP neighbor 172.27.255.5
set logical-systems R3 protocols ospf reference-bandwidth 50g
set logical-systems R3 protocols ospf area 0.0.0.2 interface fe-0/0/0.35 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/1.13 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface fe-0/0/0.34 interface-type p2p
set logical-systems R3 protocols ospf area 0.0.0.0 interface lo0.3 passive
set logical-systems R3 protocols ldp interface fe-0/0/0.34
set logical-systems R3 protocols ldp interface fe-0/0/0.35
set logical-systems R3 protocols ldp interface fe-0/0/1.13
set logical-systems R3 policy-options policy-statement From_P term 1 from route-filter 0.0.0.0/0 prefix-length-range /8-/24
set logical-systems R3 policy-options policy-statement From_P term 1 then local-preference 200
set logical-systems R3 policy-options policy-statement From_P term 1 then community add P-routes
set logical-systems R3 policy-options policy-statement From_P term 1 then accept
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498::/64 exact
set logical-systems R3 policy-options policy-statement IPV6-DIRECT term 1 then accept
set logical-systems R3 policy-options policy-statement To_P term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement To_P term 1 from community T1-routes
set logical-systems R3 policy-options policy-statement To_P term 1 from community T2-routes
set logical-systems R3 policy-options policy-statement To_P term 1 then reject
set logical-systems R3 policy-options policy-statement To_P term 2 from protocol aggregate
set logical-systems R3 policy-options policy-statement To_P term 2 from route-filter 172.27.0.0/16 exact
set logical-systems R3 policy-options policy-statement To_P term 2 then accept
set logical-systems R3 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R3 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R3 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R3 policy-options community C2-routes members 7211:65512
set logical-systems R3 policy-options community P-routes members 7211:1111
set logical-systems R3 policy-options community T1-routes members 7211:2222
set logical-systems R3 policy-options community T2-routes members 7211:3333
set logical-systems R3 routing-options aggregate route 172.27.0.0/16
set logical-systems R3 routing-options router-id 172.27.255.3
set logical-systems R3 routing-options autonomous-system 65000
set logical-systems R3 routing-options confederation 3895077211
set logical-systems R3 routing-options confederation members 65000
set logical-systems R3 routing-options confederation members 65001
set logical-systems R3 routing-options confederation members 65002
set logical-systems R4 interfaces fe-0/0/0 unit 45 description To_R5-Fe-0/0/1.45
set logical-systems R4 interfaces fe-0/0/0 unit 45 vlan-id 45
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet address 172.27.0.21/30
set logical-systems R4 interfaces fe-0/0/0 unit 45 family inet6
set logical-systems R4 interfaces fe-0/0/0 unit 45 family mpls
set logical-systems R4 interfaces fe-0/0/0 unit 60 description To_C3-Fe-0/0/1.60
set logical-systems R4 interfaces fe-0/0/0 unit 60 vlan-id 60
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet address 172.27.0.69/30
set logical-systems R4 interfaces fe-0/0/0 unit 60 family inet6 address 2008:4498:0:1::1/64
set logical-systems R4 interfaces fe-0/0/1 unit 14 description To_R1-Fe-0/0/0.14
set logical-systems R4 interfaces fe-0/0/1 unit 14 vlan-id 14
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet address 172.27.0.9/30
set logical-systems R4 interfaces fe-0/0/1 unit 14 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 14 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 24 description To_R2-Fe-0/0/0.24
set logical-systems R4 interfaces fe-0/0/1 unit 24 vlan-id 24
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet address 172.27.0.6/30
set logical-systems R4 interfaces fe-0/0/1 unit 24 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 24 family mpls
set logical-systems R4 interfaces fe-0/0/1 unit 34 description To_R3-Fe-0/0/0.34
set logical-systems R4 interfaces fe-0/0/1 unit 34 vlan-id 34
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet address 172.27.0.18/30
set logical-systems R4 interfaces fe-0/0/1 unit 34 family inet6
set logical-systems R4 interfaces fe-0/0/1 unit 34 family mpls
set logical-systems R4 interfaces lo0 unit 4 family inet address 172.27.255.4/32
set logical-systems R4 protocols mpls ipv6-tunneling
set logical-systems R4 protocols mpls interface fe-0/0/1.14
set logical-systems R4 protocols mpls interface fe-0/0/1.34
set logical-systems R4 protocols mpls interface fe-0/0/1.24
set logical-systems R4 protocols mpls interface fe-0/0/0.45
set logical-systems R4 protocols bgp log-updown
set logical-systems R4 protocols bgp group C3 type external
set logical-systems R4 protocols bgp group C3 family inet6 unicast prefix-limit maximum 12
set logical-systems R4 protocols bgp group C3 peer-as 65432
set logical-systems R4 protocols bgp group C3 as-override
set logical-systems R4 protocols bgp group C3 neighbor 2008:4498:0:1::2
set logical-systems R4 protocols bgp group IBGP type internal
set logical-systems R4 protocols bgp group IBGP local-address 172.27.255.4
set logical-systems R4 protocols bgp group IBGP family inet unicast
set logical-systems R4 protocols bgp group IBGP family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group IBGP authentication-key "$9$LFH7dsaZjP5F245Fn/0OX7-"
set logical-systems R4 protocols bgp group IBGP export IPV6-DIRECT
set logical-systems R4 protocols bgp group IBGP neighbor 172.27.255.2
set logical-systems R4 protocols bgp group CBGP type external
set logical-systems R4 protocols bgp group CBGP multihop
set logical-systems R4 protocols bgp group CBGP local-address 172.27.255.4
set logical-systems R4 protocols bgp group CBGP family inet unicast
set logical-systems R4 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R4 protocols bgp group CBGP authentication-key "$9$tpNO01hevLVwgSrwgoJHkp0B"
set logical-systems R4 protocols bgp group CBGP peer-as 65002
set logical-systems R4 protocols bgp group CBGP neighbor 172.27.255.5
set logical-systems R4 protocols ospf reference-bandwidth 50g
set logical-systems R4 protocols ospf area 0.0.0.1 interface fe-0/0/1.24 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.14 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface fe-0/0/1.34 interface-type p2p
set logical-systems R4 protocols ospf area 0.0.0.0 interface lo0.4 passive
set logical-systems R4 protocols ospf area 0.0.0.2 interface fe-0/0/0.45 interface-type p2p
set logical-systems R4 protocols ldp interface fe-0/0/0.45
set logical-systems R4 protocols ldp interface fe-0/0/1.14
set logical-systems R4 protocols ldp interface fe-0/0/1.24
set logical-systems R4 protocols ldp interface fe-0/0/1.34
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from protocol direct
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 from route-filter 2008:4498:0:1::/64 exact
set logical-systems R4 policy-options policy-statement IPV6-DIRECT term 1 then accept
set logical-systems R4 routing-options router-id 172.27.255.4
set logical-systems R4 routing-options autonomous-system 65001
set logical-systems R4 routing-options confederation 3895077211
set logical-systems R4 routing-options confederation members 65000
set logical-systems R4 routing-options confederation members 65001
set logical-systems R4 routing-options confederation members 65002
set logical-systems R5 interfaces fe-0/0/0 unit 50 description To_C2-Fe-0/0/1.50
set logical-systems R5 interfaces fe-0/0/0 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/0 unit 50 family inet address 172.27.0.49/30
set logical-systems R5 interfaces fe-0/0/1 unit 35 description To_R3-Fe-0/0/0.35
set logical-systems R5 interfaces fe-0/0/1 unit 35 vlan-id 35
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet address 172.27.0.25/30
set logical-systems R5 interfaces fe-0/0/1 unit 35 family inet6
set logical-systems R5 interfaces fe-0/0/1 unit 35 family mpls
set logical-systems R5 interfaces fe-0/0/1 unit 45 description To_R4-Fe-0/0/0.45
set logical-systems R5 interfaces fe-0/0/1 unit 45 vlan-id 45
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet address 172.27.0.22/30
set logical-systems R5 interfaces fe-0/0/1 unit 45 family inet6
set logical-systems R5 interfaces fe-0/0/1 unit 45 family mpls
set logical-systems R5 interfaces fe-0/0/2 unit 50 description To_C2-Fe-0/0/3.50
set logical-systems R5 interfaces fe-0/0/2 unit 50 vlan-id 50
set logical-systems R5 interfaces fe-0/0/2 unit 50 family inet address 172.27.0.73/30
set logical-systems R5 interfaces lo0 unit 5 family inet address 172.27.255.5/32
set logical-systems R5 protocols mpls ipv6-tunneling
set logical-systems R5 protocols mpls interface fe-0/0/1.35
set logical-systems R5 protocols mpls interface fe-0/0/1.45
set logical-systems R5 protocols bgp log-updown
set logical-systems R5 protocols bgp group C2 type external
set logical-systems R5 protocols bgp group C2 multihop
set logical-systems R5 protocols bgp group C2 local-address 172.27.255.5
set logical-systems R5 protocols bgp group C2 import From_C2
set logical-systems R5 protocols bgp group C2 export To_C2
set logical-systems R5 protocols bgp group C2 peer-as 65512
set logical-systems R5 protocols bgp group C2 neighbor 202.202.0.1
set logical-systems R5 protocols bgp group CBGP type external
set logical-systems R5 protocols bgp group CBGP multihop
set logical-systems R5 protocols bgp group CBGP local-address 172.27.255.5
set logical-systems R5 protocols bgp group CBGP family inet unicast
set logical-systems R5 protocols bgp group CBGP family inet6 labeled-unicast explicit-null
set logical-systems R5 protocols bgp group CBGP authentication-key "$9$gAaGiP5FApBk.pBIEeK4aZ"
set logical-systems R5 protocols bgp group CBGP export nhs
set logical-systems R5 protocols bgp group CBGP neighbor 172.27.255.3 peer-as 65000
set logical-systems R5 protocols bgp group CBGP neighbor 172.27.255.4 peer-as 65001
set logical-systems R5 protocols ospf reference-bandwidth 50g
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.45 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface fe-0/0/1.35 interface-type p2p
set logical-systems R5 protocols ospf area 0.0.0.2 interface lo0.5 passive
set logical-systems R5 protocols ldp interface fe-0/0/1.35
set logical-systems R5 protocols ldp interface fe-0/0/1.45
set logical-systems R5 policy-options policy-statement From_C2 term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement From_C2 term 1 then local-preference 300
set logical-systems R5 policy-options policy-statement From_C2 term 1 then community add C2-routes
set logical-systems R5 policy-options policy-statement From_C2 term 1 then accept
set logical-systems R5 policy-options policy-statement To_C2 term 1 from protocol aggregate
set logical-systems R5 policy-options policy-statement To_C2 term 1 from route-filter 172.27.0.0/16 exact
set logical-systems R5 policy-options policy-statement To_C2 term 1 then accept
set logical-systems R5 policy-options policy-statement nhs term 1 from protocol bgp
set logical-systems R5 policy-options policy-statement nhs term 1 from route-type external
set logical-systems R5 policy-options policy-statement nhs term 1 then next-hop self
set logical-systems R5 policy-options community C2-routes members 7211:65512
set logical-systems R5 policy-options community P-routes members 7211:1111
set logical-systems R5 policy-options community T1-routes members 7211:2222
set logical-systems R5 policy-options community T2-routes members 7211:3333
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.50
set logical-systems R5 routing-options static route 202.202.0.1/32 next-hop 172.27.0.74
set logical-systems R5 routing-options aggregate route 172.27.0.0/16
set logical-systems R5 routing-options router-id 172.27.255.5
set logical-systems R5 routing-options autonomous-system 65002
set logical-systems R5 routing-options confederation 3895077211
set logical-systems R5 routing-options confederation members 65000
set logical-systems R5 routing-options confederation members 65001
set logical-systems R5 routing-options confederation members 65002
set logical-systems T1 interfaces fe-0/0/1 unit 10 description To_R1-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/1 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet address 172.27.0.34/30
set logical-systems T1 interfaces fe-0/0/1 unit 10 family inet6 address ::172.27.0.34/126
set logical-systems T1 interfaces fe-0/0/3 unit 10 description To_R2-Fe-0/0/0.10
set logical-systems T1 interfaces fe-0/0/3 unit 10 vlan-id 10
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet address 172.27.0.66/30
set logical-systems T1 interfaces fe-0/0/3 unit 10 family inet6 address ::172.27.0.66/126
set logical-systems T1 protocols bgp group R1-R2 type external
set logical-systems T1 protocols bgp group R1-R2 family inet unicast
set logical-systems T1 protocols bgp group R1-R2 family inet6 unicast
set logical-systems T1 protocols bgp group R1-R2 export To_R1-R2
set logical-systems T1 protocols bgp group R1-R2 peer-as 3895077211
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.33
set logical-systems T1 protocols bgp group R1-R2 neighbor 172.27.0.65
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 from route-filter 101.101.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 1 then accept
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from protocol static
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T1 policy-options policy-statement To_R1-R2 term 2 then accept
set logical-systems T1 routing-options static route 101.101.0.0/24 receive
set logical-systems T1 routing-options static route 101.101.1.0/24 receive
set logical-systems T1 routing-options static route 101.101.2.0/24 receive
set logical-systems T1 routing-options static route 101.101.3.0/24 receive
set logical-systems T1 routing-options static route 101.101.4.0/24 receive
set logical-systems T1 routing-options static route 101.101.5.0/24 receive
set logical-systems T1 routing-options static route 101.101.6.0/24 receive
set logical-systems T1 routing-options static route 101.101.7.0/24 receive
set logical-systems T1 routing-options static route 101.101.8.0/24 receive
set logical-systems T1 routing-options static route 101.101.9.0/24 receive
set logical-systems T1 routing-options static route 101.101.10.0/24 receive
set logical-systems T1 routing-options static route 103.103.0.0/24 receive
set logical-systems T1 routing-options static route 103.103.1.0/24 receive
set logical-systems T1 routing-options static route 103.103.2.0/24 receive
set logical-systems T1 routing-options static route 103.103.3.0/24 receive
set logical-systems T1 routing-options static route 103.103.4.0/24 receive
set logical-systems T1 routing-options static route 103.103.5.0/24 receive
set logical-systems T1 routing-options static route 103.103.6.0/24 receive
set logical-systems T1 routing-options static route 103.103.7.0/24 receive
set logical-systems T1 routing-options static route 103.103.8.0/24 receive
set logical-systems T1 routing-options static route 103.103.9.0/24 receive
set logical-systems T1 routing-options static route 103.103.10.0/24 receive
set logical-systems T1 routing-options autonomous-system 1342930876
set logical-systems T2 interfaces fe-0/0/1 unit 20 description To_R2-Fe-0/0/0.20
set logical-systems T2 interfaces fe-0/0/1 unit 20 vlan-id 20
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet address 172.27.0.38/30
set logical-systems T2 interfaces fe-0/0/1 unit 20 family inet6 address ::172.27.0.38/126
set logical-systems T2 protocols bgp group R2 type external
set logical-systems T2 protocols bgp group R2 family inet unicast
set logical-systems T2 protocols bgp group R2 family inet6 unicast
set logical-systems T2 protocols bgp group R2 export To_R2
set logical-systems T2 protocols bgp group R2 peer-as 3895077211
set logical-systems T2 protocols bgp group R2 neighbor 172.27.0.37
set logical-systems T2 policy-options policy-statement To_R2 term 1 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 1 from route-filter 102.102.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 1 then accept
set logical-systems T2 policy-options policy-statement To_R2 term 2 from protocol static
set logical-systems T2 policy-options policy-statement To_R2 term 2 from route-filter 103.103.0.0/16 orlonger
set logical-systems T2 policy-options policy-statement To_R2 term 2 then accept
set logical-systems T2 routing-options static route 102.102.0.0/24 receive
set logical-systems T2 routing-options static route 102.102.1.0/24 receive
set logical-systems T2 routing-options static route 102.102.2.0/24 receive
set logical-systems T2 routing-options static route 102.102.3.0/24 receive
set logical-systems T2 routing-options static route 102.102.4.0/24 receive
set logical-systems T2 routing-options static route 102.102.5.0/24 receive
set logical-systems T2 routing-options static route 102.102.6.0/24 receive
set logical-systems T2 routing-options static route 102.102.7.0/24 receive
set logical-systems T2 routing-options static route 102.102.8.0/24 receive
set logical-systems T2 routing-options static route 102.102.9.0/24 receive
set logical-systems T2 routing-options static route 102.102.10.0/24 receive
set logical-systems T2 routing-options static route 103.103.0.0/24 receive
set logical-systems T2 routing-options static route 103.103.1.0/24 receive
set logical-systems T2 routing-options static route 103.103.2.0/24 receive
set logical-systems T2 routing-options static route 103.103.3.0/24 receive
set logical-systems T2 routing-options static route 103.103.4.0/24 receive
set logical-systems T2 routing-options static route 103.103.5.0/24 receive
set logical-systems T2 routing-options static route 103.103.6.0/24 receive
set logical-systems T2 routing-options static route 103.103.7.0/24 receive
set logical-systems T2 routing-options static route 103.103.8.0/24 receive
set logical-systems T2 routing-options static route 103.103.9.0/24 receive
set logical-systems T2 routing-options static route 103.103.10.0/24 receive
set logical-systems T2 routing-options autonomous-system 1342930876
set interfaces fe-0/0/0 vlan-tagging
set interfaces fe-0/0/1 vlan-tagging
set interfaces fe-0/0/2 vlan-tagging
set interfaces fe-0/0/3 vlan-tagging
set interfaces fxp0 description To_SW1_Fa1/0/23
set interfaces fxp0 unit 0 family inet address 192.168.100.221/26
set routing-options static route 0.0.0.0/0 next-hop 192.168.100.200
[edit]
JNCIE@M7i#
Reference:
JNCIE Service Provider Bootcamp 10.b Detailed Lab Guide Lab3 BGP Implementation
JunOS 12.3 BGP Configuration Guide
http://www.juniper.net/techpubs/en_US/junos12.3/information-products/pathway-pages/config-guide-routing/config-guide-routing-bgp.html
最初發表 / 最後更新: 2015.03.13 / 2018.06.01
哈囉,您好!!
回覆刪除想請問一下,要準備 JNCIE-SP 考試,大概要看哪些書會比較適合呢?
我目前還沒有一個方向.........
謝謝 !!
不好意思 我剛剛才發現您的留言
回覆刪除我當時準備了幾本Lab書
1. JNCIE_studyguide
2. iNet Zero
3. Proteus