Put everything except the ham in a large soup pot and bring to a boil on high heat.
Reduce heat and simmer until peas are soft, 1-2 hours.
Remove the bay leaves and ham bone or hocks.
Check seasoning for salt and pepper. Add the ham and cook a few more minutes.