CE-1
set interfaces ge-0/0/0 unit 0 family inet address 10.0.10.2/24
set interfaces lo0 unit 0 family inet address 192.168.11.1/32
set routing-options static route 0.0.0.0/0 next-hop 10.0.10.1
CE-2
set interfaces ge-0/0/0 unit 0 family inet address
10.0.11.2/24
set interfaces lo0 unit 0 family inet address 192.168.11.2/32
set routing-options static route 0.0.0.0/0 next-hop 10.0.11.1
PE-1
Interface IP Configuration
set interfaces ge-0/0/0 unit 0
family inet address 10.0.10.1/24
set interfaces ge-0/0/9 unit 0
family inet address 172.22.210.1/24
set interfaces lo0 unit 0
family inet address 192.168.1.1/32
Interface MPLS Configuration
set interfaces ge-0/0/9 unit 0
family mpls
OSPF Configuration
set protocols ospf area 0.0.0.0 interface ge-0/0/9.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set routing-options autonomous-system 65512
MPLS Static LSP Configuration
set protocols mpls static-label-switched-path
PE1-to-PE2 ingress next-hop 172.22.210.2
set protocols mpls static-label-switched-path
PE1-to-PE2 ingress to 192.168.1.2
set protocols mpls static-label-switched-path
PE1-to-PE2 ingress push 1000000
set protocols mpls interface ge-0/0/9.0
Static Routing Configuration
set routing-options
static route 192.168.11.1/32 next-hop 10.0.10.2
set routing-options static route 192.168.11.2/32
static-lsp-next-hop PE1-to-PE2
PE-2
Interface IP Configuration
set interfaces ge-0/0/0 unit 0
family inet address 10.0.11.1/24
set interfaces ge-0/0/9 unit 0
family inet address 172.22.212.1/24
set interfaces lo0 unit 0
family inet address 192.168.1.2/32
Interface MPLS Configuration
set interfaces ge-0/0/9 unit 0
family mpls
OSPF Configuration
set protocols ospf area 0.0.0.0 interface ge-0/0/9.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set routing-options autonomous-system 65512
MPLS Static LSP Configuration
set
protocols mpls static-label-switched-path PE2-to-PE1 ingress next-hop
172.22.212.2
set
protocols mpls static-label-switched-path PE2-to-PE1 ingress to 192.168.1.1
set
protocols mpls static-label-switched-path PE2-to-PE1 ingress push 1000990
set
protocols mpls interface ge-0/0/9.0
Static Routing Configuration
set routing-options static route 192.168.11.2/32 next-hop
10.0.11.2
set
routing-options static route 192.168.11.1/32 static-lsp-next-hop PE2-to-PE1
P-1
Interface IP Configuration
set interfaces ge-0/0/0 unit 0
family inet address 172.22.201.1/24
set interfaces ge-0/0/9 unit 0
family inet address 172.22.210.2/24
set interfaces lo0 unit 0
family inet address 192.168.5.1/32
Interface MPLS Configuration
set interfaces ge-0/0/0 unit 0
family mpls
set interfaces ge-0/0/9 unit 0
family mpls
OSPF Configuration
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface ge-0/0/9.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set routing-options autonomous-system 65512
MPLS Static LSP Configuration
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000000 next-hop
172.22.201.2
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000000 swap
1000001
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000992 next-hop
172.22.210.1
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000992 pop
set
protocols mpls interface all
P-2
Interface IP Configuration
set interfaces ge-0/0/0 unit 0
family inet address 172.22.201.2/24
set interfaces ge-0/0/1 unit 0
family inet address 172.22.206.1/24
set interfaces lo0 unit 0 family inet address 192.168.5.2/32
Interface MPLS Configuration
set interfaces ge-0/0/0 unit 0
family mpls
set interfaces ge-0/0/1 unit 0
family mpls
OSPF Configuration
set protocols ospf area 0.0.0.0 interface ge-0/0/0.0
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set routing-options autonomous-system 65512
MPLS Static LSP Configuration
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000001 next-hop
172.22.206.2
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000001 swap
1000002
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000991 next-hop
172.22.201.1
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000991 swap
1000992
set
protocols mpls interface all
P-3
Interface IP Configuration
set interfaces ge-0/0/1 unit 0
family inet address 172.22.206.2/24
set interfaces ge-0/0/9 unit 0
family inet address 172.22.212.2/24
set interfaces lo0 unit 0
family inet address 192.168.5.3/32
Interface MPLS Configuration
set interfaces ge-0/0/1 unit 0
family mpls
set interfaces ge-0/0/9 unit 0
family mpls
OSPF Configuration
set protocols ospf area 0.0.0.0 interface ge-0/0/1.0
set protocols ospf area 0.0.0.0 interface ge-0/0/9.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set routing-options autonomous-system 65512
MPLS Static LSP Configuration
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000002 next-hop
172.22.212.1
set
protocols mpls static-label-switched-path PE1-to-PE2 transit 1000002 pop
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000990 next-hop
172.22.206.1
set
protocols mpls static-label-switched-path PE2-to-PE1 transit 1000990 swap
1000991
set
protocols mpls interface all
Verification
LSP status on Ingress LSR - PE1
LSP status on Ingress LSR on PE2
Route table status on PE1
LSP status on Transit LSR - P2
MPLS table on Transit LSR - P1
MPLS table on Transit LSR - P2
MPLS table on Transit LSR - P3
Traceroute on PE1
Traceroute on PE2
~~~~ The End ~~~~

No comments:
Post a Comment