Você está na página 1de 2

edit logical-system PE1

set interface xe-0/3/3 unit 0 family inet address 10.1.1.1/31


set interface xe-0/0/0 unit 0 family inet address 10.1.1.2/31
set interface xe-0/0/0 unit 0 family mpls
set interface xe-0/0/0 unit 0 family iso
set interface lo0 unit 0 family inet address 1.1.1.1/32
set interface lo0 unit 0 family iso address 49.0001.0010.0100.1001.00
set routing-options router-id 1.1.1.1
set routing-options autonomous-system 65001
set protocol bgp group IBGP type internal
set protocol bgp group IBGP local-address 1.1.1.1
set protocol bgp group IBGP family inet-vpn unicast
set protocol bgp group IBGP peer-as 65001
set protocol bgp group IBGP neighbor 2.2.2.2
set protocol mpls interface xe-0/0/0.0
set protocol mpls interface lo0.0
set protocol isis interface xe-0/0/0.0 level 1 metric 10
set protocol isis interface lo0.0 level 1 metric 10
set protocol ldp interface xe-0/0/0.0
set protocol ldp interface lo0.0
set routing-instance VPN_A instance-type vrf
set routing-instance VPN_A interface xe-0/3/3.0
set routing-instance VPN_A route-distinguisher 65001:1234
set routing-instance VPN_A vrf-target target:65001:100
set routing-instance VPN_A protocol ospf area 0.0.0.0 interface xe-0/3/3.0
set routing-instance VPN_A protocol ospf domain-id 100.1.1.1

set policy-option policy-statement Redist-Connected from protocol direct


set policy-option policy-statement Redist-Connected then accept
set protocol bgp export Redist-Connected
exit

edit logical-system PE2


set interface ge-2/3/9 unit 0 family inet address 10.2.2.2/31
set interface xe-0/0/1 unit 0 family inet address 10.1.1.3/31
set interface xe-0/0/1 unit 0 family mpls
set interface xe-0/0/1 unit 0 family iso
set interface xe-1/0/1 unit 0 family inet address 10.1.1.5/31
set interface xe-1/0/1 unit 0 family mpls
set interface xe-1/0/1 unit 0 family iso
set interface lo0 unit 1 family inet address 2.2.2.2/32
set interface lo0 unit 1 family iso address 49.0001.0020.0200.2002.00
set routing-options router-id 2.2.2.2
set routing-options autonomous-system 65001
set protocol bgp group IBGP type internal
set protocol bgp group IBGP local-address 2.2.2.2
set protocol bgp group IBGP family inet-vpn unicast
set protocol bgp group IBGP peer-as 65001
set protocol bgp group IBGP neighbor 1.1.1.1
set protocol bgp group IBGP neighbor 3.3.3.3
set protocol mpls interface xe-0/0/1.0
set protocol mpls interface xe-1/0/1.0
set protocol mpls interface lo0.1
set protocol isis interface xe-0/0/1.0 level 1 metric 10
set protocol isis interface xe-1/0/1.0 level 1 metric 10
set protocol isis interface lo0.1 level 1 metric 10
set protocol ldp interface xe-0/0/1.0
set protocol ldp interface xe-1/0/1.0
set protocol ldp interface lo0.1
set routing-instance VPN_A instance-type vrf
set routing-instance VPN_A interface ge-2/3/9.0
set routing-instance VPN_A route-distinguisher 65001:1234
set routing-instance VPN_A vrf-target target:65001:100
set routing-instance VPN_A protocol ospf area 0.0.0.0 interface ge-2/3/9.0
set routing-instance VPN_A protocol ospf domain-id 100.1.1.1

set policy-option policy-statement Redist-Connected from protocol direct


set policy-option policy-statement Redist-Connected then accept
set protocol bgp export Redist-Connected
exit

edit logical-system PE3


set interface xe-0/0/2 unit 0 family inet address 10.3.3.3/31
set interface xe-1/0/0 unit 0 family inet address 10.1.1.4/31
set interface xe-1/0/0 unit 0 family mpls
set interface xe-1/0/0 unit 0 family iso
set interface lo0 unit 2 family inet address 3.3.3.3/32
set interface lo0 unit 2 family iso address 49.0001.0030.0300.3003.00
set routing-options router-id 3.3.3.3
set routing-options autonomous-system 65001
set protocol bgp group IBGP type internal
set protocol bgp group IBGP local-address 3.3.3.3
set protocol bgp group IBGP family inet-vpn unicast
set protocol bgp group IBGP peer-as 65001
set protocol bgp group IBGP neighbor 2.2.2.2
set protocol mpls interface xe-1/0/0.0
set protocol mpls interface lo0.2
set protocol isis interface xe-1/0/0.0 level 1 metric 10
set protocol isis interface lo0.2 level 1 metric 10
set protocol ldp interface xe-1/0/0.0
set protocol ldp interface lo0.2
set routing-instance VPN_A instance-type vrf
set routing-instance VPN_A interface xe-0/0/2.0
set routing-instance VPN_A route-distinguisher 65001:1234
set routing-instance VPN_A vrf-target target:65001:100
set routing-instance VPN_A protocol ospf area 0.0.0.0 interface xe-0/0/2.0
set routing-instance VPN_A protocol ospf domain-id 100.1.1.1

set policy-option policy-statement Redist-Connected from protocol direct


set policy-option policy-statement Redist-Connected then accept
set protocol bgp export Redist-Connected

Você também pode gostar