In the below output what exactly is "path-id"
RP/0/RSP0/CPU0:ASR9006-P2#sh ospf vrf TR-VRF-1-1 routes Wed Jul 3 07:26:38.194 UTC Topology Table for ospf 8, VRF TR-VRF-1-1 with ID 22.214.171.124 Codes: O - Intra area, O IA - Inter area O E1 - External type 1, O E2 - External type 2 O N1 - NSSA external type 1, O N2 - NSSA external type 2 O 126.96.36.199/24, metric 1 188.8.131.52, directly connected, via TenGigE0/0/1/2.1 O E2 184.108.40.206/32, metric 0 220.127.116.11, from 192.0.0.1, via TenGigE0/0/1/2.1, path-id 1 O E2 18.104.22.168/32, metric 0
I have found another example of a show ospf route that includes a path-id1 field here
Unfortunately, there is no explanation of the specific field. However, in that case path-id 1 is associated to the primary route and also a backup route using topology indipendent LFA is listed.
In your case you are looking at OSPF routes in a VRF and the field appears for an O E2 route and my guess is that the path-id 1 refers to the OSPF path to the ASBR that originated the O E2 type 5 LSA.
At first, I was thinking you have MPLS TE used for this MPLS L3 VPN in the forwarding plane, but path-id 1 looks like strange to refer to an MPLS TE tunnel identifier.
Hope to help
in a lot of Cisco docs, path-id is just the phyiscal numbering of the interface. So in e.g.:
interface GigabitEthernet 0/0/0/0
0/0/0/0 would be the path id. I wonder if 'path-id 1' in your case could be related to the numbering of the subinterface. If that is the case and you add another subinterface .2, the path-id should be 2. Not sure if you are in a position to test that...
Strange that it appears only on the E2 route though...