Matthew Stott, 21, was told he came close to going to prison, but instead his 56 days jail term was suspended for 12 months.
Stott had to be restrained by City keeper Joe Hart from confronting Ferdinand, who was already bleeding from a cut caused by a coin thrown from the stands at the end of the explosive local grudge match.
TV footage of the incident was played at Manchester Magistrates' Court showing Stott, who had sunk eight pints of lager before kick-off, trying to get at the United defender.
Andy Holt, prosecuting, told the court after police caught him and cuffed him on the pitch he shouted at the officers: "F*** off you Munich bastards! F*** off you Munich twats!"
Stott, a landscape gardener of Southfields, Knutsford, pleaded guilty to encroaching on the field of play and using insulting words or behaviour during the incident on December 9.
As well as the football ban and suspended jail sentence, he was ordered to do 120 hours community service, and must pay £145 in costs and observe an 8pm to 6am home curfew for three months.