 He commenced his military service in the infantry, first as a foot soldier and then as an officer in the Six-Day War and other events.In 1972–1974, including the Yom Kippur War, Shalev served as Head of the Bureau of the then Chief of Staff, Major General David Elazar.Shalev was part of the international military and political negotiations that followed the war, including the famous Kilometer 101 accords with Egyptian General Gamassi, which eventually led to the Israel–Egypt peace treaty.