Press CTC turn the red knob until the Clear Data base. It will ask you to confirm.
This does not reset engine IDs in the engines themselves. It just clears the Legacy System database and associated engine, train, and all other information in the Legacy Base.