[DF-564] set switch index