Dip rim of a rocks glass in water; dip in crushed peanuts to coat. Fill with ice. Add bourbon and, if desired, vanilla. Top with cola.