A bomb attacked has rocked the vicinity of the Pakistani consulate in the eastern Afghanistan city of Jalalabad, killing at least six people.