The shielding effect describes the attraction between an electron and the nucleus in any atom with more than one electron shell. Shielding effect can be defined as a reduction in the nuclear charge on the electron cloud, due to a difference in the attraction forces of the electrons on the nucleus. You may also have heard of screening effect,these two are same.
Since the shielding effect is reducing the nuclear charge on the outer electrons,the net charge experienced by outer electron is called effective nuclear charge.
If you look at the formula of effective nuclear charge,you will see that Z*= Z-S
{Where Z is the number of protons in the nucleus (atomic number) and S is the average number of electrons between the nucleus and the electron in question }
So it is evident that not only valence electrons but inner electrons experience shielding effect too but for inner electrons, shielding effect is less(a quick look to formula will clear it to you).
Now your next question is Do the electrons in outer shells than that shell have any impact on the shielding effect? the answer is NO
According to wikipedia(as shown in the image) electron in the higher energy levels do not contribute in anyway to sheilding effect.