You must hold the licence or rating for any instruction to e given therefore; to instruct for a CPL you would need a Class 1 to exercise CPL privileges. Anything that can be done on PPL privileges, can be done with a Class 2 medical including the IR.