I did the following on PE1
set protocols mpls label-switched-path ToCE22 to 192.168.1.6
set protocols mpls label-switched-path ToCE22 install 22.22.22.22/32 active
set routing-options static route 22.22.22.22/32 lsp-next-hop ToCE22
Am I supposed to this static route in inet.3 ?
root@PE1# run show route 22.22.22.22
inet.0: 23 destinations, 34 routes (23 active, 0 holddown, 0 hidden)
@ = Routing Use Only, # = Forwarding Use Only
+ = Active Route, - = Last Active, * = Both
22.22.22.22/32 *[OSPF/10] 09:07:20, metric 3
> to 10.150.201.2 via ge-0/0/0.0
CE1-----> CE2 still does not go via MPLS.
root@CE1-LS# ...ute 22.22.22.22 source 11.11.11.11 logical-system JPath
traceroute to 22.22.22.22 (22.22.22.22) from 11.11.11.11, 30 hops max, 40 byte packets
1 10.150.200.1 (10.150.200.1) 2.947 ms 1.720 ms 1.654 ms
2 10.150.201.2 (10.150.201.2) 3.123 ms 2.904 ms 2.722 ms
3 10.150.201.6 (10.150.201.6) 4.839 ms 4.160 ms 3.831 ms
4 22.22.22.22 (22.22.22.22) 6.063 ms 6.241 ms 5.670 ms
What did I miss here ?
thanks !!
Original Message:
Sent: 11-23-2021 00:59
From: Unknown User
Subject: MPLS forwarding question
Hi gongyayu.
"set protocols mpls traffic-engineering mpls-forwarding" on PE1 will allow CE1->PE2 traffic to take the LSP, not CE1->CE2.
Instead, there are a few ways to do this. Here are the 2 simplest ones.
- On PE1: "set routing-options static route <CE2> lsp-next-hop <PE1-PE2>"
- On PE1: "set protocols mpls label-switched-path <PE1-PE2> install <CE2> active"
--Deepak
Original Message:
Sent: 11/22/2021 7:38:00 PM
From: gongyayu
Subject: MPLS forwarding question
If I have 5 routers as follows:
CE1 ---------->PE1 ---------> P ----------> PE2 ------------> CE2
if I used cisco routers for PE and P routers, CE1 goes to CE2 via MPLS.
If I used Juniper for PE and P routers, CE1 goes to CE2 via IGP. This is by default for Juniper.
I configured the following:
set protocols mpls traffic-engineering mpls-forwarding on PE1, CE1 still go via IGP, as CE2 has not label assigned, not like in Cisco.
Anyway can I configure to make CE1 go to CE2 via MPLS ?
thanks !!