Devarim32:7

זְכֹר יְמוֹת עוֹלָם בִּינוּ שְׁנוֹת דּוֹר־וָדוֹר שְׁאַל אָבִיךָ וְיַגֵּדְךָ זְקֵנֶיךָ וְיֹאמְרוּ לָךְ׃

Remember the days of old, consider the years of generation after generation. Ask your father, and he will tell you, your elders, and they will say it to you.

Devarim 32:7

זְכֹר יְמוֹת עוֹלָם

Devarim / Deuteronomy 32:7 · Drash

Devarim 32:7

זְכֹר יְמוֹת עוֹלָם בִּינוּ שְׁנוֹת דּוֹר־וָדוֹר שְׁאַל אָבִיךָ וְיַגֵּדְךָ זְקֵנֶיךָ וְיֹאמְרוּ לָךְ׃

Remember the days of old, consider the years of generation after generation. Ask your father, and he will tell you, your elders, and they will say it to you.

Drash דְּרָשׁ

Ask your father and light a candle

Much of what we do we do because our parents and teachers did it, and we do not ask where it came from. The sages find in the words "ask your father" both a warning and the basis of a whole commandment.

Sifrei: remember what the Eternal did to the generation of the Flood, the generation of the dispersion and Sodom and Gomorrah. Every generation has people like them, but each is judged by their deeds. Talmud: over the Chanukah candle the blessing says "and commanded us", though the Torah does not say so, and Rav Nechemya finds the command in the words "Ask your father, and he will tell you".

How Sifrei and Talmud, Shabbat explain it

Sifrei Remember the days of old

Beware: [remember] what I did to the first generations, what I did to the people of the generation of the Flood, what I did to the people of the generation of the dispersion, what I did to the people of Sodom and Gomorrah.

Sifrei Consider the years of generation after generation

There is no generation without people like the generation of the Flood, and there is no generation without people like the generation of the dispersion and like the people of Sodom. But each one is judged by their deeds.

Talmud, Shabbat Ask your father, and he will tell you

What blessing is said [over the Chanukah candle]? One says: "Who sanctified us with His commandments and commanded us to light the Chanukah candle". And where did He command us? Rav Avya said: from "You shall not turn aside" (Devarim / Deuteronomy 17:11). Rav Nechemya said: from "Ask your father, and he will tell you, your elders, and they will say it to you" (Devarim / Deuteronomy 32:7).

Takeaway

The generation of the dispersion are the builders of the tower in Babylon, whom the Eternal scattered over all the earth (Bereshit / Genesis 11:1–9).
Chanukah is the festival of the victory over the Greeks and the miracle of the lamp in the Temple. The sages instituted it, the Torah does not have it (Shabbat 21b).
"You shall not turn aside from the word they tell you, to the right or to the left" (Devarim / Deuteronomy 17:11) is the commandment to listen to the sages. Both answers explain why "and commanded us" is said over a commandment of the sages.