There is no generic link management logic but this is such logic built into NSH and as documented NSH HowTos.