hello sir
just need sync configuration between primary link and secondary link , and configure the priority let traffic go to primary link when all is normal . then configure NQA or BFD for detecting if the link work normally .
after this , if primary link down , secondary link will instead of primary working .