07-03-2019 01:42 AM
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 100.0.1.2 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 31.31.0.0/24, metric 1 31.31.0.1, directly connected, via TenGigE0/0/1/2.1 O E2 200.0.0.1/32, metric 0 31.31.0.2, from 192.0.0.1, via TenGigE0/0/1/2.1, path-id 1 O E2 200.0.0.2/32, metric 0
Thanks,
Mohit
07-06-2019 06:06 AM
07-06-2019 07:26 AM
07-07-2019 12:50 AM - edited 07-07-2019 12:52 AM
Hello Mohit,
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
Giuseppe
07-07-2019 03:32 AM
Hello,
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...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide