The mpls te bfd enable auto-primary-tunnel command enables BFD for TE LSP globally for a primary tunnel that is automatically established.
The undo mpls te bfd enable auto-primary-tunnel command restores the default path calculation function.
By default, BFD for TE LSP is disabled globally for a primary tunnel that is automatically established.
Usage Scenario
PCEP can trigger the establishment of RSVP-TE and SR-MPLS TE LSPs: