Hi Folks,
Please get the exact metric for the prefix and add sufficient metric in the xe-interface to overload the same in the path
lab:r1> show route extensive 192.168.1.105 table inet.0
inet.0: 12 destinations, 12 routes (12 active, 0 holddown, 0 hidden)
192.168.1.105/32 (1 entry, 1 announced)
TSI:
KRT in-kernel 192.168.1.105/32 -> {1.1.12.2}
*OSPF Preference: 10
Next hop type: Router, Next hop index: 1069
Address: 0x5490fd0
Next-hop reference count: 16
Next hop: 1.1.12.2 via ge-0/0/2.12, selected
Session Id: 0x14c
State: <Active Int>
Local AS: 100
Age: 22:45:50 Metric: 4 <<<<<<<<<<<<<<<<<<<<<<<<< Take this value and add it as this + 100 as metric for xe in the box
Validation State: unverified
Area: 0.0.0.0
Task: OSPF
Announcement bits (2): 2-KRT 3-Resolve tree 2
AS path: I
lab:r1>