The optical relativistic model based on deep attractive forbidden state quasipotentials describes well the angular and energy dependence of differential np- and pp-scattering cross sections and polarizations, including the transition from the U-shaped form of the angular distributions of np scattering to forward scattering at the energy ≥1 GeV, when the scattering P-phase shifts, equal to π at low energies, pass through π/2 (the triplet and singlet S-phase shifts start from the values 2π and π, respectively). The higher scattering phase shifts (L≥2) are small everywhere. The potentials are determined from the scattering phase shifts in the low-energy region <1 GeV. They have been chosen in the simple Gaussian form and for different partial waves they differ in depth and width (from =0.73 GeV, a=0.85 fm to =2.40 GeV, a=0.45 fm). A few negative phase shifts , , , which reflect the peripheral repulsion due to the spin-orbital and tensor interactions, are calculated by means of the one-boson-exchange potential periphery matched to the central attraction. The imaginary part W of the optical potential V+iW is determined by the value / and grows rapidly with increase in the energy , so that the phase-shift values lose sensitivity to the real part V of optical potential if exceeds 5 GeV. Finally, the quantum chromodynamics (QCD) effects are discussed which may underlie the potentials considered.