Juniper L3VPN using Static Routing between PE-CE (Logical Systems)
Core Routers : P1, P2, P3, P4
Edge Routers: PE1, PE2
Customer Routers: CUST1-CE1, CUST1-CE2
PROTOCOLS: IGP(OSPF), MPLS, LDP, RSVP, BGP, MP-BGP
Configuration:
root@logicalsystems# run show configuration | display set
set logical-systems CUST1-CE1 interfaces lt-0/0/10 unit 24 description CUST1-CE1->PE1
set logical-systems CUST1-CE1 interfaces lt-0/0/10 unit 24 encapsulation ethernet
set logical-systems CUST1-CE1 interfaces lt-0/0/10 unit 24 peer-unit 25
set logical-systems CUST1-CE1 interfaces lt-0/0/10 unit 24 family inet address 10.0.0.1/30
set logical-systems CUST1-CE1 interfaces lo0 unit 6 family inet address 192.168.1.1/32
set logical-systems CUST1-CE1 routing-options static route 0.0.0.0/0 next-hop 10.0.0.2
set logical-systems CUST1-CE2 interfaces lt-0/0/10 unit 26 description CUST1-CE2->PE2
set logical-systems CUST1-CE2 interfaces lt-0/0/10 unit 26 encapsulation ethernet
set logical-systems CUST1-CE2 interfaces lt-0/0/10 unit 26 peer-unit 27
set logical-systems CUST1-CE2 interfaces lt-0/0/10 unit 26 family inet address 10.0.0.5/30
set logical-systems CUST1-CE2 interfaces lo0 unit 7 family inet address 192.168.2.1/32
set logical-systems CUST1-CE2 routing-options static route 0.0.0.0/0 next-hop 10.0.0.6
set logical-systems P1 interfaces lt-0/0/10 unit 1 description P1->PE1
set logical-systems P1 interfaces lt-0/0/10 unit 1 encapsulation ethernet
set logical-systems P1 interfaces lt-0/0/10 unit 1 peer-unit 0
set logical-systems P1 interfaces lt-0/0/10 unit 1 family inet address 172.16.0.2/30
set logical-systems P1 interfaces lt-0/0/10 unit 1 family mpls
set logical-systems P1 interfaces lt-0/0/10 unit 4 description P1->P2
set logical-systems P1 interfaces lt-0/0/10 unit 4 encapsulation ethernet
set logical-systems P1 interfaces lt-0/0/10 unit 4 peer-unit 5
set logical-systems P1 interfaces lt-0/0/10 unit 4 family inet address 172.16.0.9/30
set logical-systems P1 interfaces lt-0/0/10 unit 4 family mpls
set logical-systems P1 interfaces lt-0/0/10 unit 6 description P1->P3
set logical-systems P1 interfaces lt-0/0/10 unit 6 encapsulation ethernet
set logical-systems P1 interfaces lt-0/0/10 unit 6 peer-unit 7
set logical-systems P1 interfaces lt-0/0/10 unit 6 family inet address 172.16.0.13/30
set logical-systems P1 interfaces lt-0/0/10 unit 6 family mpls
set logical-systems P1 interfaces lo0 unit 1 family inet address 1.1.1.1/32
set logical-systems P1 interfaces lo0 unit 1 family mpls
set logical-systems P1 protocols rsvp interface lt-0/0/10.1
set logical-systems P1 protocols rsvp interface lt-0/0/10.4
set logical-systems P1 protocols rsvp interface lt-0/0/10.6
set logical-systems P1 protocols rsvp interface lo0.1
set logical-systems P1 protocols mpls interface lt-0/0/10.1
set logical-systems P1 protocols mpls interface lt-0/0/10.4
set logical-systems P1 protocols mpls interface lt-0/0/10.6
set logical-systems P1 protocols mpls interface lo0.1
set logical-systems P1 protocols ospf traffic-engineering
set logical-systems P1 protocols ospf reference-bandwidth 100g
set logical-systems P1 protocols ospf area 0.0.0.0 interface lt-0/0/10.1 interface-type p2p
set logical-systems P1 protocols ospf area 0.0.0.0 interface lt-0/0/10.4 interface-type p2p
set logical-systems P1 protocols ospf area 0.0.0.0 interface lt-0/0/10.6 interface-type p2p
set logical-systems P1 protocols ospf area 0.0.0.0 interface lo0.1 interface-type p2p
set logical-systems P1 protocols ldp interface lt-0/0/10.1
set logical-systems P1 protocols ldp interface lt-0/0/10.4
set logical-systems P1 protocols ldp interface lt-0/0/10.6
set logical-systems P1 protocols ldp interface lo0.1
set logical-systems P1 routing-options router-id 1.1.1.1
set logical-systems P2 interfaces lt-0/0/10 unit 5 description P2->P1
set logical-systems P2 interfaces lt-0/0/10 unit 5 encapsulation ethernet
set logical-systems P2 interfaces lt-0/0/10 unit 5 peer-unit 4
set logical-systems P2 interfaces lt-0/0/10 unit 5 family inet address 172.16.0.10/30
set logical-systems P2 interfaces lt-0/0/10 unit 5 family mpls
set logical-systems P2 interfaces lt-0/0/10 unit 8 description P2->PE2
set logical-systems P2 interfaces lt-0/0/10 unit 8 encapsulation ethernet
set logical-systems P2 interfaces lt-0/0/10 unit 8 peer-unit 9
set logical-systems P2 interfaces lt-0/0/10 unit 8 family inet address 172.16.0.17/30
set logical-systems P2 interfaces lt-0/0/10 unit 8 family mpls
set logical-systems P2 interfaces lt-0/0/10 unit 10 description P2->P4
set logical-systems P2 interfaces lt-0/0/10 unit 10 encapsulation ethernet
set logical-systems P2 interfaces lt-0/0/10 unit 10 peer-unit 11
set logical-systems P2 interfaces lt-0/0/10 unit 10 family inet address 172.16.0.21/30
set logical-systems P2 interfaces lt-0/0/10 unit 10 family mpls
set logical-systems P2 interfaces lo0 unit 2 family inet address 1.1.1.2/32
set logical-systems P2 interfaces lo0 unit 2 family mpls
set logical-systems P2 protocols rsvp interface lt-0/0/10.5
set logical-systems P2 protocols rsvp interface lt-0/0/10.8
set logical-systems P2 protocols rsvp interface lt-0/0/10.10
set logical-systems P2 protocols rsvp interface lo0.2
set logical-systems P2 protocols mpls interface lt-0/0/10.5
set logical-systems P2 protocols mpls interface lt-0/0/10.8
set logical-systems P2 protocols mpls interface lt-0/0/10.10
set logical-systems P2 protocols mpls interface lo0.2
set logical-systems P2 protocols ospf traffic-engineering
set logical-systems P2 protocols ospf reference-bandwidth 100g
set logical-systems P2 protocols ospf area 0.0.0.0 interface lt-0/0/10.10 interface-type p2p
set logical-systems P2 protocols ospf area 0.0.0.0 interface lt-0/0/10.5 interface-type p2p
set logical-systems P2 protocols ospf area 0.0.0.0 interface lt-0/0/10.8 interface-type p2p
set logical-systems P2 protocols ospf area 0.0.0.0 interface lo0.2 interface-type p2p
set logical-systems P2 protocols ldp interface lt-0/0/10.5
set logical-systems P2 protocols ldp interface lt-0/0/10.8
set logical-systems P2 protocols ldp interface lt-0/0/10.10
set logical-systems P2 protocols ldp interface lo0.2
set logical-systems P2 routing-options router-id 1.1.1.2
set logical-systems P3 interfaces lt-0/0/10 unit 3 description P3->PE1
set logical-systems P3 interfaces lt-0/0/10 unit 3 encapsulation ethernet
set logical-systems P3 interfaces lt-0/0/10 unit 3 peer-unit 2
set logical-systems P3 interfaces lt-0/0/10 unit 3 family inet address 172.16.0.6/30
set logical-systems P3 interfaces lt-0/0/10 unit 3 family mpls
set logical-systems P3 interfaces lt-0/0/10 unit 7 description P3->P1
set logical-systems P3 interfaces lt-0/0/10 unit 7 encapsulation ethernet
set logical-systems P3 interfaces lt-0/0/10 unit 7 peer-unit 6
set logical-systems P3 interfaces lt-0/0/10 unit 7 family inet address 172.16.0.14/30
set logical-systems P3 interfaces lt-0/0/10 unit 7 family mpls
set logical-systems P3 interfaces lt-0/0/10 unit 15 description P3->P4
set logical-systems P3 interfaces lt-0/0/10 unit 15 encapsulation ethernet
set logical-systems P3 interfaces lt-0/0/10 unit 15 peer-unit 14
set logical-systems P3 interfaces lt-0/0/10 unit 15 family inet address 172.16.0.30/30
set logical-systems P3 interfaces lt-0/0/10 unit 15 family mpls
set logical-systems P3 interfaces lo0 unit 3 family inet address 1.1.1.3/32
set logical-systems P3 interfaces lo0 unit 3 family mpls
set logical-systems P3 protocols rsvp interface lt-0/0/10.3
set logical-systems P3 protocols rsvp interface lt-0/0/10.7
set logical-systems P3 protocols rsvp interface lt-0/0/10.15
set logical-systems P3 protocols rsvp interface lo0.3
set logical-systems P3 protocols mpls interface lt-0/0/10.3
set logical-systems P3 protocols mpls interface lt-0/0/10.7
set logical-systems P3 protocols mpls interface lt-0/0/10.15
set logical-systems P3 protocols mpls interface lo0.3
set logical-systems P3 protocols ospf traffic-engineering
set logical-systems P3 protocols ospf reference-bandwidth 100g
set logical-systems P3 protocols ospf area 0.0.0.0 interface lt-0/0/10.7 interface-type p2p
set logical-systems P3 protocols ospf area 0.0.0.0 interface lt-0/0/10.15 interface-type p2p
set logical-systems P3 protocols ospf area 0.0.0.0 interface lt-0/0/10.3 interface-type p2p
set logical-systems P3 protocols ospf area 0.0.0.0 interface lo0.3 interface-type p2p
set logical-systems P3 protocols ldp interface lt-0/0/10.3
set logical-systems P3 protocols ldp interface lt-0/0/10.7
set logical-systems P3 protocols ldp interface lt-0/0/10.15
set logical-systems P3 protocols ldp interface lo0.3
set logical-systems P3 routing-options router-id 1.1.1.3
set logical-systems P4 interfaces lt-0/0/10 unit 11 description P4->P2
set logical-systems P4 interfaces lt-0/0/10 unit 11 encapsulation ethernet
set logical-systems P4 interfaces lt-0/0/10 unit 11 peer-unit 10
set logical-systems P4 interfaces lt-0/0/10 unit 11 family inet address 172.16.0.22/30
set logical-systems P4 interfaces lt-0/0/10 unit 11 family mpls
set logical-systems P4 interfaces lt-0/0/10 unit 12 description P4->PE2
set logical-systems P4 interfaces lt-0/0/10 unit 12 encapsulation ethernet
set logical-systems P4 interfaces lt-0/0/10 unit 12 peer-unit 13
set logical-systems P4 interfaces lt-0/0/10 unit 12 family inet address 172.16.0.25/30
set logical-systems P4 interfaces lt-0/0/10 unit 12 family mpls
set logical-systems P4 interfaces lt-0/0/10 unit 14 description P4->P3
set logical-systems P4 interfaces lt-0/0/10 unit 14 encapsulation ethernet
set logical-systems P4 interfaces lt-0/0/10 unit 14 peer-unit 15
set logical-systems P4 interfaces lt-0/0/10 unit 14 family inet address 172.16.0.29/30
set logical-systems P4 interfaces lt-0/0/10 unit 14 family mpls
set logical-systems P4 interfaces lo0 unit 4 family inet address 1.1.1.4/32
set logical-systems P4 interfaces lo0 unit 4 family mpls
set logical-systems P4 protocols rsvp interface lt-0/0/10.11
set logical-systems P4 protocols rsvp interface lt-0/0/10.12
set logical-systems P4 protocols rsvp interface lt-0/0/10.14
set logical-systems P4 protocols rsvp interface lo0.4
set logical-systems P4 protocols mpls interface lt-0/0/10.11
set logical-systems P4 protocols mpls interface lt-0/0/10.12
set logical-systems P4 protocols mpls interface lt-0/0/10.14
set logical-systems P4 protocols mpls interface lo0.4
set logical-systems P4 protocols ospf traffic-engineering
set logical-systems P4 protocols ospf reference-bandwidth 100g
set logical-systems P4 protocols ospf area 0.0.0.0 interface lt-0/0/10.11 interface-type p2p
set logical-systems P4 protocols ospf area 0.0.0.0 interface lt-0/0/10.12 interface-type p2p
set logical-systems P4 protocols ospf area 0.0.0.0 interface lt-0/0/10.14 interface-type p2p
set logical-systems P4 protocols ospf area 0.0.0.0 interface lo0.4 interface-type p2p
set logical-systems P4 protocols ldp interface lt-0/0/10.11
set logical-systems P4 protocols ldp interface lt-0/0/10.12
set logical-systems P4 protocols ldp interface lt-0/0/10.14
set logical-systems P4 protocols ldp interface lo0.4
set logical-systems P4 routing-options router-id 1.1.1.4
set logical-systems PE1 interfaces lt-0/0/10 unit 0 description PE1->P1
set logical-systems PE1 interfaces lt-0/0/10 unit 0 encapsulation ethernet
set logical-systems PE1 interfaces lt-0/0/10 unit 0 peer-unit 1
set logical-systems PE1 interfaces lt-0/0/10 unit 0 family inet address 172.16.0.1/30
set logical-systems PE1 interfaces lt-0/0/10 unit 0 family mpls
set logical-systems PE1 interfaces lt-0/0/10 unit 2 description PE1->P3
set logical-systems PE1 interfaces lt-0/0/10 unit 2 encapsulation ethernet
set logical-systems PE1 interfaces lt-0/0/10 unit 2 peer-unit 3
set logical-systems PE1 interfaces lt-0/0/10 unit 2 family inet address 172.16.0.5/30
set logical-systems PE1 interfaces lt-0/0/10 unit 2 family mpls
set logical-systems PE1 interfaces lt-0/0/10 unit 25 description PE1->CUST1-CE1
set logical-systems PE1 interfaces lt-0/0/10 unit 25 encapsulation ethernet
set logical-systems PE1 interfaces lt-0/0/10 unit 25 peer-unit 24
set logical-systems PE1 interfaces lt-0/0/10 unit 25 family inet address 10.0.0.2/30
set logical-systems PE1 interfaces lo0 unit 0 family inet address 1.1.1.11/32
set logical-systems PE1 interfaces lo0 unit 0 family mpls
set logical-systems PE1 protocols rsvp interface lt-0/0/10.0
set logical-systems PE1 protocols rsvp interface lt-0/0/10.2
set logical-systems PE1 protocols rsvp interface lo0.0
set logical-systems PE1 protocols mpls interface lt-0/0/10.2
set logical-systems PE1 protocols mpls interface lo0.0
set logical-systems PE1 protocols mpls interface lt-0/0/10.0
set logical-systems PE1 protocols bgp group IBGP type internal
set logical-systems PE1 protocols bgp group IBGP local-address 1.1.1.11
set logical-systems PE1 protocols bgp group IBGP family inet-vpn unicast
set logical-systems PE1 protocols bgp group IBGP neighbor 1.1.1.12
set logical-systems PE1 protocols ospf traffic-engineering
set logical-systems PE1 protocols ospf reference-bandwidth 100g
set logical-systems PE1 protocols ospf area 0.0.0.0 interface lt-0/0/10.0 interface-type p2p
set logical-systems PE1 protocols ospf area 0.0.0.0 interface lt-0/0/10.2 interface-type p2p
set logical-systems PE1 protocols ospf area 0.0.0.0 interface lo0.0 interface-type p2p
set logical-systems PE1 protocols ldp interface lt-0/0/10.0
set logical-systems PE1 protocols ldp interface lt-0/0/10.2
set logical-systems PE1 protocols ldp interface lo0.0
set logical-systems PE1 routing-instances CUST1-VPN-A instance-type vrf
set logical-systems PE1 routing-instances CUST1-VPN-A interface lt-0/0/10.25
set logical-systems PE1 routing-instances CUST1-VPN-A route-distinguisher 1.1.1.11:1
set logical-systems PE1 routing-instances CUST1-VPN-A vrf-target target:65512:1
set logical-systems PE1 routing-instances CUST1-VPN-A vrf-table-label
set logical-systems PE1 routing-instances CUST1-VPN-A routing-options static route 192.168.1.1/32 next-hop 10.0.0.1
set logical-systems PE1 routing-options router-id 1.1.1.11
set logical-systems PE1 routing-options autonomous-system 65512
set logical-systems PE2 interfaces lt-0/0/10 unit 9 description PE2->P2
set logical-systems PE2 interfaces lt-0/0/10 unit 9 encapsulation ethernet
set logical-systems PE2 interfaces lt-0/0/10 unit 9 peer-unit 8
set logical-systems PE2 interfaces lt-0/0/10 unit 9 family inet address 172.16.0.18/30
set logical-systems PE2 interfaces lt-0/0/10 unit 9 family mpls
set logical-systems PE2 interfaces lt-0/0/10 unit 13 description PE2->P4
set logical-systems PE2 interfaces lt-0/0/10 unit 13 encapsulation ethernet
set logical-systems PE2 interfaces lt-0/0/10 unit 13 peer-unit 12
set logical-systems PE2 interfaces lt-0/0/10 unit 13 family inet address 172.16.0.26/30
set logical-systems PE2 interfaces lt-0/0/10 unit 13 family mpls
set logical-systems PE2 interfaces lt-0/0/10 unit 27 description PE2->CUST1-CE2
set logical-systems PE2 interfaces lt-0/0/10 unit 27 encapsulation ethernet
set logical-systems PE2 interfaces lt-0/0/10 unit 27 peer-unit 26
set logical-systems PE2 interfaces lt-0/0/10 unit 27 family inet address 10.0.0.6/30
set logical-systems PE2 interfaces lo0 unit 5 family inet address 1.1.1.12/32
set logical-systems PE2 interfaces lo0 unit 5 family mpls
set logical-systems PE2 protocols rsvp interface lt-0/0/10.9
set logical-systems PE2 protocols rsvp interface lt-0/0/10.13
set logical-systems PE2 protocols rsvp interface lo0.5
set logical-systems PE2 protocols mpls interface lt-0/0/10.9
set logical-systems PE2 protocols mpls interface lt-0/0/10.13
set logical-systems PE2 protocols mpls interface lo0.5
set logical-systems PE2 protocols bgp group IBGP type internal
set logical-systems PE2 protocols bgp group IBGP local-address 1.1.1.12
set logical-systems PE2 protocols bgp group IBGP family inet-vpn unicast
set logical-systems PE2 protocols bgp group IBGP neighbor 1.1.1.11
set logical-systems PE2 protocols ospf traffic-engineering
set logical-systems PE2 protocols ospf reference-bandwidth 100g
set logical-systems PE2 protocols ospf area 0.0.0.0 interface lt-0/0/10.9 interface-type p2p
set logical-systems PE2 protocols ospf area 0.0.0.0 interface lt-0/0/10.13 interface-type p2p
set logical-systems PE2 protocols ospf area 0.0.0.0 interface lo0.5 interface-type p2p
set logical-systems PE2 protocols ldp interface lt-0/0/10.9
set logical-systems PE2 protocols ldp interface lt-0/0/10.13
set logical-systems PE2 protocols ldp interface lo0.5
set logical-systems PE2 routing-instances CUST1-VPN-A instance-type vrf
set logical-systems PE2 routing-instances CUST1-VPN-A interface lt-0/0/10.27
set logical-systems PE2 routing-instances CUST1-VPN-A route-distinguisher 1.1.1.12:1
set logical-systems PE2 routing-instances CUST1-VPN-A vrf-target target:65512:1
set logical-systems PE2 routing-instances CUST1-VPN-A vrf-table-label
set logical-systems PE2 routing-instances CUST1-VPN-A routing-options static route 192.168.2.1/32 next-hop 10.0.0.5
set logical-systems PE2 routing-options router-id 1.1.1.12
set logical-systems PE2 routing-options autonomous-system 65512
set chassis fpc 0 pic 0 tunnel-services bandwidth 1g
Network Specialist at HCL Technologies Ltd || CCNA- RS || CCNP-ENCOR ||Cisco viptela SDWAN || Network Security Firewall Administration - Cisco ASA | Sophos-XG | Fortigate| Palo Alto ||Infrastructure support .
7 个月??