An echidna — the spiny, long-snouted egg-laying mammal, which is where his name comes from and why he has those dreadlocked quills.
Knuckles is the last of his kind in most of the series' continuity, and his echidna heritage is central to his backstory as the guardian of the Master Emerald. It is a fitting choice: echidnas are famously stubborn diggers, which is not far off his personality.