cli: recover stale tunnel port protocols (#331351)