The second aliyah contains an assortment of commandments: to judge in righteousness, not favoring either the poor or rich, not to go around as a talebearer, not to stand idly by when your neighbor is in danger, not to hate your fellow in your heart, to surely rebuke your neighbor, not to shame him in public, not to take vengeance, not to bear a grudge. And in this aliyah is the commandment to love your neighbor as yourself (which Rabbi Akiva said is a fundamental principle in the Torah).
The following statutes are also given here: not to sow a field with two kinds of seed, or wear a garment made of a mixture of wool and linen which is called shatnez (The checking of a garment for this forbidden mixture is called shatnez testing).