Police spokeswoman Johana Primevert told The Associated Press that the incident took place early Friday in the Chatelet station in central Paris.
The soldier was a member of Operation Sentinel, a task force assigned to protect prominent sites in the region following a recent surge in Islamic extremist attacks. "This new attack legitimate fully what we want to do, that is to say, to make this device even more unpredictable, even more undetectable to potential attackers", she continued.
In August, a man rammed his auto into a group of soldiers near Paris, injuring six of them. This is the seventh attack against the patrolling soldiers, Europe 1 radio reported.
French Defence Minister Florence Parly said the number of troops involved in its Sentinelle operation would remain at 7,000 under the plan. The suspect was arrested hours after the incident on a motorway in northern France.
Police said that a knife-wielding assailant tried to attack a soldier but was quickly arrested and no one was hurt.
In April, a police officer was killed in a shooting on the Champs-Elysées.
France has been under a state of emergency since a series of coordinated attacks in Paris in November 2015 which left 130 people dead.